Go to the documentation of this file.
14 #ifndef LLVM_CODEGEN_MBFIWRAPPER_H
15 #define LLVM_CODEGEN_MBFIWRAPPER_H
23 class MachineBasicBlock;
24 class MachineBlockFrequencyInfo;
49 #endif // LLVM_CODEGEN_MBFIWRAPPER_H
This is an optimization pass for GlobalISel generic memory operations.
void view(const Twine &Name, bool isSimple=true)
void setBlockFreq(const MachineBasicBlock *MBB, BlockFrequency F)
raw_ostream & printBlockFreq(raw_ostream &OS, const MachineBasicBlock *MBB) const
MachineBlockFrequencyInfo pass uses BlockFrequencyInfoImpl implementation to estimate machine basic b...
This class implements an extremely fast bulk output stream that can only output to a stream.
uint64_t getEntryFreq() const
const MachineBlockFrequencyInfo & getMBFI()
Twine - A lightweight data structure for efficiently representing the concatenation of temporary valu...
Optional< uint64_t > getBlockProfileCount(const MachineBasicBlock *MBB) const
static bool isSimple(Instruction *I)
MBFIWrapper(const MachineBlockFrequencyInfo &I)
BlockFrequency getBlockFreq(const MachineBasicBlock *MBB) const