summaryrefslogtreecommitdiffstats
path: root/llvm/lib/CodeGen
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2005-08-18 18:45:24 +0000
committerChris Lattner <sabre@nondot.org>2005-08-18 18:45:24 +0000
commit1b4727de7d5bebc7cd11dcab09fcd05e77b0b974 (patch)
treec79b4d50de0707382451113117bd4962be7a90e3 /llvm/lib/CodeGen
parenta88fa6085ff170b47525811e9d79453424a729ca (diff)
downloadbcm5719-llvm-1b4727de7d5bebc7cd11dcab09fcd05e77b0b974.tar.gz
bcm5719-llvm-1b4727de7d5bebc7cd11dcab09fcd05e77b0b974.zip
new file, obviously just a stub
llvm-svn: 22868
Diffstat (limited to 'llvm/lib/CodeGen')
-rw-r--r--llvm/lib/CodeGen/SelectionDAG/ScheduleDAG.cpp23
1 files changed, 23 insertions, 0 deletions
diff --git a/llvm/lib/CodeGen/SelectionDAG/ScheduleDAG.cpp b/llvm/lib/CodeGen/SelectionDAG/ScheduleDAG.cpp
new file mode 100644
index 00000000000..28edbe30b5d
--- /dev/null
+++ b/llvm/lib/CodeGen/SelectionDAG/ScheduleDAG.cpp
@@ -0,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) {
+
+}
OpenPOWER on IntegriCloud