summaryrefslogtreecommitdiffstats
path: root/llvm/lib/CodeGen
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2002-02-04 16:35:45 +0000
committerChris Lattner <sabre@nondot.org>2002-02-04 16:35:45 +0000
commite630ac9330d1da29192e1dcd96b43b8283e7da8d (patch)
tree96f36dfdcb5c2d563caa5114b98ea9e68668cf6e /llvm/lib/CodeGen
parent325869ac290389d189608dcb51889915a82c9548 (diff)
downloadbcm5719-llvm-e630ac9330d1da29192e1dcd96b43b8283e7da8d.tar.gz
bcm5719-llvm-e630ac9330d1da29192e1dcd96b43b8283e7da8d.zip
Remove dependence on BBLiveVar from InstrScheduling
Minor cleanups llvm-svn: 1688
Diffstat (limited to 'llvm/lib/CodeGen')
-rw-r--r--llvm/lib/CodeGen/InstrSched/InstrScheduling.cpp3
-rw-r--r--llvm/lib/CodeGen/InstrSched/SchedPriorities.h7
2 files changed, 4 insertions, 6 deletions
diff --git a/llvm/lib/CodeGen/InstrSched/InstrScheduling.cpp b/llvm/lib/CodeGen/InstrSched/InstrScheduling.cpp
index 292c2c55e1c..09d0e40d80f 100644
--- a/llvm/lib/CodeGen/InstrSched/InstrScheduling.cpp
+++ b/llvm/lib/CodeGen/InstrSched/InstrScheduling.cpp
@@ -11,12 +11,11 @@
#include "llvm/CodeGen/InstrScheduling.h"
-#include "llvm/Analysis/LiveVar/BBLiveVar.h"
#include "llvm/CodeGen/MachineInstr.h"
#include "llvm/CodeGen/MachineCodeForInstruction.h"
#include "llvm/CodeGen/MachineCodeForMethod.h"
#include "llvm/Target/TargetMachine.h"
-#include "Support/CommandLine.h"
+#include "llvm/BasicBlock.h"
#include "SchedPriorities.h"
#include <ext/hash_set>
#include <algorithm>
diff --git a/llvm/lib/CodeGen/InstrSched/SchedPriorities.h b/llvm/lib/CodeGen/InstrSched/SchedPriorities.h
index 78b685dadde..884a049b94a 100644
--- a/llvm/lib/CodeGen/InstrSched/SchedPriorities.h
+++ b/llvm/lib/CodeGen/InstrSched/SchedPriorities.h
@@ -27,7 +27,7 @@
#include "llvm/Target/MachineSchedInfo.h"
#include "Support/CommandLine.h"
#include <list>
-
+#include <hash_set>
class Method;
class MachineInstr;
class SchedulingManager;
@@ -76,10 +76,9 @@ public:
typedef std::list<NodeDelayPair*>::const_iterator const_iterator;
public:
- /*ctor*/ NodeHeap () : std::list<NodeDelayPair*>(), _size(0) {}
- /*dtor*/ ~NodeHeap () {}
+ NodeHeap() : _size(0) {}
- inline unsigned int size () const { return _size; }
+ inline unsigned size() const { return _size; }
const SchedGraphNode* getNode (const_iterator i) const { return (*i)->node; }
cycles_t getDelay(const_iterator i) const { return (*i)->delay;}
OpenPOWER on IntegriCloud