Lines Matching refs:SMLoc
66 SMLoc getLoc() const { return getParser().getTok().getLoc(); } in getLoc()
81 bool MatchAndEmitInstruction(SMLoc IDLoc, unsigned &Opcode,
86 bool ParseRegister(unsigned &RegNo, SMLoc &StartLoc, SMLoc &EndLoc) override;
87 OperandMatchResultTy tryParseRegister(unsigned &RegNo, SMLoc &StartLoc,
88 SMLoc &EndLoc) override;
91 SMLoc NameLoc, OperandVector &Operands) override;
107 unsigned SecondOpcode, SMLoc IDLoc, MCStreamer &Out);
110 void emitLoadLocalAddress(MCInst &Inst, SMLoc IDLoc, MCStreamer &Out);
113 void emitLoadAddress(MCInst &Inst, SMLoc IDLoc, MCStreamer &Out);
117 void emitLoadTLSIEAddress(MCInst &Inst, SMLoc IDLoc, MCStreamer &Out);
121 void emitLoadTLSGDAddress(MCInst &Inst, SMLoc IDLoc, MCStreamer &Out);
124 void emitLoadStoreSymbol(MCInst &Inst, unsigned Opcode, SMLoc IDLoc,
129 SMLoc IDLoc, MCStreamer &Out);
132 void emitVMSGE(MCInst &Inst, unsigned Opcode, SMLoc IDLoc, MCStreamer &Out);
147 bool processInstruction(MCInst &Inst, SMLoc IDLoc, OperandVector &Operands,
289 SMLoc StartLoc, EndLoc;
700 SMLoc getStartLoc() const override { return StartLoc; } in getStartLoc()
702 SMLoc getEndLoc() const override { return EndLoc; } in getEndLoc()
760 static std::unique_ptr<RISCVOperand> createToken(StringRef Str, SMLoc S, in createToken()
770 static std::unique_ptr<RISCVOperand> createReg(unsigned RegNo, SMLoc S, in createReg()
771 SMLoc E, bool IsRV64) { in createReg()
780 static std::unique_ptr<RISCVOperand> createImm(const MCExpr *Val, SMLoc S, in createImm()
781 SMLoc E, bool IsRV64) { in createImm()
791 createSysReg(StringRef Str, SMLoc S, unsigned Encoding, bool IsRV64) { in createSysReg()
801 static std::unique_ptr<RISCVOperand> createVType(unsigned VTypeI, SMLoc S, in createVType()
959 SMLoc ErrorLoc = ((RISCVOperand &)*Operands[ErrorInfo]).getStartLoc(); in generateImmOutOfRangeError()
967 bool RISCVAsmParser::MatchAndEmitInstruction(SMLoc IDLoc, unsigned &Opcode, in MatchAndEmitInstruction()
1004 SMLoc ErrorLoc = IDLoc; in MatchAndEmitInstruction()
1010 if (ErrorLoc == SMLoc()) in MatchAndEmitInstruction()
1021 SMLoc ErrorLoc = IDLoc; in MatchAndEmitInstruction()
1031 SMLoc ErrorLoc = ((RISCVOperand &)*Operands[ErrorInfo]).getStartLoc(); in MatchAndEmitInstruction()
1038 SMLoc ErrorLoc = ((RISCVOperand &)*Operands[ErrorInfo]).getStartLoc(); in MatchAndEmitInstruction()
1131 SMLoc ErrorLoc = ((RISCVOperand &)*Operands[ErrorInfo]).getStartLoc(); in MatchAndEmitInstruction()
1137 SMLoc ErrorLoc = ((RISCVOperand &)*Operands[ErrorInfo]).getStartLoc(); in MatchAndEmitInstruction()
1143 SMLoc ErrorLoc = ((RISCVOperand &)*Operands[ErrorInfo]).getStartLoc(); in MatchAndEmitInstruction()
1147 SMLoc ErrorLoc = ((RISCVOperand &)*Operands[ErrorInfo]).getStartLoc(); in MatchAndEmitInstruction()
1151 SMLoc ErrorLoc = ((RISCVOperand &)*Operands[ErrorInfo]).getStartLoc(); in MatchAndEmitInstruction()
1155 SMLoc ErrorLoc = ((RISCVOperand &)*Operands[ErrorInfo]).getStartLoc(); in MatchAndEmitInstruction()
1159 SMLoc ErrorLoc = ((RISCVOperand &)*Operands[ErrorInfo]).getStartLoc(); in MatchAndEmitInstruction()
1166 SMLoc ErrorLoc = ((RISCVOperand &)*Operands[ErrorInfo]).getStartLoc(); in MatchAndEmitInstruction()
1200 bool RISCVAsmParser::ParseRegister(unsigned &RegNo, SMLoc &StartLoc, in ParseRegister()
1201 SMLoc &EndLoc) { in ParseRegister()
1208 SMLoc &StartLoc, in tryParseRegister()
1209 SMLoc &EndLoc) { in tryParseRegister()
1225 SMLoc FirstS = getLoc(); in parseRegister()
1258 SMLoc S = getLoc(); in parseRegister()
1259 SMLoc E = SMLoc::getFromPointer(S.getPointer() - 1); in parseRegister()
1274 SMLoc S = getLoc(); in parseCSRSystemRegister()
1348 SMLoc S = getLoc(); in parseImmediate()
1349 SMLoc E = SMLoc::getFromPointer(S.getPointer() - 1); in parseImmediate()
1377 SMLoc S = getLoc(); in parseOperandWithModifier()
1378 SMLoc E = SMLoc::getFromPointer(S.getPointer() - 1); in parseOperandWithModifier()
1416 SMLoc S = getLoc(); in parseBareSymbol()
1417 SMLoc E = SMLoc::getFromPointer(S.getPointer() - 1); in parseBareSymbol()
1468 SMLoc S = getLoc(); in parseCallSymbol()
1469 SMLoc E = SMLoc::getFromPointer(S.getPointer() - 1); in parseCallSymbol()
1496 SMLoc S = getLoc(); in parsePseudoJumpSymbol()
1497 SMLoc E = SMLoc::getFromPointer(S.getPointer() - 1); in parsePseudoJumpSymbol()
1533 SMLoc S = getLoc(); in parseVTypeI()
1629 SMLoc S = getLoc(); in parseMaskReg()
1630 SMLoc E = SMLoc::getFromPointer(S.getPointer() - 1); in parseMaskReg()
1690 SMLoc ImmStart = getLoc(); in parseAtomicMemOp()
1697 SMLoc ImmEnd = getLoc(); in parseAtomicMemOp()
1762 StringRef Name, SMLoc NameLoc, in ParseInstruction()
1804 SMLoc Loc = getLexer().getLoc(); in ParseInstruction()
1868 SMLoc StartLoc = Parser.getTok().getLoc(); in parseDirectiveOption()
1968 SMLoc TagLoc; in parseDirectiveAttribute()
2006 SMLoc ValueExprLoc = Parser.getTok().getLoc(); in parseDirectiveAttribute()
2240 unsigned SecondOpcode, SMLoc IDLoc, in emitAuipcInstPair()
2264 void RISCVAsmParser::emitLoadLocalAddress(MCInst &Inst, SMLoc IDLoc, in emitLoadLocalAddress()
2278 void RISCVAsmParser::emitLoadAddress(MCInst &Inst, SMLoc IDLoc, in emitLoadAddress()
2303 void RISCVAsmParser::emitLoadTLSIEAddress(MCInst &Inst, SMLoc IDLoc, in emitLoadTLSIEAddress()
2318 void RISCVAsmParser::emitLoadTLSGDAddress(MCInst &Inst, SMLoc IDLoc, in emitLoadTLSGDAddress()
2333 SMLoc IDLoc, MCStreamer &Out, in emitLoadStoreSymbol()
2352 int64_t Width, SMLoc IDLoc, in emitPseudoExtend()
2380 void RISCVAsmParser::emitVMSGE(MCInst &Inst, unsigned Opcode, SMLoc IDLoc, in emitVMSGE()
2464 SMLoc ErrorLoc = ((RISCVOperand &)*Operands[3]).getStartLoc(); in checkPseudoAddTPRel()
2473 return RISCVOperand::createReg(RISCV::NoRegister, llvm::SMLoc(), in defaultMaskRegOp()
2474 llvm::SMLoc(), isRV64()); in defaultMaskRegOp()
2484 SMLoc Loc = Operands.back()->getStartLoc(); in validateInstruction()
2498 SMLoc Loc = Operands[1]->getStartLoc(); in validateInstruction()
2537 bool RISCVAsmParser::processInstruction(MCInst &Inst, SMLoc IDLoc, in processInstruction()