Lines Matching refs:RISCVOperand

60 struct RISCVOperand;
268 std::unique_ptr<RISCVOperand> defaultMaskRegOp() const;
269 std::unique_ptr<RISCVOperand> defaultFRMArgOp() const;
270 std::unique_ptr<RISCVOperand> defaultFRMArgLegacyOp() const;
323 struct RISCVOperand final : public MCParsedAsmOperand { struct
401 RISCVOperand(KindTy K) : Kind(K) {} in RISCVOperand() argument
404 RISCVOperand(const RISCVOperand &o) : MCParsedAsmOperand() { in RISCVOperand() argument
1074 static std::unique_ptr<RISCVOperand> createToken(StringRef Str, SMLoc S) { in createToken() argument
1075 auto Op = std::make_unique<RISCVOperand>(KindTy::Token); in createToken()
1082 static std::unique_ptr<RISCVOperand>
1084 auto Op = std::make_unique<RISCVOperand>(KindTy::Register); in createReg()
1092 static std::unique_ptr<RISCVOperand> createImm(const MCExpr *Val, SMLoc S, in createImm() argument
1094 auto Op = std::make_unique<RISCVOperand>(KindTy::Immediate); in createImm()
1102 static std::unique_ptr<RISCVOperand> createFPImm(uint64_t Val, SMLoc S) { in createFPImm() argument
1103 auto Op = std::make_unique<RISCVOperand>(KindTy::FPImmediate); in createFPImm()
1110 static std::unique_ptr<RISCVOperand> createSysReg(StringRef Str, SMLoc S, in createSysReg() argument
1112 auto Op = std::make_unique<RISCVOperand>(KindTy::SystemRegister); in createSysReg()
1121 static std::unique_ptr<RISCVOperand>
1123 auto Op = std::make_unique<RISCVOperand>(KindTy::FRM); in createFRMArg()
1130 static std::unique_ptr<RISCVOperand> createFenceArg(unsigned Val, SMLoc S) { in createFenceArg() argument
1131 auto Op = std::make_unique<RISCVOperand>(KindTy::Fence); in createFenceArg()
1138 static std::unique_ptr<RISCVOperand> createVType(unsigned VTypeI, SMLoc S) { in createVType() argument
1139 auto Op = std::make_unique<RISCVOperand>(KindTy::VType); in createVType()
1146 static std::unique_ptr<RISCVOperand> createRlist(unsigned RlistEncode, in createRlist() argument
1148 auto Op = std::make_unique<RISCVOperand>(KindTy::Rlist); in createRlist()
1154 static std::unique_ptr<RISCVOperand> createRegReg(unsigned Reg1No, in createRegReg() argument
1156 auto Op = std::make_unique<RISCVOperand>(KindTy::RegReg); in createRegReg()
1164 static std::unique_ptr<RISCVOperand> createSpimm(unsigned Spimm, SMLoc S) { in createSpimm() argument
1165 auto Op = std::make_unique<RISCVOperand>(KindTy::Spimm); in createSpimm()
1290 RISCVOperand &Op = static_cast<RISCVOperand &>(AsmOp); in validateTargetOperandClass()
1355 SMLoc ErrorLoc = ((RISCVOperand &)*Operands[ErrorInfo]).getStartLoc(); in generateImmOutOfRangeError()
1392 ((RISCVOperand &)*Operands[0]).getToken(), FBS, 0); in MatchAndEmitInstruction()
1401 ErrorLoc = ((RISCVOperand &)*Operands[ErrorInfo]).getStartLoc(); in MatchAndEmitInstruction()
1427 SMLoc ErrorLoc = ((RISCVOperand &)*Operands[ErrorInfo]).getStartLoc(); in MatchAndEmitInstruction()
1435 SMLoc ErrorLoc = ((RISCVOperand &)*Operands[ErrorInfo]).getStartLoc(); in MatchAndEmitInstruction()
1445 SMLoc ErrorLoc = ((RISCVOperand &)*Operands[ErrorInfo]).getStartLoc(); in MatchAndEmitInstruction()
1563 SMLoc ErrorLoc = ((RISCVOperand &)*Operands[ErrorInfo]).getStartLoc(); in MatchAndEmitInstruction()
1567 SMLoc ErrorLoc = ((RISCVOperand &)*Operands[ErrorInfo]).getStartLoc(); in MatchAndEmitInstruction()
1571 SMLoc ErrorLoc = ((RISCVOperand &)*Operands[ErrorInfo]).getStartLoc(); in MatchAndEmitInstruction()
1575 SMLoc ErrorLoc = ((RISCVOperand &)*Operands[ErrorInfo]).getStartLoc(); in MatchAndEmitInstruction()
1579 SMLoc ErrorLoc = ((RISCVOperand &)*Operands[ErrorInfo]).getStartLoc(); in MatchAndEmitInstruction()
1583 SMLoc ErrorLoc = ((RISCVOperand &)*Operands[ErrorInfo]).getStartLoc(); in MatchAndEmitInstruction()
1588 SMLoc ErrorLoc = ((RISCVOperand &)*Operands[ErrorInfo]).getStartLoc(); in MatchAndEmitInstruction()
1592 SMLoc ErrorLoc = ((RISCVOperand &)*Operands[ErrorInfo]).getStartLoc(); in MatchAndEmitInstruction()
1596 SMLoc ErrorLoc = ((RISCVOperand &)*Operands[ErrorInfo]).getStartLoc(); in MatchAndEmitInstruction()
1605 SMLoc ErrorLoc = ((RISCVOperand &)*Operands[ErrorInfo]).getStartLoc(); in MatchAndEmitInstruction()
1611 SMLoc ErrorLoc = ((RISCVOperand &)*Operands[ErrorInfo]).getStartLoc(); in MatchAndEmitInstruction()
1621 SMLoc ErrorLoc = ((RISCVOperand &)*Operands[ErrorInfo]).getStartLoc(); in MatchAndEmitInstruction()
1704 Operands.push_back(RISCVOperand::createToken("(", FirstS)); in parseRegister()
1708 Operands.push_back(RISCVOperand::createReg(RegNo, S, E)); in parseRegister()
1713 Operands.push_back(RISCVOperand::createToken(")", getLoc())); in parseRegister()
1741 Operands.push_back(RISCVOperand::createImm(Res, S, E, isRV64())); in parseInsnDirectiveOpcode()
1759 Operands.push_back(RISCVOperand::createImm(Res, S, E, isRV64())); in parseInsnDirectiveOpcode()
1796 Operands.push_back(RISCVOperand::createImm(Res, S, E, isRV64())); in parseInsnCDirectiveOpcode()
1820 Operands.push_back(RISCVOperand::createImm(Res, S, E, isRV64())); in parseInsnCDirectiveOpcode()
1859 RISCVOperand::createSysReg(SysReg ? SysReg->Name : "", S, Imm)); in parseCSRSystemRegister()
1884 RISCVOperand::createSysReg(Identifier, S, SysReg->Encoding)); in parseCSRSystemRegister()
1909 RISCVOperand::createImm(MCConstantExpr::create(30, getContext()), S, in parseFPImm()
1913 RISCVOperand::createImm(MCConstantExpr::create(31, getContext()), S, in parseFPImm()
1917 RISCVOperand::createImm(MCConstantExpr::create(1, getContext()), S, in parseFPImm()
1945 Operands.push_back(RISCVOperand::createFPImm( in parseFPImm()
1977 Operands.push_back(RISCVOperand::createImm(Res, S, E, isRV64())); in parseImmediate()
2004 Operands.push_back(RISCVOperand::createImm(ModExpr, S, E, isRV64())); in parseOperandWithModifier()
2041 Operands.push_back(RISCVOperand::createImm(Res, S, E, isRV64())); in parseBareSymbol()
2057 Operands.push_back(RISCVOperand::createImm(Res, S, E, isRV64())); in parseBareSymbol()
2084 Operands.push_back(RISCVOperand::createImm(Res, S, E, isRV64())); in parseCallSymbol()
2102 Operands.push_back(RISCVOperand::createImm(Res, S, E, isRV64())); in parsePseudoJumpSymbol()
2214 Operands.push_back(RISCVOperand::createVType(VTypeI, S)); in parseVTypeI()
2244 Operands.push_back(RISCVOperand::createReg(RegNo, S, E)); in parseMaskReg()
2260 Operands.push_back(RISCVOperand::createReg( in parseGPRAsFPR()
2303 Operands.push_back(RISCVOperand::createReg(Pair, S, E)); in parseGPRPair()
2319 Operands.push_back(RISCVOperand::createFRMArg(FRM, getLoc())); in parseFRMArg()
2331 Operands.push_back(RISCVOperand::createFenceArg(0, getLoc())); in parseFenceArg()
2374 Operands.push_back(RISCVOperand::createFenceArg(Imm, getLoc())); in parseFenceArg()
2387 Operands.push_back(RISCVOperand::createToken("(", getLoc())); in parseMemOpBaseReg()
2394 Operands.push_back(RISCVOperand::createToken(")", getLoc())); in parseMemOpBaseReg()
2418 std::unique_ptr<RISCVOperand> OptionalImmOp; in parseZeroOffsetMemOp()
2434 RISCVOperand::createImm(MCConstantExpr::create(ImmVal, getContext()), in parseZeroOffsetMemOp()
2484 Operands.push_back(RISCVOperand::createRegReg(Reg, Reg2, getLoc())); in parseRegReg()
2580 Operands.push_back(RISCVOperand::createRlist(Encode, S)); in parseReglist()
2591 unsigned RlistVal = static_cast<RISCVOperand *>(Operands[1].get())->Rlist.Val; in parseZcmpSpimm()
2596 Operands.push_back(RISCVOperand::createSpimm(Spimm << 4, S)); in parseZcmpSpimm()
2650 Operands.push_back(RISCVOperand::createToken(Name, NameLoc)); in ParseInstruction()
3347 SMLoc ErrorLoc = ((RISCVOperand &)*Operands[3]).getStartLoc(); in checkPseudoAddTPRel()
3360 SMLoc ErrorLoc = ((RISCVOperand &)*Operands[3]).getStartLoc(); in checkPseudoTLSDESCCall()
3368 std::unique_ptr<RISCVOperand> RISCVAsmParser::defaultMaskRegOp() const { in defaultMaskRegOp()
3369 return RISCVOperand::createReg(RISCV::NoRegister, llvm::SMLoc(), in defaultMaskRegOp()
3373 std::unique_ptr<RISCVOperand> RISCVAsmParser::defaultFRMArgOp() const { in defaultFRMArgOp()
3374 return RISCVOperand::createFRMArg(RISCVFPRndMode::RoundingMode::DYN, in defaultFRMArgOp()
3378 std::unique_ptr<RISCVOperand> RISCVAsmParser::defaultFRMArgLegacyOp() const { in defaultFRMArgLegacyOp()
3379 return RISCVOperand::createFRMArg(RISCVFPRndMode::RoundingMode::RNE, in defaultFRMArgLegacyOp()