Go to the documentation of this file.
21 auto I = MergedBBFreq.find(
MBB);
23 if (
I != MergedBBFreq.end())
31 MergedBBFreq[
MBB] =
F;
36 auto I = MergedBBFreq.find(
MBB);
40 if (
I != MergedBBFreq.end())
This is an optimization pass for GlobalISel generic memory operations.
void view(const Twine &Name, bool isSimple=true)
Optional< uint64_t > getBlockProfileCount(const MachineBasicBlock *MBB) const
Optional< uint64_t > getProfileCountFromFreq(uint64_t Freq) const
void view(const Twine &Name, bool isSimple=true) const
Pop up a ghostview window with the current block frequency propagation rendered using dot.
void setBlockFreq(const MachineBasicBlock *MBB, BlockFrequency F)
BlockFrequency getBlockFreq(const MachineBasicBlock *MBB) const
getblockFreq - Return block frequency.
raw_ostream & printBlockFreq(raw_ostream &OS, const MachineBasicBlock *MBB) const
This class implements an extremely fast bulk output stream that can only output to a stream.
uint64_t getEntryFreq() const
raw_ostream & printBlockFreq(raw_ostream &OS, const BlockFrequency Freq) const
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)
uint64_t getEntryFreq() const
Divide a block's BlockFrequency::getFrequency() value by this value to obtain the entry block - relat...
BlockFrequency getBlockFreq(const MachineBasicBlock *MBB) const