Lines Matching refs:SMLoc

84   SMLoc getLoc() const { return getParser().getTok().getLoc(); }  in getLoc()
105 bool generateImmOutOfRangeError(SMLoc ErrorLoc, int64_t Lower, int64_t Upper,
108 bool MatchAndEmitInstruction(SMLoc IDLoc, unsigned &Opcode,
114 bool parseRegister(MCRegister &Reg, SMLoc &StartLoc, SMLoc &EndLoc) override;
115 ParseStatus tryParseRegister(MCRegister &Reg, SMLoc &StartLoc,
116 SMLoc &EndLoc) override;
119 SMLoc NameLoc, OperandVector &Operands) override;
126 bool generateVTypeError(SMLoc ErrorLoc);
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,
229 bool parseDirectiveInsn(SMLoc L);
235 bool resetToArch(StringRef Arch, SMLoc Loc, std::string &Result,
394 SMLoc StartLoc, EndLoc;
1000 SMLoc getStartLoc() const override { return StartLoc; } in getStartLoc()
1002 SMLoc getEndLoc() const override { return EndLoc; } in getEndLoc()
1104 static std::unique_ptr<RISCVOperand> createToken(StringRef Str, SMLoc S) { in createToken()
1113 createReg(unsigned RegNo, SMLoc S, SMLoc E, bool IsGPRAsFPR = false) { in createReg()
1122 static std::unique_ptr<RISCVOperand> createImm(const MCExpr *Val, SMLoc S, in createImm()
1123 SMLoc E, bool IsRV64) { in createImm()
1132 static std::unique_ptr<RISCVOperand> createFPImm(uint64_t Val, SMLoc S) { in createFPImm()
1140 static std::unique_ptr<RISCVOperand> createSysReg(StringRef Str, SMLoc S, in createSysReg()
1152 createFRMArg(RISCVFPRndMode::RoundingMode FRM, SMLoc S) { in createFRMArg()
1160 static std::unique_ptr<RISCVOperand> createFenceArg(unsigned Val, SMLoc S) { in createFenceArg()
1168 static std::unique_ptr<RISCVOperand> createVType(unsigned VTypeI, SMLoc S) { in createVType()
1177 SMLoc S) { in createRlist()
1185 unsigned Reg2No, SMLoc S) { in createRegReg()
1194 static std::unique_ptr<RISCVOperand> createSpimm(unsigned Spimm, SMLoc S) { in createSpimm()
1377 SMLoc ErrorLoc, int64_t Lower, int64_t Upper, in generateImmOutOfRangeError()
1385 SMLoc ErrorLoc = ((RISCVOperand &)*Operands[ErrorInfo]).getStartLoc(); in generateImmOutOfRangeError()
1389 bool RISCVAsmParser::MatchAndEmitInstruction(SMLoc IDLoc, unsigned &Opcode, in MatchAndEmitInstruction()
1426 SMLoc ErrorLoc = IDLoc; in MatchAndEmitInstruction()
1432 if (ErrorLoc == SMLoc()) in MatchAndEmitInstruction()
1443 SMLoc ErrorLoc = IDLoc; in MatchAndEmitInstruction()
1457 SMLoc ErrorLoc = ((RISCVOperand &)*Operands[ErrorInfo]).getStartLoc(); in MatchAndEmitInstruction()
1465 SMLoc ErrorLoc = ((RISCVOperand &)*Operands[ErrorInfo]).getStartLoc(); in MatchAndEmitInstruction()
1475 SMLoc ErrorLoc = ((RISCVOperand &)*Operands[ErrorInfo]).getStartLoc(); in MatchAndEmitInstruction()
1601 SMLoc ErrorLoc = ((RISCVOperand &)*Operands[ErrorInfo]).getStartLoc(); in MatchAndEmitInstruction()
1605 SMLoc ErrorLoc = ((RISCVOperand &)*Operands[ErrorInfo]).getStartLoc(); in MatchAndEmitInstruction()
1609 SMLoc ErrorLoc = ((RISCVOperand &)*Operands[ErrorInfo]).getStartLoc(); in MatchAndEmitInstruction()
1613 SMLoc ErrorLoc = ((RISCVOperand &)*Operands[ErrorInfo]).getStartLoc(); in MatchAndEmitInstruction()
1617 SMLoc ErrorLoc = ((RISCVOperand &)*Operands[ErrorInfo]).getStartLoc(); in MatchAndEmitInstruction()
1621 SMLoc ErrorLoc = ((RISCVOperand &)*Operands[ErrorInfo]).getStartLoc(); in MatchAndEmitInstruction()
1626 SMLoc ErrorLoc = ((RISCVOperand &)*Operands[ErrorInfo]).getStartLoc(); in MatchAndEmitInstruction()
1630 SMLoc ErrorLoc = ((RISCVOperand &)*Operands[ErrorInfo]).getStartLoc(); in MatchAndEmitInstruction()
1634 SMLoc ErrorLoc = ((RISCVOperand &)*Operands[ErrorInfo]).getStartLoc(); in MatchAndEmitInstruction()
1643 SMLoc ErrorLoc = ((RISCVOperand &)*Operands[ErrorInfo]).getStartLoc(); in MatchAndEmitInstruction()
1649 SMLoc ErrorLoc = ((RISCVOperand &)*Operands[ErrorInfo]).getStartLoc(); in MatchAndEmitInstruction()
1659 SMLoc ErrorLoc = ((RISCVOperand &)*Operands[ErrorInfo]).getStartLoc(); in MatchAndEmitInstruction()
1687 bool RISCVAsmParser::parseRegister(MCRegister &Reg, SMLoc &StartLoc, in parseRegister()
1688 SMLoc &EndLoc) { in parseRegister()
1694 ParseStatus RISCVAsmParser::tryParseRegister(MCRegister &Reg, SMLoc &StartLoc, in tryParseRegister()
1695 SMLoc &EndLoc) { in tryParseRegister()
1711 SMLoc FirstS = getLoc(); in parseRegister()
1743 SMLoc S = getLoc(); in parseRegister()
1744 SMLoc E = SMLoc::getFromPointer(S.getPointer() + Name.size()); in parseRegister()
1758 SMLoc S = getLoc(); in parseInsnDirectiveOpcode()
1759 SMLoc E; in parseInsnDirectiveOpcode()
1796 E = SMLoc::getFromPointer(S.getPointer() + Identifier.size()); in parseInsnDirectiveOpcode()
1813 SMLoc S = getLoc(); in parseInsnCDirectiveOpcode()
1814 SMLoc E; in parseInsnCDirectiveOpcode()
1857 E = SMLoc::getFromPointer(S.getPointer() + Identifier.size()); in parseInsnCDirectiveOpcode()
1873 SMLoc S = getLoc(); in parseCSRSystemRegister()
1947 SMLoc S = getLoc(); in parseFPImm()
1999 SMLoc S = getLoc(); in parseImmediate()
2000 SMLoc E; in parseImmediate()
2027 SMLoc S = getLoc(); in parseOperandWithModifier()
2028 SMLoc E; in parseOperandWithModifier()
2054 SMLoc S = getLoc(); in parseBareSymbol()
2066 SMLoc E = SMLoc::getFromPointer(S.getPointer() + Identifier.size()); in parseBareSymbol()
2107 SMLoc S = getLoc(); in parseCallSymbol()
2121 SMLoc E = SMLoc::getFromPointer(S.getPointer() + Identifier.size()); in parseCallSymbol()
2134 SMLoc S = getLoc(); in parsePseudoJumpSymbol()
2135 SMLoc E; in parsePseudoJumpSymbol()
2235 SMLoc S = getLoc(); in parseVTypeI()
2244 SMLoc SEWLoc = S; in parseVTypeI()
2282 bool RISCVAsmParser::generateVTypeError(SMLoc ErrorLoc) { in generateVTypeError()
2302 SMLoc S = getLoc(); in parseMaskReg()
2303 SMLoc E = SMLoc::getFromPointer(S.getPointer() + Name.size()); in parseMaskReg()
2318 SMLoc S = getLoc(); in parseGPRAsFPR()
2319 SMLoc E = SMLoc::getFromPointer(S.getPointer() + Name.size()); in parseGPRAsFPR()
2356 SMLoc S = getLoc(); in parseGPRPair()
2357 SMLoc E = SMLoc::getFromPointer(S.getPointer() + Name.size()); in parseGPRPair()
2486 SMLoc ImmStart = getLoc(); in parseZeroOffsetMemOp()
2493 SMLoc ImmEnd = getLoc(); in parseZeroOffsetMemOp()
2553 SMLoc S = getLoc(); in parseReglist()
2650 SMLoc S = getLoc(); in parseZcmpStackAdj()
2694 StringRef Name, SMLoc NameLoc, in ParseInstruction()
2779 bool RISCVAsmParser::resetToArch(StringRef Arch, SMLoc Loc, std::string &Result, in resetToArch()
2843 SMLoc StartLoc = Parser.getTok().getLoc(); in parseDirectiveOption()
2876 SMLoc Loc = Parser.getTok().getLoc(); in parseDirectiveOption()
3013 SMLoc TagLoc; in parseDirectiveAttribute()
3049 SMLoc ValueExprLoc = Parser.getTok().getLoc(); in parseDirectiveAttribute()
3097 bool RISCVAsmParser::parseDirectiveInsn(SMLoc L) { in parseDirectiveInsn()
3105 SMLoc ErrorLoc = Parser.getTok().getLoc(); in parseDirectiveInsn()
3191 unsigned SecondOpcode, SMLoc IDLoc, in emitAuipcInstPair()
3215 void RISCVAsmParser::emitLoadLocalAddress(MCInst &Inst, SMLoc IDLoc, in emitLoadLocalAddress()
3229 void RISCVAsmParser::emitLoadGlobalAddress(MCInst &Inst, SMLoc IDLoc, in emitLoadGlobalAddress()
3244 void RISCVAsmParser::emitLoadAddress(MCInst &Inst, SMLoc IDLoc, in emitLoadAddress()
3259 void RISCVAsmParser::emitLoadTLSIEAddress(MCInst &Inst, SMLoc IDLoc, in emitLoadTLSIEAddress()
3274 void RISCVAsmParser::emitLoadTLSGDAddress(MCInst &Inst, SMLoc IDLoc, in emitLoadTLSGDAddress()
3289 SMLoc IDLoc, MCStreamer &Out, in emitLoadStoreSymbol()
3308 int64_t Width, SMLoc IDLoc, in emitPseudoExtend()
3336 void RISCVAsmParser::emitVMSGE(MCInst &Inst, unsigned Opcode, SMLoc IDLoc, in emitVMSGE()
3430 SMLoc ErrorLoc = ((RISCVOperand &)*Operands[3]).getStartLoc(); in checkPseudoAddTPRel()
3443 SMLoc ErrorLoc = ((RISCVOperand &)*Operands[3]).getStartLoc(); in checkPseudoTLSDESCCall()
3452 return RISCVOperand::createReg(RISCV::NoRegister, llvm::SMLoc(), in defaultMaskRegOp()
3453 llvm::SMLoc()); in defaultMaskRegOp()
3458 llvm::SMLoc()); in defaultFRMArgOp()
3463 llvm::SMLoc()); in defaultFRMArgLegacyOp()
3475 SMLoc Loc = Operands.back()->getStartLoc(); in validateInstruction()
3488 SMLoc Loc = Operands[1]->getStartLoc(); in validateInstruction()
3497 SMLoc Loc = Operands[1]->getStartLoc(); in validateInstruction()
3508 SMLoc Loc = Operands.back()->getStartLoc(); in validateInstruction()
3511 SMLoc Loc = Operands.back()->getStartLoc(); in validateInstruction()
3523 SMLoc VCIXDstLoc = Operands[2]->getStartLoc(); in validateInstruction()
3546 SMLoc Loc = Operands[1]->getStartLoc(); in validateInstruction()
3584 bool RISCVAsmParser::processInstruction(MCInst &Inst, SMLoc IDLoc, in processInstruction()