Move private interfaces into private .h file
authorChris Lattner <sabre@nondot.org>
Mon, 1 Sep 2003 20:33:07 +0000 (20:33 +0000)
committerChris Lattner <sabre@nondot.org>
Mon, 1 Sep 2003 20:33:07 +0000 (20:33 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@8306 91177308-0d34-0410-b5e6-96231b3b80d8

lib/Target/SparcV9/SparcV9Internals.h
lib/Target/SparcV9/SparcV9PeepholeOpts.cpp
lib/Target/SparcV9/SparcV9PreSelection.cpp
lib/Target/SparcV9/SparcV9TargetMachine.cpp

index cda537526eb13bf01973b4235e17c4f31e9bc479..172f56bd178e895ee5083b2495eedf4633024d45 100644 (file)
@@ -654,6 +654,13 @@ Pass *createAddRegNumToValuesPass();
 /// empty slots at the top of each function stack
 Pass *createStackSlotsPass(const TargetMachine &TM);
 
+// Interface to pre-selection pass that specializes LLVM code for a target
+// machine.
+Pass *createPreSelectionPass(TargetMachine &Target);
+
+// External interface to peephole optimization pass operating on machine code.
+FunctionPass *createPeepholeOptsPass(TargetMachine &Target);
+
 
 //---------------------------------------------------------------------------
 // class UltraSparc 
index 0bf448339c23c4974607d7d59ee3e15b6d8d7e50..1ec9821507d398b34822a407da93eda7b35c5494 100644 (file)
@@ -5,7 +5,7 @@
 //
 //===----------------------------------------------------------------------===//
 
-#include "llvm/CodeGen/PeepholeOpts.h"
+#include "SparcInternals.h"
 #include "llvm/CodeGen/MachineFunction.h"
 #include "llvm/CodeGen/MachineInstr.h"
 #include "llvm/Target/TargetMachine.h"
index 8895613d32ed30940694d9548671ca33426b2636..a03a1826e75413f8a6690f9ab608a9528d1cb745 100644 (file)
@@ -8,7 +8,7 @@
 //
 //===----------------------------------------------------------------------===//
 
-#include "llvm/CodeGen/PreSelection.h"
+#include "SparcInternals.h"
 #include "llvm/Target/TargetMachine.h"
 #include "llvm/Target/TargetInstrInfo.h"
 #include "llvm/Transforms/Scalar.h"
index e84a6eb2d9e985996fd1e71a1c76d8a5bc798254..a474494f0c6d64f654abc9191de8f6e43eaa38c3 100644 (file)
@@ -13,8 +13,6 @@
 #include "llvm/Transforms/Scalar.h"
 #include "llvm/CodeGen/MachineFunction.h"
 #include "llvm/CodeGen/MachineFunctionInfo.h"
-#include "llvm/CodeGen/PreSelection.h"
-#include "llvm/CodeGen/PeepholeOpts.h"
 #include "llvm/CodeGen/InstrSelection.h"
 #include "llvm/CodeGen/InstrScheduling.h"
 #include "llvm/CodeGen/RegisterAllocation.h"