Home
last modified time | relevance | path

Searched refs:TmpInst (Results 1 – 15 of 15) sorted by relevance

/external/llvm/lib/Target/PowerPC/AsmParser/
DPPCAsmParser.cpp646 MCInst TmpInst; in ProcessInstruction() local
647 TmpInst.setOpcode(PPC::LA); in ProcessInstruction()
648 TmpInst.addOperand(Inst.getOperand(0)); in ProcessInstruction()
649 TmpInst.addOperand(Inst.getOperand(2)); in ProcessInstruction()
650 TmpInst.addOperand(Inst.getOperand(1)); in ProcessInstruction()
651 Inst = TmpInst; in ProcessInstruction()
655 MCInst TmpInst; in ProcessInstruction() local
657 TmpInst.setOpcode(PPC::ADDI); in ProcessInstruction()
658 TmpInst.addOperand(Inst.getOperand(0)); in ProcessInstruction()
659 TmpInst.addOperand(Inst.getOperand(1)); in ProcessInstruction()
[all …]
/external/llvm/lib/Target/ARM/AsmParser/
DARMAsmParser.cpp6182 MCInst TmpInst; in processInstruction() local
6183 TmpInst.setOpcode(Opcode); in processInstruction()
6184 TmpInst.addOperand(Inst.getOperand(0)); in processInstruction()
6185 TmpInst.addOperand(Inst.getOperand(1)); in processInstruction()
6186 TmpInst.addOperand(Inst.getOperand(1)); in processInstruction()
6187 TmpInst.addOperand(MCOperand::CreateReg(0)); in processInstruction()
6188 TmpInst.addOperand(MCOperand::CreateImm(0)); in processInstruction()
6189 TmpInst.addOperand(Inst.getOperand(2)); in processInstruction()
6190 TmpInst.addOperand(Inst.getOperand(3)); in processInstruction()
6191 Inst = TmpInst; in processInstruction()
[all …]
/external/llvm/lib/Target/Mips/MCTargetDesc/
DMipsTargetStreamer.cpp549 MCInst TmpInst; in emitDirectiveCpload() local
550 TmpInst.setOpcode(Mips::LUi); in emitDirectiveCpload()
551 TmpInst.addOperand(MCOperand::CreateReg(Mips::GP)); in emitDirectiveCpload()
554 TmpInst.addOperand(MCOperand::CreateExpr(HiSym)); in emitDirectiveCpload()
555 getStreamer().EmitInstruction(TmpInst, STI); in emitDirectiveCpload()
557 TmpInst.clear(); in emitDirectiveCpload()
559 TmpInst.setOpcode(Mips::ADDiu); in emitDirectiveCpload()
560 TmpInst.addOperand(MCOperand::CreateReg(Mips::GP)); in emitDirectiveCpload()
561 TmpInst.addOperand(MCOperand::CreateReg(Mips::GP)); in emitDirectiveCpload()
564 TmpInst.addOperand(MCOperand::CreateExpr(LoSym)); in emitDirectiveCpload()
[all …]
DMipsMCCodeEmitter.cpp154 MCInst TmpInst = MI; in EncodeInstruction() local
161 LowerLargeShift(TmpInst); in EncodeInstruction()
166 LowerDextDins(TmpInst); in EncodeInstruction()
170 uint32_t Binary = getBinaryCodeForInstr(TmpInst, Fixups, STI); in EncodeInstruction()
175 unsigned Opcode = TmpInst.getOpcode(); in EncodeInstruction()
185 TmpInst.setOpcode (NewOpcode); in EncodeInstruction()
186 Binary = getBinaryCodeForInstr(TmpInst, Fixups, STI); in EncodeInstruction()
190 const MCInstrDesc &Desc = MCII.get(TmpInst.getOpcode()); in EncodeInstruction()
/external/llvm/lib/Target/ARM/
DARMAsmPrinter.cpp1287 MCInst TmpInst; in EmitInstruction() local
1288 TmpInst.setOpcode(Opc == ARM::MOVi16_ga_pcrel? ARM::MOVi16 : ARM::t2MOVi16); in EmitInstruction()
1289 TmpInst.addOperand(MCOperand::CreateReg(MI->getOperand(0).getReg())); in EmitInstruction()
1306 TmpInst.addOperand(MCOperand::CreateExpr(PCRelExpr)); in EmitInstruction()
1309 TmpInst.addOperand(MCOperand::CreateImm(ARMCC::AL)); in EmitInstruction()
1310 TmpInst.addOperand(MCOperand::CreateReg(0)); in EmitInstruction()
1312 TmpInst.addOperand(MCOperand::CreateReg(0)); in EmitInstruction()
1313 EmitToStreamer(OutStreamer, TmpInst); in EmitInstruction()
1318 MCInst TmpInst; in EmitInstruction() local
1319 TmpInst.setOpcode(Opc == ARM::MOVTi16_ga_pcrel in EmitInstruction()
[all …]
/external/llvm/lib/Target/R600/
DAMDGPUMCInstLower.cpp105 MCInst TmpInst; in EmitInstruction() local
106 MCInstLowering.lower(MI, TmpInst); in EmitInstruction()
107 EmitToStreamer(OutStreamer, TmpInst); in EmitInstruction()
117 InstPrinter.printInst(&TmpInst, DisasmStream, StringRef()); in EmitInstruction()
126 InstEmitter.EncodeInstruction(TmpInst, CodeStream, Fixups, in EmitInstruction()
/external/llvm/lib/Target/AArch64/
DAArch64AsmPrinter.cpp467 MCInst TmpInst; in EmitInstruction() local
468 TmpInst.setOpcode(AArch64::BR); in EmitInstruction()
469 TmpInst.addOperand(MCOperand::CreateReg(MI->getOperand(0).getReg())); in EmitInstruction()
470 EmitToStreamer(OutStreamer, TmpInst); in EmitInstruction()
476 MCInst TmpInst; in EmitInstruction() local
477 TmpInst.setOpcode(AArch64::B); in EmitInstruction()
478 TmpInst.addOperand(Dest); in EmitInstruction()
479 EmitToStreamer(OutStreamer, TmpInst); in EmitInstruction()
512 MCInst TmpInst; in EmitInstruction() local
513 MCInstLowering.Lower(MI, TmpInst); in EmitInstruction()
[all …]
/external/llvm/lib/Target/PowerPC/
DPPCAsmPrinter.cpp307 MCInst TmpInst; in EmitInstruction() local
337 LowerPPCMachineInstrToMCInst(MI, TmpInst, *this, Subtarget.isDarwin()); in EmitInstruction()
341 TmpInst.setOpcode(PPC::LD); in EmitInstruction()
359 TmpInst.getOperand(1) = MCOperand::CreateExpr(Exp); in EmitInstruction()
360 EmitToStreamer(OutStreamer, TmpInst); in EmitInstruction()
366 LowerPPCMachineInstrToMCInst(MI, TmpInst, *this, Subtarget.isDarwin()); in EmitInstruction()
372 TmpInst.setOpcode(PPC::ADDIS8); in EmitInstruction()
402 TmpInst.getOperand(2) = MCOperand::CreateExpr(Exp); in EmitInstruction()
403 EmitToStreamer(OutStreamer, TmpInst); in EmitInstruction()
408 LowerPPCMachineInstrToMCInst(MI, TmpInst, *this, Subtarget.isDarwin()); in EmitInstruction()
[all …]
/external/chromium_org/third_party/mesa/src/src/gallium/drivers/radeon/
DAMDGPUMCInstLower.cpp78 MCInst TmpInst; in EmitInstruction() local
79 MCInstLowering.lower(MI, TmpInst); in EmitInstruction()
80 OutStreamer.EmitInstruction(TmpInst); in EmitInstruction()
/external/mesa3d/src/gallium/drivers/radeon/
DAMDGPUMCInstLower.cpp78 MCInst TmpInst; in EmitInstruction() local
79 MCInstLowering.lower(MI, TmpInst); in EmitInstruction()
80 OutStreamer.EmitInstruction(TmpInst); in EmitInstruction()
/external/llvm/lib/Target/MSP430/
DMSP430AsmPrinter.cpp153 MCInst TmpInst; in EmitInstruction() local
154 MCInstLowering.Lower(MI, TmpInst); in EmitInstruction()
155 EmitToStreamer(OutStreamer, TmpInst); in EmitInstruction()
/external/llvm/lib/Target/XCore/
DXCoreAsmPrinter.cpp298 MCInst TmpInst; in EmitInstruction() local
299 MCInstLowering.Lower(MI, TmpInst); in EmitInstruction()
301 EmitToStreamer(OutStreamer, TmpInst); in EmitInstruction()
/external/llvm/lib/Target/Sparc/
DSparcAsmPrinter.cpp273 MCInst TmpInst; in EmitInstruction() local
274 LowerSparcMachineInstrToMCInst(I, TmpInst, *this); in EmitInstruction()
275 EmitToStreamer(OutStreamer, TmpInst); in EmitInstruction()
/external/llvm/lib/Target/X86/
DX86MCInstLower.cpp923 MCInst TmpInst; in EmitInstruction() local
924 MCInstLowering.Lower(MI, TmpInst); in EmitInstruction()
925 EmitToStreamer(OutStreamer, TmpInst); in EmitInstruction()
/external/llvm/lib/Target/X86/AsmParser/
DX86AsmParser.cpp2162 MCInst TmpInst; in convertToSExti8() local
2163 TmpInst.setOpcode(Opcode); in convertToSExti8()
2165 TmpInst.addOperand(MCOperand::CreateReg(Reg)); in convertToSExti8()
2166 TmpInst.addOperand(MCOperand::CreateReg(Reg)); in convertToSExti8()
2167 TmpInst.addOperand(Inst.getOperand(0)); in convertToSExti8()
2168 Inst = TmpInst; in convertToSExti8()