|
LLVM
5.0.0
|
This class keeps track of branch frequencies of newly created blocks and tail-merged blocks. More...
#include "CodeGen/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 |
| void | view (const Twine &Name, bool isSimple=true) |
| uint64_t | getEntryFreq () const |
This class keeps track of branch frequencies of newly created blocks and tail-merged blocks.
Definition at line 120 of file BranchFolding.h.
|
inline |
Definition at line 122 of file BranchFolding.h.
| BlockFrequency BranchFolder::MBFIWrapper::getBlockFreq | ( | const MachineBasicBlock * | MBB | ) | const |
Definition at line 486 of file BranchFolding.cpp.
References llvm::MachineBlockFrequencyInfo::getBlockFreq(), and I.
| uint64_t BranchFolder::MBFIWrapper::getEntryFreq | ( | ) | const |
Definition at line 517 of file BranchFolding.cpp.
| raw_ostream & BranchFolder::MBFIWrapper::printBlockFreq | ( | raw_ostream & | OS, |
| const MachineBasicBlock * | MBB | ||
| ) | const |
Definition at line 501 of file BranchFolding.cpp.
| raw_ostream & BranchFolder::MBFIWrapper::printBlockFreq | ( | raw_ostream & | OS, |
| const BlockFrequency | Freq | ||
| ) | const |
Definition at line 507 of file BranchFolding.cpp.
| void BranchFolder::MBFIWrapper::setBlockFreq | ( | const MachineBasicBlock * | MBB, |
| BlockFrequency | F | ||
| ) |
Definition at line 495 of file BranchFolding.cpp.
References F.
Definition at line 512 of file BranchFolding.cpp.
1.8.6