llvm.org GIT mirror llvm / fcdea7b
Return an X86ELFWriterInfo object. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@33574 91177308-0d34-0410-b5e6-96231b3b80d8 Bill Wendling 13 years ago
1 changed file(s) with 6 addition(s) and 1 deletion(s). Raw diff Collapse all Expand all
1717 #include "llvm/Target/TargetData.h"
1818 #include "llvm/Target/TargetFrameInfo.h"
1919 #include "X86.h"
20 #include "X86ELFWriterInfo.h"
2021 #include "X86InstrInfo.h"
2122 #include "X86JITInfo.h"
2223 #include "X86Subtarget.h"
2627
2728 class X86TargetMachine : public LLVMTargetMachine {
2829 X86Subtarget Subtarget;
29 const TargetData DataLayout; // Calculates type size & alignment
30 const TargetData DataLayout; // Calculates type size & alignment
3031 TargetFrameInfo FrameInfo;
3132 X86InstrInfo InstrInfo;
3233 X86JITInfo JITInfo;
3334 X86TargetLowering TLInfo;
35 X86ELFWriterInfo ELFWriterInfo;
3436
3537 protected:
3638 virtual const TargetAsmInfo *createTargetAsmInfo() const;
4951 return &InstrInfo.getRegisterInfo();
5052 }
5153 virtual const TargetData *getTargetData() const { return &DataLayout; }
54 virtual const X86ELFWriterInfo *getELFWriterInfo() const {
55 return &ELFWriterInfo;
56 }
5257
5358 static unsigned getModuleMatchQuality(const Module &M);
5459 static unsigned getJITMatchQuality();