Legacy module pass that writes an analysis graph to a DOT file.

Synopsis

Declared in <llvm/Analysis/DOTGraphTraitsPass.h>

template<
    typename AnalysisT,
    bool IsSimple,
    typename GraphT = AnalysisT*,
    typename AnalysisGraphTraitsT = LegacyDefaultAnalysisGraphTraits<AnalysisT, GraphT>>
class DOTGraphTraitsModulePrinterWrapperPass
    : public ModulePass

Base Classes

Name

Description

ModulePass

Pass that may inspect or transform an entire module freely.

Member Functions

Name

Description

DOTGraphTraitsModulePrinterWrapperPass [constructor]

Construct a legacy module printer pass with the given graph name and ID.

operator= [deleted]

Passes are not assignable.

assignPassManager

assignPassManager overloads

createPrinterPass [virtual]

createPrinterPass ‐ Get a module printer pass.

doFinalization [virtual]

Perform any cleanup needed after all passes have run.

doInitialization [virtual]

Perform any initialization needed before any pass is run.

dump

Print this pass's state to stderr for debugging.

dumpPassStructure [virtual]

Print the pass nesting structure for ‐debug‐passes=PassStructure.

getAnalysis

getAnalysis overloads

getAnalysisID

getAnalysisID overloads

getAnalysisIfAvailable

Get an optional analysis result that may already be available.

getAnalysisUsage [virtual]

Declare that this pass requires AnalysisT and preserves all analyses.

getAsImmutablePass [virtual]

Return this pass as an ImmutablePass, or null if it is not one.

getAsPMDataManager [virtual]

Return this pass as a PMDataManager when it is a nested pass manager.

getPassArgument

Return a nice clean name for a pass corresponding to that used to enable the pass in opt.

getPassID

getPassID ‐ Return the PassID number that corresponds to this pass.

getPassKind

Return the kind of pass (module, function, loop, etc.).

getPassName [virtual]

Return a human‐readable name for this pass.

getPotentialPassManagerType [virtual]

Return what kind of Pass Manager can manage this pass.

getResolver

Return the analysis resolver installed for this pass.

mustPreserveAnalysisID

Report whether the analysis identified by AID must be preserved.

preparePassManager [virtual]

Check whether available pass managers are suitable for this pass.

print [virtual]

Print the internal state of this pass for analysis dumping.

releaseMemory [virtual]

Release memory held by this pass when it is no longer needed.

runOnModule [virtual]

Write the module analysis graph to a DOT file.

setResolver

Install the analysis resolver used to satisfy this pass's dependencies.

verifyAnalysis [virtual]

verifyAnalysis() ‐ This member can be implemented by a analysis pass to check state of analysis information.

Static Member Functions

Name

Description

createPass

Construct a new instance of the pass identified by ID.

lookupPassInfo

lookupPassInfo overloads

Protected Member Functions

Name

Description

skipModule

Optional passes call this function to check whether the pass should be skipped. This is the case when optimization bisect is over the limit.

Non-Member Functions

Name

Description

getBestSimplifyQuery

Build a SimplifyQuery from analyses currently valid in a pass.

getPassTimer

Request the timer for this legacy‐pass‐manager's pass instance.

isBitcodeWriterPass

Check whether a pass is a BitcodeWriterPass.

isIRPrintingPass

Return true if a pass is for IR printing.

Created with MrDocs