the Global Functions


SgType* SgTypeInt()
This function is used to create a pointer pointing to some object of Class SgType whose atomic type of public fields is INTEGER
SgType* SgTypeChar()
This function is used to create a pointer pointing to some object of Class SgType whose atomic type of public fields is CHARACTER
SgType* SgTypeFloat()
This function is used to create a pointer pointing to some object of class SgType whose atomic type of public fields is FLOAT
SgType* SgTypeDouble()
This function is used to create a pointer pointing to some object of Class SgType whose atomic type of public fields is DOUBLE
SgType* SgTypeVoid()
This function is used to create a pointer pointing to some object of Class SgType whose atomic type of public fields is VOID
SgType* SgTypeBool()
This function is used to create a pointer pointing to some object of Class SgType whose atomic type of public fields is BOOLEAN
SgType* SgTypeDefault()
This function is used to create a pointer pointing to some object of Class SgType whose atomic type of public fields is DEFAULT
SgType* SgTypeProcessors()
This function is used to create a pointer pointing to some object of Class SgType whose atomic type of public fields is PROCESSOR
SgType* SgTypeTemplates()
This function is used to create a pointer pointing to some object of Class SgType whose atomic type of public fields is TEMPLATE
SgUnaryExp& SgDerefOp(SgExpression &e)
This function is used to create an object of Class SgUnaryExp which represents a unary opration "*expr".
SgUnaryExp& SgAddrOp(SgExpression &e)
This function is used to create an object of Class SgUnaryExp which represents a unary opration "&expr".
SgUnaryExp& SgUMinusOp(SgExpression &e)
This function is used to create an object of Class SgUnaryExp which represents a unary opration "-expr".
SgUnaryExp& SgUPlusOp(SgExpression &e)
This function is used to create an object of Class SgUnaryExp which represents a unary opration "+expr".
SgUnaryExp& SgPrePlusPlusOp(SgExpression &e)
This function is used to create an object of Class SgUnaryExp which represents a unary opration "++expr".
SgUnaryExp& SgPreMinusMinusOp(SgExpression &e)
This function is used to create an object of Class SgUnaryExp which represents a unary opration "--expr".
SgUnaryExp& SgPostPlusPlusOp(SgExpression &e)
This function is used to create an object of Class SgUnaryExp which represents a unary opration "expr++".
SgUnaryExp& SgPostMinusMinusOp(SgExpression &e)
This function is used to create an object of Class SgUnaryExp which represents a unary opration "expr--".
SgUnaryExp& SgBitCompfOp(SgExpression &e)
This function is used to create an object of Class SgUnaryExp which represents a unary opration "~expr".
SgUnaryExp& SgNotOp(SgExpression &e)
This function is used to create an object of Class SgUnaryExp which represents a unary opration "!expr".
SgUnaryExp& SgSizeOfOp(SgExpression &e)
This function is used to create an object of Class SgUnaryExp which represents a unary opration "sizeof(expr)".
SgUnaryExp& makeAnUnaryExpression(int code, PTR_LLND ll1)
This function is used to create an object of Class SgUnaryExp which represents some unary expression of type "code".
SgValueExp* isSgValueExp(SgExpression *pt)
This function is used to judge whether the type of object "*pt" is among INT_VAL, CHAR_VAL, FLOAT_VAL, DOUBLE_VAL, STRING_VAL, COMPLEX_VAL and KEYWORD_VAL.
SgKeywordValExp* isSgKeywordValExp(SgExpression *pt)
This function is used to judge whether the type of object "*pt" is KEYWORD_VAL.
SgUnaryExp* isSgUnaryExp(SgExpression *pt)
This function is used to judge whether the object "*pt" represents the unary expression such as DEREF_OP, ADDRESS_OP, SIZE_OP, MINUS_OP, UNARY_ADD_OP, PLUSPLUS_OP, MINUSMINUS_OP, BIT_COMPLEMENT_OP and NOT_OP.
SgCastExp* isSgCastExp(SgExpression *pt)
This function is used to judge whether the object "*pt" represents the expression "CAST_OP".
SgDeleteExp* isSgDeleteExp(SgExpression *pt)
This function is used to judge whether the object "*pt" represents the expression "DELETE_OP".
SgNewExp* isSgNewExp(SgExpression *pt)
This function is used to judge whether the object "*pt" represents the expression "NEW_OP".
SgExprIfExp* isSgExprIfExp(SgExpression *pt)
This function is used to judge whether the object "*pt" represents the expression "EXPR_IF".
SgFunctionCallExp* isSgFunctionCallExp(SgExpression *pt)
This function is used to judge whether the object "*pt" represents the expression "FUNC_CALL".
SgFuncPntrExp* isSgFuncPntrExp(SgExpression *pt)
This function is used to judge whether the object "*pt" represents the expression "FUNCTION_OP".
SgExprListExp* isSgExprListExp(SgExpression *pt)
This function is used to judge whether the object "*pt" represents the expression "EXPR_LIST".
SgRefExp* isSgRefExp(SgExpression *pt)
This function is used to judge whether the object "*pt" represents some expression among "CONST_REF", "TYPE_REF" and "INTERFACE_REF".
SgVarRefExp* isSgVarRefExp(SgExpression *pt)
This function is used to judge whether the object "*pt" represents the expression "VAR_REF".
SgThisExp* isSgThisExp(SgExpression *pt)
This function is used to judge whether the object "*pt" represents the expression "THIS_NODE".
SgArrayRefExp* isSgArrayRefExp(SgExpression *pt)
This function is used to judge whether the object "*pt" represents the expression "ARRAY_REF".
SgPntrArrRefExp* isSgPntrArrRefExp(SgExpression *pt)
This function is used to judge whether the object "*pt" represents the expression "ARRAY_OP".
SgPointerDerefExp* isSgPointerDerefExp(SgExpression *pt)
This function is used to judge whether the object "*pt" represents the expression "DEREF_OP".
SgRecordRefExp* isSgRecordRefExp(SgExpression *pt)
This function is used to judge whether the object "*pt" represents the expression "RECORD_REF".
SgStructConstExp* isSgStructConstExp(SgExpression *pt)
This function is used to judge whether the object "*pt" represents the expression "STRUCTURE_CONSTRUCTOR".
SgConstExp* isSgConstExp(SgExpression *pt)
This function is used to judge whether the object "*pt" represents the expression "CONSTRUCTOR_REF".
SgVecConstExp* isSgVecConstExp(SgExpression *pt)
This function is used to judge whether the object "*pt" represents the expression "VECTOR_CONST".
SgInitListExp* isSgInitListExp(SgExpression *pt)
This function is used to judge whether the object "*pt" represents the expression "INIT_LIST".
SgObjectListExp* isSgObjectListExp(SgExpression *pt)
This function is used to judge whether the object "*pt" represents some expression among "EQUI_LIST", "NAMELIST_LIST" and "COMM_LIST".
SgAttributeExp* isSgAttributeExp(SgExpression *pt)
This function is used to judge whether the object "*pt" represents some expression among "PARAMETER_OP", "PUBLIC_OP", "PRIVATE_OP", "ALLOCATABLE_OP", "DIMENSION_OP", "EXTERNAL_OP", "IN_OP", "OUT_OP", "INOUT_OP", "INTRINSIC_OP", "POINTER_OP", "OPTIONAL_OP", "SAVE_OP" and "TARGET_OP".
SgKeywordArgExp* isSgKeywordArgExp(SgExpression *pt)
This function is used to judge whether the object "*pt" represents the expression "KEYWORD_ARG".
SgSubscriptExp* isSgSubscriptExp(SgExpression *pt)
This function is used to judge whether the object "*pt" represents the expression "DDOT".
SgUseOnlyExp* isSgUseOnlyExp(SgExpression *pt)
This function is used to judge whether the object "*pt" represents the expression "ONLY_NODE".
SgUseRenameExp* isSgUseRenameExp(SgExpression *pt)
This function is used to judge whether the object "*pt" represents the expression "RENAME_NODE".
SgSpecPairExp* isSgSpecPairExp(SgExpression *pt)
This function is used to judge whether the object "*pt" represents the expression "SPEC_PAIR".
SgIOAccessExp* isSgIOAccessExp(SgExpression *pt)
This function is used to judge whether the object "*pt" represents the expression "IOACCESS".
SgImplicitTypeExp* isSgImplicitTypeExp(SgExpression *pt)
This function is used to judge whether the object "*pt" represents the expression "IMPL_TYPE".
SgTypeExp* isSgTypeExp(SgExpression *pt)
This function is used to judge whether the object "*pt" represents the expression "TYPE_OP".
SgSeqExp* isSgSeqExp(SgExpression *pt)
This function is used to judge whether the object "*pt" represents the expression "SEQ".
SgStringLengthExp* isSgStringLengthExp(SgExpression *pt)
This function is used to judge whether the object "*pt" represents the expression "LEN_OP".
SgDefaultExp* isSgDefaultExp(SgExpression *pt)
This function is used to judge whether the object "*pt" represents the expression "DEFAULT
SgLabelRefExp* isSgLabelRefExp(SgExpression *pt)
This function is used to judge whether the object "*pt" represents the expression "LABEL_REF".
SgProgHedrStmt* isSgProgHedrStmt(SgStatement *pt)
This function is used to judge whether the object "*pt" represents some statement among "PROC_HEDR", "FUNC_HEDR" and "PROG_HEDR".
SgProcHedrStmt* isSgProcHedrStmt(SgStatement *pt)
This function is used to judge whether the object "*pt" represents some statement among "FUNC_HEDR" and "PROC_HEDR".
SgFuncHedrStmt* isSgFuncHedrStmt(SgStatement *pt)
This function is used to judge whether the object "*pt" represents the statement "FUNC_HEDR".
SgClassStmt* isSgClassStmt(SgStatement *pt)
This function is used to judge whether the object "*pt" represents some statement among "CLASS_DECL", "TECLASS_DECL", "STRUCT_DECL", "UNION_DECL", "ENUM_DECL" and "COLLECTION_DECL".
SgStructStmt* isSgStructStmt(SgStatement *pt)
This function is used to judge whether the object "*pt" represents the statement "STRUCT_DECL".
SgUnionStmt* isSgUnionStmt(SgStatement *pt)
This function is used to judge whether the object "*pt" represents the statement "UNION_DECL".
SgEnumStmt* isSgEnumStmt(SgStatement *pt)
This function is used to judge whether the object "*pt" represents the statement "ENUM_DECL".
SgCollectionStmt* isSgCollectionStmt(SgStatement *pt)
This function is used to judge whether the object "*pt" represents the statement "COLLECTION_DECL".
SgBasicBlockStmt* isSgBasicBlockStmt(SgStatement *pt)
This function is used to judge whether the object "*pt" represents the statement "BASIC_BLOCK".
SgForStmt* isSgForStmt(SgStatement *pt)
This function is used to judge whether the object "*pt" represents the statement "FOR_NODE".
SgWhileStmt* isSgWhileStmt(SgStatement *pt)
This function is used to judge whether the object "*pt" represents the statement "WHILE_NODE".
SgDoWhileStmt* isSgDoWhileStmt(SgStatement *pt)
This function is used to judge whether the object "*pt" represents the statement "DO_WHILE_NODE".
SgLogIfStmt* isSgLogIfStmt(SgStatement *pt)
This function is used to judge whether the object "*pt" represents the statement "LOGIF_NODE".
SgIfStmt* isSgIfStmt(SgStatement *pt)
This function is used to judge whether the object "*pt" represents the statement "IF_NODE".
SgArithIfStmt* isSgArithIfStmt(SgStatement *pt)
This function is used to judge whether the object "*pt" represents the statement "ARITHIF_NODE".
SgWhereStmt* isSgWhereStmt(SgStatement *pt)
This function is used to judge whether the object "*pt" represents the statement "WHERE_NODE".
SgWhereBlockStmt* isSgWhereBlockStmt(SgStatement *pt)
This function is used to judge whether the object "*pt" represents the statement "WHERE_BLOCK_STMT".
SgSwitchStmt* isSgSwitchStmt(SgStatement *pt)
This function is used to judge whether the object "*pt" represents the statememt "SWITCH_NODE".
SgCaseOptionStmt* isSgCaseOptionStmt(SgStatement *pt)
This function is used to judge whether the object "*pt" represents the statement "CASE_NODE".
SgExecutableStatement* isSgExecutableStatement(SgStatement *pt)
This function is used to judge whether the object "* represents executable statement.
SgAssignStmt* isSgAssignStmt(SgStatement *pt)
This function is used to judge whether the object "*pt" represents the statememt "ASSIGN_STAT".
SgCExpStmt* isSgCExpStmt(SgStatement *pt)
This function is used to judge whether the object "*pt" represents the statement "EXPR_STMT_NODE".
SgPointerAssignStmt* isSgPointerAssignStmt(SgStatement *pt)
This function is used to judge whether the object "*pt" represents the statement "POINTER_ASSIGN_STAT".
SgHeapStmt* isSgHeapStmt(SgStatement *pt)
This function is used to judge whether the object "*pt" represents some statement among "ALLOCATE_STMT" and "DEALLOCATE_STMT".
SgNullifyStmt* isSgNullifyStmt(SgStatement *pt)
This function is used to judge whether the object "*pt" represents the statement "NULLIFY_STMT".
SgContinueStmt* isSgContinueStmt(SgStatement *pt)
This function is used to judge whether the object "*pt" represents the statement "CONT_STAT".
SgControlEndStmt* isSgControlEndStmt(SgStatement *pt)
This function is used to judge whether the object "*pt" represents the statement "CONTROL_END".
SgBreakStmt* isSgBreakStmt(SgStatement *pt)
This function is used to judge whether the object "*pt" represents the statement "BREAK_NODE".
SgCycleStmt* isSgCycleStmt(SgStatement *pt)
This function is used to judge whether the object "*pt" represents the statement "CYCLE_STMT".
SgReturnStmt* isSgReturnStmt(SgStatement *pt)
This function is used to judge whether the object "*pt" represents some statement among "RETURN_NODE" and "RETURN_STAT".
SgExitStmt* isSgExitStmt(SgStatement *pt)
This function is used to judge whether the object "*pt" represents the statement "EXIT_STMT".
SgGotoStmt* isSgGotoStmt(SgStatement *pt)
This function is used to judge whether the object "*pt" represents the statement "GOTO_NODE".
SgLabelListStmt* isSgLabelListStmt(SgStatement *pt)
This function is used to judge whether the object "*pt" represents some statement among "COMGOTO_NODE" and "ASSGOTO_NODE".
SgAssignedGotoStmt* isSgAssignedGotoStmt(SgStatement *pt)
This function is used to judge whether the object "*pt" represents the statement "ASSGOTO_NODE".
SgComputedGotoStmt* isSgComputedGotoStmt(SgStatement *pt)
This function is used to judge whether the object "*pt" represents the statement "COMGOTO_NODE".
SgStopOrPauseStmt* isSgStopOrPauseStmt(SgStatement *pt)
This function is used to judge whether the object "*pt" represents the statement "STOP_STAT".
SgCallStmt* isSgCallStmt(SgStatement *pt)
This function is used to judge whether the object "*pt" represents the statement "PROC_STAT".
SgProsHedrStmt* isSgProsHedrStmt(SgStatement *pt)
Fortran M
SgProcessDoStmt* isSgProcessDoStmt(SgStatement *pt)
Fortran M
SgProsCallStmt* isSgProsCallStmt(SgStatement *pt)
Fortran M
SgProsCallLctn* isSgProsCallLctn(SgStatement *pt)
Fortran M
SgProsCallSubm* isSgProsCallSubm(SgStatement *pt)
Fortran M
SgInportStmt* isSgInportStmt(SgStatement *pt)
Fortran M
SgOutportStmt* isSgOutportStmt(SgStatement *pt)
Fortran M
SgIntentStmt* isSgIntentStmt(SgStatement *pt)
Fortran M
SgChannelStmt* isSgChannelStmt(SgStatement *pt)
Fortran M
SgMergerStmt* isSgMergerStmt(SgStatement *pt)
Fortran M
SgMoveportStmt* isSgMoveportStmt(SgStatement *pt)
Fortran M
SgSendStmt* isSgSendStmt(SgStatement *pt)
Fortran M
SgReceiveStmt* isSgReceiveStmt(SgStatement *pt)
Fortran M
SgEndchannelStmt* isSgEndchannelStmt(SgStatement *pt)
Fortran M
SgProbeStmt* isSgProbeStmt(SgStatement *pt)
Fortran M
SgProcessorsRefExp* isSgProcessorsRefExp(SgExpression *pt)
Fortran M
SgPortTypeExp* isSgPortTypeExp(SgExpression *pt)
Fortran M
SgInportExp* isSgInportExp(SgExpression *pt)
Fortran M
SgOutportExp* isSgOutportExp(SgExpression *pt)
Fortran M
SgFromportExp* isSgFromportExp(SgExpression *pt)
Fortran M
SgToportExp* isSgToportExp(SgExpression *pt)
Fortran M
SgIO_statStoreExp* isSgIO_statStoreExp(SgExpression *pt)
Fortran M
SgEmptyStoreExp* isSgEmptyStoreExp(SgExpression *pt)
Fortran M
SgErrLabelExp* isSgErrLabelExp(SgExpression *pt)
Fortran M
SgEndLabelExp* isSgEndLabelExp(SgExpression *pt)
Fortran M
SgDataImpliedDoExp* isSgDataImpliedDoExp(SgExpression *pt)
Fortran M
SgDataEltExp* isSgDataEltExp(SgExpression *pt)
Fortran M
SgDataSubsExp* isSgDataSubsExp(SgExpression *pt)
Fortran M
SgDataRangeExp* isSgDataRangeExp(SgExpression *pt)
Fortran M
SgIconExprExp* isSgIconExprExp(SgExpression *pt)
Fortran M
SgIOStmt* isSgIOStmt(SgStatement *pt)
This function is used to judge whether the object "*pt" represents the input/output statement .
SgInputOutputStmt* isSgInputOutputStmt(SgStatement *pt)
This function is used to judge whether the object "*pt" represents some statement among "READ_STAT", "WRITE_STAT" and "PRINT_STAT".
SgIOControlStmt* isSgIOControlStmt(SgStatement *pt)
This function is used to judge whether the object "*pt" represents some statement among "CLOSE_STAT", "INQUIRE_STAT", "BACKSPACE_STAT", "REWIND_STAT", "ENDFILE_STAT" and "FORMAT_STAT".
SgDeclarationStatement* isSgDeclarationStatement(SgStatement *pt)
This function is used to judge whether the object "*pt" represents some statement among "VAR_DECL", "ENUM_DECL", "STRUCT_DECL", "CLASS_DECL", "TECLASS_DECL" and "COLLECTION_DECL".
SgVarDeclStmt* isSgVarDeclStmt(SgStatement *pt)
This function is used to judge whether the object "*pt" represents the statement "VAR_DECL".
SgVarListDeclStmt* isSgVarListDeclStmt(SgStatement *pt)
This function is used to judge whether the object "*pt" represents some statement among "INTENT_STMT", "OPTIONAL_STMT", "SAVE_DECL", "PUBLIC_STMT", "PRIVATE_STMT", "EXTERN_STAT", "INTRIN_STAT", "DIM_STAT", "ALLOCATABLE_STMT", "POINTER_STMT", "TARGET_STMT", "MODULE_PROC_STMT" and "PROCESSORS_STAT".
SgStructureDeclStmt* isSgStructureDeclStmt(SgStatement *pt)
This function is used to judge whether the object "*pt" represents the statement "STRUCT_DECL".
SgNestedVarListDeclStmt* isSgNestedVarListDeclStmt(SgStatement *pt)
This function is used to judge whether the object "*pt" represents some statement among "NAMELIST_STAT", "EQUI_STAT", "PROS_COMM" and "COMM_STAT".
SgParameterStmt* isSgParameterStmt(SgStatement *pt)
This function is used to judge whether the object "*pt" represents the statement "PARAM_DECL".
SgImplicitStmt* isSgImplicitStmt(SgStatement *pt)
This function is used to judge whether the object "*pt" represents the statement "IMPL_DECL".
SgVariableSymb* isSgVariableSymb(SgSymbol *pt)
This function is used to judge whether the object "*pt" represents the symbol "VARIABLE_NAME".
SgConstantSymb* isSgConstantSymb(SgSymbol *pt)
This function is used to judge whether the object "*pt" represents the symbol "CONST_NAME".
SgFunctionSymb* isSgFunctionSymb(SgSymbol *pt)
This function is used to judge whether the object "*pt" represents some symbol "PROGRAM_NAME", "PROCEDURE_NAME", "FUNCTION_NAME" and "MEMBER_FUNC".
SgMemberFuncSymb* isSgMemberFuncSymb(SgSymbol *pt)
This function is used to judge whether the object "*pt" represents the symbol "MEMBER_FUNC".
SgFieldSymb* isSgFieldSymb(SgSymbol *pt)
This function is used to judge whether the object "*pt" represents some symbol among "ENUM_NAME" and "FIELD_NAME".
SgClassSymb* isSgClassSymb(SgSymbol *pt)
This function is used to judge whether the object "*pt" represents some symbol among "CLASS_NAME", "TECLASS_NAME", "UNION_NAME", "STRUCT_NAME" and "COLLECTION_NAME".
SgLabelSymb* isSgLabelSymb(SgSymbol *pt)
This function is used to judge whether the object "*pt" represents the symbol "LABEL_NAME".
SgLabelVarSymb* isSgLabelVarSymb(SgSymbol *pt)
This function is used to judge whether the object "*pt" represents the symbol "LABEL_NAME".
SgExternalSymb* isSgExternalSymb(SgSymbol *pt)
This function is used to judge whether the object "*pt" represents the symbol "ROUTINE_NAME".
SgConstructSymb* isSgConstructSymb(SgSymbol *pt)
This function is used to judge whether the object "*pt" represents the symbol "CONSTRUCT_NAME".
SgInterfaceSymb* isSgInterfaceSymb(SgSymbol *pt)
This function is used to judge whether the object "*pt" represents the symbol "INTERFACE_NAME".
SgModuleSymb* isSgModuleSymb(SgSymbol *pt)
This function is used to judge whether the object "*pt" represents the symbol "MODULE_NAME".
SgArrayType* isSgArrayType(SgType *pt)
This function is used to judge whether the object "*pt" represents the type "T_ARRAY".
SgPointerType* isSgPointerType(SgType *pt)
This function is used to judge whether the object "*pt" represents the type "T_POINTER".
SgFunctionType* isSgFunctionType(SgType *pt)
This function is used to judge whether the object "*pt" represents the type "T_FUNCTION".
SgReferenceType* isSgReferenceType(SgType *pt)
This function is used to judge whether the object "*pt" represents the type "T_REFERENCE".
SgDerivedType* isSgDerivedType(SgType *pt)
This function is used to judge whether the object "*pt" represents the type "T_DERIVED_TYPE".
SgDerivedClassType* isSgDerivedClassType(SgType *pt)
This function is used to judge whether the object "*pt" represents the type "T_DERIVED_CLASS".
SgDescriptType* isSgDescriptType(SgType *pt)
This function is used to judge whether the object "*pt" represents the type "T_DESCRIPT".
SgDerivedCollectionType* isSgDerivedCollectionType(SgType *pt)
This function is used to judge whether the object "*pt" represents the type "T_DERIVED_COLLECTION".
these global functions are useful when reconstructing the source program.

alphabetic index hierarchy of classes


Email contact: zgs@npac.syr.edu

generated by doc++