From 71af76aa1d8ccc4f9258c41bc5391186b4442898 Mon Sep 17 00:00:00 2001 From: Chris Lattner Date: Sun, 3 Feb 2002 07:17:37 +0000 Subject: [PATCH] Remove #include move typedefs here llvm-svn: 1639 --- include/llvm/Target/MachineInstrInfo.h | 10 +++++++++- 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 e2489f40450..ea623760488 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 e2489f40450..ea623760488 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.