diff options
Diffstat (limited to 'lib/Target/ARM/ARMMCInstLower.h')
-rw-r--r-- | lib/Target/ARM/ARMMCInstLower.h | 17 |
1 files changed, 5 insertions, 12 deletions
diff --git a/lib/Target/ARM/ARMMCInstLower.h b/lib/Target/ARM/ARMMCInstLower.h index c4d27f8..5645cc5 100644 --- a/lib/Target/ARM/ARMMCInstLower.h +++ b/lib/Target/ARM/ARMMCInstLower.h @@ -32,31 +32,24 @@ class LLVM_LIBRARY_VISIBILITY ARMMCInstLower { MCContext &Ctx; Mangler &Mang; AsmPrinter &Printer; - - //const ARMSubtarget &getSubtarget() const; public: ARMMCInstLower(MCContext &ctx, Mangler &mang, AsmPrinter &printer) : Ctx(ctx), Mang(mang), Printer(printer) {} void Lower(const MachineInstr *MI, MCInst &OutMI) const; - //MCSymbol *GetPICBaseSymbol() const; +private: MCSymbol *GetGlobalAddressSymbol(const GlobalValue *GV) const; const MCSymbolRefExpr *GetSymbolRef(const MachineOperand &MO) const; const MCSymbolRefExpr *GetExternalSymbolSymbol(const MachineOperand &MO) const; - MCSymbol *GetJumpTableSymbol(const MachineOperand &MO) const; - MCSymbol *GetConstantPoolIndexSymbol(const MachineOperand &MO) const; + const MCSymbolRefExpr *GetJumpTableSymbol(const MachineOperand &MO) const; + const MCSymbolRefExpr * + GetConstantPoolIndexSymbol(const MachineOperand &MO) const; MCOperand LowerSymbolRefOperand(const MachineOperand &MO, const MCSymbolRefExpr *Expr) const; - MCOperand LowerSymbolOperand(const MachineOperand &MO, MCSymbol *Sym) const; - -/* -private: - MachineModuleInfoMachO &getMachOMMI() const; - */ }; -} +} // end namespace llvm #endif |