Lines Matching refs:IDLoc
105 bool MatchAndEmitInstruction(SMLoc IDLoc, unsigned &Opcode,
136 unsigned SecondOpcode, SMLoc IDLoc, MCStreamer &Out);
139 void emitLoadLocalAddress(MCInst &Inst, SMLoc IDLoc, MCStreamer &Out);
142 void emitLoadGlobalAddress(MCInst &Inst, SMLoc IDLoc, MCStreamer &Out);
145 void emitLoadAddress(MCInst &Inst, SMLoc IDLoc, MCStreamer &Out);
149 void emitLoadTLSIEAddress(MCInst &Inst, SMLoc IDLoc, MCStreamer &Out);
153 void emitLoadTLSGDAddress(MCInst &Inst, SMLoc IDLoc, MCStreamer &Out);
156 void emitLoadStoreSymbol(MCInst &Inst, unsigned Opcode, SMLoc IDLoc,
161 SMLoc IDLoc, MCStreamer &Out);
164 void emitVMSGE(MCInst &Inst, unsigned Opcode, SMLoc IDLoc, MCStreamer &Out);
185 bool processInstruction(MCInst &Inst, SMLoc IDLoc, OperandVector &Operands,
1359 bool RISCVAsmParser::MatchAndEmitInstruction(SMLoc IDLoc, unsigned &Opcode, in MatchAndEmitInstruction() argument
1375 return processInstruction(Inst, IDLoc, Operands, Out); in MatchAndEmitInstruction()
1387 return Error(IDLoc, Msg); in MatchAndEmitInstruction()
1393 return Error(IDLoc, "unrecognized instruction mnemonic" + Suggestion); in MatchAndEmitInstruction()
1396 SMLoc ErrorLoc = IDLoc; in MatchAndEmitInstruction()
1403 ErrorLoc = IDLoc; in MatchAndEmitInstruction()
1413 SMLoc ErrorLoc = IDLoc; in MatchAndEmitInstruction()
1422 return Error(IDLoc, in MatchAndEmitInstruction()
3118 unsigned SecondOpcode, SMLoc IDLoc, in emitAuipcInstPair() argument
3142 void RISCVAsmParser::emitLoadLocalAddress(MCInst &Inst, SMLoc IDLoc, in emitLoadLocalAddress() argument
3153 RISCV::ADDI, IDLoc, Out); in emitLoadLocalAddress()
3156 void RISCVAsmParser::emitLoadGlobalAddress(MCInst &Inst, SMLoc IDLoc, in emitLoadGlobalAddress() argument
3168 SecondOpcode, IDLoc, Out); in emitLoadGlobalAddress()
3171 void RISCVAsmParser::emitLoadAddress(MCInst &Inst, SMLoc IDLoc, in emitLoadAddress() argument
3181 emitLoadGlobalAddress(Inst, IDLoc, Out); in emitLoadAddress()
3183 emitLoadLocalAddress(Inst, IDLoc, Out); in emitLoadAddress()
3186 void RISCVAsmParser::emitLoadTLSIEAddress(MCInst &Inst, SMLoc IDLoc, in emitLoadTLSIEAddress() argument
3198 SecondOpcode, IDLoc, Out); in emitLoadTLSIEAddress()
3201 void RISCVAsmParser::emitLoadTLSGDAddress(MCInst &Inst, SMLoc IDLoc, in emitLoadTLSGDAddress() argument
3212 RISCV::ADDI, IDLoc, Out); in emitLoadTLSGDAddress()
3216 SMLoc IDLoc, MCStreamer &Out, in emitLoadStoreSymbol() argument
3231 Opcode, IDLoc, Out); in emitLoadStoreSymbol()
3235 int64_t Width, SMLoc IDLoc, in emitPseudoExtend() argument
3263 void RISCVAsmParser::emitVMSGE(MCInst &Inst, unsigned Opcode, SMLoc IDLoc, in emitVMSGE() argument
3502 bool RISCVAsmParser::processInstruction(MCInst &Inst, SMLoc IDLoc, in processInstruction() argument
3505 Inst.setLoc(IDLoc); in processInstruction()
3534 emitLoadLocalAddress(Inst, IDLoc, Out); in processInstruction()
3537 emitLoadGlobalAddress(Inst, IDLoc, Out); in processInstruction()
3540 emitLoadAddress(Inst, IDLoc, Out); in processInstruction()
3543 emitLoadTLSIEAddress(Inst, IDLoc, Out); in processInstruction()
3546 emitLoadTLSGDAddress(Inst, IDLoc, Out); in processInstruction()
3549 emitLoadStoreSymbol(Inst, RISCV::LB, IDLoc, Out, /*HasTmpReg=*/false); in processInstruction()
3552 emitLoadStoreSymbol(Inst, RISCV::LBU, IDLoc, Out, /*HasTmpReg=*/false); in processInstruction()
3555 emitLoadStoreSymbol(Inst, RISCV::LH, IDLoc, Out, /*HasTmpReg=*/false); in processInstruction()
3558 emitLoadStoreSymbol(Inst, RISCV::LHU, IDLoc, Out, /*HasTmpReg=*/false); in processInstruction()
3561 emitLoadStoreSymbol(Inst, RISCV::LW, IDLoc, Out, /*HasTmpReg=*/false); in processInstruction()
3564 emitLoadStoreSymbol(Inst, RISCV::LWU, IDLoc, Out, /*HasTmpReg=*/false); in processInstruction()
3567 emitLoadStoreSymbol(Inst, RISCV::LD, IDLoc, Out, /*HasTmpReg=*/false); in processInstruction()
3570 emitLoadStoreSymbol(Inst, RISCV::FLH, IDLoc, Out, /*HasTmpReg=*/true); in processInstruction()
3573 emitLoadStoreSymbol(Inst, RISCV::FLW, IDLoc, Out, /*HasTmpReg=*/true); in processInstruction()
3576 emitLoadStoreSymbol(Inst, RISCV::FLD, IDLoc, Out, /*HasTmpReg=*/true); in processInstruction()
3579 emitLoadStoreSymbol(Inst, RISCV::SB, IDLoc, Out, /*HasTmpReg=*/true); in processInstruction()
3582 emitLoadStoreSymbol(Inst, RISCV::SH, IDLoc, Out, /*HasTmpReg=*/true); in processInstruction()
3585 emitLoadStoreSymbol(Inst, RISCV::SW, IDLoc, Out, /*HasTmpReg=*/true); in processInstruction()
3588 emitLoadStoreSymbol(Inst, RISCV::SD, IDLoc, Out, /*HasTmpReg=*/true); in processInstruction()
3591 emitLoadStoreSymbol(Inst, RISCV::FSH, IDLoc, Out, /*HasTmpReg=*/true); in processInstruction()
3594 emitLoadStoreSymbol(Inst, RISCV::FSW, IDLoc, Out, /*HasTmpReg=*/true); in processInstruction()
3597 emitLoadStoreSymbol(Inst, RISCV::FSD, IDLoc, Out, /*HasTmpReg=*/true); in processInstruction()
3608 emitPseudoExtend(Inst, /*SignExtend=*/true, /*Width=*/8, IDLoc, Out); in processInstruction()
3611 emitPseudoExtend(Inst, /*SignExtend=*/true, /*Width=*/16, IDLoc, Out); in processInstruction()
3614 emitPseudoExtend(Inst, /*SignExtend=*/false, /*Width=*/16, IDLoc, Out); in processInstruction()
3617 emitPseudoExtend(Inst, /*SignExtend=*/false, /*Width=*/32, IDLoc, Out); in processInstruction()
3622 emitVMSGE(Inst, RISCV::VMSLTU_VX, IDLoc, Out); in processInstruction()
3627 emitVMSGE(Inst, RISCV::VMSLT_VX, IDLoc, Out); in processInstruction()