Deleted Added
sdiff udiff text old ( 202878 ) new ( 207618 )
full compact
1//===---- ScheduleDAGSDNodes.h - SDNode Scheduling --------------*- C++ -*-===//
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//===----------------------------------------------------------------------===//

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

54 if (isa<RegisterSDNode>(Node)) return true;
55 if (isa<GlobalAddressSDNode>(Node)) return true;
56 if (isa<BasicBlockSDNode>(Node)) return true;
57 if (isa<FrameIndexSDNode>(Node)) return true;
58 if (isa<ConstantPoolSDNode>(Node)) return true;
59 if (isa<JumpTableSDNode>(Node)) return true;
60 if (isa<ExternalSymbolSDNode>(Node)) return true;
61 if (isa<BlockAddressSDNode>(Node)) return true;
62 if (Node->getOpcode() == ISD::EntryToken ||
63 isa<MDNodeSDNode>(Node)) return true;
64 return false;
65 }
66
67 /// NewSUnit - Creates a new SUnit and return a ptr to it.
68 ///
69 SUnit *NewSUnit(SDNode *N) {
70#ifndef NDEBUG
71 const SUnit *Addr = 0;

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

89 /// excludes nodes that aren't interesting to scheduling, and represents
90 /// flagged together nodes with a single SUnit.
91 virtual void BuildSchedGraph(AliasAnalysis *AA);
92
93 /// ComputeLatency - Compute node latency.
94 ///
95 virtual void ComputeLatency(SUnit *SU);
96
97 virtual MachineBasicBlock *EmitSchedule();
98
99 /// Schedule - Order nodes according to selected style, filling
100 /// in the Sequence member.
101 ///
102 virtual void Schedule() = 0;
103
104 virtual void dumpNode(const SUnit *SU) const;
105

--- 16 unchanged lines hidden ---