Lines Matching refs:RISCVOperand
60 struct RISCVOperand;
224 std::unique_ptr<RISCVOperand> defaultMaskRegOp() const;
271 struct RISCVOperand : public MCParsedAsmOperand { struct
314 RISCVOperand(KindTy K) : Kind(K) {} in RISCVOperand() function
317 RISCVOperand(const RISCVOperand &o) : MCParsedAsmOperand() { in RISCVOperand() function
836 static std::unique_ptr<RISCVOperand> createToken(StringRef Str, SMLoc S, in createToken() argument
838 auto Op = std::make_unique<RISCVOperand>(KindTy::Token); in createToken()
846 static std::unique_ptr<RISCVOperand> createReg(unsigned RegNo, SMLoc S, in createReg() argument
849 auto Op = std::make_unique<RISCVOperand>(KindTy::Register); in createReg()
858 static std::unique_ptr<RISCVOperand> createImm(const MCExpr *Val, SMLoc S, in createImm() argument
860 auto Op = std::make_unique<RISCVOperand>(KindTy::Immediate); in createImm()
868 static std::unique_ptr<RISCVOperand>
870 auto Op = std::make_unique<RISCVOperand>(KindTy::SystemRegister); in createSysReg()
880 static std::unique_ptr<RISCVOperand> createVType(unsigned VTypeI, SMLoc S, in createVType() argument
882 auto Op = std::make_unique<RISCVOperand>(KindTy::VType); in createVType()
1024 RISCVOperand &Op = static_cast<RISCVOperand &>(AsmOp); in validateTargetOperandClass()
1062 SMLoc ErrorLoc = ((RISCVOperand &)*Operands[ErrorInfo]).getStartLoc(); in generateImmOutOfRangeError()
1099 ((RISCVOperand &)*Operands[0]).getToken(), FBS, 0); in MatchAndEmitInstruction()
1108 ErrorLoc = ((RISCVOperand &)*Operands[ErrorInfo]).getStartLoc(); 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()
1368 Operands.push_back(RISCVOperand::createToken("(", FirstS, isRV64())); in parseRegister()
1372 Operands.push_back(RISCVOperand::createReg(RegNo, S, E, isRV64())); in parseRegister()
1377 Operands.push_back(RISCVOperand::createToken(")", getLoc(), isRV64())); in parseRegister()
1406 Operands.push_back(RISCVOperand::createImm(Res, S, E, isRV64())); in parseInsnDirectiveOpcode()
1424 Operands.push_back(RISCVOperand::createImm(Res, S, E, isRV64())); in parseInsnDirectiveOpcode()
1469 Operands.push_back(RISCVOperand::createSysReg( in parseCSRSystemRegister()
1498 Operands.push_back(RISCVOperand::createSysReg( in parseCSRSystemRegister()
1543 Operands.push_back(RISCVOperand::createImm(Res, S, E, isRV64())); in parseImmediate()
1583 Operands.push_back(RISCVOperand::createImm(ModExpr, S, E, isRV64())); in parseOperandWithModifier()
1622 Operands.push_back(RISCVOperand::createImm(Res, S, E, isRV64())); in parseBareSymbol()
1638 Operands.push_back(RISCVOperand::createImm(Res, S, E, isRV64())); in parseBareSymbol()
1666 Operands.push_back(RISCVOperand::createImm(Res, S, E, isRV64())); in parseCallSymbol()
1687 Operands.push_back(RISCVOperand::createImm(Res, S, E, isRV64())); in parsePseudoJumpSymbol()
1775 Operands.push_back(RISCVOperand::createVType(VTypeI, S, isRV64())); in parseVTypeI()
1806 Operands.push_back(RISCVOperand::createReg(RegNo, S, E, isRV64())); in parseMaskReg()
1826 Operands.push_back(RISCVOperand::createReg( in parseGPRAsFPR()
1840 Operands.push_back(RISCVOperand::createToken("(", getLoc(), isRV64())); in parseMemOpBaseReg()
1853 Operands.push_back(RISCVOperand::createToken(")", getLoc(), isRV64())); in parseMemOpBaseReg()
1878 std::unique_ptr<RISCVOperand> OptionalImmOp; in parseZeroOffsetMemOp()
1894 RISCVOperand::createImm(MCConstantExpr::create(ImmVal, getContext()), in parseZeroOffsetMemOp()
1975 Operands.push_back(RISCVOperand::createToken(Name, NameLoc, isRV64())); in ParseInstruction()
2566 SMLoc ErrorLoc = ((RISCVOperand &)*Operands[3]).getStartLoc(); in checkPseudoAddTPRel()
2574 std::unique_ptr<RISCVOperand> RISCVAsmParser::defaultMaskRegOp() const { in defaultMaskRegOp()
2575 return RISCVOperand::createReg(RISCV::NoRegister, llvm::SMLoc(), in defaultMaskRegOp()