14#ifndef LLVM_CODEGEN_MBFIWRAPPER_H
15#define LLVM_CODEGEN_MBFIWRAPPER_H
23class MachineBasicBlock;
24class MachineBlockFrequencyInfo;
32 std::optional<uint64_t>
This file defines the DenseMap class.
static bool isSimple(Instruction *I)
std::optional< uint64_t > getBlockProfileCount(const MachineBasicBlock *MBB) const
BlockFrequency getBlockFreq(const MachineBasicBlock *MBB) const
void view(const Twine &Name, bool isSimple=true)
void setBlockFreq(const MachineBasicBlock *MBB, BlockFrequency F)
BlockFrequency getEntryFreq() const
MBFIWrapper(const MachineBlockFrequencyInfo &I)
const MachineBlockFrequencyInfo & getMBFI() const
MachineBlockFrequencyInfo pass uses BlockFrequencyInfoImpl implementation to estimate machine basic b...
Twine - A lightweight data structure for efficiently representing the concatenation of temporary valu...
This is an optimization pass for GlobalISel generic memory operations.