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