[llvm-commits] CVS: llvm/lib/CodeGen/SelectionDAG/ScheduleDAG.cpp
Chris Lattner
lattner at cs.uiuc.edu
Thu Aug 18 11:45:36 PDT 2005
Changes in directory llvm/lib/CodeGen/SelectionDAG:
ScheduleDAG.cpp added (r1.1)
---
Log message:
new file, obviously just a stub
---
Diffs of the changes: (+23 -0)
ScheduleDAG.cpp | 23 +++++++++++++++++++++++
1 files changed, 23 insertions(+)
Index: llvm/lib/CodeGen/SelectionDAG/ScheduleDAG.cpp
diff -c /dev/null llvm/lib/CodeGen/SelectionDAG/ScheduleDAG.cpp:1.1
*** /dev/null Thu Aug 18 13:45:34 2005
--- llvm/lib/CodeGen/SelectionDAG/ScheduleDAG.cpp Thu Aug 18 13:45:24 2005
***************
*** 0 ****
--- 1,23 ----
+ //===-- ScheduleDAG.cpp - Implement a trivial DAG scheduler ---------------===//
+ //
+ // The LLVM Compiler Infrastructure
+ //
+ // This file was developed by Chris Lattner and is distributed under the
+ // University of Illinois Open Source License. See LICENSE.TXT for details.
+ //
+ //===----------------------------------------------------------------------===//
+ //
+ // This implements a simple code linearizer for DAGs. This is not a very good
+ // way to emit code, but gets working code quickly.
+ //
+ //===----------------------------------------------------------------------===//
+
+ #define DEBUG_TYPE "sched"
+ #include "llvm/CodeGen/SelectionDAGISel.h"
+ using namespace llvm;
+
+ /// Pick a safe ordering and emit instructions for each target node in the
+ /// graph.
+ void SelectionDAGISel::ScheduleAndEmitDAG(SelectionDAG &SD) {
+
+ }
More information about the llvm-commits
mailing list