LLVM API Documentation
Classes | |
class | BlockMass |
Mass of a block. More... | |
struct | TypeMap |
struct | TypeMap< BasicBlock > |
struct | TypeMap< MachineBasicBlock > |
struct | IrreducibleGraph |
Graph of irreducible control flow. More... | |
struct | BlockEdgesAdder |
Functions | |
BlockMass | operator+ (const BlockMass &L, const BlockMass &R) |
BlockMass | operator- (const BlockMass &L, const BlockMass &R) |
BlockMass | operator* (const BlockMass &L, const BranchProbability &R) |
BlockMass | operator* (const BranchProbability &L, const BlockMass &R) |
raw_ostream & | operator<< (raw_ostream &OS, const 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. |
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 498 of file BlockFrequencyInfoImpl.h.
References llvm::Twine::str().
Referenced by llvm::BlockFrequencyInfoImpl< BT >::print().
std::string llvm::bfi_detail::getBlockName | ( | const BasicBlock * | BB | ) | [inline] |
Get the name of a BasicBlock.
Definition at line 506 of file BlockFrequencyInfoImpl.h.
References llvm::Value::getName(), and llvm::StringRef::str().
Definition at line 131 of file BlockFrequencyInfoImpl.h.
Referenced by llvm::SDNodeIterator::operator->().
Definition at line 134 of file BlockFrequencyInfoImpl.h.
Definition at line 125 of file BlockFrequencyInfoImpl.h.
Definition at line 128 of file BlockFrequencyInfoImpl.h.
raw_ostream& llvm::bfi_detail::operator<< | ( | raw_ostream & | OS, |
const BlockMass & | X | ||
) | [inline] |
Definition at line 138 of file BlockFrequencyInfoImpl.h.
References llvm::bfi_detail::BlockMass::print().