Home | History | Annotate | Download | only in Analysis

Lines Matching refs:Node

34   static std::string getSimpleNodeLabel(const BasicBlock *Node,
36 if (!Node->getName().empty())
37 return Node->getName().str();
42 Node->printAsOperand(OS, false);
46 static std::string getCompleteNodeLabel(const BasicBlock *Node,
52 if (Node->getName().empty()) {
53 Node->printAsOperand(OS, false);
57 OS << *Node;
91 std::string getNodeLabel(const BasicBlock *Node,
94 return getSimpleNodeLabel(Node, Graph);
96 return getCompleteNodeLabel(Node, Graph);
99 static std::string getEdgeSourceLabel(const BasicBlock *Node,
102 if (const BranchInst *BI = dyn_cast<BranchInst>(Node->getTerminator()))
104 return (I == succ_begin(Node)) ? "T" : "F";
107 if (const SwitchInst *SI = dyn_cast<SwitchInst>(Node->getTerminator())) {