llvm.org GIT mirror llvm / 30e2cc2
rename LowerToMCInst -> LowerARMMachineInstrToMCInst. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@119071 91177308-0d34-0410-b5e6-96231b3b80d8 Chris Lattner 9 years ago
3 changed file(s) with 7 addition(s) and 5 deletion(s). Raw diff Collapse all Expand all
5353
5454 extern Target TheARMTarget, TheThumbTarget;
5555
56 void LowerToMCInst(const MachineInstr *MI, MCInst &OutMI, AsmPrinter &AP);
56 void LowerARMMachineInstrToMCInst(const MachineInstr *MI, MCInst &OutMI,
57 AsmPrinter &AP);
5758
5859 } // end namespace llvm;
5960
928928 case ARM::t2BR_JT: {
929929 // Lower and emit the instruction itself, then the jump table following it.
930930 MCInst TmpInst;
931 LowerToMCInst(MI, TmpInst, *this);
931 LowerARMMachineInstrToMCInst(MI, TmpInst, *this);
932932 OutStreamer.EmitInstruction(TmpInst);
933933 EmitJump2Table(MI);
934934 return;
939939 case ARM::BR_JTadd: {
940940 // Lower and emit the instruction itself, then the jump table following it.
941941 MCInst TmpInst;
942 LowerToMCInst(MI, TmpInst, *this);
942 LowerARMMachineInstrToMCInst(MI, TmpInst, *this);
943943 OutStreamer.EmitInstruction(TmpInst);
944944 EmitJumpTable(MI);
945945 return;
12501250 }
12511251
12521252 MCInst TmpInst;
1253 LowerToMCInst(MI, TmpInst, *this);
1253 LowerARMMachineInstrToMCInst(MI, TmpInst, *this);
12541254 OutStreamer.EmitInstruction(TmpInst);
12551255 }
12561256
5353
5454 }
5555
56 void llvm::LowerToMCInst(const MachineInstr *MI, MCInst &OutMI, AsmPrinter &AP){
56 void llvm::LowerARMMachineInstrToMCInst(const MachineInstr *MI, MCInst &OutMI,
57 AsmPrinter &AP){
5758 OutMI.setOpcode(MI->getOpcode());
5859
5960 for (unsigned i = 0, e = MI->getNumOperands(); i != e; ++i) {