X-Git-Url: http://demsky.eecs.uci.edu/git/?a=blobdiff_plain;f=lib%2FTarget%2FX86%2FX86MCInstLower.h;h=b4d4cfd301a517b5a441775fc9bca7455178b685;hb=b024b7014ad13d076cfc3eb2d63c49681ad1bdd0;hp=a1b826d03db0096f8ce39d989911750238f27893;hpb=cb63ecba312194f7f9b53703ded8f0102141a02d;p=oota-llvm.git diff --git a/lib/Target/X86/X86MCInstLower.h b/lib/Target/X86/X86MCInstLower.h index a1b826d03db..b4d4cfd301a 100644 --- a/lib/Target/X86/X86MCInstLower.h +++ b/lib/Target/X86/X86MCInstLower.h @@ -1,4 +1,4 @@ -//===-- X86MCInstLower.h - Lower MachineInstr to MCInst -------------------===// +//===-- X86MCInstLower.h - Lower MachineInstr to MCInst ---------*- C++ -*-===// // // The LLVM Compiler Infrastructure // @@ -25,7 +25,7 @@ namespace llvm { class Mangler; class TargetMachine; class X86AsmPrinter; - + /// X86MCInstLower - This class is used to lower an MachineInstr into an MCInst. class LLVM_LIBRARY_VISIBILITY X86MCInstLower { MCContext &Ctx; @@ -33,19 +33,16 @@ class LLVM_LIBRARY_VISIBILITY X86MCInstLower { const MachineFunction &MF; const TargetMachine &TM; const MCAsmInfo &MAI; - X86AsmPrinter &AsmPrinter; public: - X86MCInstLower(MCContext &ctx, Mangler *mang, const MachineFunction &MF, + X86MCInstLower(Mangler *mang, const MachineFunction &MF, X86AsmPrinter &asmprinter); - + void Lower(const MachineInstr *MI, MCInst &OutMI) const; - MCSymbol *GetPICBaseSymbol() const; - MCSymbol *GetSymbolFromOperand(const MachineOperand &MO) const; MCOperand LowerSymbolOperand(const MachineOperand &MO, MCSymbol *Sym) const; - + private: MachineModuleInfoMachO &getMachOMMI() const; };