Home
last modified time | relevance | path

Searched refs:MCInstBuilder (Results 1 – 7 of 7) sorted by relevance

/external/llvm/include/llvm/MC/
DMCInstBuilder.h22 class MCInstBuilder {
27 MCInstBuilder(unsigned Opcode) { in MCInstBuilder() function
32 MCInstBuilder &addReg(unsigned Reg) { in addReg()
38 MCInstBuilder &addImm(int64_t Val) { in addImm()
44 MCInstBuilder &addFPImm(double Val) { in addFPImm()
50 MCInstBuilder &addExpr(const MCExpr *Val) { in addExpr()
56 MCInstBuilder &addInst(const MCInst *Val) { in addInst()
/external/llvm/lib/Target/SystemZ/
DSystemZAsmPrinter.cpp33 return MCInstBuilder(Opcode) in lowerRILow()
37 return MCInstBuilder(Opcode) in lowerRILow()
47 return MCInstBuilder(Opcode) in lowerRIHigh()
51 return MCInstBuilder(Opcode) in lowerRIHigh()
60 return MCInstBuilder(Opcode) in lowerRIEfLow()
88 LoweredMI = MCInstBuilder(SystemZ::BR).addReg(SystemZ::R14D); in EmitInstruction()
92 LoweredMI = MCInstBuilder(SystemZ::BRASL) in EmitInstruction()
98 LoweredMI = MCInstBuilder(SystemZ::BASR) in EmitInstruction()
104 LoweredMI = MCInstBuilder(SystemZ::JG) in EmitInstruction()
109 LoweredMI = MCInstBuilder(SystemZ::BR).addReg(SystemZ::R1D); in EmitInstruction()
[all …]
/external/llvm/lib/Target/X86/AsmParser/
DX86AsmInstrumentation.cpp199 EmitInstruction(Out, MCInstBuilder(X86::REP_PREFIX)); in InstrumentAndEmitInstruction()
520 EmitInstruction(Out, MCInstBuilder(X86::PUSH32r).addReg(Reg)); in SpillReg()
525 EmitInstruction(Out, MCInstBuilder(X86::POP32r).addReg(Reg)); in RestoreReg()
530 EmitInstruction(Out, MCInstBuilder(X86::PUSHF32)); in StoreFlags()
535 EmitInstruction(Out, MCInstBuilder(X86::POPF32)); in RestoreFlags()
556 MCInstBuilder(X86::MOV32rr).addReg(LocalFrameReg).addReg(FrameReg)); in InstrumentMemOperandPrologue()
606 EmitInstruction(Out, MCInstBuilder(X86::CLD)); in EmitCallAsanReport()
607 EmitInstruction(Out, MCInstBuilder(X86::MMX_EMMS)); in EmitCallAsanReport()
609 EmitInstruction(Out, MCInstBuilder(X86::AND64ri8) in EmitCallAsanReport()
614 Out, MCInstBuilder(X86::PUSH32r).addReg(RegCtx.AddressReg(MVT::i32))); in EmitCallAsanReport()
[all …]
/external/llvm/lib/Target/PowerPC/
DPPCAsmPrinter.cpp356 EmitToStreamer(OutStreamer, MCInstBuilder(PPC::NOP)); in LowerSTACKMAP()
374 EmitToStreamer(OutStreamer, MCInstBuilder(PPC::LI8) in LowerPATCHPOINT()
377 EmitToStreamer(OutStreamer, MCInstBuilder(PPC::RLDIC) in LowerPATCHPOINT()
381 EmitToStreamer(OutStreamer, MCInstBuilder(PPC::ORIS8) in LowerPATCHPOINT()
385 EmitToStreamer(OutStreamer, MCInstBuilder(PPC::ORI8) in LowerPATCHPOINT()
390 EmitToStreamer(OutStreamer, MCInstBuilder(PPC::MTCTR8).addReg(ScratchReg)); in LowerPATCHPOINT()
391 EmitToStreamer(OutStreamer, MCInstBuilder(PPC::BCTRL8)); in LowerPATCHPOINT()
401 EmitToStreamer(OutStreamer, MCInstBuilder(PPC::NOP)); in LowerPATCHPOINT()
431 MCInstBuilder(Subtarget->isPPC64() ? in EmitTlsCall()
474 EmitToStreamer(OutStreamer, MCInstBuilder(PPC::BL).addExpr(OffsExpr)); in EmitInstruction()
[all …]
/external/llvm/lib/Target/ARM/
DARMAsmPrinter.cpp134 EmitToStreamer(OutStreamer, MCInstBuilder(ARM::tBX) in runOnMachineFunction()
1012 EmitToStreamer(OutStreamer, MCInstBuilder(ARM::t2B) in EmitJump2Table()
1217 EmitToStreamer(OutStreamer, MCInstBuilder(MI->getOpcode() == in EmitInstruction()
1234 EmitToStreamer(OutStreamer, MCInstBuilder(MI->getOpcode() == in EmitInstruction()
1248 EmitToStreamer(OutStreamer, MCInstBuilder(ARM::MOVr) in EmitInstruction()
1257 EmitToStreamer(OutStreamer, MCInstBuilder(ARM::BX) in EmitInstruction()
1286 EmitToStreamer(OutStreamer, MCInstBuilder(ARM::tBL) in EmitInstruction()
1293 EmitToStreamer(OutStreamer, MCInstBuilder(ARM::MOVr) in EmitInstruction()
1302 EmitToStreamer(OutStreamer, MCInstBuilder(ARM::MOVr) in EmitInstruction()
1313 EmitToStreamer(OutStreamer, MCInstBuilder(ARM::MOVr) in EmitInstruction()
[all …]
/external/llvm/lib/Target/X86/
DX86MCInstLower.cpp689 EmitAndCountInstruction(MCInstBuilder(X86::DATA16_PREFIX)); in LowerTlsAddr()
739 EmitAndCountInstruction(MCInstBuilder(X86::DATA16_PREFIX)); in LowerTlsAddr()
740 EmitAndCountInstruction(MCInstBuilder(X86::DATA16_PREFIX)); in LowerTlsAddr()
741 EmitAndCountInstruction(MCInstBuilder(X86::REX64_PREFIX)); in LowerTlsAddr()
751 EmitAndCountInstruction(MCInstBuilder(is64Bits ? X86::CALL64pcrel32 in LowerTlsAddr()
792 OS.EmitInstruction(MCInstBuilder(Opc), STI); in EmitNops()
795 OS.EmitInstruction(MCInstBuilder(Opc).addReg(X86::AX), STI); in EmitNops()
799 OS.EmitInstruction(MCInstBuilder(Opc).addReg(BaseReg) in EmitNops()
889 EmitAndCountInstruction(MCInstBuilder(X86::MOV64ri).addReg(ScratchReg) in LowerPATCHPOINT()
891 EmitAndCountInstruction(MCInstBuilder(X86::CALL64r).addReg(ScratchReg)); in LowerPATCHPOINT()
[all …]
/external/llvm/lib/Target/AArch64/
DAArch64AsmPrinter.cpp388 EmitToStreamer(OutStreamer, MCInstBuilder(AArch64::HINT).addImm(0)); in LowerSTACKMAP()
407 EmitToStreamer(OutStreamer, MCInstBuilder(AArch64::MOVZWi) in LowerPATCHPOINT()
411 EmitToStreamer(OutStreamer, MCInstBuilder(AArch64::MOVKWi) in LowerPATCHPOINT()
416 EmitToStreamer(OutStreamer, MCInstBuilder(AArch64::MOVKWi) in LowerPATCHPOINT()
421 EmitToStreamer(OutStreamer, MCInstBuilder(AArch64::BLR).addReg(ScratchReg)); in LowerPATCHPOINT()
430 EmitToStreamer(OutStreamer, MCInstBuilder(AArch64::HINT).addImm(0)); in LowerPATCHPOINT()