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,
1389 bool RISCVAsmParser::MatchAndEmitInstruction(SMLoc IDLoc, unsigned &Opcode,
1405 return processInstruction(Inst, IDLoc, Operands, Out);
1417 return Error(IDLoc, Msg);
1423 return Error(IDLoc, "unrecognized instruction mnemonic" + Suggestion);
1426 SMLoc ErrorLoc = IDLoc;
1433 ErrorLoc = IDLoc;
1443 SMLoc ErrorLoc = IDLoc;
1452 return Error(IDLoc,
3191 unsigned SecondOpcode, SMLoc IDLoc,
3215 void RISCVAsmParser::emitLoadLocalAddress(MCInst &Inst, SMLoc IDLoc,
3226 RISCV::ADDI, IDLoc, Out);
3229 void RISCVAsmParser::emitLoadGlobalAddress(MCInst &Inst, SMLoc IDLoc,
3241 SecondOpcode, IDLoc, Out);
3244 void RISCVAsmParser::emitLoadAddress(MCInst &Inst, SMLoc IDLoc,
3254 emitLoadGlobalAddress(Inst, IDLoc, Out);
3256 emitLoadLocalAddress(Inst, IDLoc, Out);
3259 void RISCVAsmParser::emitLoadTLSIEAddress(MCInst &Inst, SMLoc IDLoc,
3271 SecondOpcode, IDLoc, Out);
3274 void RISCVAsmParser::emitLoadTLSGDAddress(MCInst &Inst, SMLoc IDLoc,
3285 RISCV::ADDI, IDLoc, Out);
3289 SMLoc IDLoc, MCStreamer &Out,
3304 Opcode, IDLoc, Out);
3308 int64_t Width, SMLoc IDLoc,
3336 void RISCVAsmParser::emitVMSGE(MCInst &Inst, unsigned Opcode, SMLoc IDLoc,
3348 .setLoc(IDLoc));
3353 .setLoc(IDLoc));
3366 .setLoc(IDLoc));
3371 .setLoc(IDLoc));
3387 .setLoc(IDLoc));
3392 .setLoc(IDLoc));
3406 .setLoc(IDLoc));
3411 .setLoc(IDLoc));
3416 .setLoc(IDLoc));
3421 .setLoc(IDLoc));
3584 bool RISCVAsmParser::processInstruction(MCInst &Inst, SMLoc IDLoc,
3587 Inst.setLoc(IDLoc);
3616 emitLoadLocalAddress(Inst, IDLoc, Out);
3619 emitLoadGlobalAddress(Inst, IDLoc, Out);
3622 emitLoadAddress(Inst, IDLoc, Out);
3625 emitLoadTLSIEAddress(Inst, IDLoc, Out);
3628 emitLoadTLSGDAddress(Inst, IDLoc, Out);
3631 emitLoadStoreSymbol(Inst, RISCV::LB, IDLoc, Out, /*HasTmpReg=*/false);
3634 emitLoadStoreSymbol(Inst, RISCV::LBU, IDLoc, Out, /*HasTmpReg=*/false);
3637 emitLoadStoreSymbol(Inst, RISCV::LH, IDLoc, Out, /*HasTmpReg=*/false);
3640 emitLoadStoreSymbol(Inst, RISCV::LHU, IDLoc, Out, /*HasTmpReg=*/false);
3643 emitLoadStoreSymbol(Inst, RISCV::LW, IDLoc, Out, /*HasTmpReg=*/false);
3646 emitLoadStoreSymbol(Inst, RISCV::LWU, IDLoc, Out, /*HasTmpReg=*/false);
3649 emitLoadStoreSymbol(Inst, RISCV::LD, IDLoc, Out, /*HasTmpReg=*/false);
3652 emitLoadStoreSymbol(Inst, RISCV::FLH, IDLoc, Out, /*HasTmpReg=*/true);
3655 emitLoadStoreSymbol(Inst, RISCV::FLW, IDLoc, Out, /*HasTmpReg=*/true);
3658 emitLoadStoreSymbol(Inst, RISCV::FLD, IDLoc, Out, /*HasTmpReg=*/true);
3661 emitLoadStoreSymbol(Inst, RISCV::SB, IDLoc, Out, /*HasTmpReg=*/true);
3664 emitLoadStoreSymbol(Inst, RISCV::SH, IDLoc, Out, /*HasTmpReg=*/true);
3667 emitLoadStoreSymbol(Inst, RISCV::SW, IDLoc, Out, /*HasTmpReg=*/true);
3670 emitLoadStoreSymbol(Inst, RISCV::SD, IDLoc, Out, /*HasTmpReg=*/true);
3673 emitLoadStoreSymbol(Inst, RISCV::FSH, IDLoc, Out, /*HasTmpReg=*/true);
3676 emitLoadStoreSymbol(Inst, RISCV::FSW, IDLoc, Out, /*HasTmpReg=*/true);
3679 emitLoadStoreSymbol(Inst, RISCV::FSD, IDLoc, Out, /*HasTmpReg=*/true);
3690 emitPseudoExtend(Inst, /*SignExtend=*/true, /*Width=*/8, IDLoc, Out);
3693 emitPseudoExtend(Inst, /*SignExtend=*/true, /*Width=*/16, IDLoc, Out);
3696 emitPseudoExtend(Inst, /*SignExtend=*/false, /*Width=*/16, IDLoc, Out);
3699 emitPseudoExtend(Inst, /*SignExtend=*/false, /*Width=*/32, IDLoc, Out);
3704 emitVMSGE(Inst, RISCV::VMSLTU_VX, IDLoc, Out);
3709 emitVMSGE(Inst, RISCV::VMSLT_VX, IDLoc, Out);
3723 .setLoc(IDLoc));
3742 .setLoc(IDLoc));
3753 .setLoc(IDLoc));