Home | History | Annotate | Download | only in Analysis

Lines Matching defs:Node

63   static std::string getSimpleNodeLabel(const BasicBlock *Node,
65 if (!Node->getName().empty())
66 return Node->getName().str();
71 Node->printAsOperand(OS, false);
75 static std::string getCompleteNodeLabel(const BasicBlock *Node,
81 if (Node->getName().empty()) {
82 Node->printAsOperand(OS, false);
86 OS << *Node;
120 std::string getNodeLabel(const BasicBlock *Node,
123 return getSimpleNodeLabel(Node, Graph);
125 return getCompleteNodeLabel(Node, Graph);
128 static std::string getEdgeSourceLabel(const BasicBlock *Node,
131 if (const BranchInst *BI = dyn_cast<BranchInst>(Node->getTerminator()))
133 return (I == succ_begin(Node)) ? "T" : "F";
136 if (const SwitchInst *SI = dyn_cast<SwitchInst>(Node->getTerminator())) {
151 std::string getEdgeAttributes(const BasicBlock *Node, succ_const_iterator I,
153 const TerminatorInst *TI = Node->getTerminator();