14 #ifndef LLVM_CODEGEN_MACHINEBRANCHPROBABILITYINFO_H 15 #define LLVM_CODEGEN_MACHINEBRANCHPROBABILITYINFO_H 26 virtual void anchor();
34 static const uint32_t DEFAULT_WEIGHT = 16;
static PassRegistry * getPassRegistry()
getPassRegistry - Access the global registry object, which is automatically initialized at applicatio...
This class represents lattice values for constants.
A global registry used in conjunction with static constructors to make pluggable components (like tar...
raw_ostream & printEdgeProbability(raw_ostream &OS, const MachineBasicBlock *Src, const MachineBasicBlock *Dst) const
MachineBasicBlock * getHotSucc(MachineBasicBlock *MBB) const
MachineBranchProbabilityInfo()
Represent the analysis usage information of a pass.
void getAnalysisUsage(AnalysisUsage &AU) const override
getAnalysisUsage - This function should be overriden by passes that need analysis information to do t...
std::vector< MachineBasicBlock * >::const_iterator const_succ_iterator
ImmutablePass class - This class is used to provide information that does not need to be run...
void setPreservesAll()
Set by analyses that do not transform their input at all.
BranchProbability getEdgeProbability(const MachineBasicBlock *Src, const MachineBasicBlock *Dst) const
void initializeMachineBranchProbabilityInfoPass(PassRegistry &)
bool isEdgeHot(const MachineBasicBlock *Src, const MachineBasicBlock *Dst) const
This class implements an extremely fast bulk output stream that can only output to a stream...
PassRegistry - This class manages the registration and intitialization of the pass subsystem as appli...