Lines Matching refs:RISCVOperand
43 struct RISCVOperand;
163 struct RISCVOperand : public MCParsedAsmOperand { struct
198 RISCVOperand(KindTy K) : MCParsedAsmOperand(), Kind(K) {} in RISCVOperand() function
201 RISCVOperand(const RISCVOperand &o) : MCParsedAsmOperand() { in RISCVOperand() function
562 static std::unique_ptr<RISCVOperand> createToken(StringRef Str, SMLoc S, in createToken() argument
564 auto Op = make_unique<RISCVOperand>(Token); in createToken()
572 static std::unique_ptr<RISCVOperand> createReg(unsigned RegNo, SMLoc S, in createReg() argument
574 auto Op = make_unique<RISCVOperand>(Register); in createReg()
582 static std::unique_ptr<RISCVOperand> createImm(const MCExpr *Val, SMLoc S, in createImm() argument
584 auto Op = make_unique<RISCVOperand>(Immediate); in createImm()
592 static std::unique_ptr<RISCVOperand>
594 auto Op = make_unique<RISCVOperand>(SystemRegister); in createSysReg()
716 RISCVOperand &Op = static_cast<RISCVOperand &>(AsmOp); in validateTargetOperandClass()
739 SMLoc ErrorLoc = ((RISCVOperand &)*Operands[ErrorInfo]).getStartLoc(); in generateImmOutOfRangeError()
767 ErrorLoc = ((RISCVOperand &)*Operands[ErrorInfo]).getStartLoc(); in MatchAndEmitInstruction()
789 SMLoc ErrorLoc = ((RISCVOperand &)*Operands[ErrorInfo]).getStartLoc(); in MatchAndEmitInstruction()
876 SMLoc ErrorLoc = ((RISCVOperand &)*Operands[ErrorInfo]).getStartLoc(); in MatchAndEmitInstruction()
882 SMLoc ErrorLoc = ((RISCVOperand &)*Operands[ErrorInfo]).getStartLoc(); in MatchAndEmitInstruction()
888 SMLoc ErrorLoc = ((RISCVOperand &)*Operands[ErrorInfo]).getStartLoc(); in MatchAndEmitInstruction()
942 Operands.push_back(RISCVOperand::createToken("(", FirstS, isRV64())); in parseRegister()
946 Operands.push_back(RISCVOperand::createReg(RegNo, S, E, isRV64())); in parseRegister()
951 Operands.push_back(RISCVOperand::createToken(")", getLoc(), isRV64())); in parseRegister()
980 Operands.push_back(RISCVOperand::createSysReg( in parseCSRSystemRegister()
1002 Operands.push_back(RISCVOperand::createSysReg( in parseCSRSystemRegister()
1044 Operands.push_back(RISCVOperand::createImm(Res, S, E, isRV64())); in parseImmediate()
1084 Operands.push_back(RISCVOperand::createImm(ModExpr, S, E, isRV64())); in parseOperandWithModifier()
1102 Operands.push_back(RISCVOperand::createImm(Res, S, E, isRV64())); in parseBareSymbol()
1131 Operands.push_back(RISCVOperand::createToken("(", getLoc(), isRV64())); in parseMemOpBaseReg()
1144 Operands.push_back(RISCVOperand::createToken(")", getLoc(), isRV64())); in parseMemOpBaseReg()
1198 Operands.push_back(RISCVOperand::createToken(Name, NameLoc, isRV64())); in ParseInstruction()