Deleted Added
full compact
SelectionDAGPrinter.cpp (218893) SelectionDAGPrinter.cpp (221345)
1//===-- SelectionDAGPrinter.cpp - Implement SelectionDAG::viewGraph() -----===//
2//
3// The LLVM Compiler Infrastructure
4//
5// This file is distributed under the University of Illinois Open Source
6// License. See LICENSE.TXT for details.
7//
8//===----------------------------------------------------------------------===//

--- 76 unchanged lines hidden (view full) ---

85 static bool hasNodeAddressLabel(const SDNode *Node,
86 const SelectionDAG *Graph) {
87 return true;
88 }
89
90 /// If you want to override the dot attributes printed for a particular
91 /// edge, override this method.
92 template<typename EdgeIter>
1//===-- SelectionDAGPrinter.cpp - Implement SelectionDAG::viewGraph() -----===//
2//
3// The LLVM Compiler Infrastructure
4//
5// This file is distributed under the University of Illinois Open Source
6// License. See LICENSE.TXT for details.
7//
8//===----------------------------------------------------------------------===//

--- 76 unchanged lines hidden (view full) ---

85 static bool hasNodeAddressLabel(const SDNode *Node,
86 const SelectionDAG *Graph) {
87 return true;
88 }
89
90 /// If you want to override the dot attributes printed for a particular
91 /// edge, override this method.
92 template<typename EdgeIter>
93 static std::string getEdgeAttributes(const void *Node, EdgeIter EI) {
93 static std::string getEdgeAttributes(const void *Node, EdgeIter EI,
94 const SelectionDAG *Graph) {
94 SDValue Op = EI.getNode()->getOperand(EI.getOperand());
95 EVT VT = Op.getValueType();
96 if (VT == MVT::Glue)
97 return "color=red,style=bold";
98 else if (VT == MVT::Other)
99 return "color=blue,style=dashed";
100 return "";
101 }

--- 200 unchanged lines hidden ---
95 SDValue Op = EI.getNode()->getOperand(EI.getOperand());
96 EVT VT = Op.getValueType();
97 if (VT == MVT::Glue)
98 return "color=red,style=bold";
99 else if (VT == MVT::Other)
100 return "color=blue,style=dashed";
101 return "";
102 }

--- 200 unchanged lines hidden ---