Lines Matching refs:AArch64Operand

273 class AArch64Operand : public MCParsedAsmOperand {  class
427 AArch64Operand(KindTy K, MCContext &Ctx) : Kind(K), Ctx(Ctx) {} in AArch64Operand() function in __anon7d8c15f70111::AArch64Operand
429 AArch64Operand(const AArch64Operand &o) : MCParsedAsmOperand(), Ctx(o.Ctx) { in AArch64Operand() function in __anon7d8c15f70111::AArch64Operand
1813 static std::unique_ptr<AArch64Operand>
1815 auto Op = make_unique<AArch64Operand>(k_Token, Ctx); in CreateToken()
1824 static std::unique_ptr<AArch64Operand>
1830 auto Op = make_unique<AArch64Operand>(k_Register, Ctx); in CreateReg()
1843 static std::unique_ptr<AArch64Operand>
1858 static std::unique_ptr<AArch64Operand>
1862 auto Op = make_unique<AArch64Operand>(k_VectorList, Ctx); in CreateVectorList()
1873 static std::unique_ptr<AArch64Operand>
1875 auto Op = make_unique<AArch64Operand>(k_VectorIndex, Ctx); in CreateVectorIndex()
1882 static std::unique_ptr<AArch64Operand> CreateImm(const MCExpr *Val, SMLoc S, in CreateImm()
1884 auto Op = make_unique<AArch64Operand>(k_Immediate, Ctx); in CreateImm()
1891 static std::unique_ptr<AArch64Operand> CreateShiftedImm(const MCExpr *Val, in CreateShiftedImm()
1895 auto Op = make_unique<AArch64Operand>(k_ShiftedImm, Ctx); in CreateShiftedImm()
1903 static std::unique_ptr<AArch64Operand>
1905 auto Op = make_unique<AArch64Operand>(k_CondCode, Ctx); in CreateCondCode()
1912 static std::unique_ptr<AArch64Operand>
1914 auto Op = make_unique<AArch64Operand>(k_FPImm, Ctx); in CreateFPImm()
1922 static std::unique_ptr<AArch64Operand> CreateBarrier(unsigned Val, in CreateBarrier()
1926 auto Op = make_unique<AArch64Operand>(k_Barrier, Ctx); in CreateBarrier()
1935 static std::unique_ptr<AArch64Operand> CreateSysReg(StringRef Str, SMLoc S, in CreateSysReg()
1940 auto Op = make_unique<AArch64Operand>(k_SysReg, Ctx); in CreateSysReg()
1951 static std::unique_ptr<AArch64Operand> CreateSysCR(unsigned Val, SMLoc S, in CreateSysCR()
1953 auto Op = make_unique<AArch64Operand>(k_SysCR, Ctx); in CreateSysCR()
1960 static std::unique_ptr<AArch64Operand> CreatePrefetch(unsigned Val, in CreatePrefetch()
1964 auto Op = make_unique<AArch64Operand>(k_Prefetch, Ctx); in CreatePrefetch()
1973 static std::unique_ptr<AArch64Operand> CreatePSBHint(unsigned Val, in CreatePSBHint()
1977 auto Op = make_unique<AArch64Operand>(k_PSBHint, Ctx); in CreatePSBHint()
1986 static std::unique_ptr<AArch64Operand> CreateBTIHint(unsigned Val, in CreateBTIHint()
1990 auto Op = make_unique<AArch64Operand>(k_BTIHint, Ctx); in CreateBTIHint()
1999 static std::unique_ptr<AArch64Operand>
2002 auto Op = make_unique<AArch64Operand>(k_ShiftExtend, Ctx); in CreateShiftExtend()
2014 void AArch64Operand::print(raw_ostream &OS) const { in print()
2350 AArch64Operand::CreateSysCR(CRNum, S, getLoc(), getContext())); in tryParseSysCROperand()
2402 Operands.push_back(AArch64Operand::CreatePrefetch( in tryParsePrefetch()
2419 Operands.push_back(AArch64Operand::CreatePrefetch( in tryParsePrefetch()
2442 Operands.push_back(AArch64Operand::CreatePSBHint( in tryParsePSBHint()
2465 Operands.push_back(AArch64Operand::CreateBTIHint( in tryParseBTIHint()
2516 Operands.push_back(AArch64Operand::CreateImm(Expr, S, E, getContext())); in tryParseAdrpLabel()
2554 Operands.push_back(AArch64Operand::CreateImm(Expr, S, E, getContext())); in tryParseAdrLabel()
2587 AArch64Operand::CreateFPImm(F, true, S, getContext())); in tryParseFPImm()
2598 AArch64Operand::CreateToken("#0", false, S, getContext())); in tryParseFPImm()
2600 AArch64Operand::CreateToken(".0", false, S, getContext())); in tryParseFPImm()
2602 Operands.push_back(AArch64Operand::CreateFPImm( in tryParseFPImm()
2630 AArch64Operand::CreateImm(Imm, S, E, getContext())); in tryParseImmWithOptionalShift()
2665 Operands.push_back(AArch64Operand::CreateImm(Imm, S, E, getContext())); in tryParseImmWithOptionalShift()
2670 Operands.push_back(AArch64Operand::CreateShiftedImm(Imm, ShiftAmount, in tryParseImmWithOptionalShift()
2737 AArch64Operand::CreateCondCode(CC, S, getLoc(), getContext())); in parseCondCode()
2785 AArch64Operand::CreateShiftExtend(ShOp, 0, false, S, E, getContext())); in tryParseOptionalShiftExtend()
2810 Operands.push_back(AArch64Operand::CreateShiftExtend( in tryParseOptionalShiftExtend()
2876 AArch64Operand::CreateImm(Expr, S, getLoc(), getContext())); in createSysAlias()
2878 AArch64Operand::CreateSysCR(Cn, S, getLoc(), getContext())); in createSysAlias()
2880 AArch64Operand::CreateSysCR(Cm, S, getLoc(), getContext())); in createSysAlias()
2883 AArch64Operand::CreateImm(Expr, S, getLoc(), getContext())); in createSysAlias()
2895 AArch64Operand::CreateToken("sys", false, NameLoc, getContext())); in parseSysAlias()
3009 Operands.push_back(AArch64Operand::CreateBarrier( in tryParseBarrierOperand()
3034 Operands.push_back(AArch64Operand::CreateBarrier( in tryParseBarrierOperand()
3063 AArch64Operand::CreateSysReg(Tok.getString(), getLoc(), MRSReg, MSRReg, in tryParseSysReg()
3091 AArch64Operand::CreateVectorReg(Reg, RegKind::NeonVector, ElementWidth, in tryParseNeonVectorRegister()
3098 AArch64Operand::CreateToken(Kind, false, S, getContext())); in tryParseNeonVectorRegister()
3121 Operands.push_back(AArch64Operand::CreateVectorIndex(MCE->getValue(), SIdx, in tryParseVectorIndex()
3181 Operands.push_back(AArch64Operand::CreateVectorReg( in tryParseSVEPredicateVector()
3198 AArch64Operand::CreateToken("/" , false, getLoc(), getContext())); in tryParseSVEPredicateVector()
3212 AArch64Operand::CreateToken(ZM, false, getLoc(), getContext())); in tryParseSVEPredicateVector()
3415 Operands.push_back(AArch64Operand::CreateVectorList( in tryParseVectorList()
3441 Operands.push_back(AArch64Operand::CreateReg( in tryParseGPR64sp0Operand()
3460 Operands.push_back(AArch64Operand::CreateReg( in tryParseGPR64sp0Operand()
3477 Operands.push_back(AArch64Operand::CreateReg( in tryParseGPROperand()
3491 auto Ext = static_cast<AArch64Operand*>(ExtOpnd.back().get()); in tryParseGPROperand()
3492 Operands.push_back(AArch64Operand::CreateReg( in tryParseGPROperand()
3513 AArch64Operand::CreateToken("mul", false, getLoc(), getContext())); in parseOptionalMulOperand()
3518 AArch64Operand::CreateToken("vl", false, getLoc(), getContext())); in parseOptionalMulOperand()
3531 Operands.push_back(AArch64Operand::CreateImm( in parseOptionalMulOperand()
3570 Operands.push_back(AArch64Operand::CreateImm(Expr, S, E, getContext())); in parseOperand()
3575 Operands.push_back(AArch64Operand::CreateToken("[", false, Loc, in parseOperand()
3612 Operands.push_back(AArch64Operand::CreateImm(IdVal, S, E, getContext())); in parseOperand()
3649 AArch64Operand::CreateToken("#0", false, S, getContext())); in parseOperand()
3651 AArch64Operand::CreateToken(".0", false, S, getContext())); in parseOperand()
3660 Operands.push_back(AArch64Operand::CreateImm(ImmVal, S, E, getContext())); in parseOperand()
3673 !static_cast<AArch64Operand &>(*Operands[1]).isScalarReg()) in parseOperand()
3691 Operands[0] = AArch64Operand::CreateToken("movz", false, Loc, Ctx); in parseOperand()
3692 Operands.push_back(AArch64Operand::CreateImm( in parseOperand()
3695 Operands.push_back(AArch64Operand::CreateShiftExtend(AArch64_AM::LSL, in parseOperand()
3707 Operands.push_back(AArch64Operand::CreateImm(CPLoc, S, E, Ctx)); in parseOperand()
3715 auto &AOp1 = static_cast<const AArch64Operand&>(Op1); in regsEqual()
3716 auto &AOp2 = static_cast<const AArch64Operand&>(Op2); in regsEqual()
3784 AArch64Operand::CreateToken(Head, false, NameLoc, getContext())); in ParseInstruction()
3799 AArch64Operand::CreateToken(".", true, SuffixLoc, getContext())); in ParseInstruction()
3801 AArch64Operand::CreateCondCode(CC, NameLoc, NameLoc, getContext())); in ParseInstruction()
3812 AArch64Operand::CreateToken(Head, true, SuffixLoc, getContext())); in ParseInstruction()
3857 AArch64Operand::CreateToken("]", false, RLoc, getContext())); in ParseInstruction()
3861 AArch64Operand::CreateToken("!", false, ELoc, getContext())); in ParseInstruction()
4179 static_cast<const AArch64Operand &>(*Operands[ErrorInfo]) in showMatchError()
4384 ((AArch64Operand &)*Operands[0]).getToken(), in showMatchError()
4497 AArch64Operand &Op = static_cast<AArch64Operand &>(*Operands[0]); in MatchAndEmitInstruction()
4504 AArch64Operand &Op2 = static_cast<AArch64Operand &>(*Operands[2]); in MatchAndEmitInstruction()
4505 AArch64Operand &Op3 = static_cast<AArch64Operand &>(*Operands[3]); in MatchAndEmitInstruction()
4524 Operands[0] = AArch64Operand::CreateToken( in MatchAndEmitInstruction()
4526 Operands.push_back(AArch64Operand::CreateImm( in MatchAndEmitInstruction()
4528 Operands[3] = AArch64Operand::CreateImm(NewOp3, Op3.getStartLoc(), in MatchAndEmitInstruction()
4534 AArch64Operand &Op1 = static_cast<AArch64Operand &>(*Operands[1]); in MatchAndEmitInstruction()
4535 AArch64Operand LSBOp = static_cast<AArch64Operand &>(*Operands[2]); in MatchAndEmitInstruction()
4536 AArch64Operand WidthOp = static_cast<AArch64Operand &>(*Operands[3]); in MatchAndEmitInstruction()
4574 Operands[0] = AArch64Operand::CreateToken( in MatchAndEmitInstruction()
4576 Operands[2] = AArch64Operand::CreateReg( in MatchAndEmitInstruction()
4579 Operands[3] = AArch64Operand::CreateImm( in MatchAndEmitInstruction()
4582 AArch64Operand::CreateImm(ImmSExpr, WidthOp.getStartLoc(), in MatchAndEmitInstruction()
4590 AArch64Operand &Op1 = static_cast<AArch64Operand &>(*Operands[1]); in MatchAndEmitInstruction()
4591 AArch64Operand &Op3 = static_cast<AArch64Operand &>(*Operands[3]); in MatchAndEmitInstruction()
4592 AArch64Operand &Op4 = static_cast<AArch64Operand &>(*Operands[4]); in MatchAndEmitInstruction()
4632 Operands[3] = AArch64Operand::CreateImm( in MatchAndEmitInstruction()
4634 Operands[4] = AArch64Operand::CreateImm( in MatchAndEmitInstruction()
4637 Operands[0] = AArch64Operand::CreateToken( in MatchAndEmitInstruction()
4640 Operands[0] = AArch64Operand::CreateToken( in MatchAndEmitInstruction()
4643 Operands[0] = AArch64Operand::CreateToken( in MatchAndEmitInstruction()
4654 AArch64Operand &Op1 = static_cast<AArch64Operand &>(*Operands[1]); in MatchAndEmitInstruction()
4655 AArch64Operand &Op3 = static_cast<AArch64Operand &>(*Operands[3]); in MatchAndEmitInstruction()
4656 AArch64Operand &Op4 = static_cast<AArch64Operand &>(*Operands[4]); in MatchAndEmitInstruction()
4688 Operands[4] = AArch64Operand::CreateImm( in MatchAndEmitInstruction()
4691 Operands[0] = AArch64Operand::CreateToken( in MatchAndEmitInstruction()
4694 Operands[0] = AArch64Operand::CreateToken( in MatchAndEmitInstruction()
4697 Operands[0] = AArch64Operand::CreateToken( in MatchAndEmitInstruction()
4712 AArch64Operand &Op1 = static_cast<AArch64Operand &>(*Operands[1]); in MatchAndEmitInstruction()
4713 AArch64Operand &Op2 = static_cast<AArch64Operand &>(*Operands[2]); in MatchAndEmitInstruction()
4714 AArch64Operand &Op3 = static_cast<AArch64Operand &>(*Operands[3]); in MatchAndEmitInstruction()
4724 Operands[Idx] = AArch64Operand::CreateToken(".16b", false, IDLoc, in MatchAndEmitInstruction()
4736 AArch64Operand &Op = static_cast<AArch64Operand &>(*Operands[2]); in MatchAndEmitInstruction()
4739 Operands[2] = AArch64Operand::CreateReg(Reg, RegKind::Scalar, in MatchAndEmitInstruction()
4746 AArch64Operand &Op = static_cast<AArch64Operand &>(*Operands[1]); in MatchAndEmitInstruction()
4752 AArch64Operand &Op = static_cast<AArch64Operand &>(*Operands[2]); in MatchAndEmitInstruction()
4755 Operands[2] = AArch64Operand::CreateReg(Reg, RegKind::Scalar, in MatchAndEmitInstruction()
4763 AArch64Operand &Op = static_cast<AArch64Operand &>(*Operands[1]); in MatchAndEmitInstruction()
4769 AArch64Operand &Op = static_cast<AArch64Operand &>(*Operands[1]); in MatchAndEmitInstruction()
4772 Operands[1] = AArch64Operand::CreateReg(Reg, RegKind::Scalar, in MatchAndEmitInstruction()
4800 Operands.size() > 1 && ((AArch64Operand &)*Operands[1]).isToken() && in MatchAndEmitInstruction()
4801 ((AArch64Operand &)*Operands[1]).isTokenSuffix()) { in MatchAndEmitInstruction()
4846 ErrorLoc = ((AArch64Operand &)*Operands[ErrorInfo]).getStartLoc(); in MatchAndEmitInstruction()
4852 if (((AArch64Operand &)*Operands[ErrorInfo]).isToken() && in MatchAndEmitInstruction()
4853 ((AArch64Operand &)*Operands[ErrorInfo]).isTokenSuffix()) in MatchAndEmitInstruction()
5004 SMLoc ErrorLoc = ((AArch64Operand &)*Operands[ErrorInfo]).getStartLoc(); in MatchAndEmitInstruction()
5533 AArch64Operand &Op = static_cast<AArch64Operand &>(AsmOp); in validateTargetOperandClass()
5658 Operands.push_back(AArch64Operand::CreateReg(Pair, RegKind::Scalar, S, in tryParseGPRSeqPair()
5689 Operands.push_back(AArch64Operand::CreateVectorReg( in tryParseSVEDataVector()
5707 auto Ext = static_cast<AArch64Operand *>(ExtOpnd.back().get()); in tryParseSVEDataVector()
5708 Operands.push_back(AArch64Operand::CreateVectorReg( in tryParseSVEDataVector()
5754 AArch64Operand::CreateImm(MCConstantExpr::create(Pattern, getContext()), in tryParseSVEPattern()