Lines Matching defs:IDLoc
108 bool matchAndEmitInstruction(SMLoc IDLoc, unsigned &Opcode,
140 unsigned SecondOpcode, SMLoc IDLoc, MCStreamer &Out);
143 void emitLoadLocalAddress(MCInst &Inst, SMLoc IDLoc, MCStreamer &Out);
146 void emitLoadGlobalAddress(MCInst &Inst, SMLoc IDLoc, MCStreamer &Out);
149 void emitLoadAddress(MCInst &Inst, SMLoc IDLoc, MCStreamer &Out);
153 void emitLoadTLSIEAddress(MCInst &Inst, SMLoc IDLoc, MCStreamer &Out);
157 void emitLoadTLSGDAddress(MCInst &Inst, SMLoc IDLoc, MCStreamer &Out);
160 void emitLoadStoreSymbol(MCInst &Inst, unsigned Opcode, SMLoc IDLoc,
165 SMLoc IDLoc, MCStreamer &Out);
168 void emitVMSGE(MCInst &Inst, unsigned Opcode, SMLoc IDLoc, MCStreamer &Out);
189 bool processInstruction(MCInst &Inst, SMLoc IDLoc, OperandVector &Operands,
1446 bool RISCVAsmParser::matchAndEmitInstruction(SMLoc IDLoc, unsigned &Opcode,
1462 return processInstruction(Inst, IDLoc, Operands, Out);
1474 return Error(IDLoc, Msg);
1480 return Error(IDLoc, "unrecognized instruction mnemonic" + Suggestion);
1483 SMLoc ErrorLoc = IDLoc;
1490 ErrorLoc = IDLoc;
1500 SMLoc ErrorLoc = IDLoc;
3378 unsigned SecondOpcode, SMLoc IDLoc,
3402 void RISCVAsmParser::emitLoadLocalAddress(MCInst &Inst, SMLoc IDLoc,
3413 RISCV::ADDI, IDLoc, Out);
3416 void RISCVAsmParser::emitLoadGlobalAddress(MCInst &Inst, SMLoc IDLoc,
3428 SecondOpcode, IDLoc, Out);
3431 void RISCVAsmParser::emitLoadAddress(MCInst &Inst, SMLoc IDLoc,
3441 emitLoadGlobalAddress(Inst, IDLoc, Out);
3443 emitLoadLocalAddress(Inst, IDLoc, Out);
3446 void RISCVAsmParser::emitLoadTLSIEAddress(MCInst &Inst, SMLoc IDLoc,
3458 SecondOpcode, IDLoc, Out);
3461 void RISCVAsmParser::emitLoadTLSGDAddress(MCInst &Inst, SMLoc IDLoc,
3472 RISCV::ADDI, IDLoc, Out);
3476 SMLoc IDLoc, MCStreamer &Out,
3491 Opcode, IDLoc, Out);
3495 int64_t Width, SMLoc IDLoc,
3523 void RISCVAsmParser::emitVMSGE(MCInst &Inst, unsigned Opcode, SMLoc IDLoc,
3535 .setLoc(IDLoc));
3540 .setLoc(IDLoc));
3553 .setLoc(IDLoc));
3558 .setLoc(IDLoc));
3574 .setLoc(IDLoc));
3579 .setLoc(IDLoc));
3593 .setLoc(IDLoc));
3598 .setLoc(IDLoc));
3603 .setLoc(IDLoc));
3608 .setLoc(IDLoc));
3770 bool RISCVAsmParser::processInstruction(MCInst &Inst, SMLoc IDLoc,
3773 Inst.setLoc(IDLoc);
3805 emitLoadLocalAddress(Inst, IDLoc, Out);
3808 emitLoadGlobalAddress(Inst, IDLoc, Out);
3811 emitLoadAddress(Inst, IDLoc, Out);
3814 emitLoadTLSIEAddress(Inst, IDLoc, Out);
3817 emitLoadTLSGDAddress(Inst, IDLoc, Out);
3820 emitLoadStoreSymbol(Inst, RISCV::LB, IDLoc, Out, /*HasTmpReg=*/false);
3823 emitLoadStoreSymbol(Inst, RISCV::LBU, IDLoc, Out, /*HasTmpReg=*/false);
3826 emitLoadStoreSymbol(Inst, RISCV::LH, IDLoc, Out, /*HasTmpReg=*/false);
3829 emitLoadStoreSymbol(Inst, RISCV::LHU, IDLoc, Out, /*HasTmpReg=*/false);
3832 emitLoadStoreSymbol(Inst, RISCV::LW, IDLoc, Out, /*HasTmpReg=*/false);
3835 emitLoadStoreSymbol(Inst, RISCV::LWU, IDLoc, Out, /*HasTmpReg=*/false);
3838 emitLoadStoreSymbol(Inst, RISCV::LD, IDLoc, Out, /*HasTmpReg=*/false);
3841 emitLoadStoreSymbol(Inst, RISCV::FLH, IDLoc, Out, /*HasTmpReg=*/true);
3844 emitLoadStoreSymbol(Inst, RISCV::FLW, IDLoc, Out, /*HasTmpReg=*/true);
3847 emitLoadStoreSymbol(Inst, RISCV::FLD, IDLoc, Out, /*HasTmpReg=*/true);
3850 emitLoadStoreSymbol(Inst, RISCV::SB, IDLoc, Out, /*HasTmpReg=*/true);
3853 emitLoadStoreSymbol(Inst, RISCV::SH, IDLoc, Out, /*HasTmpReg=*/true);
3856 emitLoadStoreSymbol(Inst, RISCV::SW, IDLoc, Out, /*HasTmpReg=*/true);
3859 emitLoadStoreSymbol(Inst, RISCV::SD, IDLoc, Out, /*HasTmpReg=*/true);
3862 emitLoadStoreSymbol(Inst, RISCV::FSH, IDLoc, Out, /*HasTmpReg=*/true);
3865 emitLoadStoreSymbol(Inst, RISCV::FSW, IDLoc, Out, /*HasTmpReg=*/true);
3868 emitLoadStoreSymbol(Inst, RISCV::FSD, IDLoc, Out, /*HasTmpReg=*/true);
3879 emitPseudoExtend(Inst, /*SignExtend=*/true, /*Width=*/8, IDLoc, Out);
3882 emitPseudoExtend(Inst, /*SignExtend=*/true, /*Width=*/16, IDLoc, Out);
3885 emitPseudoExtend(Inst, /*SignExtend=*/false, /*Width=*/16, IDLoc, Out);
3888 emitPseudoExtend(Inst, /*SignExtend=*/false, /*Width=*/32, IDLoc, Out);
3893 emitVMSGE(Inst, RISCV::VMSLTU_VX, IDLoc, Out);
3898 emitVMSGE(Inst, RISCV::VMSLT_VX, IDLoc, Out);
3912 .setLoc(IDLoc));
3931 .setLoc(IDLoc));
3942 .setLoc(IDLoc));