Code clean up.
authorEvan Cheng <evan.cheng@apple.com>
Mon, 25 Jul 2011 20:18:48 +0000 (20:18 +0000)
committerEvan Cheng <evan.cheng@apple.com>
Mon, 25 Jul 2011 20:18:48 +0000 (20:18 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@135954 91177308-0d34-0410-b5e6-96231b3b80d8

lib/Target/ARM/ARM.h
lib/Target/ARM/MCTargetDesc/ARMBaseInfo.h
lib/Target/PowerPC/MCTargetDesc/PPCBaseInfo.h
lib/Target/PowerPC/PPC.h
lib/Target/X86/X86.h

index a8c0e70b5a0eecf7ee5d197e21b07146c58e5e39..5556dc5a4dd97df79dd12695bf2826a5583b597c 100644 (file)
@@ -29,13 +29,7 @@ class ARMBaseTargetMachine;
 class FunctionPass;
 class JITCodeEmitter;
 class MachineInstr;
-class MCCodeEmitter;
 class MCInst;
-class MCInstrInfo;
-class MCObjectWriter;
-class MCSubtargetInfo;
-class TargetAsmBackend;
-class formatted_raw_ostream;
 
 FunctionPass *createARMISelDag(ARMBaseTargetMachine &TM,
                                CodeGenOpt::Level OptLevel);
index 11e8fa8fdc882856cde31fe4b4f95fd84d2e4738..5fede1588b4f2bebb4c317426cba67430d1efc87 100644 (file)
@@ -20,9 +20,6 @@
 #include "ARMMCTargetDesc.h"
 #include "llvm/Support/ErrorHandling.h"
 
-// Note that the following auto-generated files only defined enum types, and
-// so are safe to include here.
-
 namespace llvm {
 
 // Enums corresponding to ARM condition codes
index 9ccbb13ea14fd869443f80d4417e270ba8824a8d..369bbdce11f597a5da49ab4ed7ec1fa7dca06e54 100644 (file)
@@ -22,7 +22,7 @@
 
 namespace llvm {
 
-/// getRegisterNumbering - Given the enum value for some register, e.g.
+/// getPPCRegisterNumbering - Given the enum value for some register, e.g.
 /// PPC::F14, return the number that it corresponds to (e.g. 14).
 inline static unsigned getPPCRegisterNumbering(unsigned RegEnum) {
   using namespace PPC;
index 0684eea352f577ac120c07bcdb27082288d8abb8..5dc1863a0b2d6150c90af429ae240d70422ae323 100644 (file)
@@ -31,12 +31,7 @@ namespace llvm {
   class MachineInstr;
   class AsmPrinter;
   class MCInst;
-  class MCCodeEmitter;
-  class MCContext;
-  class MCInstrInfo;
-  class MCSubtargetInfo;
   class TargetMachine;
-  class TargetAsmBackend;
   
   FunctionPass *createPPCBranchSelectionPass();
   FunctionPass *createPPCISelDag(PPCTargetMachine &TM);
index eb200ce3664d4c1edf035b575ac167872c1887ea..d1e193304a5b6c347adf3bc0f77e22f3a7298025 100644 (file)
@@ -25,16 +25,8 @@ namespace llvm {
 class FunctionPass;
 class JITCodeEmitter;
 class MachineCodeEmitter;
-class MCCodeEmitter;
-class MCContext;
-class MCInstrInfo;
-class MCObjectWriter;
-class MCSubtargetInfo;
 class Target;
-class TargetAsmBackend;
 class X86TargetMachine;
-class formatted_raw_ostream;
-class raw_ostream;
 
 /// createX86ISelDag - This pass converts a legalized DAG into a 
 /// X86-specific DAG, ready for instruction scheduling.