diff options
Diffstat (limited to 'llvm/lib/Target/X86/X86TargetMachine.h')
-rw-r--r-- | llvm/lib/Target/X86/X86TargetMachine.h | 14 |
1 files changed, 10 insertions, 4 deletions
diff --git a/llvm/lib/Target/X86/X86TargetMachine.h b/llvm/lib/Target/X86/X86TargetMachine.h index d756d07926d..fd6d305b7d9 100644 --- a/llvm/lib/Target/X86/X86TargetMachine.h +++ b/llvm/lib/Target/X86/X86TargetMachine.h @@ -13,10 +13,14 @@ #ifndef LLVM_LIB_TARGET_X86_X86TARGETMACHINE_H #define LLVM_LIB_TARGET_X86_X86TARGETMACHINE_H -#include "X86InstrInfo.h" + #include "X86Subtarget.h" -#include "llvm/IR/DataLayout.h" +#include "llvm/ADT/Optional.h" +#include "llvm/ADT/StringMap.h" +#include "llvm/Analysis/TargetTransformInfo.h" +#include "llvm/Support/CodeGen.h" #include "llvm/Target/TargetMachine.h" +#include <memory> namespace llvm { @@ -32,17 +36,19 @@ public: Optional<Reloc::Model> RM, CodeModel::Model CM, CodeGenOpt::Level OL); ~X86TargetMachine() override; + const X86Subtarget *getSubtargetImpl(const Function &F) const override; TargetIRAnalysis getTargetIRAnalysis() override; // Set up the pass pipeline. TargetPassConfig *createPassConfig(PassManagerBase &PM) override; + TargetLoweringObjectFile *getObjFileLowering() const override { return TLOF.get(); } }; -} // End llvm namespace +} // end namespace llvm -#endif +#endif // LLVM_LIB_TARGET_X86_X86TARGETMACHINE_H |