LLVM API Documentation
#include <CFGPrinter.h>


Public Member Functions | |
| DOTGraphTraits (bool isSimple=false) | |
| std::string | getNodeLabel (const BasicBlock *Node, const Function *Graph) |
Static Public Member Functions | |
| static std::string | getGraphName (const Function *F) |
| static std::string | getSimpleNodeLabel (const BasicBlock *Node, const Function *) |
| static std::string | getCompleteNodeLabel (const BasicBlock *Node, const Function *) |
| static std::string | getEdgeSourceLabel (const BasicBlock *Node, succ_const_iterator I) |
Definition at line 26 of file CFGPrinter.h.
| llvm::DOTGraphTraits< const Function * >::DOTGraphTraits | ( | bool | isSimple = false | ) | [inline] |
Definition at line 28 of file CFGPrinter.h.
| static std::string llvm::DOTGraphTraits< const Function * >::getCompleteNodeLabel | ( | const BasicBlock * | Node, |
| const Function * | |||
| ) | [inline, static] |
Definition at line 46 of file CFGPrinter.h.
References llvm::StringRef::empty(), llvm::Value::getName(), Node, llvm::Value::printAsOperand(), and llvm::raw_string_ostream::str().
| static std::string llvm::DOTGraphTraits< const Function * >::getEdgeSourceLabel | ( | const BasicBlock * | Node, |
| succ_const_iterator | I | ||
| ) | [inline, static] |
Definition at line 99 of file CFGPrinter.h.
References llvm::SwitchInst::CaseIteratorT< SwitchInstTy, ConstantIntTy, BasicBlockTy >::fromSuccessorIndex(), llvm::SwitchInst::CaseIteratorT< SwitchInstTy, ConstantIntTy, BasicBlockTy >::getCaseValue(), llvm::SuccIterator< Term_, BB_ >::getSuccessorIndex(), llvm::BasicBlock::getTerminator(), llvm::raw_string_ostream::str(), and llvm::succ_begin().
| static std::string llvm::DOTGraphTraits< const Function * >::getGraphName | ( | const Function * | F | ) | [inline, static] |
Definition at line 30 of file CFGPrinter.h.
References llvm::Value::getName(), and llvm::StringRef::str().
| std::string llvm::DOTGraphTraits< const Function * >::getNodeLabel | ( | const BasicBlock * | Node, |
| const Function * | Graph | ||
| ) | [inline] |
Definition at line 91 of file CFGPrinter.h.
| static std::string llvm::DOTGraphTraits< const Function * >::getSimpleNodeLabel | ( | const BasicBlock * | Node, |
| const Function * | |||
| ) | [inline, static] |
Definition at line 34 of file CFGPrinter.h.
References llvm::StringRef::empty(), llvm::Value::getName(), llvm::Value::printAsOperand(), llvm::StringRef::str(), and llvm::raw_string_ostream::str().