LLVM API Documentation
Public Member Functions | |
DOTGraphTraits (bool isSimple=false) | |
std::string | getNodeLabel (const MachineBasicBlock *Node, const MachineBlockFrequencyInfo *Graph) |
Static Public Member Functions | |
static std::string | getGraphName (const MachineBlockFrequencyInfo *G) |
Definition at line 81 of file MachineBlockFrequencyInfo.cpp.
llvm::DOTGraphTraits< MachineBlockFrequencyInfo * >::DOTGraphTraits | ( | bool | isSimple = false | ) | [inline, explicit] |
Definition at line 83 of file MachineBlockFrequencyInfo.cpp.
static std::string llvm::DOTGraphTraits< MachineBlockFrequencyInfo * >::getGraphName | ( | const MachineBlockFrequencyInfo * | G | ) | [inline, static] |
Definition at line 86 of file MachineBlockFrequencyInfo.cpp.
References llvm::MachineBlockFrequencyInfo::getFunction(), and llvm::MachineFunction::getName().
std::string llvm::DOTGraphTraits< MachineBlockFrequencyInfo * >::getNodeLabel | ( | const MachineBasicBlock * | Node, |
const MachineBlockFrequencyInfo * | Graph | ||
) | [inline] |
Definition at line 90 of file MachineBlockFrequencyInfo.cpp.
References llvm::MachineBlockFrequencyInfo::getBlockFreq(), llvm::BlockFrequency::getFrequency(), llvm::MachineBasicBlock::getName(), GVDT_Fraction, GVDT_Integer, GVDT_None, llvm_unreachable, llvm::MachineBlockFrequencyInfo::printBlockFreq(), llvm::StringRef::str(), and ViewMachineBlockFreqPropagationDAG.