Home | History | Annotate | Download | only in Analysis

Lines Matching refs:Node

35   static std::string getSimpleNodeLabel(const BasicBlock *Node,
37 if (!Node->getName().empty())
38 return Node->getNameStr();
43 WriteAsOperand(OS, Node, false);
47 static std::string getCompleteNodeLabel(const BasicBlock *Node,
52 if (Node->getName().empty()) {
53 WriteAsOperand(OS, Node, false);
57 OS << *Node;
75 std::string getNodeLabel(const BasicBlock *Node,
78 return getSimpleNodeLabel(Node, Graph);
80 return getCompleteNodeLabel(Node, Graph);
83 static std::string getEdgeSourceLabel(const BasicBlock *Node,
86 if (const BranchInst *BI = dyn_cast<BranchInst>(Node->getTerminator()))
88 return (I == succ_begin(Node)) ? "T" : "F";
91 if (const SwitchInst *SI = dyn_cast<SwitchInst>(Node->getTerminator())) {