diff options
author | Chris Lattner <sabre@nondot.org> | 2001-09-14 06:08:03 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2001-09-14 06:08:03 +0000 |
commit | e5bc8b06533ba0f50403158a63f99a0c83da0493 (patch) | |
tree | 8ed36617d161643542e02d94996debd024aae6e4 /lib/CodeGen | |
parent | b26bcc5087029ffe8037ed9036ff74430c6054cf (diff) |
Split Target/Machine.h into three files:
* Machine.h
* InstInfo.h
* SchedInfo.h
TODO: Split out reg info stuff
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@567 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen')
-rw-r--r-- | lib/CodeGen/InstrSched/InstrScheduling.cpp | 4 | ||||
-rw-r--r-- | lib/CodeGen/InstrSched/SchedGraph.cpp | 7 | ||||
-rw-r--r-- | lib/CodeGen/RegAlloc/RegClass.h | 2 |
3 files changed, 3 insertions, 10 deletions
diff --git a/lib/CodeGen/InstrSched/InstrScheduling.cpp b/lib/CodeGen/InstrSched/InstrScheduling.cpp index 0987572ac3..494da31cf5 100644 --- a/lib/CodeGen/InstrSched/InstrScheduling.cpp +++ b/lib/CodeGen/InstrSched/InstrScheduling.cpp @@ -1,4 +1,3 @@ -// $Id$ //*************************************************************************** // File: // InstrScheduling.cpp @@ -12,7 +11,6 @@ #include "llvm/CodeGen/InstrScheduling.h" #include "llvm/CodeGen/SchedPriorities.h" #include "llvm/Analysis/LiveVar/BBLiveVar.h" -#include "llvm/Target/Machine.h" #include "llvm/CodeGen/MachineInstr.h" #include "llvm/Support/CommandLine.h" #include "llvm/Instruction.h" @@ -28,8 +26,6 @@ cl::Enum<enum SchedDebugLevel_t> SchedDebugLevel("dsched", cl::NoFlags, clEnumValN(Sched_PrintSchedGraphs, "g", "print scheduling graphs"), 0); -//************************* Forward Declarations ***************************/ - class InstrSchedule; class SchedulingManager; class DelaySlotInfo; diff --git a/lib/CodeGen/InstrSched/SchedGraph.cpp b/lib/CodeGen/InstrSched/SchedGraph.cpp index 3c819f6bc7..1ad2b0fb45 100644 --- a/lib/CodeGen/InstrSched/SchedGraph.cpp +++ b/lib/CodeGen/InstrSched/SchedGraph.cpp @@ -1,5 +1,4 @@ -/* - **************************************************************************** +/**************************************************************************** * File: * SchedGraph.cpp * @@ -18,12 +17,10 @@ #include "llvm/Method.h" #include "llvm/CodeGen/SchedGraph.h" #include "llvm/CodeGen/MachineInstr.h" -#include "llvm/Target/Machine.h" +#include "llvm/Target/InstInfo.h" #include "llvm/Support/StringExtras.h" #include <algorithm> -//************************* Class Implementations **************************/ - // // class SchedGraphEdge // diff --git a/lib/CodeGen/RegAlloc/RegClass.h b/lib/CodeGen/RegAlloc/RegClass.h index efe174617c..a8fc0ae1bc 100644 --- a/lib/CodeGen/RegAlloc/RegClass.h +++ b/lib/CodeGen/RegAlloc/RegClass.h @@ -1,4 +1,4 @@ -/* Title: RegClass.h +/* Title: RegClass.h -*- C++ -*- Author: Ruchira Sasanka Date: Aug 20, 01 Purpose: Contains machine independent methods for register coloring. |