diff options
author | Chris Lattner <sabre@nondot.org> | 2002-02-03 07:17:37 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2002-02-03 07:17:37 +0000 |
commit | f3aaadf48277acddc3f6fdc4cc8d18b13d313595 (patch) | |
tree | 5c0d121a86c7acc76ae3efd40b4cde7e92b21dd6 /include | |
parent | 9aab9ec321e2774bb4daab6355d89ab1aef0556a (diff) | |
download | llvm-f3aaadf48277acddc3f6fdc4cc8d18b13d313595.tar.gz llvm-f3aaadf48277acddc3f6fdc4cc8d18b13d313595.tar.bz2 llvm-f3aaadf48277acddc3f6fdc4cc8d18b13d313595.tar.xz |
Remove #include
move typedefs here
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1639 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include')
-rw-r--r-- | include/llvm/Target/MachineInstrInfo.h | 10 | ||||
-rw-r--r-- | include/llvm/Target/TargetInstrInfo.h | 10 |
2 files changed, 18 insertions, 2 deletions
diff --git a/include/llvm/Target/MachineInstrInfo.h b/include/llvm/Target/MachineInstrInfo.h index e2489f4045..ea62376048 100644 --- a/include/llvm/Target/MachineInstrInfo.h +++ b/include/llvm/Target/MachineInstrInfo.h @@ -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. diff --git a/include/llvm/Target/TargetInstrInfo.h b/include/llvm/Target/TargetInstrInfo.h index e2489f4045..ea62376048 100644 --- a/include/llvm/Target/TargetInstrInfo.h +++ b/include/llvm/Target/TargetInstrInfo.h @@ -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. |