Lines Matching refs:AArch64Operand

322 class AArch64Operand : public MCParsedAsmOperand {  class
495 AArch64Operand(KindTy K, MCContext &Ctx) : Kind(K), Ctx(Ctx) {} in AArch64Operand() function in __anone48315620111::AArch64Operand
497 AArch64Operand(const AArch64Operand &o) : MCParsedAsmOperand(), Ctx(o.Ctx) { in AArch64Operand() function in __anone48315620111::AArch64Operand
1968 static std::unique_ptr<AArch64Operand>
1970 auto Op = std::make_unique<AArch64Operand>(k_Token, Ctx); in CreateToken()
1979 static std::unique_ptr<AArch64Operand>
1985 auto Op = std::make_unique<AArch64Operand>(k_Register, Ctx); in CreateReg()
1998 static std::unique_ptr<AArch64Operand>
2013 static std::unique_ptr<AArch64Operand>
2017 auto Op = std::make_unique<AArch64Operand>(k_VectorList, Ctx); in CreateVectorList()
2028 static std::unique_ptr<AArch64Operand>
2030 auto Op = std::make_unique<AArch64Operand>(k_VectorIndex, Ctx); in CreateVectorIndex()
2037 static std::unique_ptr<AArch64Operand>
2039 auto Op = std::make_unique<AArch64Operand>(k_MatrixTileList, Ctx); in CreateMatrixTileList()
2076 static std::unique_ptr<AArch64Operand> CreateImm(const MCExpr *Val, SMLoc S, in CreateImm()
2078 auto Op = std::make_unique<AArch64Operand>(k_Immediate, Ctx); in CreateImm()
2085 static std::unique_ptr<AArch64Operand> CreateShiftedImm(const MCExpr *Val, in CreateShiftedImm()
2089 auto Op = std::make_unique<AArch64Operand>(k_ShiftedImm, Ctx); in CreateShiftedImm()
2097 static std::unique_ptr<AArch64Operand>
2099 auto Op = std::make_unique<AArch64Operand>(k_CondCode, Ctx); in CreateCondCode()
2106 static std::unique_ptr<AArch64Operand>
2108 auto Op = std::make_unique<AArch64Operand>(k_FPImm, Ctx); in CreateFPImm()
2116 static std::unique_ptr<AArch64Operand> CreateBarrier(unsigned Val, in CreateBarrier()
2121 auto Op = std::make_unique<AArch64Operand>(k_Barrier, Ctx); in CreateBarrier()
2131 static std::unique_ptr<AArch64Operand> CreateSysReg(StringRef Str, SMLoc S, in CreateSysReg()
2136 auto Op = std::make_unique<AArch64Operand>(k_SysReg, Ctx); in CreateSysReg()
2147 static std::unique_ptr<AArch64Operand> CreateSysCR(unsigned Val, SMLoc S, in CreateSysCR()
2149 auto Op = std::make_unique<AArch64Operand>(k_SysCR, Ctx); in CreateSysCR()
2156 static std::unique_ptr<AArch64Operand> CreatePrefetch(unsigned Val, in CreatePrefetch()
2160 auto Op = std::make_unique<AArch64Operand>(k_Prefetch, Ctx); in CreatePrefetch()
2169 static std::unique_ptr<AArch64Operand> CreatePSBHint(unsigned Val, in CreatePSBHint()
2173 auto Op = std::make_unique<AArch64Operand>(k_PSBHint, Ctx); in CreatePSBHint()
2182 static std::unique_ptr<AArch64Operand> CreateBTIHint(unsigned Val, in CreateBTIHint()
2186 auto Op = std::make_unique<AArch64Operand>(k_BTIHint, Ctx); in CreateBTIHint()
2195 static std::unique_ptr<AArch64Operand>
2198 auto Op = std::make_unique<AArch64Operand>(k_MatrixRegister, Ctx); in CreateMatrixRegister()
2207 static std::unique_ptr<AArch64Operand>
2209 auto Op = std::make_unique<AArch64Operand>(k_SVCR, Ctx); in CreateSVCR()
2218 static std::unique_ptr<AArch64Operand>
2221 auto Op = std::make_unique<AArch64Operand>(k_ShiftExtend, Ctx); in CreateShiftExtend()
2233 void AArch64Operand::print(raw_ostream &OS) const { in print()
2712 AArch64Operand::CreateSysCR(CRNum, S, getLoc(), getContext())); in tryParseSysCROperand()
2763 Operands.push_back(AArch64Operand::CreatePrefetch(prfop, PRFM.value_or(""), in tryParsePrefetch()
2779 Operands.push_back(AArch64Operand::CreatePrefetch( in tryParsePrefetch()
2801 Operands.push_back(AArch64Operand::CreatePSBHint( in tryParsePSBHint()
2823 Operands.push_back(AArch64Operand::CreateBTIHint( in tryParseBTIHint()
2876 Operands.push_back(AArch64Operand::CreateImm(Expr, S, E, getContext())); in tryParseAdrpLabel()
2914 Operands.push_back(AArch64Operand::CreateImm(Expr, S, E, getContext())); in tryParseAdrLabel()
2946 AArch64Operand::CreateFPImm(F, true, S, getContext())); in tryParseFPImm()
2961 Operands.push_back(AArch64Operand::CreateToken("#0", S, getContext())); in tryParseFPImm()
2962 Operands.push_back(AArch64Operand::CreateToken(".0", S, getContext())); in tryParseFPImm()
2964 Operands.push_back(AArch64Operand::CreateFPImm( in tryParseFPImm()
2990 AArch64Operand::CreateImm(Imm, S, getLoc(), getContext())); in tryParseImmWithOptionalShift()
3025 AArch64Operand::CreateImm(Imm, S, getLoc(), getContext())); in tryParseImmWithOptionalShift()
3029 Operands.push_back(AArch64Operand::CreateShiftedImm(Imm, ShiftAmount, S, in tryParseImmWithOptionalShift()
3105 AArch64Operand::CreateCondCode(CC, S, getLoc(), getContext())); in parseCondCode()
3125 AArch64Operand::CreateSVCR(PStateImm, Tok.getString(), S, getContext())); in tryParseSVCR()
3139 Operands.push_back(AArch64Operand::CreateMatrixRegister( in tryParseMatrixRegister()
3178 Operands.push_back(AArch64Operand::CreateMatrixRegister( in tryParseMatrixRegister()
3233 AArch64Operand::CreateShiftExtend(ShOp, 0, false, S, E, getContext())); in tryParseOptionalShiftExtend()
3257 Operands.push_back(AArch64Operand::CreateShiftExtend( in tryParseOptionalShiftExtend()
3358 AArch64Operand::CreateImm(Expr, S, getLoc(), getContext())); in createSysAlias()
3360 AArch64Operand::CreateSysCR(Cn, S, getLoc(), getContext())); in createSysAlias()
3362 AArch64Operand::CreateSysCR(Cm, S, getLoc(), getContext())); in createSysAlias()
3365 AArch64Operand::CreateImm(Expr, S, getLoc(), getContext())); in createSysAlias()
3376 Operands.push_back(AArch64Operand::CreateToken("sys", NameLoc, getContext())); in parseSysAlias()
3497 Operands.push_back(AArch64Operand::CreateBarrier(Value, DB ? DB->Name : "", in tryParseBarrierOperand()
3529 Operands.push_back(AArch64Operand::CreateBarrier( in tryParseBarrierOperand()
3564 Operands.push_back(AArch64Operand::CreateBarrier(DB->Encoding, DB->Name, in tryParseBarriernXSOperand()
3584 AArch64Operand::CreateBarrier(DB->Encoding, Tok.getString(), getLoc(), in tryParseBarriernXSOperand()
3615 AArch64Operand::CreateSysReg(Tok.getString(), getLoc(), MRSReg, MSRReg, in tryParseSysReg()
3642 AArch64Operand::CreateVectorReg(Reg, RegKind::NeonVector, ElementWidth, in tryParseNeonVectorRegister()
3648 Operands.push_back(AArch64Operand::CreateToken(Kind, S, getContext())); in tryParseNeonVectorRegister()
3671 Operands.push_back(AArch64Operand::CreateVectorIndex(MCE->getValue(), SIdx, in tryParseVectorIndex()
3730 Operands.push_back(AArch64Operand::CreateVectorReg( in tryParseSVEPredicateVector()
3752 Operands.push_back(AArch64Operand::CreateToken("/", getLoc(), getContext())); in tryParseSVEPredicateVector()
3765 Operands.push_back(AArch64Operand::CreateToken(ZM, getLoc(), getContext())); in tryParseSVEPredicateVector()
3896 Operands.push_back(AArch64Operand::CreateMatrixTileList( in tryParseMatrixTileList()
3908 Operands.push_back(AArch64Operand::CreateMatrixTileList( in tryParseMatrixTileList()
3927 AArch64Operand::ComputeRegsForAlias(FirstReg, DRegs, ElementWidth); in tryParseMatrixTileList()
3952 AArch64Operand::ComputeRegsForAlias(Reg, DRegs, ElementWidth); in tryParseMatrixTileList()
3966 AArch64Operand::CreateMatrixTileList(RegMask, S, getLoc(), getContext())); in tryParseMatrixTileList()
4086 Operands.push_back(AArch64Operand::CreateVectorList( in tryParseVectorList()
4112 Operands.push_back(AArch64Operand::CreateReg( in tryParseGPR64sp0Operand()
4131 Operands.push_back(AArch64Operand::CreateReg( in tryParseGPR64sp0Operand()
4148 Operands.push_back(AArch64Operand::CreateReg( in tryParseGPROperand()
4162 auto Ext = static_cast<AArch64Operand*>(ExtOpnd.back().get()); in tryParseGPROperand()
4163 Operands.push_back(AArch64Operand::CreateReg( in tryParseGPROperand()
4185 AArch64Operand::CreateToken("mul", getLoc(), getContext())); in parseOptionalMulOperand()
4190 AArch64Operand::CreateToken("vl", getLoc(), getContext())); in parseOptionalMulOperand()
4203 Operands.push_back(AArch64Operand::CreateImm( in parseOptionalMulOperand()
4224 AArch64Operand::CreateToken(Keyword, Tok.getLoc(), getContext())); in parseKeywordOperand()
4259 Operands.push_back(AArch64Operand::CreateImm(Expr, S, E, getContext())); in parseOperand()
4264 AArch64Operand::CreateToken("[", getLoc(), getContext())); in parseOperand()
4276 AArch64Operand::CreateToken("{", getLoc(), getContext())); in parseOperand()
4320 Operands.push_back(AArch64Operand::CreateImm(IdVal, S, E, getContext())); in parseOperand()
4356 Operands.push_back(AArch64Operand::CreateToken("#0", S, getContext())); in parseOperand()
4357 Operands.push_back(AArch64Operand::CreateToken(".0", S, getContext())); in parseOperand()
4366 Operands.push_back(AArch64Operand::CreateImm(ImmVal, S, E, getContext())); in parseOperand()
4379 !static_cast<AArch64Operand &>(*Operands[1]).isScalarReg()) in parseOperand()
4397 Operands[0] = AArch64Operand::CreateToken("movz", Loc, Ctx); in parseOperand()
4398 Operands.push_back(AArch64Operand::CreateImm( in parseOperand()
4401 Operands.push_back(AArch64Operand::CreateShiftExtend(AArch64_AM::LSL, in parseOperand()
4413 Operands.push_back(AArch64Operand::CreateImm(CPLoc, S, E, Ctx)); in parseOperand()
4480 auto &AOp1 = static_cast<const AArch64Operand&>(Op1); in regsEqual()
4481 auto &AOp2 = static_cast<const AArch64Operand&>(Op2); in regsEqual()
4547 Operands.push_back(AArch64Operand::CreateToken(Head, NameLoc, getContext())); in ParseInstruction()
4566 Operands.push_back(AArch64Operand::CreateToken(".", SuffixLoc, getContext(), in ParseInstruction()
4569 AArch64Operand::CreateCondCode(CC, NameLoc, NameLoc, getContext())); in ParseInstruction()
4579 Operands.push_back(AArch64Operand::CreateToken( in ParseInstruction()
4629 AArch64Operand::CreateToken("]", getLoc(), getContext())); in ParseInstruction()
4632 AArch64Operand::CreateToken("!", getLoc(), getContext())); in ParseInstruction()
4635 AArch64Operand::CreateToken("}", getLoc(), getContext())); in ParseInstruction()
5126 static_cast<const AArch64Operand &>(*Operands[ErrorInfo]) in showMatchError()
5340 ((AArch64Operand &)*Operands[0]).getToken(), in showMatchError()
5481 AArch64Operand &Op = static_cast<AArch64Operand &>(*Operands[0]); in MatchAndEmitInstruction()
5488 AArch64Operand &Op2 = static_cast<AArch64Operand &>(*Operands[2]); in MatchAndEmitInstruction()
5489 AArch64Operand &Op3 = static_cast<AArch64Operand &>(*Operands[3]); in MatchAndEmitInstruction()
5509 AArch64Operand::CreateToken("ubfm", Op.getStartLoc(), getContext()); in MatchAndEmitInstruction()
5510 Operands.push_back(AArch64Operand::CreateImm( in MatchAndEmitInstruction()
5512 Operands[3] = AArch64Operand::CreateImm(NewOp3, Op3.getStartLoc(), in MatchAndEmitInstruction()
5518 AArch64Operand &Op1 = static_cast<AArch64Operand &>(*Operands[1]); in MatchAndEmitInstruction()
5519 AArch64Operand LSBOp = static_cast<AArch64Operand &>(*Operands[2]); in MatchAndEmitInstruction()
5520 AArch64Operand WidthOp = static_cast<AArch64Operand &>(*Operands[3]); in MatchAndEmitInstruction()
5559 AArch64Operand::CreateToken("bfm", Op.getStartLoc(), getContext()); in MatchAndEmitInstruction()
5560 Operands[2] = AArch64Operand::CreateReg( in MatchAndEmitInstruction()
5563 Operands[3] = AArch64Operand::CreateImm( in MatchAndEmitInstruction()
5566 AArch64Operand::CreateImm(ImmSExpr, WidthOp.getStartLoc(), in MatchAndEmitInstruction()
5574 AArch64Operand &Op1 = static_cast<AArch64Operand &>(*Operands[1]); in MatchAndEmitInstruction()
5575 AArch64Operand &Op3 = static_cast<AArch64Operand &>(*Operands[3]); in MatchAndEmitInstruction()
5576 AArch64Operand &Op4 = static_cast<AArch64Operand &>(*Operands[4]); in MatchAndEmitInstruction()
5616 Operands[3] = AArch64Operand::CreateImm( in MatchAndEmitInstruction()
5618 Operands[4] = AArch64Operand::CreateImm( in MatchAndEmitInstruction()
5621 Operands[0] = AArch64Operand::CreateToken("bfm", Op.getStartLoc(), in MatchAndEmitInstruction()
5624 Operands[0] = AArch64Operand::CreateToken("sbfm", Op.getStartLoc(), in MatchAndEmitInstruction()
5627 Operands[0] = AArch64Operand::CreateToken("ubfm", Op.getStartLoc(), in MatchAndEmitInstruction()
5638 AArch64Operand &Op1 = static_cast<AArch64Operand &>(*Operands[1]); in MatchAndEmitInstruction()
5639 AArch64Operand &Op3 = static_cast<AArch64Operand &>(*Operands[3]); in MatchAndEmitInstruction()
5640 AArch64Operand &Op4 = static_cast<AArch64Operand &>(*Operands[4]); in MatchAndEmitInstruction()
5672 Operands[4] = AArch64Operand::CreateImm( in MatchAndEmitInstruction()
5675 Operands[0] = AArch64Operand::CreateToken("bfm", Op.getStartLoc(), in MatchAndEmitInstruction()
5678 Operands[0] = AArch64Operand::CreateToken("sbfm", Op.getStartLoc(), in MatchAndEmitInstruction()
5681 Operands[0] = AArch64Operand::CreateToken("ubfm", Op.getStartLoc(), in MatchAndEmitInstruction()
5696 AArch64Operand &Op1 = static_cast<AArch64Operand &>(*Operands[1]); in MatchAndEmitInstruction()
5697 AArch64Operand &Op2 = static_cast<AArch64Operand &>(*Operands[2]); in MatchAndEmitInstruction()
5698 AArch64Operand &Op3 = static_cast<AArch64Operand &>(*Operands[3]); in MatchAndEmitInstruction()
5709 AArch64Operand::CreateToken(".16b", IDLoc, getContext()); in MatchAndEmitInstruction()
5720 AArch64Operand &Op = static_cast<AArch64Operand &>(*Operands[2]); in MatchAndEmitInstruction()
5723 Operands[2] = AArch64Operand::CreateReg(Reg, RegKind::Scalar, in MatchAndEmitInstruction()
5730 AArch64Operand &Op = static_cast<AArch64Operand &>(*Operands[1]); in MatchAndEmitInstruction()
5736 AArch64Operand &Op = static_cast<AArch64Operand &>(*Operands[2]); in MatchAndEmitInstruction()
5739 Operands[2] = AArch64Operand::CreateReg(Reg, RegKind::Scalar, in MatchAndEmitInstruction()
5747 AArch64Operand &Op = static_cast<AArch64Operand &>(*Operands[1]); in MatchAndEmitInstruction()
5753 AArch64Operand &Op = static_cast<AArch64Operand &>(*Operands[1]); in MatchAndEmitInstruction()
5756 Operands[1] = AArch64Operand::CreateReg(Reg, RegKind::Scalar, in MatchAndEmitInstruction()
5788 Operands.size() > 1 && ((AArch64Operand &)*Operands[1]).isToken() && in MatchAndEmitInstruction()
5789 ((AArch64Operand &)*Operands[1]).isTokenSuffix()) { in MatchAndEmitInstruction()
5833 ErrorLoc = ((AArch64Operand &)*Operands[ErrorInfo]).getStartLoc(); in MatchAndEmitInstruction()
5839 if (((AArch64Operand &)*Operands[ErrorInfo]).isToken() && in MatchAndEmitInstruction()
5840 ((AArch64Operand &)*Operands[ErrorInfo]).isTokenSuffix()) in MatchAndEmitInstruction()
6008 SMLoc ErrorLoc = ((AArch64Operand &)*Operands[ErrorInfo]).getStartLoc(); in MatchAndEmitInstruction()
6839 AArch64Operand &Op = static_cast<AArch64Operand &>(AsmOp); in validateTargetOperandClass()
6972 Operands.push_back(AArch64Operand::CreateReg(Pair, RegKind::Scalar, S, in tryParseGPRSeqPair()
7003 Operands.push_back(AArch64Operand::CreateVectorReg( in tryParseSVEDataVector()
7021 auto Ext = static_cast<AArch64Operand *>(ExtOpnd.back().get()); in tryParseSVEDataVector()
7022 Operands.push_back(AArch64Operand::CreateVectorReg( in tryParseSVEDataVector()
7068 AArch64Operand::CreateImm(MCConstantExpr::create(Pattern, getContext()), in tryParseSVEPattern()
7093 AArch64Operand::CreateReg(X8Reg, RegKind::Scalar, SS, getLoc(), ctx)); in tryParseGPR64x8()