Chris Lattner | d32b236 | 2005-08-18 18:45:24 +0000 | [diff] [blame] | 1 | //===-- ScheduleDAG.cpp - Implement a trivial DAG scheduler ---------------===// |
| 2 | // |
| 3 | // The LLVM Compiler Infrastructure |
| 4 | // |
| 5 | // This file was developed by Chris Lattner and is distributed under the |
| 6 | // University of Illinois Open Source License. See LICENSE.TXT for details. |
| 7 | // |
| 8 | //===----------------------------------------------------------------------===// |
| 9 | // |
| 10 | // This implements a simple code linearizer for DAGs. This is not a very good |
| 11 | // way to emit code, but gets working code quickly. |
| 12 | // |
| 13 | //===----------------------------------------------------------------------===// |
| 14 | |
| 15 | #define DEBUG_TYPE "sched" |
| 16 | #include "llvm/CodeGen/SelectionDAGISel.h" |
| 17 | using namespace llvm; |
| 18 | |
| 19 | /// Pick a safe ordering and emit instructions for each target node in the |
| 20 | /// graph. |
| 21 | void SelectionDAGISel::ScheduleAndEmitDAG(SelectionDAG &SD) { |
| 22 | |
| 23 | } |