diff options
author | Chris Lattner <sabre@nondot.org> | 2005-08-18 18:45:24 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2005-08-18 18:45:24 +0000 |
commit | d32b23690d9919a31ac6c56b2783efb622051e75 (patch) | |
tree | 88cdfa79e4d0c78017032e1df468629040336339 /lib/CodeGen/SelectionDAG/ScheduleDAG.cpp | |
parent | 66bac3c74088b296a5e693b21c9cf66bb8b7d548 (diff) |
new file, obviously just a stub
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@22868 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/SelectionDAG/ScheduleDAG.cpp')
-rw-r--r-- | lib/CodeGen/SelectionDAG/ScheduleDAG.cpp | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/lib/CodeGen/SelectionDAG/ScheduleDAG.cpp b/lib/CodeGen/SelectionDAG/ScheduleDAG.cpp new file mode 100644 index 0000000000..28edbe30b5 --- /dev/null +++ b/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) { + +} |