From f3aaadf48277acddc3f6fdc4cc8d18b13d313595 Mon Sep 17 00:00:00 2001 From: Chris Lattner Date: Sun, 3 Feb 2002 07:17:37 +0000 Subject: Remove #include 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 | 10 +++++++++- include/llvm/Target/TargetInstrInfo.h | 10 +++++++++- 2 files changed, 18 insertions(+), 2 deletions(-) (limited to 'include') 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 #include 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 #include 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. -- cgit v1.2.3