diff options
author | Chris Lattner <sabre@nondot.org> | 2010-11-14 20:31:06 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2010-11-14 20:31:06 +0000 |
commit | 83a6356bad383147afd5219dfa5e9cc0f11b7dca (patch) | |
tree | e91929ed61252788c361e5e6120e8d5014d37689 /lib/Target/ARM/ARMMCInstLower.h | |
parent | 4a19c8a37372fd2b5f683d92e1cfb95f3315e1bd (diff) | |
download | external_llvm-83a6356bad383147afd5219dfa5e9cc0f11b7dca.zip external_llvm-83a6356bad383147afd5219dfa5e9cc0f11b7dca.tar.gz external_llvm-83a6356bad383147afd5219dfa5e9cc0f11b7dca.tar.bz2 |
simplify and tidy up
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@119066 91177308-0d34-0410-b5e6-96231b3b80d8
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 |