From 07000c6f01d8f57170f2d4c77a86d934bdc5c696 Mon Sep 17 00:00:00 2001 From: Owen Anderson Date: Fri, 12 May 2006 06:33:49 +0000 Subject: Refactor a bunch of includes so that TargetMachine.h doesn't have to include TargetData.h. This should make recompiles a bit faster with my current TargetData tinkering. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@28238 91177308-0d34-0410-b5e6-96231b3b80d8 --- include/llvm/Target/TargetMachine.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'include') diff --git a/include/llvm/Target/TargetMachine.h b/include/llvm/Target/TargetMachine.h index 31f5f3c913..53912faefd 100644 --- a/include/llvm/Target/TargetMachine.h +++ b/include/llvm/Target/TargetMachine.h @@ -14,12 +14,13 @@ #ifndef LLVM_TARGET_TARGETMACHINE_H #define LLVM_TARGET_TARGETMACHINE_H -#include "llvm/Target/TargetData.h" #include "llvm/Target/TargetInstrItineraries.h" #include +#include namespace llvm { +class TargetData; class TargetSubtarget; class TargetInstrInfo; class TargetInstrDescriptor; @@ -28,6 +29,7 @@ class TargetLowering; class TargetFrameInfo; class MachineCodeEmitter; class MRegisterInfo; +class Module; class FunctionPassManager; class PassManager; class Pass; -- cgit v1.2.3