aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2002-10-28 02:29:46 +0000
committerChris Lattner <sabre@nondot.org>2002-10-28 02:29:46 +0000
commit054c1f6cb6f3a680fe4b8447880ed960fd7fe441 (patch)
treed0ef87db5a0d04a311ec0128eae9670d033a0b32
parent0be79c6c1bc4fca31599f396528511506e3a1378 (diff)
Make MachineInstr.h not #include MachineInstrInfo.h
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@4328 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r--include/llvm/CodeGen/InstrSelectionSupport.h1
-rw-r--r--include/llvm/CodeGen/MachineInstr.h10
2 files changed, 9 insertions, 2 deletions
diff --git a/include/llvm/CodeGen/InstrSelectionSupport.h b/include/llvm/CodeGen/InstrSelectionSupport.h
index b71e1c3ae3..e57c2902b5 100644
--- a/include/llvm/CodeGen/InstrSelectionSupport.h
+++ b/include/llvm/CodeGen/InstrSelectionSupport.h
@@ -10,6 +10,7 @@
#include "llvm/Instruction.h"
#include "llvm/CodeGen/MachineInstr.h"
+#include "Support/DataTypes.h"
class InstructionNode;
class TargetMachine;
diff --git a/include/llvm/CodeGen/MachineInstr.h b/include/llvm/CodeGen/MachineInstr.h
index ca9c3a3aec..db8132bce4 100644
--- a/include/llvm/CodeGen/MachineInstr.h
+++ b/include/llvm/CodeGen/MachineInstr.h
@@ -9,10 +9,16 @@
#ifndef LLVM_CODEGEN_MACHINEINSTR_H
#define LLVM_CODEGEN_MACHINEINSTR_H
-#include "llvm/Target/MachineInstrInfo.h"
#include "llvm/Annotation.h"
#include "Support/iterator"
-class Instruction;
+#include "Support/NonCopyable.h"
+#include <vector>
+class Value;
+class Function;
+
+typedef int MachineOpCode;
+typedef int OpCodeMask;
+typedef int InstrSchedClass;
//---------------------------------------------------------------------------
// class MachineOperand