FunctionEvaluationOrderTraversal
Traverses a given AST and finds all function calls in the order in which they're evaluated Also, for each function we find where to put declarations of temporary variables so that they're accessible at the function call
Synopsis
Declared in <src/midend/programTransformation/extractFunctionArgumentsNormalization/functionEvaluationOrderTraversal.h>
Base Classes
Name |
Description |
|
Attribute evaluator for inherited and synthesized attributes. |
Member Functions
Name |
Description |
|
Returns true if the function call has no side effects. |
|
Visits AST nodes in pre‐order |
|
Visits AST nodes in post‐order. This is function‐evaluation order. |
Static Member Functions
Name |
Description |
Traverses the subtree of the given AST node and finds all function calls in function‐evaluation order. |
Private Member Functions
Name |
Description |
|
Private constructor. Use the static method to access the functionality of this class. |
Private Data Members
Name |
Description |
All the function calls seen so far that can't be normalized. |
|
All the function calls seen so far that can be normalized. |
Created with MrDocs