[llvm-commits] [llvm] r119071 - in /llvm/trunk/lib/Target/ARM: ARM.h ARMAsmPrinter.cpp ARMMCInstLower.cpp
Chris Lattner
sabre at nondot.org
Sun Nov 14 13:00:03 PST 2010
Author: lattner
Date: Sun Nov 14 15:00:02 2010
New Revision: 119071
URL: http://llvm.org/viewvc/llvm-project?rev=119071&view=rev
Log:
rename LowerToMCInst -> LowerARMMachineInstrToMCInst.
Modified:
llvm/trunk/lib/Target/ARM/ARM.h
llvm/trunk/lib/Target/ARM/ARMAsmPrinter.cpp
llvm/trunk/lib/Target/ARM/ARMMCInstLower.cpp
Modified: llvm/trunk/lib/Target/ARM/ARM.h
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Target/ARM/ARM.h?rev=119071&r1=119070&r2=119071&view=diff
==============================================================================
--- llvm/trunk/lib/Target/ARM/ARM.h (original)
+++ llvm/trunk/lib/Target/ARM/ARM.h Sun Nov 14 15:00:02 2010
@@ -54,7 +54,8 @@
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;
Modified: llvm/trunk/lib/Target/ARM/ARMAsmPrinter.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Target/ARM/ARMAsmPrinter.cpp?rev=119071&r1=119070&r2=119071&view=diff
==============================================================================
--- llvm/trunk/lib/Target/ARM/ARMAsmPrinter.cpp (original)
+++ llvm/trunk/lib/Target/ARM/ARMAsmPrinter.cpp Sun Nov 14 15:00:02 2010
@@ -929,7 +929,7 @@
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 @@
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 @@
}
MCInst TmpInst;
- LowerToMCInst(MI, TmpInst, *this);
+ LowerARMMachineInstrToMCInst(MI, TmpInst, *this);
OutStreamer.EmitInstruction(TmpInst);
}
Modified: llvm/trunk/lib/Target/ARM/ARMMCInstLower.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Target/ARM/ARMMCInstLower.cpp?rev=119071&r1=119070&r2=119071&view=diff
==============================================================================
--- llvm/trunk/lib/Target/ARM/ARMMCInstLower.cpp (original)
+++ llvm/trunk/lib/Target/ARM/ARMMCInstLower.cpp Sun Nov 14 15:00:02 2010
@@ -54,7 +54,8 @@
}
-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) {
More information about the llvm-commits
mailing list