From afc2657cc33988a178d3b21645dba54484600c5f Mon Sep 17 00:00:00 2001 From: Andrew Trick Date: Wed, 6 Jun 2012 19:47:35 +0000 Subject: [PATCH] Move RegisterPressure.h. Make it a general utility for use by Targets. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@158097 91177308-0d34-0410-b5e6-96231b3b80d8 --- {lib => include/llvm}/CodeGen/RegisterPressure.h | 0 lib/CodeGen/MachineScheduler.cpp | 2 +- lib/CodeGen/RegisterPressure.cpp | 2 +- lib/CodeGen/ScheduleDAGInstrs.cpp | 2 +- 4 files changed, 3 insertions(+), 3 deletions(-) rename {lib => include/llvm}/CodeGen/RegisterPressure.h (100%) diff --git a/lib/CodeGen/RegisterPressure.h b/include/llvm/CodeGen/RegisterPressure.h similarity index 100% rename from lib/CodeGen/RegisterPressure.h rename to include/llvm/CodeGen/RegisterPressure.h diff --git a/lib/CodeGen/MachineScheduler.cpp b/lib/CodeGen/MachineScheduler.cpp index aa591779ba6..f3f95d86df2 100644 --- a/lib/CodeGen/MachineScheduler.cpp +++ b/lib/CodeGen/MachineScheduler.cpp @@ -15,10 +15,10 @@ #define DEBUG_TYPE "misched" #include "RegisterClassInfo.h" -#include "RegisterPressure.h" #include "llvm/CodeGen/LiveIntervalAnalysis.h" #include "llvm/CodeGen/MachineScheduler.h" #include "llvm/CodeGen/Passes.h" +#include "llvm/CodeGen/RegisterPressure.h" #include "llvm/CodeGen/ScheduleDAGInstrs.h" #include "llvm/CodeGen/ScheduleHazardRecognizer.h" #include "llvm/Target/TargetInstrInfo.h" diff --git a/lib/CodeGen/RegisterPressure.cpp b/lib/CodeGen/RegisterPressure.cpp index ea2bb6b2664..d39ef722a32 100644 --- a/lib/CodeGen/RegisterPressure.cpp +++ b/lib/CodeGen/RegisterPressure.cpp @@ -13,10 +13,10 @@ //===----------------------------------------------------------------------===// #include "RegisterClassInfo.h" -#include "RegisterPressure.h" #include "llvm/CodeGen/LiveInterval.h" #include "llvm/CodeGen/LiveIntervalAnalysis.h" #include "llvm/CodeGen/MachineRegisterInfo.h" +#include "llvm/CodeGen/RegisterPressure.h" #include "llvm/Target/TargetMachine.h" #include "llvm/Support/Debug.h" #include "llvm/Support/raw_ostream.h" diff --git a/lib/CodeGen/ScheduleDAGInstrs.cpp b/lib/CodeGen/ScheduleDAGInstrs.cpp index e78f5c92b43..6e80335f4bc 100644 --- a/lib/CodeGen/ScheduleDAGInstrs.cpp +++ b/lib/CodeGen/ScheduleDAGInstrs.cpp @@ -13,7 +13,6 @@ //===----------------------------------------------------------------------===// #define DEBUG_TYPE "sched-instrs" -#include "RegisterPressure.h" #include "llvm/Operator.h" #include "llvm/Analysis/AliasAnalysis.h" #include "llvm/Analysis/ValueTracking.h" @@ -22,6 +21,7 @@ #include "llvm/CodeGen/MachineMemOperand.h" #include "llvm/CodeGen/MachineRegisterInfo.h" #include "llvm/CodeGen/PseudoSourceValue.h" +#include "llvm/CodeGen/RegisterPressure.h" #include "llvm/CodeGen/ScheduleDAGInstrs.h" #include "llvm/MC/MCInstrItineraries.h" #include "llvm/Target/TargetMachine.h" -- 2.34.1