diff options
author | Chris Lattner <sabre@nondot.org> | 2010-07-20 22:30:53 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2010-07-20 22:30:53 +0000 |
commit | c0115b5ca16af761199f17bf496403a5c7b710ec (patch) | |
tree | fe4e9bd75629da2de9c1793ff50dc053729a7186 /lib/Target/X86/X86MCInstLower.h | |
parent | 0c13cf36adf5dc7560523c5cde7dfbbe32bdbe9e (diff) | |
download | external_llvm-c0115b5ca16af761199f17bf496403a5c7b710ec.zip external_llvm-c0115b5ca16af761199f17bf496403a5c7b710ec.tar.gz external_llvm-c0115b5ca16af761199f17bf496403a5c7b710ec.tar.bz2 |
reduce X86MCInstLower dependencies on asmprinter.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@108950 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Target/X86/X86MCInstLower.h')
-rw-r--r-- | lib/Target/X86/X86MCInstLower.h | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/lib/Target/X86/X86MCInstLower.h b/lib/Target/X86/X86MCInstLower.h index 2dd6504..8bfa4c8 100644 --- a/lib/Target/X86/X86MCInstLower.h +++ b/lib/Target/X86/X86MCInstLower.h @@ -13,6 +13,7 @@ #include "llvm/Support/Compiler.h" namespace llvm { + class MCAsmInfo; class MCContext; class MCInst; class MCOperand; @@ -22,6 +23,7 @@ namespace llvm { class MachineModuleInfoMachO; class MachineOperand; class Mangler; + class TargetMachine; class X86AsmPrinter; /// X86MCInstLower - This class is used to lower an MachineInstr into an MCInst. @@ -30,8 +32,11 @@ class LLVM_LIBRARY_VISIBILITY X86MCInstLower { Mangler *Mang; X86AsmPrinter &AsmPrinter; const MachineFunction &MF; + const TargetMachine &TM; + const MCAsmInfo &MAI; public: - X86MCInstLower(MCContext &ctx, Mangler *mang, X86AsmPrinter &asmprinter); + X86MCInstLower(MCContext &ctx, Mangler *mang, X86AsmPrinter &asmprinter, + const TargetMachine &TM); void Lower(const MachineInstr *MI, MCInst &OutMI) const; |