Rewrite mwait and monitor support and custom lower arguments.
[oota-llvm.git] / lib / Target / X86 / X86MCInstLower.h
index 0d493c4b47eb3a0ec5e211f92a26ce25207b17a2..021007239128efdee73b44b8ef5b3bc4659cf21b 100644 (file)
@@ -33,18 +33,13 @@ class LLVM_LIBRARY_VISIBILITY X86MCInstLower {
   const MachineFunction &MF;
   const TargetMachine &TM;
   const MCAsmInfo &MAI;
-
-  /// AsmPrinter - This is the asmprinter when emission is actually happening,
-  /// or null if an instruction is being lowered for some other reason.
-  X86AsmPrinter *AsmPrinter;
+  X86AsmPrinter &AsmPrinter;
 public:
   X86MCInstLower(Mangler *mang, const MachineFunction &MF,
-                 X86AsmPrinter *asmprinter);
+                 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;