Function Outliner::Preprocess::gatherNonLocalDecls#
Defined in File Preprocess.hh
Function Documentation#
-
void Outliner::Preprocess::gatherNonLocalDecls(SgBasicBlock *b)#
Gathers non-local declarations into the local scope.
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.