diff options
author | Evan Cheng <evan.cheng@apple.com> | 2011-07-25 19:33:48 +0000 |
---|---|---|
committer | Evan Cheng <evan.cheng@apple.com> | 2011-07-25 19:33:48 +0000 |
commit | a87e40f16f1c3117412e01107807e490d6fb29bc (patch) | |
tree | 0fac4d964372f40d986d11589ae92c839388755c /lib/Target/X86/MCTargetDesc/X86MCTargetDesc.h | |
parent | f55c1c85881afd65647bde5346f64d9685235c7c (diff) | |
download | external_llvm-a87e40f16f1c3117412e01107807e490d6fb29bc.zip external_llvm-a87e40f16f1c3117412e01107807e490d6fb29bc.tar.gz external_llvm-a87e40f16f1c3117412e01107807e490d6fb29bc.tar.bz2 |
More refactoring.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@135939 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Target/X86/MCTargetDesc/X86MCTargetDesc.h')
-rw-r--r-- | lib/Target/X86/MCTargetDesc/X86MCTargetDesc.h | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/lib/Target/X86/MCTargetDesc/X86MCTargetDesc.h b/lib/Target/X86/MCTargetDesc/X86MCTargetDesc.h index 29b9cd9..dd893be 100644 --- a/lib/Target/X86/MCTargetDesc/X86MCTargetDesc.h +++ b/lib/Target/X86/MCTargetDesc/X86MCTargetDesc.h @@ -20,10 +20,13 @@ namespace llvm { class MCCodeEmitter; class MCContext; class MCInstrInfo; +class MCObjectWriter; class MCRegisterInfo; class MCSubtargetInfo; class Target; +class TargetAsmBackend; class StringRef; +class raw_ostream; extern Target TheX86_32Target, TheX86_64Target; @@ -70,6 +73,14 @@ MCCodeEmitter *createX86MCCodeEmitter(const MCInstrInfo &MCII, const MCSubtargetInfo &STI, MCContext &Ctx); +TargetAsmBackend *createX86_32AsmBackend(const Target &, const std::string &); +TargetAsmBackend *createX86_64AsmBackend(const Target &, const std::string &); + +/// createX86MachObjectWriter - Construct an X86 Mach-O object writer. +MCObjectWriter *createX86MachObjectWriter(raw_ostream &OS, + bool Is64Bit, + uint32_t CPUType, + uint32_t CPUSubtype); } // End llvm namespace |