Lines Matching refs:CSKYOperand
55 struct CSKYOperand;
145 struct CSKYOperand : public MCParsedAsmOperand { struct
194 CSKYOperand(KindTy K) : MCParsedAsmOperand(), Kind(K) {} in CSKYOperand() argument
197 CSKYOperand(const CSKYOperand &o) : MCParsedAsmOperand() { in CSKYOperand() argument
473 static std::unique_ptr<CSKYOperand> createToken(StringRef Str, SMLoc S) { in createToken() argument
474 auto Op = std::make_unique<CSKYOperand>(Token); in createToken()
481 static std::unique_ptr<CSKYOperand> createReg(unsigned RegNo, SMLoc S, in createReg() argument
483 auto Op = std::make_unique<CSKYOperand>(Register); in createReg()
490 static std::unique_ptr<CSKYOperand> createRegSeq(unsigned RegNoFrom, in createRegSeq() argument
492 auto Op = std::make_unique<CSKYOperand>(RegisterSeq); in createRegSeq()
500 static std::unique_ptr<CSKYOperand>
502 auto Op = std::make_unique<CSKYOperand>(RegisterList); in createRegList()
535 static std::unique_ptr<CSKYOperand> createImm(const MCExpr *Val, SMLoc S, in createImm() argument
537 auto Op = std::make_unique<CSKYOperand>(Immediate); in createImm()
544 static std::unique_ptr<CSKYOperand> createConstpoolOp(const MCExpr *Val, in createConstpoolOp() argument
546 auto Op = std::make_unique<CSKYOperand>(CPOP); in createConstpoolOp()
623 bool isValidForTie(const CSKYOperand &Other) const { in isValidForTie() argument
655 SMLoc ErrorLoc = ((CSKYOperand &)*Operands[ErrorInfo]).getStartLoc(); in generateImmOutOfRangeError()
689 CSKYMnemonicSpellCheck(((CSKYOperand &)*Operands[0]).getToken(), FBS); in MatchAndEmitInstruction()
699 ErrorLoc = ((CSKYOperand &)*Operands[ErrorInfo]).getStartLoc(); in MatchAndEmitInstruction()
793 SMLoc ErrorLoc = ((CSKYOperand &)*Operands[ErrorInfo]).getStartLoc(); in MatchAndEmitInstruction()
797 SMLoc ErrorLoc = ((CSKYOperand &)*Operands[ErrorInfo]).getStartLoc(); in MatchAndEmitInstruction()
801 SMLoc ErrorLoc = ((CSKYOperand &)*Operands[ErrorInfo]).getStartLoc(); in MatchAndEmitInstruction()
805 SMLoc ErrorLoc = ((CSKYOperand &)*Operands[ErrorInfo]).getStartLoc(); in MatchAndEmitInstruction()
809 SMLoc ErrorLoc = ((CSKYOperand &)*Operands[ErrorInfo]).getStartLoc(); in MatchAndEmitInstruction()
813 SMLoc ErrorLoc = ((CSKYOperand &)*Operands[ErrorInfo]).getStartLoc(); in MatchAndEmitInstruction()
817 SMLoc ErrorLoc = ((CSKYOperand &)*Operands[ErrorInfo]).getStartLoc(); in MatchAndEmitInstruction()
1043 Operands.push_back(CSKYOperand::createReg(Reg, S, E)); in parseRegister()
1053 Operands.push_back(CSKYOperand::createToken("(", getLoc())); in parseBaseRegImm()
1064 Operands.push_back(CSKYOperand::createToken(")", getLoc())); in parseBaseRegImm()
1078 Operands.push_back(CSKYOperand::createToken("<<", getLoc())); in parseBaseRegImm()
1092 Operands.push_back(CSKYOperand::createToken(")", getLoc())); in parseBaseRegImm()
1117 Operands.push_back(CSKYOperand::createImm(IdVal, S, E)); in parseImmediate()
1216 Operands.push_back(CSKYOperand::createImm(Res, S, E)); in parseCSKYSymbol()
1232 Operands.push_back(CSKYOperand::createImm(Res, S, E)); in parseCSKYSymbol()
1251 Operands.push_back(CSKYOperand::createConstpoolOp(Expr, S, E)); in parseDataSymbol()
1294 Operands.push_back(CSKYOperand::createConstpoolOp(Res, S, E)); in parseDataSymbol()
1313 Operands.push_back(CSKYOperand::createConstpoolOp(Res, S, E)); in parseDataSymbol()
1332 Operands.push_back(CSKYOperand::createConstpoolOp(Expr, S, E)); in parseConstpoolSymbol()
1366 Operands.push_back(CSKYOperand::createConstpoolOp(Res, S, E)); in parseConstpoolSymbol()
1385 Operands.push_back(CSKYOperand::createConstpoolOp(Res, S, E)); in parseConstpoolSymbol()
1421 CSKYOperand::createImm(MCConstantExpr::create(Flag, getContext()), S, E)); in parsePSRFlag()
1442 Operands.push_back(CSKYOperand::createRegSeq(Ry, Rz, S)); in parseRegSeq()
1484 Operands.push_back(CSKYOperand::createRegList(reglist, S)); in parseRegList()
1491 Operands.push_back(CSKYOperand::createToken(Name, NameLoc)); in ParseInstruction()
1620 CSKYOperand &Op = static_cast<CSKYOperand &>(AsmOp); in validateTargetOperandClass()