Skip to content

Outliner::Preprocess

Functions

Name

Description

checkAndPatchUpOptions

Sanity check and patch up outliner options

createBlock

Convert the "plain‐old" statement into an SgBasicBlock. This normalization simplifies outlining of single statements.

gatherNonLocalDecls

Gathers non‐local declarations into the local scope.

normalizeVarDecl

Normalizes outline targets that are variable declarations, returning a new SgBasicBlock to outline.

preprocessOutlineTarget

Preprocesses the outline target and returns an equivalent SgBasicBlock to outline.

propagateStaticConstMembers

Constant propagation for static member variables

transformNonLocalControlFlow

Preprocess non‐local control flow for outlining.

transformPreprocIfs

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.

transformThisExprs

Canonicalize references to 'this'.

Created with MrDocs