diff options
| author | Chris Lattner <sabre@nondot.org> | 2002-11-02 22:07:51 +0000 |
|---|---|---|
| committer | Chris Lattner <sabre@nondot.org> | 2002-11-02 22:07:51 +0000 |
| commit | 36051c0c568cd67e5482fc5a881999114086d68d (patch) | |
| tree | 25807d850144dc0a58d0cc98286c9c19e86f0073 /llvm/lib/CodeGen/InstrSched | |
| parent | 5ab3a23f2eb809c54022f487fe29b88d235be211 (diff) | |
| download | bcm5719-llvm-36051c0c568cd67e5482fc5a881999114086d68d.tar.gz bcm5719-llvm-36051c0c568cd67e5482fc5a881999114086d68d.zip | |
Move function to cpp file from header
llvm-svn: 4510
Diffstat (limited to 'llvm/lib/CodeGen/InstrSched')
| -rw-r--r-- | llvm/lib/CodeGen/InstrSched/SchedPriorities.cpp | 6 | ||||
| -rw-r--r-- | llvm/lib/CodeGen/InstrSched/SchedPriorities.h | 6 |
2 files changed, 7 insertions, 5 deletions
diff --git a/llvm/lib/CodeGen/InstrSched/SchedPriorities.cpp b/llvm/lib/CodeGen/InstrSched/SchedPriorities.cpp index 33aae5c7f52..107ddd6c6d4 100644 --- a/llvm/lib/CodeGen/InstrSched/SchedPriorities.cpp +++ b/llvm/lib/CodeGen/InstrSched/SchedPriorities.cpp @@ -17,6 +17,12 @@ #include "Support/PostOrderIterator.h" using std::cerr; +std::ostream &operator<<(std::ostream &os, const NodeDelayPair* nd) { + return os << "Delay for node " << nd->node->getNodeId() + << " = " << (long)nd->delay << "\n"; +} + + SchedPriorities::SchedPriorities(const Function *, const SchedGraph *G, FunctionLiveVarInfo &LVI) : curTime(0), graph(G), methodLiveVarInfo(LVI), diff --git a/llvm/lib/CodeGen/InstrSched/SchedPriorities.h b/llvm/lib/CodeGen/InstrSched/SchedPriorities.h index 7cfcb038399..2b9405db9ac 100644 --- a/llvm/lib/CodeGen/InstrSched/SchedPriorities.h +++ b/llvm/lib/CodeGen/InstrSched/SchedPriorities.h @@ -18,7 +18,6 @@ #include "llvm/Target/MachineSchedInfo.h" #include "Support/hash_set" #include <list> -#include <iosfwd> class Function; class MachineInstr; @@ -202,9 +201,6 @@ inline void SchedPriorities::updateTime(cycles_t c) { mcands.clear(); } -inline std::ostream &operator<<(std::ostream &os, const NodeDelayPair* nd) { - return os << "Delay for node " << nd->node->getNodeId() - << " = " << (long)nd->delay << "\n"; -} +std::ostream &operator<<(std::ostream &os, const NodeDelayPair* nd); #endif |

