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) return true;
63 return false;
64 }
65
66 /// NewSUnit - Creates a new SUnit and return a ptr to it.
67 ///
68 SUnit *NewSUnit(SDNode *N) {
69#ifndef NDEBUG
70 const SUnit *Addr = 0;

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

88 /// excludes nodes that aren't interesting to scheduling, and represents
89 /// flagged together nodes with a single SUnit.
90 virtual void BuildSchedGraph(AliasAnalysis *AA);
91
92 /// ComputeLatency - Compute node latency.
93 ///
94 virtual void ComputeLatency(SUnit *SU);
95
96 virtual MachineBasicBlock *
97 EmitSchedule(DenseMap<MachineBasicBlock*, MachineBasicBlock*> *EM);
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 ---