Deleted Added
full compact
ScheduleDAGPrinter.cpp (208954) ScheduleDAGPrinter.cpp (221345)
1//===-- ScheduleDAGPrinter.cpp - Implement ScheduleDAG::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//===----------------------------------------------------------------------===//

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

46 static bool hasNodeAddressLabel(const SUnit *Node,
47 const ScheduleDAG *Graph) {
48 return true;
49 }
50
51 /// If you want to override the dot attributes printed for a particular
52 /// edge, override this method.
53 static std::string getEdgeAttributes(const SUnit *Node,
1//===-- ScheduleDAGPrinter.cpp - Implement ScheduleDAG::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//===----------------------------------------------------------------------===//

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

46 static bool hasNodeAddressLabel(const SUnit *Node,
47 const ScheduleDAG *Graph) {
48 return true;
49 }
50
51 /// If you want to override the dot attributes printed for a particular
52 /// edge, override this method.
53 static std::string getEdgeAttributes(const SUnit *Node,
54 SUnitIterator EI) {
54 SUnitIterator EI,
55 const ScheduleDAG *Graph) {
55 if (EI.isArtificialDep())
56 return "color=cyan,style=dashed";
57 if (EI.isCtrlDep())
58 return "color=blue,style=dashed";
59 return "";
60 }
61
62

--- 36 unchanged lines hidden ---
56 if (EI.isArtificialDep())
57 return "color=cyan,style=dashed";
58 if (EI.isCtrlDep())
59 return "color=blue,style=dashed";
60 return "";
61 }
62
63

--- 36 unchanged lines hidden ---