ΒΆtemplate <class BlockT>
std::string getBlockName(const BlockT* BB)
template <class BlockT>
std::string getBlockName(const BlockT* BB)
Description
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.
Declared at: llvm/include/llvm/Analysis/BlockFrequencyInfoImpl.h:567
Templates
- BlockT
Parameters
- const BlockT* BB