diff options
| author | Chris Lattner <sabre@nondot.org> | 2001-09-07 21:22:28 +0000 |
|---|---|---|
| committer | Chris Lattner <sabre@nondot.org> | 2001-09-07 21:22:28 +0000 |
| commit | e99c9acb84e6aa2163ae38614ed771816e04d716 (patch) | |
| tree | a2c52388b4325d67bdaceba991403c5b258a9bf2 /llvm/lib/CodeGen/InstrSched | |
| parent | b7d0c37f5c885b79f68ce60f9d2bde0125121283 (diff) | |
| download | bcm5719-llvm-e99c9acb84e6aa2163ae38614ed771816e04d716.tar.gz bcm5719-llvm-e99c9acb84e6aa2163ae38614ed771816e04d716.zip | |
Remove unneeded #includes
llvm-svn: 489
Diffstat (limited to 'llvm/lib/CodeGen/InstrSched')
| -rw-r--r-- | llvm/lib/CodeGen/InstrSched/SchedPriorities.cpp | 20 |
1 files changed, 2 insertions, 18 deletions
diff --git a/llvm/lib/CodeGen/InstrSched/SchedPriorities.cpp b/llvm/lib/CodeGen/InstrSched/SchedPriorities.cpp index fe039cc2a7b..c09f9fc24e5 100644 --- a/llvm/lib/CodeGen/InstrSched/SchedPriorities.cpp +++ b/llvm/lib/CodeGen/InstrSched/SchedPriorities.cpp @@ -18,24 +18,9 @@ * 7/30/01 - Vikram Adve - Created ***************************************************************************/ -//************************** System Include Files **************************/ - -#include <hash_map> -#include <vector> -#include <algorithm> -#include <sys/types.h> - -//*************************** User Include Files ***************************/ - -#include "llvm/Method.h" -#include "llvm/CodeGen/MachineInstr.h" -#include "llvm/CodeGen/InstrScheduling.h" #include "llvm/CodeGen/SchedPriorities.h" -//************************* Forward Declarations ***************************/ - -/*ctor*/ SchedPriorities::SchedPriorities(const Method* method, const SchedGraph* _graph) : curTime(0), @@ -219,7 +204,7 @@ SchedPriorities::getNextHighest(const SchedulingManager& S, // it becomes empty. nextChoice = candsAsHeap.getNode(mcands[nextIdx]); if (getEarliestForNodeRef(nextChoice) > curTime - || ! instrIsFeasible(S, nextChoice->getOpCode())) + || ! instrIsFeasible(S, nextChoice->getMachineInstr()->getOpCode())) { mcands.erase(mcands.begin() + nextIdx); nextIdx = -1; @@ -255,8 +240,7 @@ SchedPriorities::findSetWithMaxDelay(vector<candIndex>& mcands, if (SchedDebugLevel >= Sched_PrintSchedTrace) { - printIndent(2); - cout << "Cycle " << this->getTime() << ": " + cout << " Cycle " << this->getTime() << ": " << "Next highest delay = " << maxDelay << " : " << mcands.size() << " Nodes with this delay: "; for (unsigned i=0; i < mcands.size(); i++) |

