LLVM 20.0.0git
|
Classes | |
class | BFICallbackVH |
class | BFICallbackVH< BasicBlock, BFIImplT > |
class | BFICallbackVH< MachineBasicBlock, BFIImplT > |
Dummy implementation since MachineBasicBlocks aren't Values, so ValueHandles don't apply to them. More... | |
struct | BlockEdgesAdder |
class | BlockMass |
Mass of a block. More... | |
struct | IrreducibleGraph |
Graph of irreducible control flow. More... | |
struct | TypeMap |
struct | TypeMap< BasicBlock > |
struct | TypeMap< MachineBasicBlock > |
Functions | |
BlockMass | operator+ (BlockMass L, BlockMass R) |
BlockMass | operator- (BlockMass L, BlockMass R) |
BlockMass | operator* (BlockMass L, BranchProbability R) |
BlockMass | operator* (BranchProbability L, BlockMass R) |
raw_ostream & | operator<< (raw_ostream &OS, BlockMass X) |
template<class BlockT > | |
std::string | getBlockName (const BlockT *BB) |
Get the name of a MachineBasicBlock. | |
template<> | |
std::string | getBlockName (const BasicBlock *BB) |
Get the name of a BasicBlock. | |
|
inline |
Get the name of a BasicBlock.
Definition at line 580 of file BlockFrequencyInfoImpl.h.
References assert(), llvm::Value::getName(), and llvm::StringRef::str().
std::string llvm::bfi_detail::getBlockName | ( | const BlockT * | BB | ) |
Get the name of a MachineBasicBlock.
Get the name of a MachineBasicBlock. It's templated so that including from CodeGen is unnecessary (that would be a layering issue).
This is used mainly for debug output. The name is similar to MachineBasicBlock::getFullName(), but skips the name of the function.
Definition at line 572 of file BlockFrequencyInfoImpl.h.
References assert().
Referenced by llvm::BlockFrequencyInfoImplBase::addToDist(), llvm::BlockFrequencyInfoImplBase::adjustLoopHeaderMass(), llvm::BlockFrequencyInfoImplBase::getBlockFreq(), llvm::BlockFrequencyInfoImplBase::getLoopName(), llvm::BlockFrequencyInfoImplBase::packageLoop(), llvm::BlockFrequencyInfoImpl< BT >::print(), and llvm::BlockFrequencyInfoImpl< BT >::verifyMatch().
|
inline |
Definition at line 159 of file BlockFrequencyInfoImpl.h.
|
inline |
Definition at line 162 of file BlockFrequencyInfoImpl.h.
Definition at line 153 of file BlockFrequencyInfoImpl.h.
Definition at line 156 of file BlockFrequencyInfoImpl.h.
|
inline |
Definition at line 166 of file BlockFrequencyInfoImpl.h.