Outliner::Preprocess::gatherNonLocalDecls¶
Gathers non-local declarations into the local scope.
Synopsis¶
Declared in <src/midend/programTransformation/astOutlining/Preprocess.hh>
void
gatherNonLocalDecls(SgBasicBlock* b); Description¶
This routine analyzes the basic block to-be-outlined, and determines if any external function declarations need to be copied into the block's scope. This transformation ensures that the basic block can be a "standalone" body for the outlined function.
Parameters¶
| Name | Description |
|---|---|
| b | This class represents the concept of a block (not a basic block from control flow analysis). |
Created with MrDocs