[llvm-commits] CVS: llvm/lib/Target/SparcV9/MachineCodeForInstruction.h MachineFunctionInfo.h MappingInfo.cpp SparcV9AsmPrinter.cpp SparcV9BurgISel.cpp SparcV9CodeEmitter.cpp SparcV9FrameInfo.cpp SparcV9PrologEpilogInserter.cpp SparcV9RegInfo.cpp SparcV9StackSlots.cpp SparcV9TargetMachine.cpp SparcV9TmpInstr.h

Chris Lattner lattner at cs.uiuc.edu
Mon Aug 16 14:54:43 PDT 2004



Changes in directory llvm/lib/Target/SparcV9:

MachineCodeForInstruction.h updated: 1.15 -> 1.16
MachineFunctionInfo.h updated: 1.5 -> 1.6
MappingInfo.cpp updated: 1.17 -> 1.18
SparcV9AsmPrinter.cpp updated: 1.117 -> 1.118
SparcV9BurgISel.cpp updated: 1.5 -> 1.6
SparcV9CodeEmitter.cpp updated: 1.69 -> 1.70
SparcV9FrameInfo.cpp updated: 1.5 -> 1.6
SparcV9PrologEpilogInserter.cpp updated: 1.45 -> 1.46
SparcV9RegInfo.cpp updated: 1.134 -> 1.135
SparcV9StackSlots.cpp updated: 1.11 -> 1.12
SparcV9TargetMachine.cpp updated: 1.119 -> 1.120
SparcV9TmpInstr.h updated: 1.1 -> 1.2
---
Log message:

Move MachineCodeForInstruction.h and MachineFunctionInfo.h into lib/Target/SparcV9



---
Diffs of the changes:  (+22 -25)

Index: llvm/lib/Target/SparcV9/MachineCodeForInstruction.h
diff -u llvm/lib/Target/SparcV9/MachineCodeForInstruction.h:1.15 llvm/lib/Target/SparcV9/MachineCodeForInstruction.h:1.16
--- llvm/lib/Target/SparcV9/MachineCodeForInstruction.h:1.15	Sun Jun 27 13:50:49 2004
+++ llvm/lib/Target/SparcV9/MachineCodeForInstruction.h	Mon Aug 16 16:54:29 2004
@@ -1,4 +1,4 @@
-//===-- llvm/CodeGen/MachineCodeForInstruction.h ----------------*- C++ -*-===//
+//===-- MachineCodeForInstruction.h -----------------------------*- C++ -*-===//
 // 
 //                     The LLVM Compiler Infrastructure
 //
@@ -25,8 +25,8 @@
 // 
 //===----------------------------------------------------------------------===//
 
-#ifndef LLVM_CODEGEN_MACHINECODE_FOR_INSTRUCTION_H
-#define LLVM_CODEGEN_MACHINECODE_FOR_INSTRUCTION_H
+#ifndef MACHINECODE_FOR_INSTRUCTION_H
+#define MACHINECODE_FOR_INSTRUCTION_H
 
 #include <vector>
 


Index: llvm/lib/Target/SparcV9/MachineFunctionInfo.h
diff -u llvm/lib/Target/SparcV9/MachineFunctionInfo.h:1.5 llvm/lib/Target/SparcV9/MachineFunctionInfo.h:1.6
--- llvm/lib/Target/SparcV9/MachineFunctionInfo.h:1.5	Sun Jun 27 13:50:30 2004
+++ llvm/lib/Target/SparcV9/MachineFunctionInfo.h	Mon Aug 16 16:54:29 2004
@@ -1,4 +1,4 @@
-//===-- llvm/CodeGen/MachineFunctionInfo.h ----------------------*- C++ -*-===//
+//===-- MachineFunctionInfo.h -----------------------------------*- C++ -*-===//
 // 
 //                     The LLVM Compiler Infrastructure
 //
@@ -15,10 +15,10 @@
 //   
 //===----------------------------------------------------------------------===//
 
-#ifndef LLVM_CODEGEN_MACHINEFUNCTIONINFO_H
-#define LLVM_CODEGEN_MACHINEFUNCTIONINFO_H
+#ifndef MACHINEFUNCTIONINFO_H
+#define MACHINEFUNCTIONINFO_H
 
-#include "llvm/CodeGen/MachineCodeForInstruction.h"
+#include "MachineCodeForInstruction.h"
 #include "Support/HashExtras.h"
 #include "Support/hash_set"
 


Index: llvm/lib/Target/SparcV9/MappingInfo.cpp
diff -u llvm/lib/Target/SparcV9/MappingInfo.cpp:1.17 llvm/lib/Target/SparcV9/MappingInfo.cpp:1.18
--- llvm/lib/Target/SparcV9/MappingInfo.cpp:1.17	Sun Apr 25 02:04:49 2004
+++ llvm/lib/Target/SparcV9/MappingInfo.cpp	Mon Aug 16 16:54:29 2004
@@ -46,7 +46,7 @@
 #include "llvm/Pass.h"
 #include "llvm/Module.h"
 #include "llvm/CodeGen/MachineFunction.h"
-#include "llvm/CodeGen/MachineCodeForInstruction.h"
+#include "MachineCodeForInstruction.h"
 #include "Support/StringExtras.h"
 
 namespace llvm {


Index: llvm/lib/Target/SparcV9/SparcV9AsmPrinter.cpp
diff -u llvm/lib/Target/SparcV9/SparcV9AsmPrinter.cpp:1.117 llvm/lib/Target/SparcV9/SparcV9AsmPrinter.cpp:1.118
--- llvm/lib/Target/SparcV9/SparcV9AsmPrinter.cpp:1.117	Wed Aug  4 03:44:43 2004
+++ llvm/lib/Target/SparcV9/SparcV9AsmPrinter.cpp	Mon Aug 16 16:54:29 2004
@@ -25,12 +25,12 @@
 #include "llvm/Assembly/Writer.h"
 #include "llvm/CodeGen/MachineConstantPool.h"
 #include "llvm/CodeGen/MachineFunction.h"
-#include "llvm/CodeGen/MachineFunctionInfo.h"
 #include "llvm/CodeGen/MachineInstr.h"
 #include "llvm/Support/Mangler.h"
 #include "Support/StringExtras.h"
 #include "Support/Statistic.h"
 #include "SparcV9Internals.h"
+#include "MachineFunctionInfo.h"
 #include <string>
 using namespace llvm;
 


Index: llvm/lib/Target/SparcV9/SparcV9BurgISel.cpp
diff -u llvm/lib/Target/SparcV9/SparcV9BurgISel.cpp:1.5 llvm/lib/Target/SparcV9/SparcV9BurgISel.cpp:1.6
--- llvm/lib/Target/SparcV9/SparcV9BurgISel.cpp:1.5	Thu Aug 12 13:29:05 2004
+++ llvm/lib/Target/SparcV9/SparcV9BurgISel.cpp	Mon Aug 16 16:54:30 2004
@@ -21,15 +21,14 @@
 #include "SparcV9TmpInstr.h"
 #include "SparcV9FrameInfo.h"
 #include "SparcV9RegisterInfo.h"
+#include "MachineFunctionInfo.h"
 #include "llvm/CodeGen/IntrinsicLowering.h"
 #include "llvm/CodeGen/MachineConstantPool.h"
 #include "llvm/CodeGen/MachineFunction.h"
-#include "llvm/CodeGen/MachineFunctionInfo.h"
 #include "llvm/CodeGen/MachineInstr.h"
 #include "llvm/CodeGen/MachineInstrBuilder.h"
 #include "llvm/Constants.h"
 #include "llvm/DerivedTypes.h"
-#include "llvm/GlobalValue.h"
 #include "llvm/Instructions.h"
 #include "llvm/Intrinsics.h"
 #include "llvm/Module.h"


Index: llvm/lib/Target/SparcV9/SparcV9CodeEmitter.cpp
diff -u llvm/lib/Target/SparcV9/SparcV9CodeEmitter.cpp:1.69 llvm/lib/Target/SparcV9/SparcV9CodeEmitter.cpp:1.70
--- llvm/lib/Target/SparcV9/SparcV9CodeEmitter.cpp:1.69	Wed Aug  4 16:48:00 2004
+++ llvm/lib/Target/SparcV9/SparcV9CodeEmitter.cpp	Mon Aug 16 16:54:30 2004
@@ -26,7 +26,6 @@
 #include "llvm/PassManager.h"
 #include "llvm/CodeGen/MachineCodeEmitter.h"
 #include "llvm/CodeGen/MachineConstantPool.h"
-#include "llvm/CodeGen/MachineFunctionInfo.h"
 #include "llvm/CodeGen/MachineFunctionPass.h"
 #include "llvm/CodeGen/MachineInstr.h"
 #include "llvm/Target/TargetMachine.h"
@@ -38,6 +37,7 @@
 #include "SparcV9TargetMachine.h"
 #include "SparcV9RegInfo.h"
 #include "SparcV9CodeEmitter.h"
+#include "MachineFunctionInfo.h"
 #include "Config/alloca.h"
 
 namespace llvm {


Index: llvm/lib/Target/SparcV9/SparcV9FrameInfo.cpp
diff -u llvm/lib/Target/SparcV9/SparcV9FrameInfo.cpp:1.5 llvm/lib/Target/SparcV9/SparcV9FrameInfo.cpp:1.6
--- llvm/lib/Target/SparcV9/SparcV9FrameInfo.cpp:1.5	Thu Aug 12 13:36:53 2004
+++ llvm/lib/Target/SparcV9/SparcV9FrameInfo.cpp	Mon Aug 16 16:54:30 2004
@@ -12,8 +12,8 @@
 //===----------------------------------------------------------------------===//
 
 #include "llvm/CodeGen/MachineFunction.h"
-#include "llvm/CodeGen/MachineFunctionInfo.h"
 #include "llvm/Target/TargetFrameInfo.h"
+#include "MachineFunctionInfo.h"
 #include "SparcV9FrameInfo.h"
 
 using namespace llvm;


Index: llvm/lib/Target/SparcV9/SparcV9PrologEpilogInserter.cpp
diff -u llvm/lib/Target/SparcV9/SparcV9PrologEpilogInserter.cpp:1.45 llvm/lib/Target/SparcV9/SparcV9PrologEpilogInserter.cpp:1.46
--- llvm/lib/Target/SparcV9/SparcV9PrologEpilogInserter.cpp:1.45	Mon Aug 16 13:27:25 2004
+++ llvm/lib/Target/SparcV9/SparcV9PrologEpilogInserter.cpp	Mon Aug 16 16:54:30 2004
@@ -20,9 +20,9 @@
 #include "SparcV9RegClassInfo.h"
 #include "SparcV9RegisterInfo.h"
 #include "SparcV9FrameInfo.h"
+#include "MachineFunctionInfo.h"
+#include "MachineCodeForInstruction.h"
 #include "llvm/CodeGen/MachineFunctionPass.h"
-#include "llvm/CodeGen/MachineFunctionInfo.h"
-#include "llvm/CodeGen/MachineCodeForInstruction.h"
 #include "llvm/CodeGen/MachineInstrBuilder.h"
 #include "llvm/Pass.h"
 #include "llvm/Function.h"


Index: llvm/lib/Target/SparcV9/SparcV9RegInfo.cpp
diff -u llvm/lib/Target/SparcV9/SparcV9RegInfo.cpp:1.134 llvm/lib/Target/SparcV9/SparcV9RegInfo.cpp:1.135
--- llvm/lib/Target/SparcV9/SparcV9RegInfo.cpp:1.134	Thu Aug 12 13:29:05 2004
+++ llvm/lib/Target/SparcV9/SparcV9RegInfo.cpp	Mon Aug 16 16:54:30 2004
@@ -13,9 +13,9 @@
 //===----------------------------------------------------------------------===//
 
 #include "llvm/CodeGen/MachineFunction.h"
-#include "llvm/CodeGen/MachineFunctionInfo.h"
 #include "llvm/CodeGen/MachineInstrBuilder.h"
-#include "llvm/CodeGen/MachineCodeForInstruction.h"
+#include "MachineFunctionInfo.h"
+#include "MachineCodeForInstruction.h"
 #include "MachineInstrAnnot.h"
 #include "RegAlloc/LiveRangeInfo.h"
 #include "RegAlloc/LiveRange.h"


Index: llvm/lib/Target/SparcV9/SparcV9StackSlots.cpp
diff -u llvm/lib/Target/SparcV9/SparcV9StackSlots.cpp:1.11 llvm/lib/Target/SparcV9/SparcV9StackSlots.cpp:1.12
--- llvm/lib/Target/SparcV9/SparcV9StackSlots.cpp:1.11	Sun Apr 25 02:04:49 2004
+++ llvm/lib/Target/SparcV9/SparcV9StackSlots.cpp	Mon Aug 16 16:54:30 2004
@@ -17,10 +17,9 @@
 #include "llvm/Constant.h"
 #include "llvm/DerivedTypes.h"
 #include "llvm/Function.h"
-#include "llvm/CodeGen/MachineFunctionInfo.h"
 #include "llvm/CodeGen/MachineFunctionPass.h"
-
-namespace llvm {
+#include "MachineFunctionInfo.h"
+using namespace llvm;
 
 namespace {
   class StackSlots : public MachineFunctionPass {
@@ -47,8 +46,7 @@
   };
 }
 
-Pass *createStackSlotsPass(const TargetMachine &Target) {
+Pass *llvm::createStackSlotsPass(const TargetMachine &Target) {
   return new StackSlots(Target);
 }
 
-} // End llvm namespace


Index: llvm/lib/Target/SparcV9/SparcV9TargetMachine.cpp
diff -u llvm/lib/Target/SparcV9/SparcV9TargetMachine.cpp:1.119 llvm/lib/Target/SparcV9/SparcV9TargetMachine.cpp:1.120
--- llvm/lib/Target/SparcV9/SparcV9TargetMachine.cpp:1.119	Wed Aug  4 02:30:04 2004
+++ llvm/lib/Target/SparcV9/SparcV9TargetMachine.cpp	Mon Aug 16 16:54:30 2004
@@ -19,13 +19,13 @@
 #include "llvm/CodeGen/InstrScheduling.h"
 #include "llvm/CodeGen/IntrinsicLowering.h"
 #include "llvm/CodeGen/MachineFunction.h"
-#include "llvm/CodeGen/MachineFunctionInfo.h"
-#include "llvm/CodeGen/MachineCodeForInstruction.h"
 #include "llvm/CodeGen/Passes.h"
 #include "llvm/Target/TargetOptions.h"
 #include "llvm/Target/TargetMachineRegistry.h"
 #include "llvm/Transforms/Scalar.h"
 #include "MappingInfo.h" 
+#include "MachineFunctionInfo.h"
+#include "MachineCodeForInstruction.h"
 #include "SparcV9Internals.h"
 #include "SparcV9TargetMachine.h"
 #include "SparcV9BurgISel.h"


Index: llvm/lib/Target/SparcV9/SparcV9TmpInstr.h
diff -u llvm/lib/Target/SparcV9/SparcV9TmpInstr.h:1.1 llvm/lib/Target/SparcV9/SparcV9TmpInstr.h:1.2
--- llvm/lib/Target/SparcV9/SparcV9TmpInstr.h:1.1	Wed Aug  4 02:29:04 2004
+++ llvm/lib/Target/SparcV9/SparcV9TmpInstr.h	Mon Aug 16 16:54:30 2004
@@ -16,7 +16,7 @@
 #define SPARCV9TMPINSTR_H
 
 #include "llvm/Instruction.h"
-#include "llvm/CodeGen/MachineCodeForInstruction.h"
+#include "MachineCodeForInstruction.h"
 
 namespace llvm {
 






More information about the llvm-commits mailing list