Functions | |
SgFunctionDefinition * | get_function_definition (SgFunctionDeclaration *func_decl) |
Searches for the associated SgFunctionDefinition of a given SgFunctionDeclaration. The searching respects all input files. | |
bool | is_sc_main (const SgFunctionDeclaration *function) |
Checks if function is sc_main functions. | |
SgFunctionDeclaration * | find_sc_main (SgNode *node) |
searchs for sc_main function | |
std::vector< SgClassDefinition * > | find_all_modules () |
Search for all class definitions. | |
std::vector< SgClassDefinition * > | find_all_channels () |
Search for all class definitions. | |
bool | is_defined_in_included_library (SgProject *project, SgNode *node) |
This funciton checks if the defintion of the node is in a file that is located in the given include path. |
std::vector< SgClassDefinition * > risc::traverser::find_all_channels | ( | ) |
Search for all class definitions.
std::vector< SgClassDefinition * > risc::traverser::find_all_modules | ( | ) |
Search for all class definitions.
SgFunctionDeclaration * risc::traverser::find_sc_main | ( | SgNode * | node | ) |
searchs for sc_main function
SgFunctionDefinition * risc::traverser::get_function_definition | ( | SgFunctionDeclaration * | func_decl | ) |
Searches for the associated SgFunctionDefinition of a given SgFunctionDeclaration. The searching respects all input files.
bool risc::traverser::is_defined_in_included_library | ( | SgProject * | project, | |
SgNode * | node | |||
) |
This funciton checks if the defintion of the node is in a file that is located in the given include path.
project | Head node of the project |
bool risc::traverser::is_sc_main | ( | const SgFunctionDeclaration * | function | ) |
Checks if function is sc_main functions.