llvm::BasicBlockSectionsProfileReaderWrapperPass

Immutable wrapper pass that owns a BasicBlockSectionsProfileReader.

Synopsis

Declared in <llvm/CodeGen/BasicBlockSectionsProfileReader.h>

class BasicBlockSectionsProfileReaderWrapperPass
    : public ImmutablePass

Base Classes

NameDescription
ImmutablePassImmutablePass class - This class is used to provide information that does not need to be run. This is useful for things like target information.

Member Functions

NameDescription
BasicBlockSectionsProfileReaderWrapperPass [constructor]Constructors
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]Initialize FunctionNameToDIFilename for M and read matching profiles.
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 which analyses this pass requires and preserves.
getAsImmutablePass [virtual]Return this pass as an ImmutablePass.
getAsPMDataManager [virtual]Return this pass as a PMDataManager when it is a nested pass manager.
getBBSPR Return a reference to the owned profile reader.
getClonePathsForFunction Return the path clonings for function FuncName.
getClusterInfoForFunction Return the cluster info for function FuncName.
getEdgeCount Return the profile count for the edge from SrcBBID to DestBBID in function FuncName.
getFunctionCFGProfile Return a pointer to the CFG profile for function FuncName.
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 the name of this pass.
getPotentialPassManagerType [virtual]Return what kind of Pass Manager can manage this pass.
getPrefetchHintsForFunction Return the prefetch hints to be injected in function FuncName.
getPrefetchTargetsForFunction Return the prefetch targets for function FuncName.
getResolver Return the analysis resolver installed for this pass.
initializePass [virtual]Perform initialization for this immutable pass.
isFunctionHot Return true if function FuncName is hot based on the profile.
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]ImmutablePasses are never run.
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

NameDescription
createPass Construct a new instance of the pass identified by ID.
lookupPassInfo lookupPassInfo overloads

Data Members

NameDescription
BBSPR Owned basic block sections profile reader.

Static Data Members

NameDescription
ID Pass identification, replacement for type ID.

Protected Member Functions

NameDescription
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

NameDescription
getBestSimplifyQueryBuild a SimplifyQuery from analyses currently valid in a pass.
getPassTimerRequest the timer for this legacy-pass-manager's pass instance.
isBitcodeWriterPassCheck whether a pass is a BitcodeWriterPass.
isIRPrintingPassReturn true if a pass is for IR printing.