forked from rose-compiler/rose
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
(Rosebud) Stub for eventual Jovial nodes
RPM-395
- Loading branch information
Showing
19 changed files
with
176 additions
and
21 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
This directory contains definitions for ROSE IR and AST nodes related | ||
to Jovial analysis. | ||
|
||
See the README.md in the parent directory for more details. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,69 @@ | ||
////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// | ||
// THIS FILE IS MACHINE GENERATED -- DO NOT MODIFY | ||
////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// | ||
// | ||
// This file was generated with ROSE's "rosebud" tool by reading node definitions written in a | ||
// C++-like language and emitting this ROSETTA input. | ||
// | ||
////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// | ||
// DO NOT MODIFY THIS FILE MANUALLY! | ||
////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// | ||
|
||
|
||
#include <featureTests.h> | ||
#include "ROSETTA_macros.h" | ||
#include "grammar.h" | ||
#include "AstNodeClass.h" | ||
|
||
//#undef DOCUMENTATION -- commented out so IDEs can't figure it out | ||
#ifdef DOCUMENTATION | ||
DOCUMENTATION_should_never_be_defined; | ||
#endif | ||
|
||
#ifdef DOCUMENTATION | ||
#define DECLARE_LEAF_CLASS(CLASS_WITHOUT_Sg) /*void*/ | ||
#else | ||
#define DECLARE_LEAF_CLASS(CLASS_WITHOUT_Sg) \ | ||
NEW_TERMINAL_MACRO(CLASS_WITHOUT_Sg, #CLASS_WITHOUT_Sg, #CLASS_WITHOUT_Sg "Tag"); \ | ||
CLASS_WITHOUT_Sg.setCppCondition("!defined(DOCUMENTATION)");\ | ||
CLASS_WITHOUT_Sg.setAutomaticGenerationOfConstructor(false);\ | ||
CLASS_WITHOUT_Sg.setAutomaticGenerationOfDestructor(false) | ||
#endif | ||
|
||
#ifdef DOCUMENTATION | ||
#define DECLARE_HEADERS(CLASS_WITHOUT_Sg) /*void*/ | ||
#else | ||
#define DECLARE_HEADERS(CLASS_WITHOUT_Sg) \ | ||
CLASS_WITHOUT_Sg.setPredeclarationString("Sg" #CLASS_WITHOUT_Sg "_HEADERS", \ | ||
ROSE_AUTOMAKE_ABSOLUTE_PATH_TOP_SRCDIR + "/src/ROSETTA/src/jovialNodes.C") | ||
#endif | ||
|
||
#ifdef DOCUMENTATION | ||
#define DECLARE_OTHERS(CLASS_WITHOUT_Sg) /*void*/ | ||
#else | ||
#define DECLARE_OTHERS(CLASS_WITHOUT_Sg) \ | ||
CLASS_WITHOUT_Sg.setFunctionPrototype("Sg" #CLASS_WITHOUT_Sg "_OTHERS", \ | ||
ROSE_AUTOMAKE_ABSOLUTE_PATH_TOP_SRCDIR + "/src/ROSETTA/src/jovialNodes.C") | ||
#endif | ||
|
||
#ifdef DOCUMENTATION | ||
#define IS_SERIALIZABLE() /*void*/ | ||
#else | ||
#define IS_SERIALIZABLE(CLASS_WITHOUT_Sg) \ | ||
CLASS_WITHOUT_Sg.isBoostSerializable(true) | ||
#endif | ||
|
||
|
||
// Since ROSETTA builds classes from the leaves up to the base, and C++ builds classes from the | ||
// base down to the leaves, we need to make sure that doxygen sees the base classes before the derived classes. So | ||
// just list all the non-leaf classes here. | ||
#ifdef DOCUMENTATION | ||
#endif // DOCUMENTATION | ||
|
||
#ifndef DOCUMENTATION | ||
void Grammar::setUpJovialNodes() { | ||
#endif // !DOCUMENTATION | ||
|
||
#ifndef DOCUMENTATION | ||
} // Grammar::setUpBinaryInstruction | ||
#endif // !DOCUMENTATION |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,2 @@ | ||
add_subdirectory(BinaryAnalysis) | ||
add_subdirectory(Jovial) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
################################################################################################################################## | ||
# THIS FILE IS MACHINE GENERATED -- DO NOT MODIFY | ||
################################################################################################################################## | ||
# | ||
# This file was generated by Rosebud | ||
# | ||
|
||
add_library(roseGenerated OBJECT | ||
stub.C) | ||
|
||
add_dependencies(roseGeneratedJovial rosetta_generated) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
################################################################################################################################## | ||
# THIS FILE IS MACHINE GENERATED -- DO NOT MODIFY | ||
################################################################################################################################## | ||
# | ||
# This file was generated by Rosebud | ||
# | ||
|
||
include $(top_srcdir)/config/Makefile.for.ROSE.includes.and.libs | ||
|
||
AM_CPPFLAGS = $(ROSE_INCLUDES) | ||
noinst_LTLIBRARIES = libroseGeneratedJovial.la | ||
libroseGeneratedJovial_la_SOURCES = \ | ||
stub.C |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
################################################################################################################################## | ||
# THIS FILE IS MACHINE GENERATED -- DO NOT MODIFY | ||
################################################################################################################################## | ||
# | ||
# This file was generated by Rosebud | ||
# | ||
|
||
include_rules | ||
run $(librose_compile) \ | ||
stub.C |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
static void stub() {} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,4 @@ | ||
include $(top_srcdir)/config/Makefile.for.ROSE.includes.and.libs | ||
SUBDIRS = BinaryAnalysis | ||
SUBDIRS = \ | ||
BinaryAnalysis \ | ||
Jovial |