mirror of
https://github.com/RPCSX/llvm.git
synced 2025-01-19 10:53:55 +00:00
Move function to cpp file from header
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@4510 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
0d05e6d942
commit
5da2e6ac70
@ -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),
|
||||
|
@ -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
|
||||
|
@ -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),
|
||||
|
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user