Remove #include
authorChris Lattner <sabre@nondot.org>
Sun, 3 Feb 2002 07:17:37 +0000 (07:17 +0000)
committerChris Lattner <sabre@nondot.org>
Sun, 3 Feb 2002 07:17:37 +0000 (07:17 +0000)
move typedefs here

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1639 91177308-0d34-0410-b5e6-96231b3b80d8

include/llvm/Target/MachineInstrInfo.h
include/llvm/Target/TargetInstrInfo.h

index e2489f4045052330515ed7bda24ac066ec197334..ea623760488f05dbc22b2c1aa3c070feb3f7a220 100644 (file)
@@ -7,17 +7,25 @@
 #ifndef LLVM_TARGET_MACHINEINSTRINFO_H
 #define LLVM_TARGET_MACHINEINSTRINFO_H
 
-#include "llvm/Target/TargetMachine.h"
+#include "Support/NonCopyable.h"
 #include "Support/DataTypes.h"
+#include <string>
 #include <vector>
 
 class MachineInstrDescriptor;
 class TmpInstruction;
 class MachineInstr;
+class TargetMachine;
 class Value;
 class Instruction;
+class Method;
 
+//---------------------------------------------------------------------------
+// Data types used to define information about a single machine instruction
+//---------------------------------------------------------------------------
 
+typedef int MachineOpCode;
+typedef int OpCodeMask;
 typedef int InstrSchedClass;
 
 // Global variable holding an array of descriptors for machine instructions.
index e2489f4045052330515ed7bda24ac066ec197334..ea623760488f05dbc22b2c1aa3c070feb3f7a220 100644 (file)
@@ -7,17 +7,25 @@
 #ifndef LLVM_TARGET_MACHINEINSTRINFO_H
 #define LLVM_TARGET_MACHINEINSTRINFO_H
 
-#include "llvm/Target/TargetMachine.h"
+#include "Support/NonCopyable.h"
 #include "Support/DataTypes.h"
+#include <string>
 #include <vector>
 
 class MachineInstrDescriptor;
 class TmpInstruction;
 class MachineInstr;
+class TargetMachine;
 class Value;
 class Instruction;
+class Method;
 
+//---------------------------------------------------------------------------
+// Data types used to define information about a single machine instruction
+//---------------------------------------------------------------------------
 
+typedef int MachineOpCode;
+typedef int OpCodeMask;
 typedef int InstrSchedClass;
 
 // Global variable holding an array of descriptors for machine instructions.