Lines Matching refs:RISCVOperand
54 struct RISCVOperand;
215 std::unique_ptr<RISCVOperand> defaultMaskRegOp() const;
257 struct RISCVOperand : public MCParsedAsmOperand { struct
298 RISCVOperand(KindTy K) : MCParsedAsmOperand(), Kind(K) {} in RISCVOperand() function
301 RISCVOperand(const RISCVOperand &o) : MCParsedAsmOperand() { in RISCVOperand() function
760 static std::unique_ptr<RISCVOperand> createToken(StringRef Str, SMLoc S, in createToken() argument
762 auto Op = std::make_unique<RISCVOperand>(KindTy::Token); in createToken()
770 static std::unique_ptr<RISCVOperand> createReg(unsigned RegNo, SMLoc S, in createReg() argument
772 auto Op = std::make_unique<RISCVOperand>(KindTy::Register); in createReg()
780 static std::unique_ptr<RISCVOperand> createImm(const MCExpr *Val, SMLoc S, in createImm() argument
782 auto Op = std::make_unique<RISCVOperand>(KindTy::Immediate); in createImm()
790 static std::unique_ptr<RISCVOperand>
792 auto Op = std::make_unique<RISCVOperand>(KindTy::SystemRegister); in createSysReg()
801 static std::unique_ptr<RISCVOperand> createVType(unsigned VTypeI, SMLoc S, in createVType() argument
803 auto Op = std::make_unique<RISCVOperand>(KindTy::VType); in createVType()
921 RISCVOperand &Op = static_cast<RISCVOperand &>(AsmOp); in validateTargetOperandClass()
959 SMLoc ErrorLoc = ((RISCVOperand &)*Operands[ErrorInfo]).getStartLoc(); in generateImmOutOfRangeError()
1000 RISCVMnemonicSpellCheck(((RISCVOperand &)*Operands[0]).getToken(), FBS); in MatchAndEmitInstruction()
1009 ErrorLoc = ((RISCVOperand &)*Operands[ErrorInfo]).getStartLoc(); 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()
1257 Operands.push_back(RISCVOperand::createToken("(", FirstS, isRV64())); in parseRegister()
1261 Operands.push_back(RISCVOperand::createReg(RegNo, S, E, isRV64())); in parseRegister()
1266 Operands.push_back(RISCVOperand::createToken(")", getLoc(), isRV64())); in parseRegister()
1297 Operands.push_back(RISCVOperand::createSysReg( in parseCSRSystemRegister()
1326 Operands.push_back(RISCVOperand::createSysReg( in parseCSRSystemRegister()
1371 Operands.push_back(RISCVOperand::createImm(Res, S, E, isRV64())); in parseImmediate()
1411 Operands.push_back(RISCVOperand::createImm(ModExpr, S, E, isRV64())); in parseOperandWithModifier()
1449 Operands.push_back(RISCVOperand::createImm(Res, S, E, isRV64())); in parseBareSymbol()
1463 Operands.push_back(RISCVOperand::createImm(Res, S, E, isRV64())); in parseBareSymbol()
1490 Operands.push_back(RISCVOperand::createImm(Res, S, E, isRV64())); in parseCallSymbol()
1511 Operands.push_back(RISCVOperand::createImm(Res, S, E, isRV64())); in parsePseudoJumpSymbol()
1601 Operands.push_back(RISCVOperand::createVType(VTypeI, S, isRV64())); in parseVTypeI()
1632 Operands.push_back(RISCVOperand::createReg(RegNo, S, E, isRV64())); in parseMaskReg()
1646 Operands.push_back(RISCVOperand::createToken("(", getLoc(), isRV64())); in parseMemOpBaseReg()
1659 Operands.push_back(RISCVOperand::createToken(")", getLoc(), isRV64())); in parseMemOpBaseReg()
1683 std::unique_ptr<RISCVOperand> OptionalImmOp; in parseAtomicMemOp()
1699 RISCVOperand::createImm(MCConstantExpr::create(ImmVal, getContext()), in parseAtomicMemOp()
1780 Operands.push_back(RISCVOperand::createToken(Name, NameLoc, isRV64())); in ParseInstruction()
2464 SMLoc ErrorLoc = ((RISCVOperand &)*Operands[3]).getStartLoc(); in checkPseudoAddTPRel()
2472 std::unique_ptr<RISCVOperand> RISCVAsmParser::defaultMaskRegOp() const { in defaultMaskRegOp()
2473 return RISCVOperand::createReg(RISCV::NoRegister, llvm::SMLoc(), in defaultMaskRegOp()