diff options
author | Chris Lattner <sabre@nondot.org> | 2010-11-14 20:58:38 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2010-11-14 20:58:38 +0000 |
commit | c5afd125574886efd40d08bf8b7f5525e6d98d38 (patch) | |
tree | cb88d7eb9f4a38690b7aee9ce2922bdd3829441e /llvm/lib/Target/ARM/ARMMCInstLower.h | |
parent | 7c4dfc28ce450be58934ec215e0cd22dd7b70262 (diff) | |
download | bcm5719-llvm-c5afd125574886efd40d08bf8b7f5525e6d98d38.tar.gz bcm5719-llvm-c5afd125574886efd40d08bf8b7f5525e6d98d38.zip |
even more simplifications. ARM MCInstLowering is now just
a single function instead of a class. It doesn't need the
complexity that X86 does.
llvm-svn: 119070
Diffstat (limited to 'llvm/lib/Target/ARM/ARMMCInstLower.h')
-rw-r--r-- | llvm/lib/Target/ARM/ARMMCInstLower.h | 43 |
1 files changed, 0 insertions, 43 deletions
diff --git a/llvm/lib/Target/ARM/ARMMCInstLower.h b/llvm/lib/Target/ARM/ARMMCInstLower.h deleted file mode 100644 index caab7e942b4..00000000000 --- a/llvm/lib/Target/ARM/ARMMCInstLower.h +++ /dev/null @@ -1,43 +0,0 @@ -//===-- ARMMCInstLower.h - Lower MachineInstr to MCInst -------------------===// -// -// The LLVM Compiler Infrastructure -// -// This file is distributed under the University of Illinois Open Source -// License. See LICENSE.TXT for details. -// -//===----------------------------------------------------------------------===// - -#ifndef ARM_MCINSTLOWER_H -#define ARM_MCINSTLOWER_H - -#include "llvm/Support/Compiler.h" - -namespace llvm { - class AsmPrinter; - class MCAsmInfo; - class MCContext; - class MCInst; - class MCOperand; - class MCSymbol; - class MachineInstr; - class MachineOperand; - class Mangler; - -/// ARMMCInstLower - This class is used to lower an MachineInstr into an MCInst. -class LLVM_LIBRARY_VISIBILITY ARMMCInstLower { - MCContext &Ctx; - Mangler &Mang; - AsmPrinter &Printer; -public: - ARMMCInstLower(MCContext &ctx, Mangler &mang, AsmPrinter &printer) - : Ctx(ctx), Mang(mang), Printer(printer) {} - - void Lower(const MachineInstr *MI, MCInst &OutMI) const; - -private: - MCOperand GetSymbolRef(const MachineOperand &MO, const MCSymbol *Sym) const; -}; - -} // end namespace llvm - -#endif |