forked from OSchip/llvm-project
parent
5ab3a23f2e
commit
36051c0c56
|
@ -17,6 +17,12 @@
|
||||||
#include "Support/PostOrderIterator.h"
|
#include "Support/PostOrderIterator.h"
|
||||||
using std::cerr;
|
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,
|
SchedPriorities::SchedPriorities(const Function *, const SchedGraph *G,
|
||||||
FunctionLiveVarInfo &LVI)
|
FunctionLiveVarInfo &LVI)
|
||||||
: curTime(0), graph(G), methodLiveVarInfo(LVI),
|
: curTime(0), graph(G), methodLiveVarInfo(LVI),
|
||||||
|
|
|
@ -18,7 +18,6 @@
|
||||||
#include "llvm/Target/MachineSchedInfo.h"
|
#include "llvm/Target/MachineSchedInfo.h"
|
||||||
#include "Support/hash_set"
|
#include "Support/hash_set"
|
||||||
#include <list>
|
#include <list>
|
||||||
#include <iosfwd>
|
|
||||||
|
|
||||||
class Function;
|
class Function;
|
||||||
class MachineInstr;
|
class MachineInstr;
|
||||||
|
@ -202,9 +201,6 @@ inline void SchedPriorities::updateTime(cycles_t c) {
|
||||||
mcands.clear();
|
mcands.clear();
|
||||||
}
|
}
|
||||||
|
|
||||||
inline std::ostream &operator<<(std::ostream &os, const NodeDelayPair* nd) {
|
std::ostream &operator<<(std::ostream &os, const NodeDelayPair* nd);
|
||||||
return os << "Delay for node " << nd->node->getNodeId()
|
|
||||||
<< " = " << (long)nd->delay << "\n";
|
|
||||||
}
|
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
|
Loading…
Reference in New Issue