diff options
author | Chris Lattner <sabre@nondot.org> | 2010-11-14 21:00:02 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2010-11-14 21:00:02 +0000 |
commit | 30e2cc254be72601b11383dda01f495741ffd56c (patch) | |
tree | 356f3ac707b364a9aed5e0c6594b03b58334e5e4 /lib | |
parent | 1612a619f18cbb328df5b2d8d268dd5e02a4a483 (diff) | |
download | external_llvm-30e2cc254be72601b11383dda01f495741ffd56c.zip external_llvm-30e2cc254be72601b11383dda01f495741ffd56c.tar.gz external_llvm-30e2cc254be72601b11383dda01f495741ffd56c.tar.bz2 |
rename LowerToMCInst -> LowerARMMachineInstrToMCInst.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@119071 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib')
-rw-r--r-- | lib/Target/ARM/ARM.h | 3 | ||||
-rw-r--r-- | lib/Target/ARM/ARMAsmPrinter.cpp | 6 | ||||
-rw-r--r-- | lib/Target/ARM/ARMMCInstLower.cpp | 3 |
3 files changed, 7 insertions, 5 deletions
diff --git a/lib/Target/ARM/ARM.h b/lib/Target/ARM/ARM.h index a21757d..f0141b8 100644 --- a/lib/Target/ARM/ARM.h +++ b/lib/Target/ARM/ARM.h @@ -54,7 +54,8 @@ FunctionPass *createThumb2SizeReductionPass(); extern Target TheARMTarget, TheThumbTarget; -void LowerToMCInst(const MachineInstr *MI, MCInst &OutMI, AsmPrinter &AP); +void LowerARMMachineInstrToMCInst(const MachineInstr *MI, MCInst &OutMI, + AsmPrinter &AP); } // end namespace llvm; diff --git a/lib/Target/ARM/ARMAsmPrinter.cpp b/lib/Target/ARM/ARMAsmPrinter.cpp index cf48d20..3a97a69 100644 --- a/lib/Target/ARM/ARMAsmPrinter.cpp +++ b/lib/Target/ARM/ARMAsmPrinter.cpp @@ -929,7 +929,7 @@ void ARMAsmPrinter::EmitInstruction(const MachineInstr *MI) { case ARM::t2BR_JT: { // Lower and emit the instruction itself, then the jump table following it. MCInst TmpInst; - LowerToMCInst(MI, TmpInst, *this); + LowerARMMachineInstrToMCInst(MI, TmpInst, *this); OutStreamer.EmitInstruction(TmpInst); EmitJump2Table(MI); return; @@ -940,7 +940,7 @@ void ARMAsmPrinter::EmitInstruction(const MachineInstr *MI) { case ARM::BR_JTadd: { // Lower and emit the instruction itself, then the jump table following it. MCInst TmpInst; - LowerToMCInst(MI, TmpInst, *this); + LowerARMMachineInstrToMCInst(MI, TmpInst, *this); OutStreamer.EmitInstruction(TmpInst); EmitJumpTable(MI); return; @@ -1251,7 +1251,7 @@ void ARMAsmPrinter::EmitInstruction(const MachineInstr *MI) { } MCInst TmpInst; - LowerToMCInst(MI, TmpInst, *this); + LowerARMMachineInstrToMCInst(MI, TmpInst, *this); OutStreamer.EmitInstruction(TmpInst); } diff --git a/lib/Target/ARM/ARMMCInstLower.cpp b/lib/Target/ARM/ARMMCInstLower.cpp index 6e7fa47..a438957 100644 --- a/lib/Target/ARM/ARMMCInstLower.cpp +++ b/lib/Target/ARM/ARMMCInstLower.cpp @@ -54,7 +54,8 @@ static MCOperand GetSymbolRef(const MachineOperand &MO, const MCSymbol *Symbol, } -void llvm::LowerToMCInst(const MachineInstr *MI, MCInst &OutMI, AsmPrinter &AP){ +void llvm::LowerARMMachineInstrToMCInst(const MachineInstr *MI, MCInst &OutMI, + AsmPrinter &AP){ OutMI.setOpcode(MI->getOpcode()); for (unsigned i = 0, e = MI->getNumOperands(); i != e; ++i) { |