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