Lines Matching refs:RISCVOperand

60 struct RISCVOperand;
276 std::unique_ptr<RISCVOperand> defaultMaskRegOp() const;
277 std::unique_ptr<RISCVOperand> defaultFRMArgOp() const;
278 std::unique_ptr<RISCVOperand> defaultFRMArgLegacyOp() const;
331 struct RISCVOperand final : public MCParsedAsmOperand { struct
409 RISCVOperand(KindTy K) : Kind(K) {} in RISCVOperand() argument
412 RISCVOperand(const RISCVOperand &o) : MCParsedAsmOperand() { in RISCVOperand() argument
1104 static std::unique_ptr<RISCVOperand> createToken(StringRef Str, SMLoc S) { in createToken() argument
1105 auto Op = std::make_unique<RISCVOperand>(KindTy::Token); in createToken()
1112 static std::unique_ptr<RISCVOperand>
1114 auto Op = std::make_unique<RISCVOperand>(KindTy::Register); in createReg()
1122 static std::unique_ptr<RISCVOperand> createImm(const MCExpr *Val, SMLoc S, in createImm() argument
1124 auto Op = std::make_unique<RISCVOperand>(KindTy::Immediate); in createImm()
1132 static std::unique_ptr<RISCVOperand> createFPImm(uint64_t Val, SMLoc S) { in createFPImm() argument
1133 auto Op = std::make_unique<RISCVOperand>(KindTy::FPImmediate); in createFPImm()
1140 static std::unique_ptr<RISCVOperand> createSysReg(StringRef Str, SMLoc S, in createSysReg() argument
1142 auto Op = std::make_unique<RISCVOperand>(KindTy::SystemRegister); in createSysReg()
1151 static std::unique_ptr<RISCVOperand>
1153 auto Op = std::make_unique<RISCVOperand>(KindTy::FRM); in createFRMArg()
1160 static std::unique_ptr<RISCVOperand> createFenceArg(unsigned Val, SMLoc S) { in createFenceArg() argument
1161 auto Op = std::make_unique<RISCVOperand>(KindTy::Fence); in createFenceArg()
1168 static std::unique_ptr<RISCVOperand> createVType(unsigned VTypeI, SMLoc S) { in createVType() argument
1169 auto Op = std::make_unique<RISCVOperand>(KindTy::VType); in createVType()
1176 static std::unique_ptr<RISCVOperand> createRlist(unsigned RlistEncode, in createRlist() argument
1178 auto Op = std::make_unique<RISCVOperand>(KindTy::Rlist); in createRlist()
1184 static std::unique_ptr<RISCVOperand> createRegReg(unsigned Reg1No, in createRegReg() argument
1186 auto Op = std::make_unique<RISCVOperand>(KindTy::RegReg); in createRegReg()
1194 static std::unique_ptr<RISCVOperand> createSpimm(unsigned Spimm, SMLoc S) { in createSpimm() argument
1195 auto Op = std::make_unique<RISCVOperand>(KindTy::Spimm); in createSpimm()
1320 RISCVOperand &Op = static_cast<RISCVOperand &>(AsmOp); in validateTargetOperandClass()
1385 SMLoc ErrorLoc = ((RISCVOperand &)*Operands[ErrorInfo]).getStartLoc(); in generateImmOutOfRangeError()
1422 ((RISCVOperand &)*Operands[0]).getToken(), FBS, 0); in MatchAndEmitInstruction()
1431 ErrorLoc = ((RISCVOperand &)*Operands[ErrorInfo]).getStartLoc(); 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()
1742 Operands.push_back(RISCVOperand::createToken("(", FirstS)); in parseRegister()
1746 Operands.push_back(RISCVOperand::createReg(RegNo, S, E)); in parseRegister()
1751 Operands.push_back(RISCVOperand::createToken(")", getLoc())); in parseRegister()
1779 Operands.push_back(RISCVOperand::createImm(Res, S, E, isRV64())); in parseInsnDirectiveOpcode()
1797 Operands.push_back(RISCVOperand::createImm(Res, S, E, isRV64())); in parseInsnDirectiveOpcode()
1834 Operands.push_back(RISCVOperand::createImm(Res, S, E, isRV64())); in parseInsnCDirectiveOpcode()
1858 Operands.push_back(RISCVOperand::createImm(Res, S, E, isRV64())); in parseInsnCDirectiveOpcode()
1898 Operands.push_back(RISCVOperand::createSysReg(Reg.Name, S, Imm)); in parseCSRSystemRegister()
1904 Operands.push_back(RISCVOperand::createSysReg("", S, Imm)); in parseCSRSystemRegister()
1929 RISCVOperand::createSysReg(Identifier, S, SysReg->Encoding)); in parseCSRSystemRegister()
1954 RISCVOperand::createImm(MCConstantExpr::create(30, getContext()), S, in parseFPImm()
1958 RISCVOperand::createImm(MCConstantExpr::create(31, getContext()), S, in parseFPImm()
1962 RISCVOperand::createImm(MCConstantExpr::create(1, getContext()), S, in parseFPImm()
1990 Operands.push_back(RISCVOperand::createFPImm( in parseFPImm()
2022 Operands.push_back(RISCVOperand::createImm(Res, S, E, isRV64())); in parseImmediate()
2049 Operands.push_back(RISCVOperand::createImm(ModExpr, S, E, isRV64())); in parseOperandWithModifier()
2086 Operands.push_back(RISCVOperand::createImm(Res, S, E, isRV64())); in parseBareSymbol()
2102 Operands.push_back(RISCVOperand::createImm(Res, S, E, isRV64())); in parseBareSymbol()
2129 Operands.push_back(RISCVOperand::createImm(Res, S, E, isRV64())); in parseCallSymbol()
2147 Operands.push_back(RISCVOperand::createImm(Res, S, E, isRV64())); in parsePseudoJumpSymbol()
2275 Operands.push_back(RISCVOperand::createVType(VTypeI, S)); in parseVTypeI()
2305 Operands.push_back(RISCVOperand::createReg(RegNo, S, E)); in parseMaskReg()
2321 Operands.push_back(RISCVOperand::createReg( in parseGPRAsFPR()
2364 Operands.push_back(RISCVOperand::createReg(Pair, S, E)); in parseGPRPair()
2380 Operands.push_back(RISCVOperand::createFRMArg(FRM, getLoc())); in parseFRMArg()
2392 Operands.push_back(RISCVOperand::createFenceArg(0, getLoc())); in parseFenceArg()
2435 Operands.push_back(RISCVOperand::createFenceArg(Imm, getLoc())); in parseFenceArg()
2448 Operands.push_back(RISCVOperand::createToken("(", getLoc())); in parseMemOpBaseReg()
2455 Operands.push_back(RISCVOperand::createToken(")", getLoc())); in parseMemOpBaseReg()
2479 std::unique_ptr<RISCVOperand> OptionalImmOp; in parseZeroOffsetMemOp()
2495 RISCVOperand::createImm(MCConstantExpr::create(ImmVal, getContext()), in parseZeroOffsetMemOp()
2545 Operands.push_back(RISCVOperand::createRegReg(Reg, Reg2, getLoc())); in parseRegReg()
2641 Operands.push_back(RISCVOperand::createRlist(Encode, S)); in parseReglist()
2653 unsigned RlistVal = static_cast<RISCVOperand *>(Operands[1].get())->Rlist.Val; in parseZcmpStackAdj()
2658 Operands.push_back(RISCVOperand::createSpimm(Spimm << 4, S)); in parseZcmpStackAdj()
2712 Operands.push_back(RISCVOperand::createToken(Name, NameLoc)); in ParseInstruction()
3430 SMLoc ErrorLoc = ((RISCVOperand &)*Operands[3]).getStartLoc(); in checkPseudoAddTPRel()
3443 SMLoc ErrorLoc = ((RISCVOperand &)*Operands[3]).getStartLoc(); in checkPseudoTLSDESCCall()
3451 std::unique_ptr<RISCVOperand> RISCVAsmParser::defaultMaskRegOp() const { in defaultMaskRegOp()
3452 return RISCVOperand::createReg(RISCV::NoRegister, llvm::SMLoc(), in defaultMaskRegOp()
3456 std::unique_ptr<RISCVOperand> RISCVAsmParser::defaultFRMArgOp() const { in defaultFRMArgOp()
3457 return RISCVOperand::createFRMArg(RISCVFPRndMode::RoundingMode::DYN, in defaultFRMArgOp()
3461 std::unique_ptr<RISCVOperand> RISCVAsmParser::defaultFRMArgLegacyOp() const { in defaultFRMArgLegacyOp()
3462 return RISCVOperand::createFRMArg(RISCVFPRndMode::RoundingMode::RNE, in defaultFRMArgLegacyOp()