Collaboration diagram for High level AST builders:
|
Building AST trees using raw SgNode constructors is tedious and error-prone. It becomes even more difficult with the presence of symbol tables. This namespace contains major AST node builders on top of the constructors to take care of symbol tables, various edges to scope, parent and so on.
Builders for expressions | |
| handle side effects of parent pointers, Sg_File_Info, lvalue etc. Expressions are usually built using bottomup approach, i.e. buiding operands first, then the expression operating on the operands. It is also possible to build expressions with NULL operands or empty values first, then set them afterwards.
| |
| #define | BUILD_UNARY_PROTO(suffix) |
| Template function to build a unary expression of type T with advanced information specified such as parenthesis and file info. Instantiated functions include:buildAddressOfOp(),buildBitComplementOp(),buildBitComplementOp(),buildMinusOp(),buildNotOp(),buildPointerDerefExp(),buildUnaryAddOp(),buildMinusMinusOp(),buildPlusPlusOp(). | |
| #define | BUILD_BINARY_PROTO(suffix) |
| Template function to build a binary expression of type T,with extra information for parenthesis and file info, Instantiated functions include: buildAddOp(), buildAndAssignOp(), buildAndOp(), buildArrowExp(),buildArrowStarOp(), buildAssignOp(),buildBitAndOp(),buildBitOrOp(),buildBitXorOp(),buildCommaOpExp(), buildConcatenationOp(),buildDivAssignOp(), buildDivideOp(),buildDotExp(),buildEqualityOp(),buildExponentiationOp(),buildGreaterOrEqualOp(),buildGreaterThanOp(),buildIntegerDivideOp(),buildIorAssignOp(),buildLessOrEqualOp(),buildLessThanOp(),buildLshiftAssignOp(),buildLshiftOp(),buildMinusAssignOp(),buildModAssignOp(),buildModOp(),buildMultAssignOp(),buildMultiplyOp(),buildNotEqualOp(),buildOrOp(),buildPlusAssignOp(),buildPntrArrRefExp(),buildRshiftAssignOp(),buildRshiftOp(),buildScopeOp(),buildSubtractOp()buildXorAssignOp(). | |
| SgVariantExpression * | SageBuilder::buildVariantExpression () |
| Template function to build a unary expression of type T with advanced information specified such as parenthesis and file info. Instantiated functions include:buildAddressOfOp(),buildBitComplementOp(),buildBitComplementOp(),buildMinusOp(),buildNotOp(),buildPointerDerefExp(),buildUnaryAddOp(),buildMinusMinusOp(),buildPlusPlusOp(). | |
| SgNullExpression * | SageBuilder::buildNullExpression () |
| Build a null expression, set file info as the default one. | |
| SgNullExpression * | SageBuilder::buildNullExpression_nfi () |
| No file info version of buildNullExpression(). File info is to be set later on. | |
| SgBoolValExp * | SageBuilder::buildBoolValExp (int value=0) |
| Build a bool value expression, the name convention of SgBoolValExp is little different from others for some unknown reason. | |
| SgBoolValExp * | SageBuilder::buildBoolValExp (bool value=0) |
| Template function to build a unary expression of type T with advanced information specified such as parenthesis and file info. Instantiated functions include:buildAddressOfOp(),buildBitComplementOp(),buildBitComplementOp(),buildMinusOp(),buildNotOp(),buildPointerDerefExp(),buildUnaryAddOp(),buildMinusMinusOp(),buildPlusPlusOp(). | |
| SgBoolValExp * | SageBuilder::buildBoolValExp_nfi (int value) |
| Template function to build a unary expression of type T with advanced information specified such as parenthesis and file info. Instantiated functions include:buildAddressOfOp(),buildBitComplementOp(),buildBitComplementOp(),buildMinusOp(),buildNotOp(),buildPointerDerefExp(),buildUnaryAddOp(),buildMinusMinusOp(),buildPlusPlusOp(). | |
| SgCharVal * | SageBuilder::buildCharVal (char value=0) |
| Template function to build a unary expression of type T with advanced information specified such as parenthesis and file info. Instantiated functions include:buildAddressOfOp(),buildBitComplementOp(),buildBitComplementOp(),buildMinusOp(),buildNotOp(),buildPointerDerefExp(),buildUnaryAddOp(),buildMinusMinusOp(),buildPlusPlusOp(). | |
| SgCharVal * | SageBuilder::buildCharVal_nfi (char value, const std::string &str) |
| Template function to build a unary expression of type T with advanced information specified such as parenthesis and file info. Instantiated functions include:buildAddressOfOp(),buildBitComplementOp(),buildBitComplementOp(),buildMinusOp(),buildNotOp(),buildPointerDerefExp(),buildUnaryAddOp(),buildMinusMinusOp(),buildPlusPlusOp(). | |
| SgWcharVal * | SageBuilder::buildWcharVal (wchar_t value=0) |
| Template function to build a unary expression of type T with advanced information specified such as parenthesis and file info. Instantiated functions include:buildAddressOfOp(),buildBitComplementOp(),buildBitComplementOp(),buildMinusOp(),buildNotOp(),buildPointerDerefExp(),buildUnaryAddOp(),buildMinusMinusOp(),buildPlusPlusOp(). | |
| SgWcharVal * | SageBuilder::buildWcharVal_nfi (wchar_t value, const std::string &str) |
| Template function to build a unary expression of type T with advanced information specified such as parenthesis and file info. Instantiated functions include:buildAddressOfOp(),buildBitComplementOp(),buildBitComplementOp(),buildMinusOp(),buildNotOp(),buildPointerDerefExp(),buildUnaryAddOp(),buildMinusMinusOp(),buildPlusPlusOp(). | |
| SgComplexVal * | SageBuilder::buildComplexVal (long double real_value=0.0, long double imaginary_value=0.0) |
| Template function to build a unary expression of type T with advanced information specified such as parenthesis and file info. Instantiated functions include:buildAddressOfOp(),buildBitComplementOp(),buildBitComplementOp(),buildMinusOp(),buildNotOp(),buildPointerDerefExp(),buildUnaryAddOp(),buildMinusMinusOp(),buildPlusPlusOp(). | |
| SgComplexVal * | SageBuilder::buildComplexVal (SgValueExp *real_value, SgValueExp *imaginary_value) |
| Template function to build a unary expression of type T with advanced information specified such as parenthesis and file info. Instantiated functions include:buildAddressOfOp(),buildBitComplementOp(),buildBitComplementOp(),buildMinusOp(),buildNotOp(),buildPointerDerefExp(),buildUnaryAddOp(),buildMinusMinusOp(),buildPlusPlusOp(). | |
| SgComplexVal * | SageBuilder::buildComplexVal_nfi (SgValueExp *real_value, SgValueExp *imaginary_value, const std::string &str) |
| Template function to build a unary expression of type T with advanced information specified such as parenthesis and file info. Instantiated functions include:buildAddressOfOp(),buildBitComplementOp(),buildBitComplementOp(),buildMinusOp(),buildNotOp(),buildPointerDerefExp(),buildUnaryAddOp(),buildMinusMinusOp(),buildPlusPlusOp(). | |
| SgComplexVal * | SageBuilder::buildImaginaryVal (long double imaginary_value) |
| Template function to build a unary expression of type T with advanced information specified such as parenthesis and file info. Instantiated functions include:buildAddressOfOp(),buildBitComplementOp(),buildBitComplementOp(),buildMinusOp(),buildNotOp(),buildPointerDerefExp(),buildUnaryAddOp(),buildMinusMinusOp(),buildPlusPlusOp(). | |
| SgComplexVal * | SageBuilder::buildImaginaryVal (SgValueExp *imaginary_value) |
| Template function to build a unary expression of type T with advanced information specified such as parenthesis and file info. Instantiated functions include:buildAddressOfOp(),buildBitComplementOp(),buildBitComplementOp(),buildMinusOp(),buildNotOp(),buildPointerDerefExp(),buildUnaryAddOp(),buildMinusMinusOp(),buildPlusPlusOp(). | |
| SgComplexVal * | SageBuilder::buildImaginaryVal_nfi (SgValueExp *imaginary_value, const std::string &str) |
| Template function to build a unary expression of type T with advanced information specified such as parenthesis and file info. Instantiated functions include:buildAddressOfOp(),buildBitComplementOp(),buildBitComplementOp(),buildMinusOp(),buildNotOp(),buildPointerDerefExp(),buildUnaryAddOp(),buildMinusMinusOp(),buildPlusPlusOp(). | |
| SgDoubleVal * | SageBuilder::buildDoubleVal (double value=0.0) |
| Build a double value expression. | |
| SgDoubleVal * | SageBuilder::buildDoubleVal_nfi (double value, const std::string &str) |
| Template function to build a unary expression of type T with advanced information specified such as parenthesis and file info. Instantiated functions include:buildAddressOfOp(),buildBitComplementOp(),buildBitComplementOp(),buildMinusOp(),buildNotOp(),buildPointerDerefExp(),buildUnaryAddOp(),buildMinusMinusOp(),buildPlusPlusOp(). | |
| SgFloatVal * | SageBuilder::buildFloatVal (float value=0.0) |
| Template function to build a unary expression of type T with advanced information specified such as parenthesis and file info. Instantiated functions include:buildAddressOfOp(),buildBitComplementOp(),buildBitComplementOp(),buildMinusOp(),buildNotOp(),buildPointerDerefExp(),buildUnaryAddOp(),buildMinusMinusOp(),buildPlusPlusOp(). | |
| SgFloatVal * | SageBuilder::buildFloatVal_nfi (float value, const std::string &str) |
| Template function to build a unary expression of type T with advanced information specified such as parenthesis and file info. Instantiated functions include:buildAddressOfOp(),buildBitComplementOp(),buildBitComplementOp(),buildMinusOp(),buildNotOp(),buildPointerDerefExp(),buildUnaryAddOp(),buildMinusMinusOp(),buildPlusPlusOp(). | |
| SgIntVal * | SageBuilder::buildIntVal (int value=0) |
| Build an integer value expression. | |
| SgIntVal * | SageBuilder::buildIntValHex (int value=0) |
| Template function to build a unary expression of type T with advanced information specified such as parenthesis and file info. Instantiated functions include:buildAddressOfOp(),buildBitComplementOp(),buildBitComplementOp(),buildMinusOp(),buildNotOp(),buildPointerDerefExp(),buildUnaryAddOp(),buildMinusMinusOp(),buildPlusPlusOp(). | |
| SgIntVal * | SageBuilder::buildIntVal_nfi (int value, const std::string &str) |
| Template function to build a unary expression of type T with advanced information specified such as parenthesis and file info. Instantiated functions include:buildAddressOfOp(),buildBitComplementOp(),buildBitComplementOp(),buildMinusOp(),buildNotOp(),buildPointerDerefExp(),buildUnaryAddOp(),buildMinusMinusOp(),buildPlusPlusOp(). | |
| SgLongIntVal * | SageBuilder::buildLongIntVal (long value=0) |
| Build a long integer value expression. | |
| SgLongIntVal * | SageBuilder::buildLongIntValHex (long value=0) |
| Template function to build a unary expression of type T with advanced information specified such as parenthesis and file info. Instantiated functions include:buildAddressOfOp(),buildBitComplementOp(),buildBitComplementOp(),buildMinusOp(),buildNotOp(),buildPointerDerefExp(),buildUnaryAddOp(),buildMinusMinusOp(),buildPlusPlusOp(). | |
| SgLongIntVal * | SageBuilder::buildLongIntVal_nfi (long value, const std::string &str) |
| Template function to build a unary expression of type T with advanced information specified such as parenthesis and file info. Instantiated functions include:buildAddressOfOp(),buildBitComplementOp(),buildBitComplementOp(),buildMinusOp(),buildNotOp(),buildPointerDerefExp(),buildUnaryAddOp(),buildMinusMinusOp(),buildPlusPlusOp(). | |
| SgLongLongIntVal * | SageBuilder::buildLongLongIntVal (long long value=0) |
| Build a long long integer value expression. | |
| SgLongLongIntVal * | SageBuilder::buildLongLongIntValHex (long long value=0) |
| Template function to build a unary expression of type T with advanced information specified such as parenthesis and file info. Instantiated functions include:buildAddressOfOp(),buildBitComplementOp(),buildBitComplementOp(),buildMinusOp(),buildNotOp(),buildPointerDerefExp(),buildUnaryAddOp(),buildMinusMinusOp(),buildPlusPlusOp(). | |
| SgLongLongIntVal * | SageBuilder::buildLongLongIntVal_nfi (long long value, const std::string &str) |
| Template function to build a unary expression of type T with advanced information specified such as parenthesis and file info. Instantiated functions include:buildAddressOfOp(),buildBitComplementOp(),buildBitComplementOp(),buildMinusOp(),buildNotOp(),buildPointerDerefExp(),buildUnaryAddOp(),buildMinusMinusOp(),buildPlusPlusOp(). | |
| SgEnumVal * | SageBuilder::buildEnumVal_nfi (int value, SgEnumDeclaration *decl, SgName name) |
| Template function to build a unary expression of type T with advanced information specified such as parenthesis and file info. Instantiated functions include:buildAddressOfOp(),buildBitComplementOp(),buildBitComplementOp(),buildMinusOp(),buildNotOp(),buildPointerDerefExp(),buildUnaryAddOp(),buildMinusMinusOp(),buildPlusPlusOp(). | |
| SgLongDoubleVal * | SageBuilder::buildLongDoubleVal (long double value=0.0) |
| Template function to build a unary expression of type T with advanced information specified such as parenthesis and file info. Instantiated functions include:buildAddressOfOp(),buildBitComplementOp(),buildBitComplementOp(),buildMinusOp(),buildNotOp(),buildPointerDerefExp(),buildUnaryAddOp(),buildMinusMinusOp(),buildPlusPlusOp(). | |
| SgLongDoubleVal * | SageBuilder::buildLongDoubleVal_nfi (long double value, const std::string &str) |
| Template function to build a unary expression of type T with advanced information specified such as parenthesis and file info. Instantiated functions include:buildAddressOfOp(),buildBitComplementOp(),buildBitComplementOp(),buildMinusOp(),buildNotOp(),buildPointerDerefExp(),buildUnaryAddOp(),buildMinusMinusOp(),buildPlusPlusOp(). | |
| SgShortVal * | SageBuilder::buildShortVal (short value=0) |
| Template function to build a unary expression of type T with advanced information specified such as parenthesis and file info. Instantiated functions include:buildAddressOfOp(),buildBitComplementOp(),buildBitComplementOp(),buildMinusOp(),buildNotOp(),buildPointerDerefExp(),buildUnaryAddOp(),buildMinusMinusOp(),buildPlusPlusOp(). | |
| SgShortVal * | SageBuilder::buildShortValHex (short value=0) |
| Template function to build a unary expression of type T with advanced information specified such as parenthesis and file info. Instantiated functions include:buildAddressOfOp(),buildBitComplementOp(),buildBitComplementOp(),buildMinusOp(),buildNotOp(),buildPointerDerefExp(),buildUnaryAddOp(),buildMinusMinusOp(),buildPlusPlusOp(). | |
| SgShortVal * | SageBuilder::buildShortVal_nfi (short value, const std::string &str) |
| Template function to build a unary expression of type T with advanced information specified such as parenthesis and file info. Instantiated functions include:buildAddressOfOp(),buildBitComplementOp(),buildBitComplementOp(),buildMinusOp(),buildNotOp(),buildPointerDerefExp(),buildUnaryAddOp(),buildMinusMinusOp(),buildPlusPlusOp(). | |
| SgStringVal * | SageBuilder::buildStringVal (std::string value="") |
| Template function to build a unary expression of type T with advanced information specified such as parenthesis and file info. Instantiated functions include:buildAddressOfOp(),buildBitComplementOp(),buildBitComplementOp(),buildMinusOp(),buildNotOp(),buildPointerDerefExp(),buildUnaryAddOp(),buildMinusMinusOp(),buildPlusPlusOp(). | |
| SgStringVal * | SageBuilder::buildStringVal_nfi (std::string value) |
| Template function to build a unary expression of type T with advanced information specified such as parenthesis and file info. Instantiated functions include:buildAddressOfOp(),buildBitComplementOp(),buildBitComplementOp(),buildMinusOp(),buildNotOp(),buildPointerDerefExp(),buildUnaryAddOp(),buildMinusMinusOp(),buildPlusPlusOp(). | |
| SgUnsignedCharVal * | SageBuilder::buildUnsignedCharVal (unsigned char v=0) |
| Build an unsigned char. | |
| SgUnsignedCharVal * | SageBuilder::buildUnsignedCharValHex (unsigned char v=0) |
| Template function to build a unary expression of type T with advanced information specified such as parenthesis and file info. Instantiated functions include:buildAddressOfOp(),buildBitComplementOp(),buildBitComplementOp(),buildMinusOp(),buildNotOp(),buildPointerDerefExp(),buildUnaryAddOp(),buildMinusMinusOp(),buildPlusPlusOp(). | |
| SgUnsignedCharVal * | SageBuilder::buildUnsignedCharVal_nfi (unsigned char v, const std::string &str) |
| Template function to build a unary expression of type T with advanced information specified such as parenthesis and file info. Instantiated functions include:buildAddressOfOp(),buildBitComplementOp(),buildBitComplementOp(),buildMinusOp(),buildNotOp(),buildPointerDerefExp(),buildUnaryAddOp(),buildMinusMinusOp(),buildPlusPlusOp(). | |
| SgUnsignedShortVal * | SageBuilder::buildUnsignedShortVal (unsigned short v=0) |
| Build an unsigned short integer. | |
| SgUnsignedShortVal * | SageBuilder::buildUnsignedShortValHex (unsigned short v=0) |
| Template function to build a unary expression of type T with advanced information specified such as parenthesis and file info. Instantiated functions include:buildAddressOfOp(),buildBitComplementOp(),buildBitComplementOp(),buildMinusOp(),buildNotOp(),buildPointerDerefExp(),buildUnaryAddOp(),buildMinusMinusOp(),buildPlusPlusOp(). | |
| SgUnsignedShortVal * | SageBuilder::buildUnsignedShortVal_nfi (unsigned short v, const std::string &str) |
| Template function to build a unary expression of type T with advanced information specified such as parenthesis and file info. Instantiated functions include:buildAddressOfOp(),buildBitComplementOp(),buildBitComplementOp(),buildMinusOp(),buildNotOp(),buildPointerDerefExp(),buildUnaryAddOp(),buildMinusMinusOp(),buildPlusPlusOp(). | |
| SgUnsignedIntVal * | SageBuilder::buildUnsignedIntVal (unsigned int v=0) |
| Build an unsigned integer. | |
| SgUnsignedIntVal * | SageBuilder::buildUnsignedIntValHex (unsigned int v=0) |
| Template function to build a unary expression of type T with advanced information specified such as parenthesis and file info. Instantiated functions include:buildAddressOfOp(),buildBitComplementOp(),buildBitComplementOp(),buildMinusOp(),buildNotOp(),buildPointerDerefExp(),buildUnaryAddOp(),buildMinusMinusOp(),buildPlusPlusOp(). | |
| SgUnsignedIntVal * | SageBuilder::buildUnsignedIntVal_nfi (unsigned int v, const std::string &str) |
| Template function to build a unary expression of type T with advanced information specified such as parenthesis and file info. Instantiated functions include:buildAddressOfOp(),buildBitComplementOp(),buildBitComplementOp(),buildMinusOp(),buildNotOp(),buildPointerDerefExp(),buildUnaryAddOp(),buildMinusMinusOp(),buildPlusPlusOp(). | |
| SgUnsignedLongVal * | SageBuilder::buildUnsignedLongVal (unsigned long v=0) |
| Build a unsigned long integer. | |
| SgUnsignedLongVal * | SageBuilder::buildUnsignedLongValHex (unsigned long v=0) |
| Template function to build a unary expression of type T with advanced information specified such as parenthesis and file info. Instantiated functions include:buildAddressOfOp(),buildBitComplementOp(),buildBitComplementOp(),buildMinusOp(),buildNotOp(),buildPointerDerefExp(),buildUnaryAddOp(),buildMinusMinusOp(),buildPlusPlusOp(). | |
| SgUnsignedLongVal * | SageBuilder::buildUnsignedLongVal_nfi (unsigned long v, const std::string &str) |
| Template function to build a unary expression of type T with advanced information specified such as parenthesis and file info. Instantiated functions include:buildAddressOfOp(),buildBitComplementOp(),buildBitComplementOp(),buildMinusOp(),buildNotOp(),buildPointerDerefExp(),buildUnaryAddOp(),buildMinusMinusOp(),buildPlusPlusOp(). | |
| SgUnsignedLongLongIntVal * | SageBuilder::buildUnsignedLongLongIntVal (unsigned long long v=0) |
| Build an unsigned long long integer. | |
| SgUnsignedLongLongIntVal * | SageBuilder::buildUnsignedLongLongIntValHex (unsigned long long v=0) |
| Template function to build a unary expression of type T with advanced information specified such as parenthesis and file info. Instantiated functions include:buildAddressOfOp(),buildBitComplementOp(),buildBitComplementOp(),buildMinusOp(),buildNotOp(),buildPointerDerefExp(),buildUnaryAddOp(),buildMinusMinusOp(),buildPlusPlusOp(). | |
| SgUnsignedLongLongIntVal * | SageBuilder::buildUnsignedLongLongIntVal_nfi (unsigned long long v, const std::string &str) |
| Template function to build a unary expression of type T with advanced information specified such as parenthesis and file info. Instantiated functions include:buildAddressOfOp(),buildBitComplementOp(),buildBitComplementOp(),buildMinusOp(),buildNotOp(),buildPointerDerefExp(),buildUnaryAddOp(),buildMinusMinusOp(),buildPlusPlusOp(). | |
| SgUpcThreads * | SageBuilder::buildUpcThreads () |
| Build UPC THREADS (integer expression). | |
| SgUpcThreads * | SageBuilder::buildUpcThreads_nfi () |
| Template function to build a unary expression of type T with advanced information specified such as parenthesis and file info. Instantiated functions include:buildAddressOfOp(),buildBitComplementOp(),buildBitComplementOp(),buildMinusOp(),buildNotOp(),buildPointerDerefExp(),buildUnaryAddOp(),buildMinusMinusOp(),buildPlusPlusOp(). | |
| SgUpcMythread * | SageBuilder::buildUpcMythread () |
| Build UPC MYTHREAD (integer expression). | |
| SgUpcMythread * | SageBuilder::buildUpcMythread_nfi () |
| Template function to build a unary expression of type T with advanced information specified such as parenthesis and file info. Instantiated functions include:buildAddressOfOp(),buildBitComplementOp(),buildBitComplementOp(),buildMinusOp(),buildNotOp(),buildPointerDerefExp(),buildUnaryAddOp(),buildMinusMinusOp(),buildPlusPlusOp(). | |
| SgThisExp * | SageBuilder::buildThisExp (SgClassSymbol *sym) |
| Build this pointer. | |
| SgThisExp * | SageBuilder::buildThisExp_nfi (SgClassSymbol *sym) |
| Template function to build a unary expression of type T with advanced information specified such as parenthesis and file info. Instantiated functions include:buildAddressOfOp(),buildBitComplementOp(),buildBitComplementOp(),buildMinusOp(),buildNotOp(),buildPointerDerefExp(),buildUnaryAddOp(),buildMinusMinusOp(),buildPlusPlusOp(). | |
| SgLambdaRefExp * | SageBuilder::buildLambdaRefExp (SgType *return_type, SgFunctionParameterList *params, SgScopeStatement *scope) |
| Build lambda expression. | |
| template<class T> | |
| T * | SageBuilder::buildUnaryExpression (SgExpression *operand=NULL) |
| Template function to build a unary expression of type T. Instantiated functions include:buildAddressOfOp(),buildBitComplementOp(),buildBitComplementOp(),buildMinusOp(),buildNotOp(),buildPointerDerefExp(),buildUnaryAddOp(),buildMinusMinusOp(),buildPlusPlusOp(). They are also used for the unary vararg operators (which are not technically unary operators). | |
| template<class T> | |
| T * | SageBuilder::buildUnaryExpression_nfi (SgExpression *operand) |
| Template function to build a unary expression of type T with advanced information specified such as parenthesis and file info. Instantiated functions include:buildAddressOfOp(),buildBitComplementOp(),buildBitComplementOp(),buildMinusOp(),buildNotOp(),buildPointerDerefExp(),buildUnaryAddOp(),buildMinusMinusOp(),buildPlusPlusOp(). | |
| SgCastExp * | SageBuilder::buildCastExp (SgExpression *operand_i=NULL, SgType *expression_type=NULL, SgCastExp::cast_type_enum cast_type=SgCastExp::e_C_style_cast) |
| Build a type casting expression. | |
| SgCastExp * | SageBuilder::buildCastExp_nfi (SgExpression *operand_i, SgType *expression_type, SgCastExp::cast_type_enum cast_type) |
| Template function to build a unary expression of type T with advanced information specified such as parenthesis and file info. Instantiated functions include:buildAddressOfOp(),buildBitComplementOp(),buildBitComplementOp(),buildMinusOp(),buildNotOp(),buildPointerDerefExp(),buildUnaryAddOp(),buildMinusMinusOp(),buildPlusPlusOp(). | |
| SgVarArgOp * | SageBuilder::buildVarArgOp_nfi (SgExpression *operand_i, SgType *expression_type) |
| Build vararg op expression. | |
| SgMinusMinusOp * | SageBuilder::buildMinusMinusOp (SgExpression *operand_i, SgUnaryOp::Sgop_mode a_mode) |
| Build -- expression, Sgop_mode is a value of either SgUnaryOp::prefix or SgUnaryOp::postfix. | |
| SgMinusMinusOp * | SageBuilder::buildMinusMinusOp_nfi (SgExpression *operand_i, SgUnaryOp::Sgop_mode a_mode) |
| Template function to build a unary expression of type T with advanced information specified such as parenthesis and file info. Instantiated functions include:buildAddressOfOp(),buildBitComplementOp(),buildBitComplementOp(),buildMinusOp(),buildNotOp(),buildPointerDerefExp(),buildUnaryAddOp(),buildMinusMinusOp(),buildPlusPlusOp(). | |
| SgPlusPlusOp * | SageBuilder::buildPlusPlusOp (SgExpression *operand_i, SgUnaryOp::Sgop_mode a_mode) |
| Build ++x or x++ , specify prefix or postfix using either SgUnaryOp::prefix or SgUnaryOp::postfix. | |
| SgPlusPlusOp * | SageBuilder::buildPlusPlusOp_nfi (SgExpression *operand_i, SgUnaryOp::Sgop_mode a_mode) |
| Template function to build a unary expression of type T with advanced information specified such as parenthesis and file info. Instantiated functions include:buildAddressOfOp(),buildBitComplementOp(),buildBitComplementOp(),buildMinusOp(),buildNotOp(),buildPointerDerefExp(),buildUnaryAddOp(),buildMinusMinusOp(),buildPlusPlusOp(). | |
| SgThrowOp * | SageBuilder::buildThrowOp (SgExpression *, SgThrowOp::e_throw_kind) |
| Build a ThrowOp expression. | |
| SgNewExp * | SageBuilder::buildNewExp (SgType *type, SgExprListExp *exprListExp, SgConstructorInitializer *constInit, SgExpression *expr, short int val, SgFunctionDeclaration *funcDecl) |
| Template function to build a unary expression of type T with advanced information specified such as parenthesis and file info. Instantiated functions include:buildAddressOfOp(),buildBitComplementOp(),buildBitComplementOp(),buildMinusOp(),buildNotOp(),buildPointerDerefExp(),buildUnaryAddOp(),buildMinusMinusOp(),buildPlusPlusOp(). | |
| SgDeleteExp * | SageBuilder::buildDeleteExp (SgExpression *variable, short is_array, short need_global_specifier, SgFunctionDeclaration *deleteOperatorDeclaration) |
| Template function to build a unary expression of type T with advanced information specified such as parenthesis and file info. Instantiated functions include:buildAddressOfOp(),buildBitComplementOp(),buildBitComplementOp(),buildMinusOp(),buildNotOp(),buildPointerDerefExp(),buildUnaryAddOp(),buildMinusMinusOp(),buildPlusPlusOp(). | |
| template<class T> | |
| T * | SageBuilder::buildBinaryExpression (SgExpression *lhs=NULL, SgExpression *rhs=NULL) |
| Template function to build a binary expression of type T, taking care of parent pointers, file info, lvalue, etc. Available instances include: buildAddOp(), buildAndAssignOp(), buildAndOp(), buildArrowExp(),buildArrowStarOp(), buildAssignOp(),buildBitAndOp(),buildBitOrOp(),buildBitXorOp(),buildCommaOpExp(), buildConcatenationOp(),buildDivAssignOp(),buildDivideOp(),buildDotExp(),buildEqualityOp(),buildExponentiationOp(),buildGreaterOrEqualOp(),buildGreaterThanOp(),buildIntegerDivideOp(),buildIorAssignOp(),buildLessOrEqualOp(),buildLessThanOp(),buildLshiftAssignOp(),buildLshiftOp(),buildMinusAssignOp(),buildModAssignOp(),buildModOp(),buildMultAssignOp(),buildMultiplyOp(),buildNotEqualOp(),buildOrOp(),buildPlusAssignOp(),buildPntrArrRefExp(),buildRshiftAssignOp(),buildRshiftOp(),buildScopeOp(),buildSubtractOp()buildXorAssignOp(). | |
| template<class T> | |
| T * | SageBuilder::buildBinaryExpression_nfi (SgExpression *lhs, SgExpression *rhs) |
| Template function to build a unary expression of type T with advanced information specified such as parenthesis and file info. Instantiated functions include:buildAddressOfOp(),buildBitComplementOp(),buildBitComplementOp(),buildMinusOp(),buildNotOp(),buildPointerDerefExp(),buildUnaryAddOp(),buildMinusMinusOp(),buildPlusPlusOp(). | |
| SgConditionalExp * | SageBuilder::buildConditionalExp (SgExpression *test=NULL, SgExpression *a=NULL, SgExpression *b=NULL) |
| Build a conditional expression ?:. | |
| SgConditionalExp * | SageBuilder::buildConditionalExp_nfi (SgExpression *test, SgExpression *a, SgExpression *b, SgType *t) |
| Template function to build a unary expression of type T with advanced information specified such as parenthesis and file info. Instantiated functions include:buildAddressOfOp(),buildBitComplementOp(),buildBitComplementOp(),buildMinusOp(),buildNotOp(),buildPointerDerefExp(),buildUnaryAddOp(),buildMinusMinusOp(),buildPlusPlusOp(). | |
| SgExprListExp * | SageBuilder::buildExprListExp (SgExpression *expr1=NULL, SgExpression *expr2=NULL, SgExpression *expr3=NULL, SgExpression *expr4=NULL, SgExpression *expr5=NULL, SgExpression *expr6=NULL, SgExpression *expr7=NULL, SgExpression *expr8=NULL, SgExpression *expr9=NULL, SgExpression *expr10=NULL) |
| Build a SgExprListExp, used for function call parameter list etc. | |
| SgExprListExp * | SageBuilder::buildExprListExp (const std::vector< SgExpression * > &exprs) |
| Template function to build a unary expression of type T with advanced information specified such as parenthesis and file info. Instantiated functions include:buildAddressOfOp(),buildBitComplementOp(),buildBitComplementOp(),buildMinusOp(),buildNotOp(),buildPointerDerefExp(),buildUnaryAddOp(),buildMinusMinusOp(),buildPlusPlusOp(). | |
| SgExprListExp * | SageBuilder::buildExprListExp_nfi () |
| Template function to build a unary expression of type T with advanced information specified such as parenthesis and file info. Instantiated functions include:buildAddressOfOp(),buildBitComplementOp(),buildBitComplementOp(),buildMinusOp(),buildNotOp(),buildPointerDerefExp(),buildUnaryAddOp(),buildMinusMinusOp(),buildPlusPlusOp(). | |
| SgExprListExp * | SageBuilder::buildExprListExp_nfi (const std::vector< SgExpression * > &exprs) |
| Template function to build a unary expression of type T with advanced information specified such as parenthesis and file info. Instantiated functions include:buildAddressOfOp(),buildBitComplementOp(),buildBitComplementOp(),buildMinusOp(),buildNotOp(),buildPointerDerefExp(),buildUnaryAddOp(),buildMinusMinusOp(),buildPlusPlusOp(). | |
| SgTupleExp * | SageBuilder::buildTupleExp (SgExpression *expr1=NULL, SgExpression *expr2=NULL, SgExpression *expr3=NULL, SgExpression *expr4=NULL, SgExpression *expr5=NULL, SgExpression *expr6=NULL, SgExpression *expr7=NULL, SgExpression *expr8=NULL, SgExpression *expr9=NULL, SgExpression *expr10=NULL) |
| Build a SgTupleExp. | |
| SgTupleExp * | SageBuilder::buildTupleExp (const std::vector< SgExpression * > &exprs) |
| Template function to build a unary expression of type T with advanced information specified such as parenthesis and file info. Instantiated functions include:buildAddressOfOp(),buildBitComplementOp(),buildBitComplementOp(),buildMinusOp(),buildNotOp(),buildPointerDerefExp(),buildUnaryAddOp(),buildMinusMinusOp(),buildPlusPlusOp(). | |
| SgTupleExp * | SageBuilder::buildTupleExp_nfi () |
| Template function to build a unary expression of type T with advanced information specified such as parenthesis and file info. Instantiated functions include:buildAddressOfOp(),buildBitComplementOp(),buildBitComplementOp(),buildMinusOp(),buildNotOp(),buildPointerDerefExp(),buildUnaryAddOp(),buildMinusMinusOp(),buildPlusPlusOp(). | |
| SgTupleExp * | SageBuilder::buildTupleExp_nfi (const std::vector< SgExpression * > &exprs) |
| Template function to build a unary expression of type T with advanced information specified such as parenthesis and file info. Instantiated functions include:buildAddressOfOp(),buildBitComplementOp(),buildBitComplementOp(),buildMinusOp(),buildNotOp(),buildPointerDerefExp(),buildUnaryAddOp(),buildMinusMinusOp(),buildPlusPlusOp(). | |
| SgListExp * | SageBuilder::buildListExp (SgExpression *expr1=NULL, SgExpression *expr2=NULL, SgExpression *expr3=NULL, SgExpression *expr4=NULL, SgExpression *expr5=NULL, SgExpression *expr6=NULL, SgExpression *expr7=NULL, SgExpression *expr8=NULL, SgExpression *expr9=NULL, SgExpression *expr10=NULL) |
| Build a SgListExp. | |
| SgListExp * | SageBuilder::buildListExp (const std::vector< SgExpression * > &exprs) |
| Template function to build a unary expression of type T with advanced information specified such as parenthesis and file info. Instantiated functions include:buildAddressOfOp(),buildBitComplementOp(),buildBitComplementOp(),buildMinusOp(),buildNotOp(),buildPointerDerefExp(),buildUnaryAddOp(),buildMinusMinusOp(),buildPlusPlusOp(). | |
| SgListExp * | SageBuilder::buildListExp_nfi () |
| Template function to build a unary expression of type T with advanced information specified such as parenthesis and file info. Instantiated functions include:buildAddressOfOp(),buildBitComplementOp(),buildBitComplementOp(),buildMinusOp(),buildNotOp(),buildPointerDerefExp(),buildUnaryAddOp(),buildMinusMinusOp(),buildPlusPlusOp(). | |
| SgListExp * | SageBuilder::buildListExp_nfi (const std::vector< SgExpression * > &exprs) |
| Template function to build a unary expression of type T with advanced information specified such as parenthesis and file info. Instantiated functions include:buildAddressOfOp(),buildBitComplementOp(),buildBitComplementOp(),buildMinusOp(),buildNotOp(),buildPointerDerefExp(),buildUnaryAddOp(),buildMinusMinusOp(),buildPlusPlusOp(). | |
| SgComprehension * | SageBuilder::buildComprehension (SgExpression *target, SgExpression *iter, SgExprListExp *ifs) |
| Template function to build a unary expression of type T with advanced information specified such as parenthesis and file info. Instantiated functions include:buildAddressOfOp(),buildBitComplementOp(),buildBitComplementOp(),buildMinusOp(),buildNotOp(),buildPointerDerefExp(),buildUnaryAddOp(),buildMinusMinusOp(),buildPlusPlusOp(). | |
| SgComprehension * | SageBuilder::buildComprehension_nfi (SgExpression *target, SgExpression *iter, SgExprListExp *ifs) |
| Template function to build a unary expression of type T with advanced information specified such as parenthesis and file info. Instantiated functions include:buildAddressOfOp(),buildBitComplementOp(),buildBitComplementOp(),buildMinusOp(),buildNotOp(),buildPointerDerefExp(),buildUnaryAddOp(),buildMinusMinusOp(),buildPlusPlusOp(). | |
| SgListComprehension * | SageBuilder::buildListComprehension (SgExpression *elt, SgExprListExp *generators) |
| Template function to build a unary expression of type T with advanced information specified such as parenthesis and file info. Instantiated functions include:buildAddressOfOp(),buildBitComplementOp(),buildBitComplementOp(),buildMinusOp(),buildNotOp(),buildPointerDerefExp(),buildUnaryAddOp(),buildMinusMinusOp(),buildPlusPlusOp(). | |
| SgListComprehension * | SageBuilder::buildListComprehension_nfi (SgExpression *elt, SgExprListExp *generators) |
| Template function to build a unary expression of type T with advanced information specified such as parenthesis and file info. Instantiated functions include:buildAddressOfOp(),buildBitComplementOp(),buildBitComplementOp(),buildMinusOp(),buildNotOp(),buildPointerDerefExp(),buildUnaryAddOp(),buildMinusMinusOp(),buildPlusPlusOp(). | |
| SgSetComprehension * | SageBuilder::buildSetComprehension (SgExpression *elt, SgExprListExp *generators) |
| Template function to build a unary expression of type T with advanced information specified such as parenthesis and file info. Instantiated functions include:buildAddressOfOp(),buildBitComplementOp(),buildBitComplementOp(),buildMinusOp(),buildNotOp(),buildPointerDerefExp(),buildUnaryAddOp(),buildMinusMinusOp(),buildPlusPlusOp(). | |
| SgSetComprehension * | SageBuilder::buildSetComprehension_nfi (SgExpression *elt, SgExprListExp *generators) |
| Template function to build a unary expression of type T with advanced information specified such as parenthesis and file info. Instantiated functions include:buildAddressOfOp(),buildBitComplementOp(),buildBitComplementOp(),buildMinusOp(),buildNotOp(),buildPointerDerefExp(),buildUnaryAddOp(),buildMinusMinusOp(),buildPlusPlusOp(). | |
| SgDictionaryComprehension * | SageBuilder::buildDictionaryComprehension (SgKeyDatumPair *kd_pair, SgExprListExp *generators) |
| Template function to build a unary expression of type T with advanced information specified such as parenthesis and file info. Instantiated functions include:buildAddressOfOp(),buildBitComplementOp(),buildBitComplementOp(),buildMinusOp(),buildNotOp(),buildPointerDerefExp(),buildUnaryAddOp(),buildMinusMinusOp(),buildPlusPlusOp(). | |
| SgDictionaryComprehension * | SageBuilder::buildDictionaryComprehension_nfi (SgKeyDatumPair *kd_pair, SgExprListExp *generators) |
| Template function to build a unary expression of type T with advanced information specified such as parenthesis and file info. Instantiated functions include:buildAddressOfOp(),buildBitComplementOp(),buildBitComplementOp(),buildMinusOp(),buildNotOp(),buildPointerDerefExp(),buildUnaryAddOp(),buildMinusMinusOp(),buildPlusPlusOp(). | |
| SgVarRefExp * | SageBuilder::buildVarRefExp (const SgName &name, SgScopeStatement *scope=NULL) |
| Build SgVarRefExp based on a variable's Sage name. It will lookup symbol table internally starting from scope. A variable name is unique so type can be inferred (double check this). | |
| SgVarRefExp * | SageBuilder::buildVarRefExp (const std::string &varName, SgScopeStatement *scope=NULL) |
| Build SgVarRefExp based on a variable's name. It will lookup symbol table internally starting from scope. A variable is unique so type can be inferred. | |
| SgVarRefExp * | SageBuilder::buildVarRefExp (const char *varName, SgScopeStatement *scope=NULL) |
| Build a variable reference using a C style char array. | |
| SgVarRefExp * | SageBuilder::buildVarRefExp (SgVariableSymbol *varSymbol) |
| Build a variable reference from an existing symbol. | |
| SgVarRefExp * | SageBuilder::buildVarRefExp_nfi (SgVariableSymbol *varSymbol) |
| Template function to build a unary expression of type T with advanced information specified such as parenthesis and file info. Instantiated functions include:buildAddressOfOp(),buildBitComplementOp(),buildBitComplementOp(),buildMinusOp(),buildNotOp(),buildPointerDerefExp(),buildUnaryAddOp(),buildMinusMinusOp(),buildPlusPlusOp(). | |
| SgVarRefExp * | SageBuilder::buildVarRefExp (SgVariableDeclaration *vardecl) |
| Build a variable reference from an existing variable declaration. The assumption is a SgVariableDeclartion only declares one variable in the ROSE AST. | |
| SgVarRefExp * | SageBuilder::buildVarRefExp (SgInitializedName *initname, SgScopeStatement *scope=NULL) |
| build a variable reference from an initialized name It first tries to grab the associated symbol, then call buildVarRefExp(const SgName& name, SgScopeStatement*) if symbol does not exist. | |
| SgVarRefExp * | SageBuilder::buildOpaqueVarRefExp (const std::string &varName, SgScopeStatement *scope=NULL) |
| Build a variable reference expression at scope to an opaque variable which has unknown information except for its name. Used when referring to an internal variable defined in some headers of runtime libraries.(The headers are not yet inserted into the file during translation). Similar to buildOpaqueType();. | |
| SgLabelRefExp * | SageBuilder::buildLabelRefExp (SgLabelSymbol *s) |
| Build a Fortran numeric label ref exp. | |
| SgFunctionRefExp * | SageBuilder::buildFunctionRefExp (const SgName &name, const SgType *func_type, SgScopeStatement *scope=NULL) |
| Build SgFunctionRefExp based on a C++ function's name and function type. It will lookup symbol table internally starting from scope. A hidden prototype will be created internally to introduce a new function symbol if the function symbol cannot be found. | |
| SgFunctionRefExp * | SageBuilder::buildFunctionRefExp (const char *name, const SgType *func_type, SgScopeStatement *scope=NULL) |
| Template function to build a unary expression of type T with advanced information specified such as parenthesis and file info. Instantiated functions include:buildAddressOfOp(),buildBitComplementOp(),buildBitComplementOp(),buildMinusOp(),buildNotOp(),buildPointerDerefExp(),buildUnaryAddOp(),buildMinusMinusOp(),buildPlusPlusOp(). | |
| SgFunctionRefExp * | SageBuilder::buildFunctionRefExp (const SgName &name, SgScopeStatement *scope=NULL) |
| Build SgFunctionRefExp based on a C function's name. It will lookup symbol table internally starting from scope and return the first matching function. | |
| SgFunctionRefExp * | SageBuilder::buildFunctionRefExp (const char *name, SgScopeStatement *scope=NULL) |
| Template function to build a unary expression of type T with advanced information specified such as parenthesis and file info. Instantiated functions include:buildAddressOfOp(),buildBitComplementOp(),buildBitComplementOp(),buildMinusOp(),buildNotOp(),buildPointerDerefExp(),buildUnaryAddOp(),buildMinusMinusOp(),buildPlusPlusOp(). | |
| SgFunctionRefExp * | SageBuilder::buildFunctionRefExp (const SgFunctionDeclaration *func_decl) |
| Build SgFunctionRefExp based on a function's declaration. | |
| SgFunctionRefExp * | SageBuilder::buildFunctionRefExp (SgFunctionSymbol *sym) |
| Build SgFunctionRefExp based on a function's symbol. | |
| SgFunctionRefExp * | SageBuilder::buildFunctionRefExp_nfi (SgFunctionSymbol *sym) |
| Template function to build a unary expression of type T with advanced information specified such as parenthesis and file info. Instantiated functions include:buildAddressOfOp(),buildBitComplementOp(),buildBitComplementOp(),buildMinusOp(),buildNotOp(),buildPointerDerefExp(),buildUnaryAddOp(),buildMinusMinusOp(),buildPlusPlusOp(). | |
| SgMemberFunctionRefExp * | SageBuilder::buildMemberFunctionRefExp_nfi (SgMemberFunctionSymbol *sym, bool virtual_call, bool need_qualifier) |
| Template function to build a unary expression of type T with advanced information specified such as parenthesis and file info. Instantiated functions include:buildAddressOfOp(),buildBitComplementOp(),buildBitComplementOp(),buildMinusOp(),buildNotOp(),buildPointerDerefExp(),buildUnaryAddOp(),buildMinusMinusOp(),buildPlusPlusOp(). | |
| SgMemberFunctionRefExp * | SageBuilder::buildMemberFunctionRefExp (SgMemberFunctionSymbol *sym, bool virtual_call, bool need_qualifier) |
| Template function to build a unary expression of type T with advanced information specified such as parenthesis and file info. Instantiated functions include:buildAddressOfOp(),buildBitComplementOp(),buildBitComplementOp(),buildMinusOp(),buildNotOp(),buildPointerDerefExp(),buildUnaryAddOp(),buildMinusMinusOp(),buildPlusPlusOp(). | |
| SgClassNameRefExp * | SageBuilder::buildClassNameRefExp_nfi (SgClassSymbol *sym) |
| Template function to build a unary expression of type T with advanced information specified such as parenthesis and file info. Instantiated functions include:buildAddressOfOp(),buildBitComplementOp(),buildBitComplementOp(),buildMinusOp(),buildNotOp(),buildPointerDerefExp(),buildUnaryAddOp(),buildMinusMinusOp(),buildPlusPlusOp(). | |
| SgClassNameRefExp * | SageBuilder::buildClassNameRefExp (SgClassSymbol *sym) |
| Template function to build a unary expression of type T with advanced information specified such as parenthesis and file info. Instantiated functions include:buildAddressOfOp(),buildBitComplementOp(),buildBitComplementOp(),buildMinusOp(),buildNotOp(),buildPointerDerefExp(),buildUnaryAddOp(),buildMinusMinusOp(),buildPlusPlusOp(). | |
| SgFunctionCallExp * | SageBuilder::buildFunctionCallExp (SgFunctionSymbol *sym, SgExprListExp *parameters=NULL) |
| Build a function call expression. | |
| SgFunctionCallExp * | SageBuilder::buildFunctionCallExp_nfi (SgExpression *f, SgExprListExp *parameters=NULL) |
| Template function to build a unary expression of type T with advanced information specified such as parenthesis and file info. Instantiated functions include:buildAddressOfOp(),buildBitComplementOp(),buildBitComplementOp(),buildMinusOp(),buildNotOp(),buildPointerDerefExp(),buildUnaryAddOp(),buildMinusMinusOp(),buildPlusPlusOp(). | |
| SgFunctionCallExp * | SageBuilder::buildFunctionCallExp (SgExpression *f, SgExprListExp *parameters=NULL) |
| Template function to build a unary expression of type T with advanced information specified such as parenthesis and file info. Instantiated functions include:buildAddressOfOp(),buildBitComplementOp(),buildBitComplementOp(),buildMinusOp(),buildNotOp(),buildPointerDerefExp(),buildUnaryAddOp(),buildMinusMinusOp(),buildPlusPlusOp(). | |
| SgFunctionCallExp * | SageBuilder::buildFunctionCallExp (const SgName &name, SgType *return_type, SgExprListExp *parameters=NULL, SgScopeStatement *scope=NULL) |
| Build a function call expression,it will automatically search for function symbols internally to build a right function reference etc. It tolerates the lack of the function symbol to support generating calls to library functions whose headers have not yet been inserted. | |
| SgCudaKernelCallExp * | SageBuilder::buildCudaKernelCallExp_nfi (SgExpression *kernel, SgExprListExp *parameters=NULL, SgCudaKernelExecConfig *config=NULL) |
| Build a CUDA kernel call expression (kernel<<<config>>>(parameters)). | |
| SgCudaKernelExecConfig * | SageBuilder::buildCudaKernelExecConfig_nfi (SgExpression *grid=NULL, SgExpression *blocks=NULL, SgExpression *shared=NULL, SgExpression *stream=NULL) |
| Build a CUDA kernel execution configuration (<<<grid, blocks, shared, stream>>>). | |
| SgAssignInitializer * | SageBuilder::buildAssignInitializer (SgExpression *operand_i=NULL, SgType *expression_type=NULL) |
| Build the rhs of a variable declaration which includes an assignment. | |
| SgAssignInitializer * | SageBuilder::buildAssignInitializer_nfi (SgExpression *operand_i=NULL, SgType *expression_type=NULL) |
| Template function to build a unary expression of type T with advanced information specified such as parenthesis and file info. Instantiated functions include:buildAddressOfOp(),buildBitComplementOp(),buildBitComplementOp(),buildMinusOp(),buildNotOp(),buildPointerDerefExp(),buildUnaryAddOp(),buildMinusMinusOp(),buildPlusPlusOp(). | |
| SgAggregateInitializer * | SageBuilder::buildAggregateInitializer (SgExprListExp *initializers=NULL, SgType *type=NULL) |
| Build an aggregate initializer. | |
| SgAggregateInitializer * | SageBuilder::buildAggregateInitializer_nfi (SgExprListExp *initializers, SgType *type=NULL) |
| Template function to build a unary expression of type T with advanced information specified such as parenthesis and file info. Instantiated functions include:buildAddressOfOp(),buildBitComplementOp(),buildBitComplementOp(),buildMinusOp(),buildNotOp(),buildPointerDerefExp(),buildUnaryAddOp(),buildMinusMinusOp(),buildPlusPlusOp(). | |
| SgConstructorInitializer * | SageBuilder::buildConstructorInitializer (SgMemberFunctionDeclaration *declaration, SgExprListExp *args, SgType *expression_type, bool need_name, bool need_qualifier, bool need_parenthesis_after_name, bool associated_class_unknown) |
| Template function to build a unary expression of type T with advanced information specified such as parenthesis and file info. Instantiated functions include:buildAddressOfOp(),buildBitComplementOp(),buildBitComplementOp(),buildMinusOp(),buildNotOp(),buildPointerDerefExp(),buildUnaryAddOp(),buildMinusMinusOp(),buildPlusPlusOp(). | |
| SgConstructorInitializer * | SageBuilder::buildConstructorInitializer_nfi (SgMemberFunctionDeclaration *declaration, SgExprListExp *args, SgType *expression_type, bool need_name, bool need_qualifier, bool need_parenthesis_after_name, bool associated_class_unknown) |
| Template function to build a unary expression of type T with advanced information specified such as parenthesis and file info. Instantiated functions include:buildAddressOfOp(),buildBitComplementOp(),buildBitComplementOp(),buildMinusOp(),buildNotOp(),buildPointerDerefExp(),buildUnaryAddOp(),buildMinusMinusOp(),buildPlusPlusOp(). | |
| SgSizeOfOp * | SageBuilder::buildSizeOfOp (SgExpression *exp=NULL) |
| Build sizeof() expression with an expression parameter. | |
| SgSizeOfOp * | SageBuilder::buildSizeOfOp_nfi (SgExpression *exp) |
| Template function to build a unary expression of type T with advanced information specified such as parenthesis and file info. Instantiated functions include:buildAddressOfOp(),buildBitComplementOp(),buildBitComplementOp(),buildMinusOp(),buildNotOp(),buildPointerDerefExp(),buildUnaryAddOp(),buildMinusMinusOp(),buildPlusPlusOp(). | |
| SgSizeOfOp * | SageBuilder::buildSizeOfOp (SgType *type=NULL) |
| Build sizeof() expression with a type parameter. | |
| SgSizeOfOp * | SageBuilder::buildSizeOfOp_nfi (SgType *type) |
| Template function to build a unary expression of type T with advanced information specified such as parenthesis and file info. Instantiated functions include:buildAddressOfOp(),buildBitComplementOp(),buildBitComplementOp(),buildMinusOp(),buildNotOp(),buildPointerDerefExp(),buildUnaryAddOp(),buildMinusMinusOp(),buildPlusPlusOp(). | |
| SgJavaInstanceOfOp * | SageBuilder::buildJavaInstanceOfOp (SgExpression *exp=NULL, SgType *type=NULL) |
| This is part of Java specific operator support. | |
Scope stack interfaces | |
| a global data structure to store current scope and parent scopes. Scope stack is provided as an alternative to manually passing scope parameters to builder functions. It is not required to be used. Please use the recommendeded operation functions for maintaining the scope stack. Don't use raw container access functions to ScopeStack. e.g. avoid ScopeStack.push_back(), using pushScopeStack() instead.
| |
| void | SageBuilder::pushScopeStack (SgScopeStatement *stmt) |
| Public interfaces of the scope stack, should be stable. | |
| void | SageBuilder::pushScopeStack (SgNode *node) |
| Public interfaces of the scope stack, should be stable. | |
| void | SageBuilder::popScopeStack () |
| Public interfaces of the scope stack, should be stable. | |
| SgScopeStatement * | SageBuilder::topScopeStack () |
| Public interfaces of the scope stack, should be stable. | |
| bool | SageBuilder::emptyScopeStack () |
| Public interfaces of the scope stack, should be stable. | |
| void | SageBuilder::clearScopeStack () |
| Public interfaces of the scope stack, should be stable. | |
| std::list< SgScopeStatement * > | SageBuilder::ScopeStack |
| intended to be a private member, don't access it directly. could be changed any time | |
| bool | SageBuilder::symbol_table_case_insensitive_semantics |
| Support for construction of case sensitive/insensitive symbol table handling in scopes. | |
Builders for SgType | |
| Builders for simple and complex SgType nodes, such as integer type, function type, array type, struct type, etc.
| |
| SgTypeBool * | SageBuilder::buildBoolType () |
| Built in simple types. | |
| SgTypeChar * | SageBuilder::buildCharType () |
| Built in simple types. | |
| SgTypeDouble * | SageBuilder::buildDoubleType () |
| Built in simple types. | |
| SgTypeFloat * | SageBuilder::buildFloatType () |
| Built in simple types. | |
| SgTypeInt * | SageBuilder::buildIntType () |
| Built in simple types. | |
| SgTypeLong * | SageBuilder::buildLongType () |
| Built in simple types. | |
| SgTypeLongDouble * | SageBuilder::buildLongDoubleType () |
| Built in simple types. | |
| SgTypeLongLong * | SageBuilder::buildLongLongType () |
| Built in simple types. | |
| SgTypeShort * | SageBuilder::buildShortType () |
| Built in simple types. | |
| SgTypeString * | SageBuilder::buildStringType () |
| Built in simple types. | |
| SgTypeString * | SageBuilder::buildStringType (SgExpression *stringLengthExpression) |
| Built in simple types. | |
| SgTypeVoid * | SageBuilder::buildVoidType () |
| Built in simple types. | |
| SgTypeWchar * | SageBuilder::buildWcharType () |
| Built in simple types. | |
| SgTypeSignedChar * | SageBuilder::buildSignedCharType () |
| Built in simple types. | |
| SgTypeSignedInt * | SageBuilder::buildSignedIntType () |
| Built in simple types. | |
| SgTypeSignedLong * | SageBuilder::buildSignedLongType () |
| Built in simple types. | |
| SgTypeSignedLongLong * | SageBuilder::buildSignedLongLongType () |
| Built in simple types. | |
| SgTypeSignedShort * | SageBuilder::buildSignedShortType () |
| Built in simple types. | |
| SgTypeUnsignedChar * | SageBuilder::buildUnsignedCharType () |
| Built in simple types. | |
| SgTypeUnsignedInt * | SageBuilder::buildUnsignedIntType () |
| Built in simple types. | |
| SgTypeUnsignedLong * | SageBuilder::buildUnsignedLongType () |
| Built in simple types. | |
| SgTypeUnsignedLongLong * | SageBuilder::buildUnsignedLongLongType () |
| Built in simple types. | |
| SgTypeUnsignedShort * | SageBuilder::buildUnsignedShortType () |
| Built in simple types. | |
| SgTypeUnknown * | SageBuilder::buildUnknownType () |
| Built in simple types. | |
| SgPointerType * | SageBuilder::buildPointerType (SgType *base_type=NULL) |
| Build a pointer type. | |
| SgReferenceType * | SageBuilder::buildReferenceType (SgType *base_type=NULL) |
| Build a reference type. | |
| SgModifierType * | SageBuilder::buildModifierType (SgType *base_type=NULL) |
| Build a modifier type. | |
| SgModifierType * | SageBuilder::buildConstType (SgType *base_type=NULL) |
| Build a const type. | |
| SgModifierType * | SageBuilder::buildVolatileType (SgType *base_type=NULL) |
| Build a volatile type. | |
| SgModifierType * | SageBuilder::buildRestrictType (SgType *base_type) |
| Build a restrict type. | |
| SgArrayType * | SageBuilder::buildArrayType (SgType *base_type=NULL, SgExpression *index=NULL) |
| Build ArrayType. | |
| SgModifierType * | SageBuilder::buildFortranKindType (SgType *base_type, SgExpression *kindExpression) |
| Build a type based on the Fortran kind mechanism. | |
| SgFunctionType * | SageBuilder::buildFunctionType (SgType *return_type, SgFunctionParameterTypeList *typeList=NULL) |
| Build function type from return type and parameter type list. | |
| SgFunctionType * | SageBuilder::buildFunctionType (SgType *return_type, SgFunctionParameterList *argList=NULL) |
| Build function type from return type and parameter list. | |
| SgMemberFunctionType * | SageBuilder::buildMemberFunctionType (SgType *return_type, SgFunctionParameterTypeList *typeList, SgClassDefinition *struct_name, unsigned int mfunc_specifier) |
| Built in simple types. | |
| SgType * | SageBuilder::buildOpaqueType (std::string const type_name, SgScopeStatement *scope) |
| Build an opaque type with a name, useful when a type's details are unknown during transformation, especially for a runtime library's internal type. Must provide scope here. | |
| SgModifierType * | SageBuilder::buildUpcStrictType (SgType *base_type=NULL) |
| Build a UPC strict type. | |
| SgModifierType * | SageBuilder::buildUpcRelaxedType (SgType *base_type=NULL) |
| Build a UPC relaxed type. | |
| SgModifierType * | SageBuilder::buildUpcSharedType (SgType *base_type=NULL, long layout=-1) |
| Build a UPC shared type. | |
| SgModifierType * | SageBuilder::buildUpcBlockIndefiniteType (SgType *base_type=NULL) |
| Build a UPC shared[] type. | |
| SgModifierType * | SageBuilder::buildUpcBlockStarType (SgType *base_type=NULL) |
| Build a UPC shared[*] type. | |
| SgModifierType * | SageBuilder::buildUpcBlockNumberType (SgType *base_type, long block_factor) |
| Build a UPC shared[n] type. | |
| SgTypeComplex * | SageBuilder::buildComplexType (SgType *base_type=NULL) |
| Build a complex type. | |
| SgTypeImaginary * | SageBuilder::buildImaginaryType (SgType *base_type=NULL) |
| Build an imaginary type. | |
| SgConstVolatileModifier * | SageBuilder::buildConstVolatileModifier (SgConstVolatileModifier::cv_modifier_enum mtype=SgConstVolatileModifier::e_unknown) |
| Build a const/volatile type qualifier. | |
Builders for support nodes | |
| AST high level builders for SgSupport nodes | |
| SgInitializedName * | SageBuilder::buildInitializedName (const SgName &name, SgType *type, SgInitializer *init=NULL) |
| Initialized names are tricky, their scope vary depending on context, so scope and symbol information are not needed until the initialized name is being actually used somewhere. | |
| SgInitializedName * | SageBuilder::buildInitializedName (const std::string &name, SgType *type) |
| Initialized names are tricky, their scope vary depending on context, so scope and symbol information are not needed until the initialized name is being actually used somewhere. | |
| SgInitializedName * | SageBuilder::buildInitializedName (const char *name, SgType *type) |
| Initialized names are tricky, their scope vary depending on context, so scope and symbol information are not needed until the initialized name is being actually used somewhere. | |
| SgInitializedName * | SageBuilder::buildInitializedName_nfi (const SgName &name, SgType *type, SgInitializer *init) |
| Initialized names are tricky, their scope vary depending on context, so scope and symbol information are not needed until the initialized name is being actually used somewhere. | |
| SgFunctionParameterTypeList * | SageBuilder::buildFunctionParameterTypeList (SgFunctionParameterList *paralist) |
| Build SgFunctionParameterTypeList from SgFunctionParameterList. | |
| SgFunctionParameterTypeList * | SageBuilder::buildFunctionParameterTypeList (SgExprListExp *expList) |
| Build SgFunctionParameterTypeList from an expression list, useful when building a function call. | |
| SgFunctionParameterTypeList * | SageBuilder::buildFunctionParameterTypeList (SgType *type0=NULL, SgType *type1=NULL, SgType *type2=NULL, SgType *type3=NULL, SgType *type4=NULL, SgType *type5=NULL, SgType *type6=NULL, SgType *type7=NULL) |
| Build an SgFunctionParameterTypeList from SgTypes. To build an. | |
Builders for statements | |
| AST high level builders for SgStatement, explicit scope parameters are allowed for flexibility. Please use SageInterface::appendStatement(), prependStatement(), and insertStatement() to attach the newly built statements into an AST tree. Calling member functions like SgScopeStatement::prepend_statement() or using container functions such as pushback() is discouraged since they don't handle many side effects for symbol tables, source file information, scope and parent pointers etc. | |
| SgVariableDeclaration * | SageBuilder::buildVariableDeclaration (const SgName &name, SgType *type, SgInitializer *varInit=NULL, SgScopeStatement *scope=NULL) |
| Build a variable declaration, handle symbol table transparently. | |
| SgVariableDeclaration * | SageBuilder::buildVariableDeclaration (const std::string &name, SgType *type, SgInitializer *varInit=NULL, SgScopeStatement *scope=NULL) |
| Build a variable declaration, handle symbol table transparently. | |
| SgVariableDeclaration * | SageBuilder::buildVariableDeclaration (const char *name, SgType *type, SgInitializer *varInit=NULL, SgScopeStatement *scope=NULL) |
| Build a variable declaration, handle symbol table transparently. | |
| SgVariableDeclaration * | SageBuilder::buildVariableDeclaration_nfi (const SgName &name, SgType *type, SgInitializer *varInit, SgScopeStatement *scope) |
| Build a variable declaration, handle symbol table transparently. | |
| SgTypedefDeclaration * | SageBuilder::buildTypedefDeclaration (const std::string &name, SgType *base_type, SgScopeStatement *scope=NULL) |
| Build a typedef declaration, such as: typedef int myint;. | |
| SgTypedefDeclaration * | SageBuilder::buildTypedefDeclaration_nfi (const std::string &name, SgType *base_type, SgScopeStatement *scope=NULL) |
| Build a variable declaration, handle symbol table transparently. | |
| SgFunctionParameterList * | SageBuilder::buildFunctionParameterList (SgInitializedName *in1=NULL, SgInitializedName *in2=NULL, SgInitializedName *in3=NULL, SgInitializedName *in4=NULL, SgInitializedName *in5=NULL, SgInitializedName *in6=NULL, SgInitializedName *in7=NULL, SgInitializedName *in8=NULL, SgInitializedName *in9=NULL, SgInitializedName *in10=NULL) |
| Build an empty SgFunctionParameterList, possibly with some initialized names filled in. | |
| SgFunctionParameterList * | SageBuilder::buildFunctionParameterList_nfi () |
| Build a variable declaration, handle symbol table transparently. | |
| SgFunctionParameterList * | SageBuilder::buildFunctionParameterList (SgFunctionParameterTypeList *paraTypeList) |
| Build an SgFunctionParameterList from SgFunctionParameterTypeList, like (int, float,...), used for parameter list of prototype functions when function type( including parameter type list) is known. | |
| SgFunctionParameterList * | SageBuilder::buildFunctionParameterList_nfi (SgFunctionParameterTypeList *paraTypeList) |
| Build a variable declaration, handle symbol table transparently. | |
| template<class actualFunction> | |
| actualFunction * | SageBuilder::buildNondefiningFunctionDeclaration_T (const SgName &name, SgType *return_type, SgFunctionParameterList *paralist, bool isMemberFunction, SgScopeStatement *scope=NULL, SgExprListExp *decoratorList=NULL, unsigned int functionConstVolatileFlags=0) |
| A template function for function prototype declaration builders. | |
| SgFunctionDeclaration * | SageBuilder::buildNondefiningFunctionDeclaration (const SgName &name, SgType *return_type, SgFunctionParameterList *parlist, SgScopeStatement *scope=NULL, SgExprListExp *decoratorList=NULL) |
| Build a prototype for a function, handle function type, symbol etc transparently. | |
| SgFunctionDeclaration * | SageBuilder::buildNondefiningFunctionDeclaration (const SgFunctionDeclaration *funcdecl, SgScopeStatement *scope=NULL, SgExprListExp *decoratorList=NULL) |
| Build a prototype for an existing function declaration (defining or nondefining is fine). | |
| SgMemberFunctionDeclaration * | SageBuilder::buildNondefiningMemberFunctionDeclaration (const SgName &name, SgType *return_type, SgFunctionParameterList *parlist, SgScopeStatement *scope=NULL, SgExprListExp *decoratorList=NULL, unsigned int functionConstVolatileFlags=0) |
| Build a prototype member function declaration. | |
| SgMemberFunctionDeclaration * | SageBuilder::buildDefiningMemberFunctionDeclaration (const SgName &name, SgType *return_type, SgFunctionParameterList *parlist, SgScopeStatement *scope=NULL, SgExprListExp *decoratorList=NULL) |
| Build a defining ( non-prototype) member function declaration. | |
| SgMemberFunctionDeclaration * | SageBuilder::buildDefiningMemberFunctionDeclaration (const SgName &name, SgMemberFunctionType *func_type, SgFunctionParameterList *paralist, SgScopeStatement *scope, SgExprListExp *decoratorList=NULL) |
| Build a defining ( non-prototype) member function declaration from a SgMemberFunctionType. | |
| SgMemberFunctionDeclaration * | SageBuilder::buildDefiningMemberFunctionDeclaration (const SgName &name, SgMemberFunctionType *func_type, SgScopeStatement *scope, SgExprListExp *decoratorList=NULL) |
| Build a defining ( non-prototype) member function declaration from a SgMemberFunctionType. | |
| SgMemberFunctionDeclaration * | SageBuilder::buildNondefiningMemberFunctionDeclaration (const SgMemberFunctionDeclaration *funcdecl, SgScopeStatement *scope=NULL, SgExprListExp *decoratorList=NULL, unsigned int functionConstVolatileFlags=0) |
| Build a prototype for an existing member function declaration (defining or nondefining is fine). | |
| template<class actualFunction> | |
| actualFunction * | SageBuilder::buildDefiningFunctionDeclaration_T (const SgName &name, SgType *return_type, SgFunctionParameterList *parlist, SgScopeStatement *scope=NULL, SgExprListExp *decoratorList=NULL) |
| A template function for function declaration builders. | |
| SgFunctionDeclaration * | SageBuilder::buildDefiningFunctionDeclaration (const SgName &name, SgType *return_type, SgFunctionParameterList *parlist, SgScopeStatement *scope=NULL, SgExprListExp *decoratorList=NULL) |
| Build a function declaration with a function body. | |
| SgFunctionDeclaration * | SageBuilder::buildDefiningFunctionDeclaration (const std::string &name, SgType *return_type, SgFunctionParameterList *parlist, SgScopeStatement *scope=NULL, SgExprListExp *decoratorList=NULL) |
| Build a variable declaration, handle symbol table transparently. | |
| SgFunctionDeclaration * | SageBuilder::buildDefiningFunctionDeclaration (const char *name, SgType *return_type, SgFunctionParameterList *parlist, SgScopeStatement *scope=NULL, SgExprListExp *decoratorList=NULL) |
| Build a variable declaration, handle symbol table transparently. | |
| SgProcedureHeaderStatement * | SageBuilder::buildProcedureHeaderStatement (const char *name, SgType *return_type, SgFunctionParameterList *parlist, SgProcedureHeaderStatement::subprogram_kind_enum, SgScopeStatement *scope=NULL) |
| Build a Fortran subroutine or procedure. | |
| SgExprStatement * | SageBuilder::buildFunctionCallStmt (const SgName &name, SgType *return_type, SgExprListExp *parameters=NULL, SgScopeStatement *scope=NULL) |
| Build a regular function call statement. | |
| SgExprStatement * | SageBuilder::buildFunctionCallStmt (SgExpression *function, SgExprListExp *parameters=NULL) |
| Build a function call statement using function expression and argument list only, like (*funcPtr)(args);. | |
| SgLabelStatement * | SageBuilder::buildLabelStatement (const SgName &name, SgStatement *stmt=NULL, SgScopeStatement *scope=NULL) |
| Note that the scope of a label statement is special. | |
| SgLabelStatement * | SageBuilder::buildLabelStatement_nfi (const SgName &name, SgStatement *stmt, SgScopeStatement *scope) |
| Build a variable declaration, handle symbol table transparently. | |
| SgGotoStatement * | SageBuilder::buildGotoStatement (SgLabelStatement *label=NULL) |
| Build a goto statement. | |
| SgGotoStatement * | SageBuilder::buildGotoStatement_nfi (SgLabelStatement *label) |
| Build a variable declaration, handle symbol table transparently. | |
| SgGotoStatement * | SageBuilder::buildGotoStatement (SgLabelSymbol *symbol) |
| Build a goto statement from a label symbol, supporting both C/C++ and Fortran cases. | |
| SgCaseOptionStmt * | SageBuilder::buildCaseOptionStmt (SgExpression *key=NULL, SgStatement *body=NULL) |
| Build a case option statement. | |
| SgCaseOptionStmt * | SageBuilder::buildCaseOptionStmt_nfi (SgExpression *key, SgStatement *body) |
| Build a variable declaration, handle symbol table transparently. | |
| SgDefaultOptionStmt * | SageBuilder::buildDefaultOptionStmt (SgStatement *body=NULL) |
| Build a default option statement. | |
| SgDefaultOptionStmt * | SageBuilder::buildDefaultOptionStmt_nfi (SgStatement *body) |
| Build a variable declaration, handle symbol table transparently. | |
| SgExprStatement * | SageBuilder::buildExprStatement (SgExpression *exp=NULL) |
| Build a SgExprStatement, set File_Info automatically. | |
| SgExprStatement * | SageBuilder::buildExprStatement_nfi (SgExpression *exp) |
| Build a variable declaration, handle symbol table transparently. | |
| SgSwitchStatement * | SageBuilder::buildSwitchStatement (SgStatement *item_selector=NULL, SgStatement *body=NULL) |
| Build a switch statement. | |
| SgSwitchStatement * | SageBuilder::buildSwitchStatement (SgExpression *item_selector, SgStatement *body=NULL) |
| Build a variable declaration, handle symbol table transparently. | |
| SgSwitchStatement * | SageBuilder::buildSwitchStatement_nfi (SgStatement *item_selector, SgStatement *body) |
| Build a variable declaration, handle symbol table transparently. | |
| SgIfStmt * | SageBuilder::buildIfStmt (SgStatement *conditional, SgStatement *true_body, SgStatement *false_body) |
| Build if statement. | |
| SgIfStmt * | SageBuilder::buildIfStmt (SgExpression *conditional, SgStatement *true_body, SgStatement *false_body) |
| Build a variable declaration, handle symbol table transparently. | |
| SgIfStmt * | SageBuilder::buildIfStmt_nfi (SgStatement *conditional, SgStatement *true_body, SgStatement *false_body) |
| Build a variable declaration, handle symbol table transparently. | |
| SgForInitStatement * | SageBuilder::buildForInitStatement () |
| Build a for init statement. | |
| SgForInitStatement * | SageBuilder::buildForInitStatement (const SgStatementPtrList &statements) |
| Build a variable declaration, handle symbol table transparently. | |
| SgForInitStatement * | SageBuilder::buildForInitStatement_nfi (SgStatementPtrList &statements) |
| Build a variable declaration, handle symbol table transparently. | |
| SgForStatement * | SageBuilder::buildForStatement (SgStatement *initialize_stmt, SgStatement *test, SgExpression *increment, SgStatement *loop_body, SgStatement *else_body=NULL) |
| Build a for statement, assume none of the arguments is NULL. | |
| SgForStatement * | SageBuilder::buildForStatement_nfi (SgStatement *initialize_stmt, SgStatement *test, SgExpression *increment, SgStatement *loop_body, SgStatement *else_body=NULL) |
| Build a variable declaration, handle symbol table transparently. | |
| SgForStatement * | SageBuilder::buildForStatement_nfi (SgForInitStatement *init_stmt, SgStatement *test, SgExpression *increment, SgStatement *loop_body, SgStatement *else_body=NULL) |
| Build a variable declaration, handle symbol table transparently. | |
| SgUpcForAllStatement * | SageBuilder::buildUpcForAllStatement_nfi (SgStatement *initialize_stmt, SgStatement *test, SgExpression *increment, SgExpression *affinity, SgStatement *loop_body) |
| Build a UPC forall statement. | |
| SgUpcForAllStatement * | SageBuilder::buildUpcForAllStatement_nfi (SgForInitStatement *init_stmt, SgStatement *test, SgExpression *increment, SgExpression *affinity, SgStatement *loop_body) |
| Build a variable declaration, handle symbol table transparently. | |
| SgWhileStmt * | SageBuilder::buildWhileStmt (SgStatement *condition, SgStatement *body, SgStatement *else_body=NULL) |
| Build while statement. | |
| SgWhileStmt * | SageBuilder::buildWhileStmt (SgExpression *condition, SgStatement *body, SgStatement *else_body=NULL) |
| Build a variable declaration, handle symbol table transparently. | |
| SgWhileStmt * | SageBuilder::buildWhileStmt_nfi (SgStatement *condition, SgStatement *body, SgStatement *else_body=NULL) |
| Build a variable declaration, handle symbol table transparently. | |
| SgWithStatement * | SageBuilder::buildWithStatement (SgExpression *expr, SgStatement *body) |
| Build a with statement. | |
| SgWithStatement * | SageBuilder::buildWithStatement_nfi (SgExpression *expr, SgStatement *body) |
| Build a variable declaration, handle symbol table transparently. | |
| SgDoWhileStmt * | SageBuilder::buildDoWhileStmt (SgStatement *body, SgStatement *condition) |
| Build do-while statement. | |
| SgDoWhileStmt * | SageBuilder::buildDoWhileStmt (SgStatement *body, SgExpression *condition) |
| Build a variable declaration, handle symbol table transparently. | |
| SgDoWhileStmt * | SageBuilder::buildDoWhileStmt_nfi (SgStatement *body, SgStatement *condition) |
| Build a variable declaration, handle symbol table transparently. | |
| SgPragmaDeclaration * | SageBuilder::buildPragmaDeclaration (const std::string &name, SgScopeStatement *scope=NULL) |
| Build pragma declaration, handle SgPragma and defining/nondefining pointers internally. | |
| SgPragmaDeclaration * | SageBuilder::buildPragmaDeclaration_nfi (const std::string &name, SgScopeStatement *scope) |
| Build a variable declaration, handle symbol table transparently. | |
| SgPragma * | SageBuilder::buildPragma (const std::string &name) |
| Build SgPragma. | |
| SgBasicBlock * | SageBuilder::buildBasicBlock (SgStatement *stmt1=NULL, SgStatement *stmt2=NULL, SgStatement *stmt3=NULL, SgStatement *stmt4=NULL, SgStatement *stmt5=NULL, SgStatement *stmt6=NULL, SgStatement *stmt7=NULL, SgStatement *stmt8=NULL, SgStatement *stmt9=NULL, SgStatement *stmt10=NULL) |
| Build a SgBasicBlock, setting file info internally. | |
| SgBasicBlock * | SageBuilder::buildBasicBlock_nfi () |
| Build a variable declaration, handle symbol table transparently. | |
| SgBasicBlock * | SageBuilder::buildBasicBlock_nfi (const std::vector< SgStatement * > &) |
| Build a variable declaration, handle symbol table transparently. | |
| SgExprStatement * | SageBuilder::buildAssignStatement (SgExpression *lhs, SgExpression *rhs) |
| Build an assignment statement from lefthand operand and right hand operand. | |
| SgExprStatement * | SageBuilder::buildAssignStatement_ast_translate (SgExpression *lhs, SgExpression *rhs) |
| This version does not recursively reset the file info as a transformation. | |
| SgBreakStmt * | SageBuilder::buildBreakStmt () |
| Build a break statement. | |
| SgBreakStmt * | SageBuilder::buildBreakStmt_nfi () |
| Build a variable declaration, handle symbol table transparently. | |
| SgContinueStmt * | SageBuilder::buildContinueStmt () |
| Build a continue statement. | |
| SgContinueStmt * | SageBuilder::buildContinueStmt_nfi () |
| Build a variable declaration, handle symbol table transparently. | |
| SgPassStatement * | SageBuilder::buildPassStatement () |
| Build a pass statement. | |
| SgPassStatement * | SageBuilder::buildPassStatement_nfi () |
| Build a variable declaration, handle symbol table transparently. | |
| SgAssertStmt * | SageBuilder::buildAssertStmt (SgExpression *test) |
| Build a Assert statement. | |
| SgAssertStmt * | SageBuilder::buildAssertStmt (SgExpression *test, SgExpression *exceptionArgument) |
| Build a variable declaration, handle symbol table transparently. | |
| SgAssertStmt * | SageBuilder::buildAssertStmt_nfi (SgExpression *test) |
| Build a variable declaration, handle symbol table transparently. | |
| SgYieldExpression * | SageBuilder::buildYieldExpression (SgExpression *value) |
| Build a yield statement. | |
| SgYieldExpression * | SageBuilder::buildYieldExpression_nfi (SgExpression *value) |
| Build a variable declaration, handle symbol table transparently. | |
| SgKeyDatumPair * | SageBuilder::buildKeyDatumPair (SgExpression *key, SgExpression *datum) |
| Build a key-datum pair. | |
| SgKeyDatumPair * | SageBuilder::buildKeyDatumPair_nfi (SgExpression *key, SgExpression *datum) |
| Build a variable declaration, handle symbol table transparently. | |
| SgDictionaryExp * | SageBuilder::buildDictionaryExp (std::vector< SgKeyDatumPair * > pairs) |
| Build a list of key-datum pairs. | |
| SgDictionaryExp * | SageBuilder::buildDictionaryExp_nfi (std::vector< SgKeyDatumPair * > pairs) |
| Build a variable declaration, handle symbol table transparently. | |
| SgActualArgumentExpression * | SageBuilder::buildActualArgumentExpression (SgName arg_name, SgExpression *arg) |
| Build an Actual Argument Expression. | |
| SgActualArgumentExpression * | SageBuilder::buildActualArgumentExpression_nfi (SgName arg_name, SgExpression *arg) |
| Build a variable declaration, handle symbol table transparently. | |
| SgDeleteExp * | SageBuilder::buildDeleteExp (SgExpression *target, bool is_array=false, bool need_global_specifier=false, SgFunctionDeclaration *deleteOperatorDeclaration=NULL) |
| Build a delete statement. | |
| SgDeleteExp * | SageBuilder::buildDeleteExp_nfi (SgExpression *target, bool is_array=false, bool need_global_specifier=false, SgFunctionDeclaration *deleteOperatorDeclaration=NULL) |
| Build a variable declaration, handle symbol table transparently. | |
| SgClassDefinition * | SageBuilder::buildClassDefinition (SgClassDeclaration *d=NULL) |
| Build a class definition scope statement. | |
| SgClassDefinition * | SageBuilder::buildClassDefinition_nfi (SgClassDeclaration *d=NULL) |
| Build a class definition scope statement. | |
| SgClassDeclaration * | SageBuilder::buildNondefiningClassDeclaration_nfi (const SgName &name, SgClassDeclaration::class_types kind, SgScopeStatement *scope) |
| Build a structure first nondefining declaration, without file info. | |
| SgClassDeclaration * | SageBuilder::buildNondefiningClassDeclaration (SgName name, SgScopeStatement *scope) |
| Build a variable declaration, handle symbol table transparently. | |
| SgClassDeclaration * | SageBuilder::buildDefiningClassDeclaration (SgName name, SgScopeStatement *scope) |
| Build a variable declaration, handle symbol table transparently. | |
| SgClassDeclaration * | SageBuilder::buildClassDeclaration (SgName name, SgScopeStatement *scope) |
| Build a variable declaration, handle symbol table transparently. | |
| SgEnumDeclaration * | SageBuilder::buildNondefiningEnumDeclaration_nfi (const SgName &name, SgScopeStatement *scope) |
| Build an enum first nondefining declaration, without file info. | |
| SgClassDeclaration * | SageBuilder::buildStructDeclaration (const SgName &name, SgScopeStatement *scope=NULL) |
| Build a structure, It is also a declaration statement in SAGE III. | |
| SgClassDeclaration * | SageBuilder::buildStructDeclaration (const std::string &name, SgScopeStatement *scope=NULL) |
| Build a variable declaration, handle symbol table transparently. | |
| SgClassDeclaration * | SageBuilder::buildStructDeclaration (const char *name, SgScopeStatement *scope=NULL) |
| Build a variable declaration, handle symbol table transparently. | |
| SgStmtDeclarationStatement * | SageBuilder::buildStmtDeclarationStatement (SgStatement *stmt) |
| Build a StmtDeclarationStmt. | |
| SgStmtDeclarationStatement * | SageBuilder::buildStmtDeclarationStatement_nfi (SgStatement *stmt) |
| Build a variable declaration, handle symbol table transparently. | |
| SgNamespaceDeclarationStatement * | SageBuilder::buildNamespaceDeclaration (const SgName &name, SgScopeStatement *scope=NULL) |
| Build a variable declaration, handle symbol table transparently. | |
| SgNamespaceDeclarationStatement * | SageBuilder::buildNamespaceDeclaration_nfi (const SgName &name, bool unnamednamespace, SgScopeStatement *scope) |
| Build a variable declaration, handle symbol table transparently. | |
| SgNamespaceDefinitionStatement * | SageBuilder::buildNamespaceDefinition (SgNamespaceDeclarationStatement *d=NULL) |
| Build a variable declaration, handle symbol table transparently. | |
| SgNaryComparisonOp * | SageBuilder::buildNaryComparisonOp (SgExpression *lhs) |
| Build a variable declaration, handle symbol table transparently. | |
| SgNaryComparisonOp * | SageBuilder::buildNaryComparisonOp_nfi (SgExpression *lhs) |
| Build a variable declaration, handle symbol table transparently. | |
| SgNaryBooleanOp * | SageBuilder::buildNaryBooleanOp (SgExpression *lhs) |
| Build a variable declaration, handle symbol table transparently. | |
| SgNaryBooleanOp * | SageBuilder::buildNaryBooleanOp_nfi (SgExpression *lhs) |
| Build a variable declaration, handle symbol table transparently. | |
| SgStringConversion * | SageBuilder::buildStringConversion (SgExpression *exp) |
| Build a variable declaration, handle symbol table transparently. | |
| SgStringConversion * | SageBuilder::buildStringConversion_nfi (SgExpression *exp) |
| Build a variable declaration, handle symbol table transparently. | |
| SgClassDeclaration * | SageBuilder::buildClassDeclaration_nfi (const SgName &name, SgClassDeclaration::class_types kind, SgScopeStatement *scope, SgClassDeclaration *nonDefiningDecl) |
| Build a variable declaration, handle symbol table transparently. | |
| SgEnumDeclaration * | SageBuilder::buildEnumDeclaration (const SgName &name, SgScopeStatement *scope=NULL) |
| Build an enum, It is also a declaration statement in SAGE III. | |
| SgEnumDeclaration * | SageBuilder::buildEnumDeclaration_nfi (const SgName &name, SgScopeStatement *scope=NULL) |
| Build an enum, It is also a declaration statement in SAGE III. | |
| SgReturnStmt * | SageBuilder::buildReturnStmt (SgExpression *expression=NULL) |
| Build a return statement. | |
| SgReturnStmt * | SageBuilder::buildReturnStmt_nfi (SgExpression *expression) |
| Build a variable declaration, handle symbol table transparently. | |
| SgNullStatement * | SageBuilder::buildNullStatement () |
| Build a NULL statement. | |
| SgNullStatement * | SageBuilder::buildNullStatement_nfi () |
| Build a variable declaration, handle symbol table transparently. | |
| SgAttributeSpecificationStatement * | SageBuilder::buildAttributeSpecificationStatement (SgAttributeSpecificationStatement::attribute_spec_enum kind) |
| Build Fortran attribute specification statement. | |
| SgFortranIncludeLine * | SageBuilder::buildFortranIncludeLine (std::string filename) |
| Build Fortran include line. | |
| SgCommonBlockObject * | SageBuilder::buildCommonBlockObject (std::string name="", SgExprListExp *exp_list=NULL) |
| Build a Fortran common block, possibly with a name. | |
| SgCommonBlock * | SageBuilder::buildCommonBlock (SgCommonBlockObject *first_block=NULL) |
| Build a Fortran Common statement. | |
| SgCatchOptionStmt * | SageBuilder::buildCatchOptionStmt (SgVariableDeclaration *condition=NULL, SgStatement *body=NULL) |
| Build a variable declaration, handle symbol table transparently. | |
| SgTryStmt * | SageBuilder::buildTryStmt (SgStatement *body, SgCatchOptionStmt *catch0=NULL, SgCatchOptionStmt *catch1=NULL, SgCatchOptionStmt *catch2=NULL, SgCatchOptionStmt *catch3=NULL, SgCatchOptionStmt *catch4=NULL) |
| Build a variable declaration, handle symbol table transparently. | |
| SgTryStmt * | SageBuilder::buildTryStmt (SgBasicBlock *try_body, SgBasicBlock *finally_body=NULL) |
| Build a variable declaration, handle symbol table transparently. | |
| SgCatchStatementSeq * | SageBuilder::buildCatchStatementSeq (SgCatchOptionStmt *=NULL) |
| Build a variable declaration, handle symbol table transparently. | |
| SgJavaSynchronizedStatement * | SageBuilder::buildJavaSynchronizedStatement (SgExpression *, SgBasicBlock *) |
| Build a variable declaration, handle symbol table transparently. | |
| SgJavaThrowStatement * | SageBuilder::buildJavaThrowStatement (SgThrowOp *) |
| Build a variable declaration, handle symbol table transparently. | |
| SgJavaForEachStatement * | SageBuilder::buildJavaForEachStatement (SgVariableDeclaration *=NULL, SgExpression *=NULL, SgStatement *=NULL) |
| Build a variable declaration, handle symbol table transparently. | |
| SgJavaLabelStatement * | SageBuilder::buildJavaLabelStatement (const SgName &, SgStatement *=NULL) |
| Build a variable declaration, handle symbol table transparently. | |
| SgExecStatement * | SageBuilder::buildExecStatement (SgExpression *executable, SgExpression *globals=NULL, SgExpression *locals=NULL) |
| Build a variable declaration, handle symbol table transparently. | |
| SgExecStatement * | SageBuilder::buildExecStatement_nfi (SgExpression *executable, SgExpression *globals=NULL, SgExpression *locals=NULL) |
| Build a variable declaration, handle symbol table transparently. | |
| SgPythonPrintStmt * | SageBuilder::buildPythonPrintStmt (SgExpression *dest=NULL, SgExprListExp *values=NULL) |
| Build a variable declaration, handle symbol table transparently. | |
| SgPythonPrintStmt * | SageBuilder::buildPythonPrintStmt_nfi (SgExpression *dest=NULL, SgExprListExp *values=NULL) |
| Build a variable declaration, handle symbol table transparently. | |
| SgPythonGlobalStmt * | SageBuilder::buildPythonGlobalStmt (SgInitializedNamePtrList &names) |
| Build a variable declaration, handle symbol table transparently. | |
| SgPythonGlobalStmt * | SageBuilder::buildPythonGlobalStmt_nfi (SgInitializedNamePtrList &names) |
| Build a variable declaration, handle symbol table transparently. | |
| SgAsmStmt * | SageBuilder::buildAsmStatement (std::string s) |
| Build a NULL statement. | |
| SgAsmStmt * | SageBuilder::buildAsmStatement_nfi (std::string s) |
| Build a variable declaration, handle symbol table transparently. | |
| SgAsmStmt * | SageBuilder::buildMultibyteNopStatement (int n) |
| Build a variable declaration, handle symbol table transparently. | |
Builders for others | |
| AST high level builders for others | |
| SgFile * | SageBuilder::buildFile (const std::string &inputFileName, const std::string &outputFileName, SgProject *project=NULL) |
| Build a SgFile node and attach it to SgProject. | |
| PreprocessingInfo * | SageBuilder::buildComment (SgLocatedNode *target, const std::string &content, PreprocessingInfo::RelativePositionType position=PreprocessingInfo::before, PreprocessingInfo::DirectiveType dtype=PreprocessingInfo::CpreprocessorUnknownDeclaration) |
| Build and attach a comment, comment style is inferred from the language type of the target node if not provided. It is indeed a wrapper of SageInterface::attachComment(). | |
| PreprocessingInfo * | SageBuilder::buildCpreprocessorDefineDeclaration (SgLocatedNode *target, const std::string &content, PreprocessingInfo::RelativePositionType position=PreprocessingInfo::before) |
| Build and attach define XX directives, pass "#define xxx xxx" as content. | |
| AbstractHandle::abstract_handle * | SageBuilder::buildAbstractHandle (SgNode *n) |
| Build an abstract handle from a SgNode. | |
| #define BUILD_UNARY_PROTO | ( | suffix | ) |
Value:
Sg##suffix * build##suffix(SgExpression* op =NULL); \ Sg##suffix * build##suffix##_nfi(SgExpression* op);
The instantiated functions' prototypes are not shown since they are expanded using macros. Doxygen is not smart enough to handle macro expansion.
| #define BUILD_BINARY_PROTO | ( | suffix | ) |
Value:
Sg##suffix * build##suffix(SgExpression* lhs =NULL, SgExpression* rhs =NULL); \ Sg##suffix * build##suffix##_nfi(SgExpression* lhs, SgExpression* rhs);
The instantiated functions' prototypes are not shown since they are expanded using macros. Doxygen is not smart enough to handle macro expansion.
| void SageBuilder::pushScopeStack | ( | SgScopeStatement * | stmt | ) |
Public interfaces of the scope stack, should be stable.
| void SageBuilder::pushScopeStack | ( | SgNode * | node | ) |
Public interfaces of the scope stack, should be stable.
| void SageBuilder::popScopeStack | ( | ) |
Public interfaces of the scope stack, should be stable.
| SgScopeStatement* SageBuilder::topScopeStack | ( | ) |
Public interfaces of the scope stack, should be stable.
| bool SageBuilder::emptyScopeStack | ( | ) |
Public interfaces of the scope stack, should be stable.
| void SageBuilder::clearScopeStack | ( | ) |
Public interfaces of the scope stack, should be stable.
| SgTypeBool* SageBuilder::buildBoolType | ( | ) |
Built in simple types.
| SgTypeChar* SageBuilder::buildCharType | ( | ) |
Built in simple types.
| SgTypeDouble* SageBuilder::buildDoubleType | ( | ) |
Built in simple types.
| SgTypeFloat* SageBuilder::buildFloatType | ( | ) |
Built in simple types.
| SgTypeInt* SageBuilder::buildIntType | ( | ) |
Built in simple types.
| SgTypeLong* SageBuilder::buildLongType | ( | ) |
Built in simple types.
| SgTypeLongDouble* SageBuilder::buildLongDoubleType | ( | ) |
Built in simple types.
| SgTypeLongLong* SageBuilder::buildLongLongType | ( | ) |
Built in simple types.
| SgTypeShort* SageBuilder::buildShortType | ( | ) |
Built in simple types.
| SgTypeString* SageBuilder::buildStringType | ( | ) |
Built in simple types.
| SgTypeString* SageBuilder::buildStringType | ( | SgExpression * | stringLengthExpression | ) |
Built in simple types.
| SgTypeVoid* SageBuilder::buildVoidType | ( | ) |
Built in simple types.
| SgTypeWchar* SageBuilder::buildWcharType | ( | ) |
Built in simple types.
| SgTypeSignedChar* SageBuilder::buildSignedCharType | ( | ) |
Built in simple types.
| SgTypeSignedInt* SageBuilder::buildSignedIntType | ( | ) |
Built in simple types.
| SgTypeSignedLong* SageBuilder::buildSignedLongType | ( | ) |
Built in simple types.
| SgTypeSignedLongLong* SageBuilder::buildSignedLongLongType | ( | ) |
Built in simple types.
| SgTypeSignedShort* SageBuilder::buildSignedShortType | ( | ) |
Built in simple types.
| SgTypeUnsignedChar* SageBuilder::buildUnsignedCharType | ( | ) |
Built in simple types.
| SgTypeUnsignedInt* SageBuilder::buildUnsignedIntType | ( | ) |
Built in simple types.
| SgTypeUnsignedLong* SageBuilder::buildUnsignedLongType | ( | ) |
Built in simple types.
| SgTypeUnsignedLongLong* SageBuilder::buildUnsignedLongLongType | ( | ) |
Built in simple types.
| SgTypeUnsignedShort* SageBuilder::buildUnsignedShortType | ( | ) |
Built in simple types.
| SgTypeUnknown* SageBuilder::buildUnknownType | ( | ) |
Built in simple types.
| SgPointerType* SageBuilder::buildPointerType | ( | SgType * | base_type = NULL |
) |
Build a pointer type.
| SgReferenceType* SageBuilder::buildReferenceType | ( | SgType * | base_type = NULL |
) |
Build a reference type.
| SgModifierType* SageBuilder::buildModifierType | ( | SgType * | base_type = NULL |
) |
Build a modifier type.
| SgModifierType* SageBuilder::buildConstType | ( | SgType * | base_type = NULL |
) |
Build a const type.
| SgModifierType* SageBuilder::buildVolatileType | ( | SgType * | base_type = NULL |
) |
Build a volatile type.
| SgModifierType* SageBuilder::buildRestrictType | ( | SgType * | base_type | ) |
Build a restrict type.
| SgArrayType* SageBuilder::buildArrayType | ( | SgType * | base_type = NULL, |
|
| SgExpression * | index = NULL | |||
| ) |
Build ArrayType.
| SgModifierType* SageBuilder::buildFortranKindType | ( | SgType * | base_type, | |
| SgExpression * | kindExpression | |||
| ) |
Build a type based on the Fortran kind mechanism.
| SgFunctionType* SageBuilder::buildFunctionType | ( | SgType * | return_type, | |
| SgFunctionParameterTypeList * | typeList = NULL | |||
| ) |
Build function type from return type and parameter type list.
| SgFunctionType* SageBuilder::buildFunctionType | ( | SgType * | return_type, | |
| SgFunctionParameterList * | argList = NULL | |||
| ) |
Build function type from return type and parameter list.
| SgMemberFunctionType* SageBuilder::buildMemberFunctionType | ( | SgType * | return_type, | |
| SgFunctionParameterTypeList * | typeList, | |||
| SgClassDefinition * | struct_name, | |||
| unsigned int | mfunc_specifier | |||
| ) |
Built in simple types.
| SgType* SageBuilder::buildOpaqueType | ( | std::string const | type_name, | |
| SgScopeStatement * | scope | |||
| ) |
Build an opaque type with a name, useful when a type's details are unknown during transformation, especially for a runtime library's internal type. Must provide scope here.
Some types are not known during translation but nevertheless are needed. For example, some internal types from a runtime library. To work around this problem: this function prepends a hidden typedef declaration into scope 'typedef int OpaqueTypeName;' The translation-generated code is expected to include the runtime library's headers to have the real type declarations.
| SgModifierType* SageBuilder::buildUpcStrictType | ( | SgType * | base_type = NULL |
) |
Build a UPC strict type.
| SgModifierType* SageBuilder::buildUpcRelaxedType | ( | SgType * | base_type = NULL |
) |
Build a UPC relaxed type.
| SgModifierType* SageBuilder::buildUpcSharedType | ( | SgType * | base_type = NULL, |
|
| long | layout = -1 | |||
| ) |
Build a UPC shared type.
| SgModifierType* SageBuilder::buildUpcBlockIndefiniteType | ( | SgType * | base_type = NULL |
) |
Build a UPC shared[] type.
| SgModifierType* SageBuilder::buildUpcBlockStarType | ( | SgType * | base_type = NULL |
) |
Build a UPC shared[*] type.
| SgModifierType* SageBuilder::buildUpcBlockNumberType | ( | SgType * | base_type, | |
| long | block_factor | |||
| ) |
Build a UPC shared[n] type.
| SgTypeComplex* SageBuilder::buildComplexType | ( | SgType * | base_type = NULL |
) |
Build a complex type.
| SgTypeImaginary* SageBuilder::buildImaginaryType | ( | SgType * | base_type = NULL |
) |
Build an imaginary type.
| SgConstVolatileModifier* SageBuilder::buildConstVolatileModifier | ( | SgConstVolatileModifier::cv_modifier_enum | mtype = SgConstVolatileModifier::e_unknown |
) |
Build a const/volatile type qualifier.
| SgVariantExpression* SageBuilder::buildVariantExpression | ( | ) |
Template function to build a unary expression of type T with advanced information specified such as parenthesis and file info. Instantiated functions include:buildAddressOfOp(),buildBitComplementOp(),buildBitComplementOp(),buildMinusOp(),buildNotOp(),buildPointerDerefExp(),buildUnaryAddOp(),buildMinusMinusOp(),buildPlusPlusOp().
The instantiated functions' prototypes are not shown since they are expanded using macros. Doxygen is not smart enough to handle macro expansion.
| SgNullExpression* SageBuilder::buildNullExpression | ( | ) |
Build a null expression, set file info as the default one.
| SgNullExpression* SageBuilder::buildNullExpression_nfi | ( | ) |
No file info version of buildNullExpression(). File info is to be set later on.
| SgBoolValExp* SageBuilder::buildBoolValExp | ( | int | value = 0 |
) |
Build a bool value expression, the name convention of SgBoolValExp is little different from others for some unknown reason.
| SgBoolValExp* SageBuilder::buildBoolValExp | ( | bool | value = 0 |
) |
Template function to build a unary expression of type T with advanced information specified such as parenthesis and file info. Instantiated functions include:buildAddressOfOp(),buildBitComplementOp(),buildBitComplementOp(),buildMinusOp(),buildNotOp(),buildPointerDerefExp(),buildUnaryAddOp(),buildMinusMinusOp(),buildPlusPlusOp().
The instantiated functions' prototypes are not shown since they are expanded using macros. Doxygen is not smart enough to handle macro expansion.
| SgBoolValExp* SageBuilder::buildBoolValExp_nfi | ( | int | value | ) |
Template function to build a unary expression of type T with advanced information specified such as parenthesis and file info. Instantiated functions include:buildAddressOfOp(),buildBitComplementOp(),buildBitComplementOp(),buildMinusOp(),buildNotOp(),buildPointerDerefExp(),buildUnaryAddOp(),buildMinusMinusOp(),buildPlusPlusOp().
The instantiated functions' prototypes are not shown since they are expanded using macros. Doxygen is not smart enough to handle macro expansion.
| SgCharVal* SageBuilder::buildCharVal | ( | char | value = 0 |
) |
Template function to build a unary expression of type T with advanced information specified such as parenthesis and file info. Instantiated functions include:buildAddressOfOp(),buildBitComplementOp(),buildBitComplementOp(),buildMinusOp(),buildNotOp(),buildPointerDerefExp(),buildUnaryAddOp(),buildMinusMinusOp(),buildPlusPlusOp().
The instantiated functions' prototypes are not shown since they are expanded using macros. Doxygen is not smart enough to handle macro expansion.
| SgCharVal* SageBuilder::buildCharVal_nfi | ( | char | value, | |
| const std::string & | str | |||
| ) |
Template function to build a unary expression of type T with advanced information specified such as parenthesis and file info. Instantiated functions include:buildAddressOfOp(),buildBitComplementOp(),buildBitComplementOp(),buildMinusOp(),buildNotOp(),buildPointerDerefExp(),buildUnaryAddOp(),buildMinusMinusOp(),buildPlusPlusOp().
The instantiated functions' prototypes are not shown since they are expanded using macros. Doxygen is not smart enough to handle macro expansion.
| SgWcharVal* SageBuilder::buildWcharVal | ( | wchar_t | value = 0 |
) |
Template function to build a unary expression of type T with advanced information specified such as parenthesis and file info. Instantiated functions include:buildAddressOfOp(),buildBitComplementOp(),buildBitComplementOp(),buildMinusOp(),buildNotOp(),buildPointerDerefExp(),buildUnaryAddOp(),buildMinusMinusOp(),buildPlusPlusOp().
The instantiated functions' prototypes are not shown since they are expanded using macros. Doxygen is not smart enough to handle macro expansion.
| SgWcharVal* SageBuilder::buildWcharVal_nfi | ( | wchar_t | value, | |
| const std::string & | str | |||
| ) |
Template function to build a unary expression of type T with advanced information specified such as parenthesis and file info. Instantiated functions include:buildAddressOfOp(),buildBitComplementOp(),buildBitComplementOp(),buildMinusOp(),buildNotOp(),buildPointerDerefExp(),buildUnaryAddOp(),buildMinusMinusOp(),buildPlusPlusOp().
The instantiated functions' prototypes are not shown since they are expanded using macros. Doxygen is not smart enough to handle macro expansion.
| SgComplexVal* SageBuilder::buildComplexVal | ( | long double | real_value = 0.0, |
|
| long double | imaginary_value = 0.0 | |||
| ) |
Template function to build a unary expression of type T with advanced information specified such as parenthesis and file info. Instantiated functions include:buildAddressOfOp(),buildBitComplementOp(),buildBitComplementOp(),buildMinusOp(),buildNotOp(),buildPointerDerefExp(),buildUnaryAddOp(),buildMinusMinusOp(),buildPlusPlusOp().
The instantiated functions' prototypes are not shown since they are expanded using macros. Doxygen is not smart enough to handle macro expansion.
| SgComplexVal* SageBuilder::buildComplexVal | ( | SgValueExp * | real_value, | |
| SgValueExp * | imaginary_value | |||
| ) |
Template function to build a unary expression of type T with advanced information specified such as parenthesis and file info. Instantiated functions include:buildAddressOfOp(),buildBitComplementOp(),buildBitComplementOp(),buildMinusOp(),buildNotOp(),buildPointerDerefExp(),buildUnaryAddOp(),buildMinusMinusOp(),buildPlusPlusOp().
The instantiated functions' prototypes are not shown since they are expanded using macros. Doxygen is not smart enough to handle macro expansion.
| SgComplexVal* SageBuilder::buildComplexVal_nfi | ( | SgValueExp * | real_value, | |
| SgValueExp * | imaginary_value, | |||
| const std::string & | str | |||
| ) |
Template function to build a unary expression of type T with advanced information specified such as parenthesis and file info. Instantiated functions include:buildAddressOfOp(),buildBitComplementOp(),buildBitComplementOp(),buildMinusOp(),buildNotOp(),buildPointerDerefExp(),buildUnaryAddOp(),buildMinusMinusOp(),buildPlusPlusOp().
The instantiated functions' prototypes are not shown since they are expanded using macros. Doxygen is not smart enough to handle macro expansion.
| SgComplexVal* SageBuilder::buildImaginaryVal | ( | long double | imaginary_value | ) |
Template function to build a unary expression of type T with advanced information specified such as parenthesis and file info. Instantiated functions include:buildAddressOfOp(),buildBitComplementOp(),buildBitComplementOp(),buildMinusOp(),buildNotOp(),buildPointerDerefExp(),buildUnaryAddOp(),buildMinusMinusOp(),buildPlusPlusOp().
The instantiated functions' prototypes are not shown since they are expanded using macros. Doxygen is not smart enough to handle macro expansion.
| SgComplexVal* SageBuilder::buildImaginaryVal | ( | SgValueExp * | imaginary_value | ) |
Template function to build a unary expression of type T with advanced information specified such as parenthesis and file info. Instantiated functions include:buildAddressOfOp(),buildBitComplementOp(),buildBitComplementOp(),buildMinusOp(),buildNotOp(),buildPointerDerefExp(),buildUnaryAddOp(),buildMinusMinusOp(),buildPlusPlusOp().
The instantiated functions' prototypes are not shown since they are expanded using macros. Doxygen is not smart enough to handle macro expansion.
| SgComplexVal* SageBuilder::buildImaginaryVal_nfi | ( | SgValueExp * | imaginary_value, | |
| const std::string & | str | |||
| ) |
Template function to build a unary expression of type T with advanced information specified such as parenthesis and file info. Instantiated functions include:buildAddressOfOp(),buildBitComplementOp(),buildBitComplementOp(),buildMinusOp(),buildNotOp(),buildPointerDerefExp(),buildUnaryAddOp(),buildMinusMinusOp(),buildPlusPlusOp().
The instantiated functions' prototypes are not shown since they are expanded using macros. Doxygen is not smart enough to handle macro expansion.
| SgDoubleVal* SageBuilder::buildDoubleVal | ( | double | value = 0.0 |
) |
Build a double value expression.
| SgDoubleVal* SageBuilder::buildDoubleVal_nfi | ( | double | value, | |
| const std::string & | str | |||
| ) |
Template function to build a unary expression of type T with advanced information specified such as parenthesis and file info. Instantiated functions include:buildAddressOfOp(),buildBitComplementOp(),buildBitComplementOp(),buildMinusOp(),buildNotOp(),buildPointerDerefExp(),buildUnaryAddOp(),buildMinusMinusOp(),buildPlusPlusOp().
The instantiated functions' prototypes are not shown since they are expanded using macros. Doxygen is not smart enough to handle macro expansion.
| SgFloatVal* SageBuilder::buildFloatVal | ( | float | value = 0.0 |
) |
Template function to build a unary expression of type T with advanced information specified such as parenthesis and file info. Instantiated functions include:buildAddressOfOp(),buildBitComplementOp(),buildBitComplementOp(),buildMinusOp(),buildNotOp(),buildPointerDerefExp(),buildUnaryAddOp(),buildMinusMinusOp(),buildPlusPlusOp().
The instantiated functions' prototypes are not shown since they are expanded using macros. Doxygen is not smart enough to handle macro expansion.
| SgFloatVal* SageBuilder::buildFloatVal_nfi | ( | float | value, | |
| const std::string & | str | |||
| ) |
Template function to build a unary expression of type T with advanced information specified such as parenthesis and file info. Instantiated functions include:buildAddressOfOp(),buildBitComplementOp(),buildBitComplementOp(),buildMinusOp(),buildNotOp(),buildPointerDerefExp(),buildUnaryAddOp(),buildMinusMinusOp(),buildPlusPlusOp().
The instantiated functions' prototypes are not shown since they are expanded using macros. Doxygen is not smart enough to handle macro expansion.
| SgIntVal* SageBuilder::buildIntVal | ( | int | value = 0 |
) |
Build an integer value expression.
| SgIntVal* SageBuilder::buildIntValHex | ( | int | value = 0 |
) |
Template function to build a unary expression of type T with advanced information specified such as parenthesis and file info. Instantiated functions include:buildAddressOfOp(),buildBitComplementOp(),buildBitComplementOp(),buildMinusOp(),buildNotOp(),buildPointerDerefExp(),buildUnaryAddOp(),buildMinusMinusOp(),buildPlusPlusOp().
The instantiated functions' prototypes are not shown since they are expanded using macros. Doxygen is not smart enough to handle macro expansion.
| SgIntVal* SageBuilder::buildIntVal_nfi | ( | int | value, | |
| const std::string & | str | |||
| ) |
Template function to build a unary expression of type T with advanced information specified such as parenthesis and file info. Instantiated functions include:buildAddressOfOp(),buildBitComplementOp(),buildBitComplementOp(),buildMinusOp(),buildNotOp(),buildPointerDerefExp(),buildUnaryAddOp(),buildMinusMinusOp(),buildPlusPlusOp().
The instantiated functions' prototypes are not shown since they are expanded using macros. Doxygen is not smart enough to handle macro expansion.
| SgLongIntVal* SageBuilder::buildLongIntVal | ( | long | value = 0 |
) |
Build a long integer value expression.
| SgLongIntVal* SageBuilder::buildLongIntValHex | ( | long | value = 0 |
) |
Template function to build a unary expression of type T with advanced information specified such as parenthesis and file info. Instantiated functions include:buildAddressOfOp(),buildBitComplementOp(),buildBitComplementOp(),buildMinusOp(),buildNotOp(),buildPointerDerefExp(),buildUnaryAddOp(),buildMinusMinusOp(),buildPlusPlusOp().
The instantiated functions' prototypes are not shown since they are expanded using macros. Doxygen is not smart enough to handle macro expansion.
| SgLongIntVal* SageBuilder::buildLongIntVal_nfi | ( | long | value, | |
| const std::string & | str | |||
| ) |
Template function to build a unary expression of type T with advanced information specified such as parenthesis and file info. Instantiated functions include:buildAddressOfOp(),buildBitComplementOp(),buildBitComplementOp(),buildMinusOp(),buildNotOp(),buildPointerDerefExp(),buildUnaryAddOp(),buildMinusMinusOp(),buildPlusPlusOp().
The instantiated functions' prototypes are not shown since they are expanded using macros. Doxygen is not smart enough to handle macro expansion.
| SgLongLongIntVal* SageBuilder::buildLongLongIntVal | ( | long long | value = 0 |
) |
Build a long long integer value expression.
| SgLongLongIntVal* SageBuilder::buildLongLongIntValHex | ( | long long | value = 0 |
) |
Template function to build a unary expression of type T with advanced information specified such as parenthesis and file info. Instantiated functions include:buildAddressOfOp(),buildBitComplementOp(),buildBitComplementOp(),buildMinusOp(),buildNotOp(),buildPointerDerefExp(),buildUnaryAddOp(),buildMinusMinusOp(),buildPlusPlusOp().
The instantiated functions' prototypes are not shown since they are expanded using macros. Doxygen is not smart enough to handle macro expansion.
| SgLongLongIntVal* SageBuilder::buildLongLongIntVal_nfi | ( | long long | value, | |
| const std::string & | str | |||
| ) |
Template function to build a unary expression of type T with advanced information specified such as parenthesis and file info. Instantiated functions include:buildAddressOfOp(),buildBitComplementOp(),buildBitComplementOp(),buildMinusOp(),buildNotOp(),buildPointerDerefExp(),buildUnaryAddOp(),buildMinusMinusOp(),buildPlusPlusOp().
The instantiated functions' prototypes are not shown since they are expanded using macros. Doxygen is not smart enough to handle macro expansion.
| SgEnumVal* SageBuilder::buildEnumVal_nfi | ( | int | value, | |
| SgEnumDeclaration * | decl, | |||
| SgName | name | |||
| ) |
Template function to build a unary expression of type T with advanced information specified such as parenthesis and file info. Instantiated functions include:buildAddressOfOp(),buildBitComplementOp(),buildBitComplementOp(),buildMinusOp(),buildNotOp(),buildPointerDerefExp(),buildUnaryAddOp(),buildMinusMinusOp(),buildPlusPlusOp().
The instantiated functions' prototypes are not shown since they are expanded using macros. Doxygen is not smart enough to handle macro expansion.
| SgLongDoubleVal* SageBuilder::buildLongDoubleVal | ( | long double | value = 0.0 |
) |
Template function to build a unary expression of type T with advanced information specified such as parenthesis and file info. Instantiated functions include:buildAddressOfOp(),buildBitComplementOp(),buildBitComplementOp(),buildMinusOp(),buildNotOp(),buildPointerDerefExp(),buildUnaryAddOp(),buildMinusMinusOp(),buildPlusPlusOp().
The instantiated functions' prototypes are not shown since they are expanded using macros. Doxygen is not smart enough to handle macro expansion.
| SgLongDoubleVal* SageBuilder::buildLongDoubleVal_nfi | ( | long double | value, | |
| const std::string & | str | |||
| ) |
Template function to build a unary expression of type T with advanced information specified such as parenthesis and file info. Instantiated functions include:buildAddressOfOp(),buildBitComplementOp(),buildBitComplementOp(),buildMinusOp(),buildNotOp(),buildPointerDerefExp(),buildUnaryAddOp(),buildMinusMinusOp(),buildPlusPlusOp().
The instantiated functions' prototypes are not shown since they are expanded using macros. Doxygen is not smart enough to handle macro expansion.
| SgShortVal* SageBuilder::buildShortVal | ( | short | value = 0 |
) |
Template function to build a unary expression of type T with advanced information specified such as parenthesis and file info. Instantiated functions include:buildAddressOfOp(),buildBitComplementOp(),buildBitComplementOp(),buildMinusOp(),buildNotOp(),buildPointerDerefExp(),buildUnaryAddOp(),buildMinusMinusOp(),buildPlusPlusOp().
The instantiated functions' prototypes are not shown since they are expanded using macros. Doxygen is not smart enough to handle macro expansion.
| SgShortVal* SageBuilder::buildShortValHex | ( | short | value = 0 |
) |
Template function to build a unary expression of type T with advanced information specified such as parenthesis and file info. Instantiated functions include:buildAddressOfOp(),buildBitComplementOp(),buildBitComplementOp(),buildMinusOp(),buildNotOp(),buildPointerDerefExp(),buildUnaryAddOp(),buildMinusMinusOp(),buildPlusPlusOp().
The instantiated functions' prototypes are not shown since they are expanded using macros. Doxygen is not smart enough to handle macro expansion.
| SgShortVal* SageBuilder::buildShortVal_nfi | ( | short | value, | |
| const std::string & | str | |||
| ) |
Template function to build a unary expression of type T with advanced information specified such as parenthesis and file info. Instantiated functions include:buildAddressOfOp(),buildBitComplementOp(),buildBitComplementOp(),buildMinusOp(),buildNotOp(),buildPointerDerefExp(),buildUnaryAddOp(),buildMinusMinusOp(),buildPlusPlusOp().
The instantiated functions' prototypes are not shown since they are expanded using macros. Doxygen is not smart enough to handle macro expansion.
| SgStringVal* SageBuilder::buildStringVal | ( | std::string | value = "" |
) |
Template function to build a unary expression of type T with advanced information specified such as parenthesis and file info. Instantiated functions include:buildAddressOfOp(),buildBitComplementOp(),buildBitComplementOp(),buildMinusOp(),buildNotOp(),buildPointerDerefExp(),buildUnaryAddOp(),buildMinusMinusOp(),buildPlusPlusOp().
The instantiated functions' prototypes are not shown since they are expanded using macros. Doxygen is not smart enough to handle macro expansion.
| SgStringVal* SageBuilder::buildStringVal_nfi | ( | std::string | value | ) |
Template function to build a unary expression of type T with advanced information specified such as parenthesis and file info. Instantiated functions include:buildAddressOfOp(),buildBitComplementOp(),buildBitComplementOp(),buildMinusOp(),buildNotOp(),buildPointerDerefExp(),buildUnaryAddOp(),buildMinusMinusOp(),buildPlusPlusOp().
The instantiated functions' prototypes are not shown since they are expanded using macros. Doxygen is not smart enough to handle macro expansion.
| SgUnsignedCharVal* SageBuilder::buildUnsignedCharVal | ( | unsigned char | v = 0 |
) |
Build an unsigned char.
| SgUnsignedCharVal* SageBuilder::buildUnsignedCharValHex | ( | unsigned char | v = 0 |
) |
Template function to build a unary expression of type T with advanced information specified such as parenthesis and file info. Instantiated functions include:buildAddressOfOp(),buildBitComplementOp(),buildBitComplementOp(),buildMinusOp(),buildNotOp(),buildPointerDerefExp(),buildUnaryAddOp(),buildMinusMinusOp(),buildPlusPlusOp().
The instantiated functions' prototypes are not shown since they are expanded using macros. Doxygen is not smart enough to handle macro expansion.
| SgUnsignedCharVal* SageBuilder::buildUnsignedCharVal_nfi | ( | unsigned char | v, | |
| const std::string & | str | |||
| ) |
Template function to build a unary expression of type T with advanced information specified such as parenthesis and file info. Instantiated functions include:buildAddressOfOp(),buildBitComplementOp(),buildBitComplementOp(),buildMinusOp(),buildNotOp(),buildPointerDerefExp(),buildUnaryAddOp(),buildMinusMinusOp(),buildPlusPlusOp().
The instantiated functions' prototypes are not shown since they are expanded using macros. Doxygen is not smart enough to handle macro expansion.
| SgUnsignedShortVal* SageBuilder::buildUnsignedShortVal | ( | unsigned short | v = 0 |
) |
Build an unsigned short integer.
| SgUnsignedShortVal* SageBuilder::buildUnsignedShortValHex | ( | unsigned short | v = 0 |
) |
Template function to build a unary expression of type T with advanced information specified such as parenthesis and file info. Instantiated functions include:buildAddressOfOp(),buildBitComplementOp(),buildBitComplementOp(),buildMinusOp(),buildNotOp(),buildPointerDerefExp(),buildUnaryAddOp(),buildMinusMinusOp(),buildPlusPlusOp().
The instantiated functions' prototypes are not shown since they are expanded using macros. Doxygen is not smart enough to handle macro expansion.
| SgUnsignedShortVal* SageBuilder::buildUnsignedShortVal_nfi | ( | unsigned short | v, | |
| const std::string & | str | |||
| ) |
Template function to build a unary expression of type T with advanced information specified such as parenthesis and file info. Instantiated functions include:buildAddressOfOp(),buildBitComplementOp(),buildBitComplementOp(),buildMinusOp(),buildNotOp(),buildPointerDerefExp(),buildUnaryAddOp(),buildMinusMinusOp(),buildPlusPlusOp().
The instantiated functions' prototypes are not shown since they are expanded using macros. Doxygen is not smart enough to handle macro expansion.
| SgUnsignedIntVal* SageBuilder::buildUnsignedIntVal | ( | unsigned int | v = 0 |
) |
Build an unsigned integer.
| SgUnsignedIntVal* SageBuilder::buildUnsignedIntValHex | ( | unsigned int | v = 0 |
) |
Template function to build a unary expression of type T with advanced information specified such as parenthesis and file info. Instantiated functions include:buildAddressOfOp(),buildBitComplementOp(),buildBitComplementOp(),buildMinusOp(),buildNotOp(),buildPointerDerefExp(),buildUnaryAddOp(),buildMinusMinusOp(),buildPlusPlusOp().
The instantiated functions' prototypes are not shown since they are expanded using macros. Doxygen is not smart enough to handle macro expansion.
| SgUnsignedIntVal* SageBuilder::buildUnsignedIntVal_nfi | ( | unsigned int | v, | |
| const std::string & | str | |||
| ) |
Template function to build a unary expression of type T with advanced information specified such as parenthesis and file info. Instantiated functions include:buildAddressOfOp(),buildBitComplementOp(),buildBitComplementOp(),buildMinusOp(),buildNotOp(),buildPointerDerefExp(),buildUnaryAddOp(),buildMinusMinusOp(),buildPlusPlusOp().
The instantiated functions' prototypes are not shown since they are expanded using macros. Doxygen is not smart enough to handle macro expansion.
| SgUnsignedLongVal* SageBuilder::buildUnsignedLongVal | ( | unsigned long | v = 0 |
) |
Build a unsigned long integer.
| SgUnsignedLongVal* SageBuilder::buildUnsignedLongValHex | ( | unsigned long | v = 0 |
) |
Template function to build a unary expression of type T with advanced information specified such as parenthesis and file info. Instantiated functions include:buildAddressOfOp(),buildBitComplementOp(),buildBitComplementOp(),buildMinusOp(),buildNotOp(),buildPointerDerefExp(),buildUnaryAddOp(),buildMinusMinusOp(),buildPlusPlusOp().
The instantiated functions' prototypes are not shown since they are expanded using macros. Doxygen is not smart enough to handle macro expansion.
| SgUnsignedLongVal* SageBuilder::buildUnsignedLongVal_nfi | ( | unsigned long | v, | |
| const std::string & | str | |||
| ) |
Template function to build a unary expression of type T with advanced information specified such as parenthesis and file info. Instantiated functions include:buildAddressOfOp(),buildBitComplementOp(),buildBitComplementOp(),buildMinusOp(),buildNotOp(),buildPointerDerefExp(),buildUnaryAddOp(),buildMinusMinusOp(),buildPlusPlusOp().
The instantiated functions' prototypes are not shown since they are expanded using macros. Doxygen is not smart enough to handle macro expansion.
| SgUnsignedLongLongIntVal* SageBuilder::buildUnsignedLongLongIntVal | ( | unsigned long long | v = 0 |
) |
Build an unsigned long long integer.
| SgUnsignedLongLongIntVal* SageBuilder::buildUnsignedLongLongIntValHex | ( | unsigned long long | v = 0 |
) |
Template function to build a unary expression of type T with advanced information specified such as parenthesis and file info. Instantiated functions include:buildAddressOfOp(),buildBitComplementOp(),buildBitComplementOp(),buildMinusOp(),buildNotOp(),buildPointerDerefExp(),buildUnaryAddOp(),buildMinusMinusOp(),buildPlusPlusOp().
The instantiated functions' prototypes are not shown since they are expanded using macros. Doxygen is not smart enough to handle macro expansion.
| SgUnsignedLongLongIntVal* SageBuilder::buildUnsignedLongLongIntVal_nfi | ( | unsigned long long | v, | |
| const std::string & | str | |||
| ) |
Template function to build a unary expression of type T with advanced information specified such as parenthesis and file info. Instantiated functions include:buildAddressOfOp(),buildBitComplementOp(),buildBitComplementOp(),buildMinusOp(),buildNotOp(),buildPointerDerefExp(),buildUnaryAddOp(),buildMinusMinusOp(),buildPlusPlusOp().
The instantiated functions' prototypes are not shown since they are expanded using macros. Doxygen is not smart enough to handle macro expansion.
| SgUpcThreads* SageBuilder::buildUpcThreads | ( | ) |
Build UPC THREADS (integer expression).
| SgUpcThreads* SageBuilder::buildUpcThreads_nfi | ( | ) |
Template function to build a unary expression of type T with advanced information specified such as parenthesis and file info. Instantiated functions include:buildAddressOfOp(),buildBitComplementOp(),buildBitComplementOp(),buildMinusOp(),buildNotOp(),buildPointerDerefExp(),buildUnaryAddOp(),buildMinusMinusOp(),buildPlusPlusOp().
The instantiated functions' prototypes are not shown since they are expanded using macros. Doxygen is not smart enough to handle macro expansion.
| SgUpcMythread* SageBuilder::buildUpcMythread | ( | ) |
Build UPC MYTHREAD (integer expression).
| SgUpcMythread* SageBuilder::buildUpcMythread_nfi | ( | ) |
Template function to build a unary expression of type T with advanced information specified such as parenthesis and file info. Instantiated functions include:buildAddressOfOp(),buildBitComplementOp(),buildBitComplementOp(),buildMinusOp(),buildNotOp(),buildPointerDerefExp(),buildUnaryAddOp(),buildMinusMinusOp(),buildPlusPlusOp().
The instantiated functions' prototypes are not shown since they are expanded using macros. Doxygen is not smart enough to handle macro expansion.
| SgThisExp* SageBuilder::buildThisExp | ( | SgClassSymbol * | sym | ) |
Build this pointer.
| SgThisExp* SageBuilder::buildThisExp_nfi | ( | SgClassSymbol * | sym | ) |
Template function to build a unary expression of type T with advanced information specified such as parenthesis and file info. Instantiated functions include:buildAddressOfOp(),buildBitComplementOp(),buildBitComplementOp(),buildMinusOp(),buildNotOp(),buildPointerDerefExp(),buildUnaryAddOp(),buildMinusMinusOp(),buildPlusPlusOp().
The instantiated functions' prototypes are not shown since they are expanded using macros. Doxygen is not smart enough to handle macro expansion.
| SgLambdaRefExp* SageBuilder::buildLambdaRefExp | ( | SgType * | return_type, | |
| SgFunctionParameterList * | params, | |||
| SgScopeStatement * | scope | |||
| ) |
Build lambda expression.
| T* SageBuilder::buildUnaryExpression | ( | SgExpression * | operand = NULL |
) |
Template function to build a unary expression of type T. Instantiated functions include:buildAddressOfOp(),buildBitComplementOp(),buildBitComplementOp(),buildMinusOp(),buildNotOp(),buildPointerDerefExp(),buildUnaryAddOp(),buildMinusMinusOp(),buildPlusPlusOp(). They are also used for the unary vararg operators (which are not technically unary operators).
The instantiated functions' prototypes are not shown since they are expanded using macros. Doxygen is not smart enough to handle macro expansion.
| T* SageBuilder::buildUnaryExpression_nfi | ( | SgExpression * | operand | ) |
Template function to build a unary expression of type T with advanced information specified such as parenthesis and file info. Instantiated functions include:buildAddressOfOp(),buildBitComplementOp(),buildBitComplementOp(),buildMinusOp(),buildNotOp(),buildPointerDerefExp(),buildUnaryAddOp(),buildMinusMinusOp(),buildPlusPlusOp().
The instantiated functions' prototypes are not shown since they are expanded using macros. Doxygen is not smart enough to handle macro expansion.
| SgCastExp* SageBuilder::buildCastExp | ( | SgExpression * | operand_i = NULL, |
|
| SgType * | expression_type = NULL, |
|||
| SgCastExp::cast_type_enum | cast_type = SgCastExp::e_C_style_cast | |||
| ) |
Build a type casting expression.
| SgCastExp* SageBuilder::buildCastExp_nfi | ( | SgExpression * | operand_i, | |
| SgType * | expression_type, | |||
| SgCastExp::cast_type_enum | cast_type | |||
| ) |
Template function to build a unary expression of type T with advanced information specified such as parenthesis and file info. Instantiated functions include:buildAddressOfOp(),buildBitComplementOp(),buildBitComplementOp(),buildMinusOp(),buildNotOp(),buildPointerDerefExp(),buildUnaryAddOp(),buildMinusMinusOp(),buildPlusPlusOp().
The instantiated functions' prototypes are not shown since they are expanded using macros. Doxygen is not smart enough to handle macro expansion.
| SgVarArgOp* SageBuilder::buildVarArgOp_nfi | ( | SgExpression * | operand_i, | |
| SgType * | expression_type | |||
| ) |
Build vararg op expression.
| SgMinusMinusOp* SageBuilder::buildMinusMinusOp | ( | SgExpression * | operand_i, | |
| SgUnaryOp::Sgop_mode | a_mode | |||
| ) |
Build -- expression, Sgop_mode is a value of either SgUnaryOp::prefix or SgUnaryOp::postfix.
| SgMinusMinusOp* SageBuilder::buildMinusMinusOp_nfi | ( | SgExpression * | operand_i, | |
| SgUnaryOp::Sgop_mode | a_mode | |||
| ) |
Template function to build a unary expression of type T with advanced information specified such as parenthesis and file info. Instantiated functions include:buildAddressOfOp(),buildBitComplementOp(),buildBitComplementOp(),buildMinusOp(),buildNotOp(),buildPointerDerefExp(),buildUnaryAddOp(),buildMinusMinusOp(),buildPlusPlusOp().
The instantiated functions' prototypes are not shown since they are expanded using macros. Doxygen is not smart enough to handle macro expansion.
| SgPlusPlusOp* SageBuilder::buildPlusPlusOp | ( | SgExpression * | operand_i, | |
| SgUnaryOp::Sgop_mode | a_mode | |||
| ) |
Build ++x or x++ , specify prefix or postfix using either SgUnaryOp::prefix or SgUnaryOp::postfix.
| SgPlusPlusOp* SageBuilder::buildPlusPlusOp_nfi | ( | SgExpression * | operand_i, | |
| SgUnaryOp::Sgop_mode | a_mode | |||
| ) |
Template function to build a unary expression of type T with advanced information specified such as parenthesis and file info. Instantiated functions include:buildAddressOfOp(),buildBitComplementOp(),buildBitComplementOp(),buildMinusOp(),buildNotOp(),buildPointerDerefExp(),buildUnaryAddOp(),buildMinusMinusOp(),buildPlusPlusOp().
The instantiated functions' prototypes are not shown since they are expanded using macros. Doxygen is not smart enough to handle macro expansion.
| SgThrowOp* SageBuilder::buildThrowOp | ( | SgExpression * | , | |
| SgThrowOp::e_throw_kind | ||||
| ) |
Build a ThrowOp expression.
| SgNewExp* SageBuilder::buildNewExp | ( | SgType * | type, | |
| SgExprListExp * | exprListExp, | |||
| SgConstructorInitializer * | constInit, | |||
| SgExpression * | expr, | |||
| short int | val, | |||
| SgFunctionDeclaration * | funcDecl | |||
| ) |
Template function to build a unary expression of type T with advanced information specified such as parenthesis and file info. Instantiated functions include:buildAddressOfOp(),buildBitComplementOp(),buildBitComplementOp(),buildMinusOp(),buildNotOp(),buildPointerDerefExp(),buildUnaryAddOp(),buildMinusMinusOp(),buildPlusPlusOp().
The instantiated functions' prototypes are not shown since they are expanded using macros. Doxygen is not smart enough to handle macro expansion.
| SgDeleteExp* SageBuilder::buildDeleteExp | ( | SgExpression * | variable, | |
| short | is_array, | |||
| short | need_global_specifier, | |||
| SgFunctionDeclaration * | deleteOperatorDeclaration | |||
| ) |
Template function to build a unary expression of type T with advanced information specified such as parenthesis and file info. Instantiated functions include:buildAddressOfOp(),buildBitComplementOp(),buildBitComplementOp(),buildMinusOp(),buildNotOp(),buildPointerDerefExp(),buildUnaryAddOp(),buildMinusMinusOp(),buildPlusPlusOp().
The instantiated functions' prototypes are not shown since they are expanded using macros. Doxygen is not smart enough to handle macro expansion.
| T* SageBuilder::buildBinaryExpression | ( | SgExpression * | lhs = NULL, |
|
| SgExpression * | rhs = NULL | |||
| ) |
Template function to build a binary expression of type T, taking care of parent pointers, file info, lvalue, etc. Available instances include: buildAddOp(), buildAndAssignOp(), buildAndOp(), buildArrowExp(),buildArrowStarOp(), buildAssignOp(),buildBitAndOp(),buildBitOrOp(),buildBitXorOp(),buildCommaOpExp(), buildConcatenationOp(),buildDivAssignOp(),buildDivideOp(),buildDotExp(),buildEqualityOp(),buildExponentiationOp(),buildGreaterOrEqualOp(),buildGreaterThanOp(),buildIntegerDivideOp(),buildIorAssignOp(),buildLessOrEqualOp(),buildLessThanOp(),buildLshiftAssignOp(),buildLshiftOp(),buildMinusAssignOp(),buildModAssignOp(),buildModOp(),buildMultAssignOp(),buildMultiplyOp(),buildNotEqualOp(),buildOrOp(),buildPlusAssignOp(),buildPntrArrRefExp(),buildRshiftAssignOp(),buildRshiftOp(),buildScopeOp(),buildSubtractOp()buildXorAssignOp().
The instantiated functions' prototypes are not shown since they are expanded using macros. Doxygen is not smart enough to handle macro expansion.
| T* SageBuilder::buildBinaryExpression_nfi | ( | SgExpression * | lhs, | |
| SgExpression * | rhs | |||
| ) |
Template function to build a unary expression of type T with advanced information specified such as parenthesis and file info. Instantiated functions include:buildAddressOfOp(),buildBitComplementOp(),buildBitComplementOp(),buildMinusOp(),buildNotOp(),buildPointerDerefExp(),buildUnaryAddOp(),buildMinusMinusOp(),buildPlusPlusOp().
The instantiated functions' prototypes are not shown since they are expanded using macros. Doxygen is not smart enough to handle macro expansion.
| SgConditionalExp* SageBuilder::buildConditionalExp | ( | SgExpression * | test = NULL, |
|
| SgExpression * | a = NULL, |
|||
| SgExpression * | b = NULL | |||
| ) |
Build a conditional expression ?:.
| SgConditionalExp* SageBuilder::buildConditionalExp_nfi | ( | SgExpression * | test, | |
| SgExpression * | a, | |||
| SgExpression * | b, | |||
| SgType * | t | |||
| ) |
Template function to build a unary expression of type T with advanced information specified such as parenthesis and file info. Instantiated functions include:buildAddressOfOp(),buildBitComplementOp(),buildBitComplementOp(),buildMinusOp(),buildNotOp(),buildPointerDerefExp(),buildUnaryAddOp(),buildMinusMinusOp(),buildPlusPlusOp().
The instantiated functions' prototypes are not shown since they are expanded using macros. Doxygen is not smart enough to handle macro expansion.
| SgExprListExp* SageBuilder::buildExprListExp | ( | SgExpression * | expr1 = NULL, |
|
| SgExpression * | expr2 = NULL, |
|||
| SgExpression * | expr3 = NULL, |
|||
| SgExpression * | expr4 = NULL, |
|||
| SgExpression * | expr5 = NULL, |
|||
| SgExpression * | expr6 = NULL, |
|||
| SgExpression * | expr7 = NULL, |
|||
| SgExpression * | expr8 = NULL, |
|||
| SgExpression * | expr9 = NULL, |
|||
| SgExpression * | expr10 = NULL | |||
| ) |
Build a SgExprListExp, used for function call parameter list etc.
| SgExprListExp* SageBuilder::buildExprListExp | ( | const std::vector< SgExpression * > & | exprs | ) |
Template function to build a unary expression of type T with advanced information specified such as parenthesis and file info. Instantiated functions include:buildAddressOfOp(),buildBitComplementOp(),buildBitComplementOp(),buildMinusOp(),buildNotOp(),buildPointerDerefExp(),buildUnaryAddOp(),buildMinusMinusOp(),buildPlusPlusOp().
The instantiated functions' prototypes are not shown since they are expanded using macros. Doxygen is not smart enough to handle macro expansion.
| SgExprListExp* SageBuilder::buildExprListExp_nfi | ( | ) |
Template function to build a unary expression of type T with advanced information specified such as parenthesis and file info. Instantiated functions include:buildAddressOfOp(),buildBitComplementOp(),buildBitComplementOp(),buildMinusOp(),buildNotOp(),buildPointerDerefExp(),buildUnaryAddOp(),buildMinusMinusOp(),buildPlusPlusOp().
The instantiated functions' prototypes are not shown since they are expanded using macros. Doxygen is not smart enough to handle macro expansion.
| SgExprListExp* SageBuilder::buildExprListExp_nfi | ( | const std::vector< SgExpression * > & | exprs | ) |
Template function to build a unary expression of type T with advanced information specified such as parenthesis and file info. Instantiated functions include:buildAddressOfOp(),buildBitComplementOp(),buildBitComplementOp(),buildMinusOp(),buildNotOp(),buildPointerDerefExp(),buildUnaryAddOp(),buildMinusMinusOp(),buildPlusPlusOp().
The instantiated functions' prototypes are not shown since they are expanded using macros. Doxygen is not smart enough to handle macro expansion.
| SgTupleExp* SageBuilder::buildTupleExp | ( | SgExpression * | expr1 = NULL, |
|
| SgExpression * | expr2 = NULL, |
|||
| SgExpression * | expr3 = NULL, |
|||
| SgExpression * | expr4 = NULL, |
|||
| SgExpression * | expr5 = NULL, |
|||
| SgExpression * | expr6 = NULL, |
|||
| SgExpression * | expr7 = NULL, |
|||
| SgExpression * | expr8 = NULL, |
|||
| SgExpression * | expr9 = NULL, |
|||
| SgExpression * | expr10 = NULL | |||
| ) |
Build a SgTupleExp.
| SgTupleExp* SageBuilder::buildTupleExp | ( | const std::vector< SgExpression * > & | exprs | ) |
Template function to build a unary expression of type T with advanced information specified such as parenthesis and file info. Instantiated functions include:buildAddressOfOp(),buildBitComplementOp(),buildBitComplementOp(),buildMinusOp(),buildNotOp(),buildPointerDerefExp(),buildUnaryAddOp(),buildMinusMinusOp(),buildPlusPlusOp().
The instantiated functions' prototypes are not shown since they are expanded using macros. Doxygen is not smart enough to handle macro expansion.
| SgTupleExp* SageBuilder::buildTupleExp_nfi | ( | ) |
Template function to build a unary expression of type T with advanced information specified such as parenthesis and file info. Instantiated functions include:buildAddressOfOp(),buildBitComplementOp(),buildBitComplementOp(),buildMinusOp(),buildNotOp(),buildPointerDerefExp(),buildUnaryAddOp(),buildMinusMinusOp(),buildPlusPlusOp().
The instantiated functions' prototypes are not shown since they are expanded using macros. Doxygen is not smart enough to handle macro expansion.
| SgTupleExp* SageBuilder::buildTupleExp_nfi | ( | const std::vector< SgExpression * > & | exprs | ) |
Template function to build a unary expression of type T with advanced information specified such as parenthesis and file info. Instantiated functions include:buildAddressOfOp(),buildBitComplementOp(),buildBitComplementOp(),buildMinusOp(),buildNotOp(),buildPointerDerefExp(),buildUnaryAddOp(),buildMinusMinusOp(),buildPlusPlusOp().
The instantiated functions' prototypes are not shown since they are expanded using macros. Doxygen is not smart enough to handle macro expansion.
| SgListExp* SageBuilder::buildListExp | ( | SgExpression * | expr1 = NULL, |
|
| SgExpression * | expr2 = NULL, |
|||
| SgExpression * | expr3 = NULL, |
|||
| SgExpression * | expr4 = NULL, |
|||
| SgExpression * | expr5 = NULL, |
|||
| SgExpression * | expr6 = NULL, |
|||
| SgExpression * | expr7 = NULL, |
|||
| SgExpression * | expr8 = NULL, |
|||
| SgExpression * | expr9 = NULL, |
|||
| SgExpression * | expr10 = NULL | |||
| ) |
Build a SgListExp.
| SgListExp* SageBuilder::buildListExp | ( | const std::vector< SgExpression * > & | exprs | ) |
Template function to build a unary expression of type T with advanced information specified such as parenthesis and file info. Instantiated functions include:buildAddressOfOp(),buildBitComplementOp(),buildBitComplementOp(),buildMinusOp(),buildNotOp(),buildPointerDerefExp(),buildUnaryAddOp(),buildMinusMinusOp(),buildPlusPlusOp().
The instantiated functions' prototypes are not shown since they are expanded using macros. Doxygen is not smart enough to handle macro expansion.
| SgListExp* SageBuilder::buildListExp_nfi | ( | ) |
Template function to build a unary expression of type T with advanced information specified such as parenthesis and file info. Instantiated functions include:buildAddressOfOp(),buildBitComplementOp(),buildBitComplementOp(),buildMinusOp(),buildNotOp(),buildPointerDerefExp(),buildUnaryAddOp(),buildMinusMinusOp(),buildPlusPlusOp().
The instantiated functions' prototypes are not shown since they are expanded using macros. Doxygen is not smart enough to handle macro expansion.
| SgListExp* SageBuilder::buildListExp_nfi | ( | const std::vector< SgExpression * > & | exprs | ) |
Template function to build a unary expression of type T with advanced information specified such as parenthesis and file info. Instantiated functions include:buildAddressOfOp(),buildBitComplementOp(),buildBitComplementOp(),buildMinusOp(),buildNotOp(),buildPointerDerefExp(),buildUnaryAddOp(),buildMinusMinusOp(),buildPlusPlusOp().
The instantiated functions' prototypes are not shown since they are expanded using macros. Doxygen is not smart enough to handle macro expansion.
| SgComprehension* SageBuilder::buildComprehension | ( | SgExpression * | target, | |
| SgExpression * | iter, | |||
| SgExprListExp * | ifs | |||
| ) |
Template function to build a unary expression of type T with advanced information specified such as parenthesis and file info. Instantiated functions include:buildAddressOfOp(),buildBitComplementOp(),buildBitComplementOp(),buildMinusOp(),buildNotOp(),buildPointerDerefExp(),buildUnaryAddOp(),buildMinusMinusOp(),buildPlusPlusOp().
The instantiated functions' prototypes are not shown since they are expanded using macros. Doxygen is not smart enough to handle macro expansion.
| SgComprehension* SageBuilder::buildComprehension_nfi | ( | SgExpression * | target, | |
| SgExpression * | iter, | |||
| SgExprListExp * | ifs | |||
| ) |
Template function to build a unary expression of type T with advanced information specified such as parenthesis and file info. Instantiated functions include:buildAddressOfOp(),buildBitComplementOp(),buildBitComplementOp(),buildMinusOp(),buildNotOp(),buildPointerDerefExp(),buildUnaryAddOp(),buildMinusMinusOp(),buildPlusPlusOp().
The instantiated functions' prototypes are not shown since they are expanded using macros. Doxygen is not smart enough to handle macro expansion.
| SgListComprehension* SageBuilder::buildListComprehension | ( | SgExpression * | elt, | |
| SgExprListExp * | generators | |||
| ) |
Template function to build a unary expression of type T with advanced information specified such as parenthesis and file info. Instantiated functions include:buildAddressOfOp(),buildBitComplementOp(),buildBitComplementOp(),buildMinusOp(),buildNotOp(),buildPointerDerefExp(),buildUnaryAddOp(),buildMinusMinusOp(),buildPlusPlusOp().
The instantiated functions' prototypes are not shown since they are expanded using macros. Doxygen is not smart enough to handle macro expansion.
| SgListComprehension* SageBuilder::buildListComprehension_nfi | ( | SgExpression * | elt, | |
| SgExprListExp * | generators | |||
| ) |
Template function to build a unary expression of type T with advanced information specified such as parenthesis and file info. Instantiated functions include:buildAddressOfOp(),buildBitComplementOp(),buildBitComplementOp(),buildMinusOp(),buildNotOp(),buildPointerDerefExp(),buildUnaryAddOp(),buildMinusMinusOp(),buildPlusPlusOp().
The instantiated functions' prototypes are not shown since they are expanded using macros. Doxygen is not smart enough to handle macro expansion.
| SgSetComprehension* SageBuilder::buildSetComprehension | ( | SgExpression * | elt, | |
| SgExprListExp * | generators | |||
| ) |
Template function to build a unary expression of type T with advanced information specified such as parenthesis and file info. Instantiated functions include:buildAddressOfOp(),buildBitComplementOp(),buildBitComplementOp(),buildMinusOp(),buildNotOp(),buildPointerDerefExp(),buildUnaryAddOp(),buildMinusMinusOp(),buildPlusPlusOp().
The instantiated functions' prototypes are not shown since they are expanded using macros. Doxygen is not smart enough to handle macro expansion.
| SgSetComprehension* SageBuilder::buildSetComprehension_nfi | ( | SgExpression * | elt, | |
| SgExprListExp * | generators | |||
| ) |
Template function to build a unary expression of type T with advanced information specified such as parenthesis and file info. Instantiated functions include:buildAddressOfOp(),buildBitComplementOp(),buildBitComplementOp(),buildMinusOp(),buildNotOp(),buildPointerDerefExp(),buildUnaryAddOp(),buildMinusMinusOp(),buildPlusPlusOp().
The instantiated functions' prototypes are not shown since they are expanded using macros. Doxygen is not smart enough to handle macro expansion.
| SgDictionaryComprehension* SageBuilder::buildDictionaryComprehension | ( | SgKeyDatumPair * | kd_pair, | |
| SgExprListExp * | generators | |||
| ) |
Template function to build a unary expression of type T with advanced information specified such as parenthesis and file info. Instantiated functions include:buildAddressOfOp(),buildBitComplementOp(),buildBitComplementOp(),buildMinusOp(),buildNotOp(),buildPointerDerefExp(),buildUnaryAddOp(),buildMinusMinusOp(),buildPlusPlusOp().
The instantiated functions' prototypes are not shown since they are expanded using macros. Doxygen is not smart enough to handle macro expansion.
| SgDictionaryComprehension* SageBuilder::buildDictionaryComprehension_nfi | ( | SgKeyDatumPair * | kd_pair, | |
| SgExprListExp * | generators | |||
| ) |
Template function to build a unary expression of type T with advanced information specified such as parenthesis and file info. Instantiated functions include:buildAddressOfOp(),buildBitComplementOp(),buildBitComplementOp(),buildMinusOp(),buildNotOp(),buildPointerDerefExp(),buildUnaryAddOp(),buildMinusMinusOp(),buildPlusPlusOp().
The instantiated functions' prototypes are not shown since they are expanded using macros. Doxygen is not smart enough to handle macro expansion.
| SgVarRefExp* SageBuilder::buildVarRefExp | ( | const SgName & | name, | |
| SgScopeStatement * | scope = NULL | |||
| ) |
Build SgVarRefExp based on a variable's Sage name. It will lookup symbol table internally starting from scope. A variable name is unique so type can be inferred (double check this).
It is possible to build a reference to a variable with known name before the variable is declaration, especially during bottomup construction of AST. In this case, SgTypeUnknown is used to indicate the variable reference needing postprocessing fix using fixVariableReferences() once the AST is complete and all variable declarations exist. But the side effect is some get_type() operation may not recognize the unknown type before the fix. So far, I extended SgPointerDerefExp::get_type() and SgPntrArrRefExp::get_type() for SgTypeUnknown. There may be others needing the same extension.
| SgVarRefExp* SageBuilder::buildVarRefExp | ( | const std::string & | varName, | |
| SgScopeStatement * | scope = NULL | |||
| ) |
Build SgVarRefExp based on a variable's name. It will lookup symbol table internally starting from scope. A variable is unique so type can be inferred.
| SgVarRefExp* SageBuilder::buildVarRefExp | ( | const char * | varName, | |
| SgScopeStatement * | scope = NULL | |||
| ) |
Build a variable reference using a C style char array.
| SgVarRefExp* SageBuilder::buildVarRefExp | ( | SgVariableSymbol * | varSymbol | ) |
Build a variable reference from an existing symbol.
| SgVarRefExp* SageBuilder::buildVarRefExp_nfi | ( | SgVariableSymbol * | varSymbol | ) |
Template function to build a unary expression of type T with advanced information specified such as parenthesis and file info. Instantiated functions include:buildAddressOfOp(),buildBitComplementOp(),buildBitComplementOp(),buildMinusOp(),buildNotOp(),buildPointerDerefExp(),buildUnaryAddOp(),buildMinusMinusOp(),buildPlusPlusOp().
The instantiated functions' prototypes are not shown since they are expanded using macros. Doxygen is not smart enough to handle macro expansion.
| SgVarRefExp* SageBuilder::buildVarRefExp | ( | SgVariableDeclaration * | vardecl | ) |
Build a variable reference from an existing variable declaration. The assumption is a SgVariableDeclartion only declares one variable in the ROSE AST.
| SgVarRefExp* SageBuilder::buildVarRefExp | ( | SgInitializedName * | initname, | |
| SgScopeStatement * | scope = NULL | |||
| ) |
build a variable reference from an initialized name It first tries to grab the associated symbol, then call buildVarRefExp(const SgName& name, SgScopeStatement*) if symbol does not exist.
| SgVarRefExp* SageBuilder::buildOpaqueVarRefExp | ( | const std::string & | varName, | |
| SgScopeStatement * | scope = NULL | |||
| ) |
Build a variable reference expression at scope to an opaque variable which has unknown information except for its name. Used when referring to an internal variable defined in some headers of runtime libraries.(The headers are not yet inserted into the file during translation). Similar to buildOpaqueType();.
It will declare a hidden int varName at the specified scope to cheat the AST consistence tests.
| SgLabelRefExp* SageBuilder::buildLabelRefExp | ( | SgLabelSymbol * | s | ) |
Build a Fortran numeric label ref exp.
| SgFunctionRefExp* SageBuilder::buildFunctionRefExp | ( | const SgName & | name, | |
| const SgType * | func_type, | |||
| SgScopeStatement * | scope = NULL | |||
| ) |
Build SgFunctionRefExp based on a C++ function's name and function type. It will lookup symbol table internally starting from scope. A hidden prototype will be created internally to introduce a new function symbol if the function symbol cannot be found.
| SgFunctionRefExp* SageBuilder::buildFunctionRefExp | ( | const char * | name, | |
| const SgType * | func_type, | |||
| SgScopeStatement * | scope = NULL | |||
| ) |
Template function to build a unary expression of type T with advanced information specified such as parenthesis and file info. Instantiated functions include:buildAddressOfOp(),buildBitComplementOp(),buildBitComplementOp(),buildMinusOp(),buildNotOp(),buildPointerDerefExp(),buildUnaryAddOp(),buildMinusMinusOp(),buildPlusPlusOp().
The instantiated functions' prototypes are not shown since they are expanded using macros. Doxygen is not smart enough to handle macro expansion.
| SgFunctionRefExp* SageBuilder::buildFunctionRefExp | ( | const SgName & | name, | |
| SgScopeStatement * | scope = NULL | |||
| ) |
Build SgFunctionRefExp based on a C function's name. It will lookup symbol table internally starting from scope and return the first matching function.
| SgFunctionRefExp* SageBuilder::buildFunctionRefExp | ( | const char * | name, | |
| SgScopeStatement * | scope = NULL | |||
| ) |
Template function to build a unary expression of type T with advanced information specified such as parenthesis and file info. Instantiated functions include:buildAddressOfOp(),buildBitComplementOp(),buildBitComplementOp(),buildMinusOp(),buildNotOp(),buildPointerDerefExp(),buildUnaryAddOp(),buildMinusMinusOp(),buildPlusPlusOp().
The instantiated functions' prototypes are not shown since they are expanded using macros. Doxygen is not smart enough to handle macro expansion.
| SgFunctionRefExp* SageBuilder::buildFunctionRefExp | ( | const SgFunctionDeclaration * | func_decl | ) |
Build SgFunctionRefExp based on a function's declaration.
| SgFunctionRefExp* SageBuilder::buildFunctionRefExp | ( | SgFunctionSymbol * | sym | ) |
Build SgFunctionRefExp based on a function's symbol.
| SgFunctionRefExp* SageBuilder::buildFunctionRefExp_nfi | ( | SgFunctionSymbol * | sym | ) |
Template function to build a unary expression of type T with advanced information specified such as parenthesis and file info. Instantiated functions include:buildAddressOfOp(),buildBitComplementOp(),buildBitComplementOp(),buildMinusOp(),buildNotOp(),buildPointerDerefExp(),buildUnaryAddOp(),buildMinusMinusOp(),buildPlusPlusOp().
The instantiated functions' prototypes are not shown since they are expanded using macros. Doxygen is not smart enough to handle macro expansion.
| SgMemberFunctionRefExp* SageBuilder::buildMemberFunctionRefExp_nfi | ( | SgMemberFunctionSymbol * | sym, | |
| bool | virtual_call, | |||
| bool | need_qualifier | |||
| ) |
Template function to build a unary expression of type T with advanced information specified such as parenthesis and file info. Instantiated functions include:buildAddressOfOp(),buildBitComplementOp(),buildBitComplementOp(),buildMinusOp(),buildNotOp(),buildPointerDerefExp(),buildUnaryAddOp(),buildMinusMinusOp(),buildPlusPlusOp().
The instantiated functions' prototypes are not shown since they are expanded using macros. Doxygen is not smart enough to handle macro expansion.
| SgMemberFunctionRefExp* SageBuilder::buildMemberFunctionRefExp | ( | SgMemberFunctionSymbol * | sym, | |
| bool | virtual_call, | |||
| bool | need_qualifier | |||
| ) |
Template function to build a unary expression of type T with advanced information specified such as parenthesis and file info. Instantiated functions include:buildAddressOfOp(),buildBitComplementOp(),buildBitComplementOp(),buildMinusOp(),buildNotOp(),buildPointerDerefExp(),buildUnaryAddOp(),buildMinusMinusOp(),buildPlusPlusOp().
The instantiated functions' prototypes are not shown since they are expanded using macros. Doxygen is not smart enough to handle macro expansion.
| SgClassNameRefExp* SageBuilder::buildClassNameRefExp_nfi | ( | SgClassSymbol * | sym | ) |
Template function to build a unary expression of type T with advanced information specified such as parenthesis and file info. Instantiated functions include:buildAddressOfOp(),buildBitComplementOp(),buildBitComplementOp(),buildMinusOp(),buildNotOp(),buildPointerDerefExp(),buildUnaryAddOp(),buildMinusMinusOp(),buildPlusPlusOp().
The instantiated functions' prototypes are not shown since they are expanded using macros. Doxygen is not smart enough to handle macro expansion.
| SgClassNameRefExp* SageBuilder::buildClassNameRefExp | ( | SgClassSymbol * | sym | ) |
Template function to build a unary expression of type T with advanced information specified such as parenthesis and file info. Instantiated functions include:buildAddressOfOp(),buildBitComplementOp(),buildBitComplementOp(),buildMinusOp(),buildNotOp(),buildPointerDerefExp(),buildUnaryAddOp(),buildMinusMinusOp(),buildPlusPlusOp().
The instantiated functions' prototypes are not shown since they are expanded using macros. Doxygen is not smart enough to handle macro expansion.
| SgFunctionCallExp* SageBuilder::buildFunctionCallExp | ( | SgFunctionSymbol * | sym, | |
| SgExprListExp * | parameters = NULL | |||
| ) |
Build a function call expression.
| SgFunctionCallExp* SageBuilder::buildFunctionCallExp_nfi | ( | SgExpression * | f, | |
| SgExprListExp * | parameters = NULL | |||
| ) |
Template function to build a unary expression of type T with advanced information specified such as parenthesis and file info. Instantiated functions include:buildAddressOfOp(),buildBitComplementOp(),buildBitComplementOp(),buildMinusOp(),buildNotOp(),buildPointerDerefExp(),buildUnaryAddOp(),buildMinusMinusOp(),buildPlusPlusOp().
The instantiated functions' prototypes are not shown since they are expanded using macros. Doxygen is not smart enough to handle macro expansion.
| SgFunctionCallExp* SageBuilder::buildFunctionCallExp | ( | SgExpression * | f, | |
| SgExprListExp * | parameters = NULL | |||
| ) |
Template function to build a unary expression of type T with advanced information specified such as parenthesis and file info. Instantiated functions include:buildAddressOfOp(),buildBitComplementOp(),buildBitComplementOp(),buildMinusOp(),buildNotOp(),buildPointerDerefExp(),buildUnaryAddOp(),buildMinusMinusOp(),buildPlusPlusOp().
The instantiated functions' prototypes are not shown since they are expanded using macros. Doxygen is not smart enough to handle macro expansion.
| SgFunctionCallExp* SageBuilder::buildFunctionCallExp | ( | const SgName & | name, | |
| SgType * | return_type, | |||
| SgExprListExp * | parameters = NULL, |
|||
| SgScopeStatement * | scope = NULL | |||
| ) |
Build a function call expression,it will automatically search for function symbols internally to build a right function reference etc. It tolerates the lack of the function symbol to support generating calls to library functions whose headers have not yet been inserted.
| SgCudaKernelCallExp* SageBuilder::buildCudaKernelCallExp_nfi | ( | SgExpression * | kernel, | |
| SgExprListExp * | parameters = NULL, |
|||
| SgCudaKernelExecConfig * | config = NULL | |||
| ) |
Build a CUDA kernel call expression (kernel<<<config>>>(parameters)).
| SgCudaKernelExecConfig* SageBuilder::buildCudaKernelExecConfig_nfi | ( | SgExpression * | grid = NULL, |
|
| SgExpression * | blocks = NULL, |
|||
| SgExpression * | shared = NULL, |
|||
| SgExpression * | stream = NULL | |||
| ) |
Build a CUDA kernel execution configuration (<<<grid, blocks, shared, stream>>>).
| SgAssignInitializer* SageBuilder::buildAssignInitializer | ( | SgExpression * | operand_i = NULL, |
|
| SgType * | expression_type = NULL | |||
| ) |
Build the rhs of a variable declaration which includes an assignment.
| SgAssignInitializer* SageBuilder::buildAssignInitializer_nfi | ( | SgExpression * | operand_i = NULL, |
|
| SgType * | expression_type = NULL | |||
| ) |
Template function to build a unary expression of type T with advanced information specified such as parenthesis and file info. Instantiated functions include:buildAddressOfOp(),buildBitComplementOp(),buildBitComplementOp(),buildMinusOp(),buildNotOp(),buildPointerDerefExp(),buildUnaryAddOp(),buildMinusMinusOp(),buildPlusPlusOp().
The instantiated functions' prototypes are not shown since they are expanded using macros. Doxygen is not smart enough to handle macro expansion.
| SgAggregateInitializer* SageBuilder::buildAggregateInitializer | ( | SgExprListExp * | initializers = NULL, |
|
| SgType * | type = NULL | |||
| ) |
Build an aggregate initializer.
| SgAggregateInitializer* SageBuilder::buildAggregateInitializer_nfi | ( | SgExprListExp * | initializers, | |
| SgType * | type = NULL | |||
| ) |
Template function to build a unary expression of type T with advanced information specified such as parenthesis and file info. Instantiated functions include:buildAddressOfOp(),buildBitComplementOp(),buildBitComplementOp(),buildMinusOp(),buildNotOp(),buildPointerDerefExp(),buildUnaryAddOp(),buildMinusMinusOp(),buildPlusPlusOp().
The instantiated functions' prototypes are not shown since they are expanded using macros. Doxygen is not smart enough to handle macro expansion.
| SgConstructorInitializer* SageBuilder::buildConstructorInitializer | ( | SgMemberFunctionDeclaration * | declaration, | |
| SgExprListExp * | args, | |||
| SgType * | expression_type, | |||
| bool | need_name, | |||
| bool | need_qualifier, | |||
| bool | need_parenthesis_after_name, | |||
| bool | associated_class_unknown | |||
| ) |
Template function to build a unary expression of type T with advanced information specified such as parenthesis and file info. Instantiated functions include:buildAddressOfOp(),buildBitComplementOp(),buildBitComplementOp(),buildMinusOp(),buildNotOp(),buildPointerDerefExp(),buildUnaryAddOp(),buildMinusMinusOp(),buildPlusPlusOp().
The instantiated functions' prototypes are not shown since they are expanded using macros. Doxygen is not smart enough to handle macro expansion.
| SgConstructorInitializer* SageBuilder::buildConstructorInitializer_nfi | ( | SgMemberFunctionDeclaration * | declaration, | |
| SgExprListExp * | args, | |||
| SgType * | expression_type, | |||
| bool | need_name, | |||
| bool | need_qualifier, | |||
| bool | need_parenthesis_after_name, | |||
| bool | associated_class_unknown | |||
| ) |
Template function to build a unary expression of type T with advanced information specified such as parenthesis and file info. Instantiated functions include:buildAddressOfOp(),buildBitComplementOp(),buildBitComplementOp(),buildMinusOp(),buildNotOp(),buildPointerDerefExp(),buildUnaryAddOp(),buildMinusMinusOp(),buildPlusPlusOp().
The instantiated functions' prototypes are not shown since they are expanded using macros. Doxygen is not smart enough to handle macro expansion.
| SgSizeOfOp* SageBuilder::buildSizeOfOp | ( | SgExpression * | exp = NULL |
) |
Build sizeof() expression with an expression parameter.
| SgSizeOfOp* SageBuilder::buildSizeOfOp_nfi | ( | SgExpression * | exp | ) |
Template function to build a unary expression of type T with advanced information specified such as parenthesis and file info. Instantiated functions include:buildAddressOfOp(),buildBitComplementOp(),buildBitComplementOp(),buildMinusOp(),buildNotOp(),buildPointerDerefExp(),buildUnaryAddOp(),buildMinusMinusOp(),buildPlusPlusOp().
The instantiated functions' prototypes are not shown since they are expanded using macros. Doxygen is not smart enough to handle macro expansion.
| SgSizeOfOp* SageBuilder::buildSizeOfOp | ( | SgType * | type = NULL |
) |
Build sizeof() expression with a type parameter.
| SgSizeOfOp* SageBuilder::buildSizeOfOp_nfi | ( | SgType * | type | ) |
Template function to build a unary expression of type T with advanced information specified such as parenthesis and file info. Instantiated functions include:buildAddressOfOp(),buildBitComplementOp(),buildBitComplementOp(),buildMinusOp(),buildNotOp(),buildPointerDerefExp(),buildUnaryAddOp(),buildMinusMinusOp(),buildPlusPlusOp().
The instantiated functions' prototypes are not shown since they are expanded using macros. Doxygen is not smart enough to handle macro expansion.
| SgJavaInstanceOfOp* SageBuilder::buildJavaInstanceOfOp | ( | SgExpression * | exp = NULL, |
|
| SgType * | type = NULL | |||
| ) |
This is part of Java specific operator support.
| SgInitializedName* SageBuilder::buildInitializedName | ( | const SgName & | name, | |
| SgType * | type, | |||
| SgInitializer * | init = NULL | |||
| ) |
Initialized names are tricky, their scope vary depending on context, so scope and symbol information are not needed until the initialized name is being actually used somewhere.
e.g the scope of arguments of functions are different for defining and nondefining functions.
| SgInitializedName* SageBuilder::buildInitializedName | ( | const std::string & | name, | |
| SgType * | type | |||
| ) |
Initialized names are tricky, their scope vary depending on context, so scope and symbol information are not needed until the initialized name is being actually used somewhere.
e.g the scope of arguments of functions are different for defining and nondefining functions.
| SgInitializedName* SageBuilder::buildInitializedName | ( | const char * | name, | |
| SgType * | type | |||
| ) |
Initialized names are tricky, their scope vary depending on context, so scope and symbol information are not needed until the initialized name is being actually used somewhere.
e.g the scope of arguments of functions are different for defining and nondefining functions.
| SgInitializedName* SageBuilder::buildInitializedName_nfi | ( | const SgName & | name, | |
| SgType * | type, | |||
| SgInitializer * | init | |||
| ) |
Initialized names are tricky, their scope vary depending on context, so scope and symbol information are not needed until the initialized name is being actually used somewhere.
e.g the scope of arguments of functions are different for defining and nondefining functions.
| SgFunctionParameterTypeList* SageBuilder::buildFunctionParameterTypeList | ( | SgFunctionParameterList * | paralist | ) |
Build SgFunctionParameterTypeList from SgFunctionParameterList.
| SgFunctionParameterTypeList* SageBuilder::buildFunctionParameterTypeList | ( | SgExprListExp * | expList | ) |
Build SgFunctionParameterTypeList from an expression list, useful when building a function call.
| SgFunctionParameterTypeList* SageBuilder::buildFunctionParameterTypeList | ( | SgType * | type0 = NULL, |
|
| SgType * | type1 = NULL, |
|||
| SgType * | type2 = NULL, |
|||
| SgType * | type3 = NULL, |
|||
| SgType * | type4 = NULL, |
|||
| SgType * | type5 = NULL, |
|||
| SgType * | type6 = NULL, |
|||
| SgType * | type7 = NULL | |||
| ) |
Build an SgFunctionParameterTypeList from SgTypes. To build an.
| SgVariableDeclaration* SageBuilder::buildVariableDeclaration | ( | const SgName & | name, | |
| SgType * | type, | |||
| SgInitializer * | varInit = NULL, |
|||
| SgScopeStatement * | scope = NULL | |||
| ) |
Build a variable declaration, handle symbol table transparently.
| SgVariableDeclaration* SageBuilder::buildVariableDeclaration | ( | const std::string & | name, |
| < |