summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Target/ARM/ARMMCInstLower.h
diff options
context:
space:
mode:
authorJim Grosbach <grosbach@apple.com>2010-09-17 18:25:25 +0000
committerJim Grosbach <grosbach@apple.com>2010-09-17 18:25:25 +0000
commit0d35df1cfe3ed138f741e9740914eb87c10406ed (patch)
tree48039d912dd80b9265072d5c649053bcbc2ae880 /llvm/lib/Target/ARM/ARMMCInstLower.h
parentcea0a8d7ae8883eb4397086780934f7f81212d41 (diff)
downloadbcm5719-llvm-0d35df1cfe3ed138f741e9740914eb87c10406ed.tar.gz
bcm5719-llvm-0d35df1cfe3ed138f741e9740914eb87c10406ed.zip
handle the upper16/lower16 target operand flags on symbol references for MC
instruction lowering. llvm-svn: 114191
Diffstat (limited to 'llvm/lib/Target/ARM/ARMMCInstLower.h')
-rw-r--r--llvm/lib/Target/ARM/ARMMCInstLower.h7
1 files changed, 6 insertions, 1 deletions
diff --git a/llvm/lib/Target/ARM/ARMMCInstLower.h b/llvm/lib/Target/ARM/ARMMCInstLower.h
index f6a8129e142..79ed2e9c484 100644
--- a/llvm/lib/Target/ARM/ARMMCInstLower.h
+++ b/llvm/lib/Target/ARM/ARMMCInstLower.h
@@ -14,11 +14,13 @@
namespace llvm {
class AsmPrinter;
+ class GlobalValue;
class MCAsmInfo;
class MCContext;
class MCInst;
class MCOperand;
class MCSymbol;
+ class MCSymbolRefExpr;
class MachineInstr;
class MachineModuleInfoMachO;
class MachineOperand;
@@ -39,10 +41,13 @@ public:
void Lower(const MachineInstr *MI, MCInst &OutMI) const;
//MCSymbol *GetPICBaseSymbol() const;
- MCSymbol *GetGlobalAddressSymbol(const MachineOperand &MO) const;
+ MCSymbol *GetGlobalAddressSymbol(const GlobalValue *GV) const;
+ const MCSymbolRefExpr *GetSymbolRef(const MachineOperand &MO) const;
MCSymbol *GetExternalSymbolSymbol(const MachineOperand &MO) const;
MCSymbol *GetJumpTableSymbol(const MachineOperand &MO) const;
MCSymbol *GetConstantPoolIndexSymbol(const MachineOperand &MO) const;
+ MCOperand LowerSymbolRefOperand(const MachineOperand &MO,
+ const MCSymbolRefExpr *Expr) const;
MCOperand LowerSymbolOperand(const MachineOperand &MO, MCSymbol *Sym) const;
/*
OpenPOWER on IntegriCloud