13#ifndef LLVM_CODEGEN_MACHINEBRANCHPROBABILITYINFO_H
14#define LLVM_CODEGEN_MACHINEBRANCHPROBABILITYINFO_H
23 virtual void anchor();
31 static const uint32_t DEFAULT_WEIGHT = 16;
Represent the analysis usage information of a pass.
void setPreservesAll()
Set by analyses that do not transform their input at all.
ImmutablePass class - This class is used to provide information that does not need to be run.
std::vector< MachineBasicBlock * >::const_iterator const_succ_iterator
raw_ostream & printEdgeProbability(raw_ostream &OS, const MachineBasicBlock *Src, const MachineBasicBlock *Dst) const
bool isEdgeHot(const MachineBasicBlock *Src, const MachineBasicBlock *Dst) const
void getAnalysisUsage(AnalysisUsage &AU) const override
getAnalysisUsage - This function should be overriden by passes that need analysis information to do t...
BranchProbability getEdgeProbability(const MachineBasicBlock *Src, const MachineBasicBlock *Dst) const
MachineBranchProbabilityInfo()
This class implements an extremely fast bulk output stream that can only output to a stream.
This is an optimization pass for GlobalISel generic memory operations.