Lines Matching refs:SMLoc

72   SMLoc getLoc() const { return getParser().getTok().getLoc(); }  in getLoc()
87 bool MatchAndEmitInstruction(SMLoc IDLoc, unsigned &Opcode,
92 bool ParseRegister(unsigned &RegNo, SMLoc &StartLoc, SMLoc &EndLoc) override;
93 OperandMatchResultTy tryParseRegister(unsigned &RegNo, SMLoc &StartLoc,
94 SMLoc &EndLoc) override;
97 SMLoc NameLoc, OperandVector &Operands) override;
113 unsigned SecondOpcode, SMLoc IDLoc, MCStreamer &Out);
116 void emitLoadLocalAddress(MCInst &Inst, SMLoc IDLoc, MCStreamer &Out);
119 void emitLoadAddress(MCInst &Inst, SMLoc IDLoc, MCStreamer &Out);
123 void emitLoadTLSIEAddress(MCInst &Inst, SMLoc IDLoc, MCStreamer &Out);
127 void emitLoadTLSGDAddress(MCInst &Inst, SMLoc IDLoc, MCStreamer &Out);
130 void emitLoadStoreSymbol(MCInst &Inst, unsigned Opcode, SMLoc IDLoc,
135 SMLoc IDLoc, MCStreamer &Out);
138 void emitVMSGE(MCInst &Inst, unsigned Opcode, SMLoc IDLoc, MCStreamer &Out);
153 bool processInstruction(MCInst &Inst, SMLoc IDLoc, OperandVector &Operands,
180 bool parseDirectiveInsn(SMLoc L);
305 SMLoc StartLoc, EndLoc;
776 SMLoc getStartLoc() const override { return StartLoc; } in getStartLoc()
778 SMLoc getEndLoc() const override { return EndLoc; } in getEndLoc()
836 static std::unique_ptr<RISCVOperand> createToken(StringRef Str, SMLoc S, in createToken()
846 static std::unique_ptr<RISCVOperand> createReg(unsigned RegNo, SMLoc S, in createReg()
847 SMLoc E, bool IsRV64, in createReg()
858 static std::unique_ptr<RISCVOperand> createImm(const MCExpr *Val, SMLoc S, in createImm()
859 SMLoc E, bool IsRV64) { in createImm()
869 createSysReg(StringRef Str, SMLoc S, unsigned Encoding, bool IsRV64) { in createSysReg()
880 static std::unique_ptr<RISCVOperand> createVType(unsigned VTypeI, SMLoc S, in createVType()
1062 SMLoc ErrorLoc = ((RISCVOperand &)*Operands[ErrorInfo]).getStartLoc(); in generateImmOutOfRangeError()
1066 bool RISCVAsmParser::MatchAndEmitInstruction(SMLoc IDLoc, unsigned &Opcode, in MatchAndEmitInstruction()
1103 SMLoc ErrorLoc = IDLoc; in MatchAndEmitInstruction()
1109 if (ErrorLoc == SMLoc()) in MatchAndEmitInstruction()
1120 SMLoc ErrorLoc = IDLoc; in MatchAndEmitInstruction()
1130 SMLoc ErrorLoc = ((RISCVOperand &)*Operands[ErrorInfo]).getStartLoc(); in MatchAndEmitInstruction()
1137 SMLoc ErrorLoc = ((RISCVOperand &)*Operands[ErrorInfo]).getStartLoc(); in MatchAndEmitInstruction()
1240 SMLoc ErrorLoc = ((RISCVOperand &)*Operands[ErrorInfo]).getStartLoc(); in MatchAndEmitInstruction()
1245 SMLoc ErrorLoc = ((RISCVOperand &)*Operands[ErrorInfo]).getStartLoc(); in MatchAndEmitInstruction()
1251 SMLoc ErrorLoc = ((RISCVOperand &)*Operands[ErrorInfo]).getStartLoc(); in MatchAndEmitInstruction()
1255 SMLoc ErrorLoc = ((RISCVOperand &)*Operands[ErrorInfo]).getStartLoc(); in MatchAndEmitInstruction()
1259 SMLoc ErrorLoc = ((RISCVOperand &)*Operands[ErrorInfo]).getStartLoc(); in MatchAndEmitInstruction()
1263 SMLoc ErrorLoc = ((RISCVOperand &)*Operands[ErrorInfo]).getStartLoc(); in MatchAndEmitInstruction()
1267 SMLoc ErrorLoc = ((RISCVOperand &)*Operands[ErrorInfo]).getStartLoc(); in MatchAndEmitInstruction()
1274 SMLoc ErrorLoc = ((RISCVOperand &)*Operands[ErrorInfo]).getStartLoc(); in MatchAndEmitInstruction()
1311 bool RISCVAsmParser::ParseRegister(unsigned &RegNo, SMLoc &StartLoc, in ParseRegister()
1312 SMLoc &EndLoc) { in ParseRegister()
1319 SMLoc &StartLoc, in tryParseRegister()
1320 SMLoc &EndLoc) { in tryParseRegister()
1336 SMLoc FirstS = getLoc(); in parseRegister()
1369 SMLoc S = getLoc(); in parseRegister()
1370 SMLoc E = SMLoc::getFromPointer(S.getPointer() + Name.size()); in parseRegister()
1385 SMLoc S = getLoc(); in parseInsnDirectiveOpcode()
1386 SMLoc E; in parseInsnDirectiveOpcode()
1423 E = SMLoc::getFromPointer(S.getPointer() + Identifier.size()); in parseInsnDirectiveOpcode()
1446 SMLoc S = getLoc(); in parseCSRSystemRegister()
1520 SMLoc S = getLoc(); in parseImmediate()
1521 SMLoc E; in parseImmediate()
1549 SMLoc S = getLoc(); in parseOperandWithModifier()
1550 SMLoc E; in parseOperandWithModifier()
1588 SMLoc S = getLoc(); in parseBareSymbol()
1600 SMLoc E = SMLoc::getFromPointer(S.getPointer() + Identifier.size()); in parseBareSymbol()
1643 SMLoc S = getLoc(); in parseCallSymbol()
1657 SMLoc E = SMLoc::getFromPointer(S.getPointer() + Identifier.size()); in parseCallSymbol()
1672 SMLoc S = getLoc(); in parsePseudoJumpSymbol()
1673 SMLoc E; in parsePseudoJumpSymbol()
1709 SMLoc S = getLoc(); in parseVTypeI()
1803 SMLoc S = getLoc(); in parseMaskReg()
1804 SMLoc E = SMLoc::getFromPointer(S.getPointer() + Name.size()); in parseMaskReg()
1823 SMLoc S = getLoc(); in parseGPRAsFPR()
1824 SMLoc E = SMLoc::getFromPointer(S.getPointer() - 1); in parseGPRAsFPR()
1885 SMLoc ImmStart = getLoc(); in parseZeroOffsetMemOp()
1892 SMLoc ImmEnd = getLoc(); in parseZeroOffsetMemOp()
1957 StringRef Name, SMLoc NameLoc, in ParseInstruction()
1998 SMLoc Loc = getLexer().getLoc(); in ParseInstruction()
2064 SMLoc StartLoc = Parser.getTok().getLoc(); in parseDirectiveOption()
2164 SMLoc TagLoc; in parseDirectiveAttribute()
2202 SMLoc ValueExprLoc = Parser.getTok().getLoc(); in parseDirectiveAttribute()
2268 bool RISCVAsmParser::parseDirectiveInsn(SMLoc L) { in parseDirectiveInsn()
2273 SMLoc ErrorLoc = Parser.getTok().getLoc(); in parseDirectiveInsn()
2342 unsigned SecondOpcode, SMLoc IDLoc, in emitAuipcInstPair()
2366 void RISCVAsmParser::emitLoadLocalAddress(MCInst &Inst, SMLoc IDLoc, in emitLoadLocalAddress()
2380 void RISCVAsmParser::emitLoadAddress(MCInst &Inst, SMLoc IDLoc, in emitLoadAddress()
2405 void RISCVAsmParser::emitLoadTLSIEAddress(MCInst &Inst, SMLoc IDLoc, in emitLoadTLSIEAddress()
2420 void RISCVAsmParser::emitLoadTLSGDAddress(MCInst &Inst, SMLoc IDLoc, in emitLoadTLSGDAddress()
2435 SMLoc IDLoc, MCStreamer &Out, in emitLoadStoreSymbol()
2454 int64_t Width, SMLoc IDLoc, in emitPseudoExtend()
2482 void RISCVAsmParser::emitVMSGE(MCInst &Inst, unsigned Opcode, SMLoc IDLoc, in emitVMSGE()
2566 SMLoc ErrorLoc = ((RISCVOperand &)*Operands[3]).getStartLoc(); in checkPseudoAddTPRel()
2575 return RISCVOperand::createReg(RISCV::NoRegister, llvm::SMLoc(), in defaultMaskRegOp()
2576 llvm::SMLoc(), isRV64()); in defaultMaskRegOp()
2586 SMLoc Loc = Operands.back()->getStartLoc(); in validateInstruction()
2599 SMLoc Loc = Operands[1]->getStartLoc(); in validateInstruction()
2638 bool RISCVAsmParser::processInstruction(MCInst &Inst, SMLoc IDLoc, in processInstruction()