X86Subtarget.h - remove unused includes. NFC.
authorSimon Pilgrim <llvm-dev@redking.me.uk>
Mon, 20 Apr 2020 11:10:25 +0000 (12:10 +0100)
committerSimon Pilgrim <llvm-dev@redking.me.uk>
Mon, 20 Apr 2020 11:10:45 +0000 (12:10 +0100)
Replace with forward declarations.

llvm/lib/Target/X86/X86Subtarget.h

index 658401c..4ab6360 100644 (file)
 #include "X86ISelLowering.h"
 #include "X86InstrInfo.h"
 #include "X86SelectionDAGInfo.h"
-#include "llvm/ADT/StringRef.h"
 #include "llvm/ADT/Triple.h"
-#include "llvm/CodeGen/GlobalISel/CallLowering.h"
-#include "llvm/CodeGen/GlobalISel/InstructionSelector.h"
-#include "llvm/CodeGen/GlobalISel/LegalizerInfo.h"
-#include "llvm/CodeGen/GlobalISel/RegisterBankInfo.h"
 #include "llvm/CodeGen/TargetSubtargetInfo.h"
 #include "llvm/IR/CallingConv.h"
-#include "llvm/Target/TargetMachine.h"
 #include <climits>
 #include <memory>
 
 
 namespace llvm {
 
+class CallLowering;
 class GlobalValue;
+class InstructionSelector;
+class LegalizerInfo;
+class RegisterBankInfo;
+class StringRef;
+class TargetMachine;
 
 /// The X86 backend supports a number of different styles of PIC.
 ///