|
LLVM
4.0.0
|
This class keeps track of branch frequencies of newly created blocks and tail-merged blocks. More...
#include <BranchFolding.h>
Public Member Functions | |
| MBFIWrapper (const MachineBlockFrequencyInfo &I) | |
| BlockFrequency | getBlockFreq (const MachineBasicBlock *MBB) const |
| void | setBlockFreq (const MachineBasicBlock *MBB, BlockFrequency F) |
| raw_ostream & | printBlockFreq (raw_ostream &OS, const MachineBasicBlock *MBB) const |
| raw_ostream & | printBlockFreq (raw_ostream &OS, const BlockFrequency Freq) const |
This class keeps track of branch frequencies of newly created blocks and tail-merged blocks.
Definition at line 116 of file BranchFolding.h.
|
inline |
Definition at line 118 of file BranchFolding.h.
| BlockFrequency BranchFolder::MBFIWrapper::getBlockFreq | ( | const MachineBasicBlock * | MBB | ) | const |
Definition at line 474 of file BranchFolding.cpp.
References llvm::MachineBlockFrequencyInfo::getBlockFreq(), and I.
| raw_ostream & BranchFolder::MBFIWrapper::printBlockFreq | ( | raw_ostream & | OS, |
| const MachineBasicBlock * | MBB | ||
| ) | const |
Definition at line 489 of file BranchFolding.cpp.
| raw_ostream & BranchFolder::MBFIWrapper::printBlockFreq | ( | raw_ostream & | OS, |
| const BlockFrequency | Freq | ||
| ) | const |
Definition at line 495 of file BranchFolding.cpp.
| void BranchFolder::MBFIWrapper::setBlockFreq | ( | const MachineBasicBlock * | MBB, |
| BlockFrequency | F | ||
| ) |
Definition at line 483 of file BranchFolding.cpp.
1.8.6