Outliner::Preprocess¶
Functions¶
| Name | Description |
|---|---|
checkAndPatchUpOptionsvoid checkAndPatchUpOptions(); | Sanity check and patch up outliner options |
copyNonLocalFunctionDeclarationSgFunctionDeclaration* copyNonLocalFunctionDeclaration( SgFunctionDeclaration* source, SgScopeStatement* scope, SgStatement* insertionAnchor); | |
createBlockSgBasicBlock* createBlock(SgStatement* s); | Convert the "plain-old" statement into an SgBasicBlock. This normalization simplifies outlining of single statements. |
gatherNonLocalDeclsvoid gatherNonLocalDecls(SgBasicBlock* b); | Gathers non-local declarations into the local scope. |
moveLeadingPreprocessorPrefixForPrototypevoid moveLeadingPreprocessorPrefixForPrototype( SgStatement* source, SgStatement* destination); | |
preparePrototypeParameterDeclarationsvoid preparePrototypeParameterDeclarations( SgFunctionDeclaration const* prototype, SgGlobal* scope, SgDeclarationStatement* boundary); | |
preprocessOutlineTargetSgBasicBlock* preprocessOutlineTarget(SgStatement* s); | Preprocesses the outline target and returns an equivalent SgBasicBlock to outline. |
transformNonLocalControlFlowSgBasicBlock* transformNonLocalControlFlow(SgBasicBlock* b_orig); | Preprocess non-local control flow for outlining. |
transformPreprocIfsSgBasicBlock* transformPreprocIfs(SgBasicBlock* b); | Transform '#if' directive structure. It is possible that certain preprocessor directives may straddle the boundaries of a basic block. This routine attempts to detect and transform these instances so that the block may be safely outlined. |
transformThisExprsSgBasicBlock* transformThisExprs(SgBasicBlock* b); | Canonicalize references to 'this'. |
Created with MrDocs