* 7/20/01 - Vikram Adve - Created
***************************************************************************/
-//************************** System Include Files **************************/
-
-#include <algorithm>
-
-//*************************** User Include Files ***************************/
-
#include "llvm/InstrTypes.h"
#include "llvm/Instruction.h"
#include "llvm/BasicBlock.h"
#include "llvm/CodeGen/SchedGraph.h"
#include "llvm/CodeGen/MachineInstr.h"
#include "llvm/CodeGen/TargetMachine.h"
+#include "llvm/Support/StringExtras.h"
+#include <algorithm>
//************************* Class Implementations **************************/
sink->addInEdge(this);
}
+void SchedGraphEdge::dump(int indent=0) const {
+ printIndent(indent); cout << *this;
+}
+
//
// class SchedGraphNode
delete outEdges[i];
}
+void SchedGraphNode::dump(int indent=0) const {
+ printIndent(indent); cout << *this;
+}
+
inline void
SchedGraphNode::addInEdge(SchedGraphEdge* edge)
* 7/20/01 - Vikram Adve - Created
***************************************************************************/
-//************************** System Include Files **************************/
-
-#include <algorithm>
-
-//*************************** User Include Files ***************************/
-
#include "llvm/InstrTypes.h"
#include "llvm/Instruction.h"
#include "llvm/BasicBlock.h"
#include "llvm/CodeGen/SchedGraph.h"
#include "llvm/CodeGen/MachineInstr.h"
#include "llvm/CodeGen/TargetMachine.h"
+#include "llvm/Support/StringExtras.h"
+#include <algorithm>
//************************* Class Implementations **************************/
sink->addInEdge(this);
}
+void SchedGraphEdge::dump(int indent=0) const {
+ printIndent(indent); cout << *this;
+}
+
//
// class SchedGraphNode
delete outEdges[i];
}
+void SchedGraphNode::dump(int indent=0) const {
+ printIndent(indent); cout << *this;
+}
+
inline void
SchedGraphNode::addInEdge(SchedGraphEdge* edge)