llvm::CallGraphSCCPass::doInitialization

doInitialization overloads

Synopses

Declared in <llvm/Analysis/CallGraphSCCPass.h>

doInitialization - This method is called before the SCC's of the program has been processed, allowing the pass to do initialization as necessary.

virtual
bool
doInitialization(CallGraph& CG);
» more...

Perform any initialization needed before any pass is run.

virtual
bool
doInitialization(Module& M);
» more...

Return Value

  • True if the pass modifies the call graph during initialization.
  • True if the module was modified; false otherwise.

Parameters

NameDescription
CGCall graph of the module being processed.
MThe module being processed.