Lines Matching refs:AArch64Operand
41 class AArch64Operand;
148 class AArch64Operand : public MCParsedAsmOperand { class
270 AArch64Operand(KindTy K, MCContext &Ctx) : Kind(K), Ctx(Ctx) {} in AArch64Operand() function in __anon26fd99540211::AArch64Operand
272 AArch64Operand(const AArch64Operand &o) : MCParsedAsmOperand(), Ctx(o.Ctx) { in AArch64Operand() function in __anon26fd99540211::AArch64Operand
1628 static std::unique_ptr<AArch64Operand>
1630 auto Op = make_unique<AArch64Operand>(k_Token, Ctx); in CreateToken()
1639 static std::unique_ptr<AArch64Operand>
1641 auto Op = make_unique<AArch64Operand>(k_Register, Ctx); in CreateReg()
1649 static std::unique_ptr<AArch64Operand>
1652 auto Op = make_unique<AArch64Operand>(k_VectorList, Ctx); in CreateVectorList()
1662 static std::unique_ptr<AArch64Operand>
1664 auto Op = make_unique<AArch64Operand>(k_VectorIndex, Ctx); in CreateVectorIndex()
1671 static std::unique_ptr<AArch64Operand> CreateImm(const MCExpr *Val, SMLoc S, in CreateImm()
1673 auto Op = make_unique<AArch64Operand>(k_Immediate, Ctx); in CreateImm()
1680 static std::unique_ptr<AArch64Operand> CreateShiftedImm(const MCExpr *Val, in CreateShiftedImm()
1684 auto Op = make_unique<AArch64Operand>(k_ShiftedImm, Ctx); in CreateShiftedImm()
1692 static std::unique_ptr<AArch64Operand>
1694 auto Op = make_unique<AArch64Operand>(k_CondCode, Ctx); in CreateCondCode()
1701 static std::unique_ptr<AArch64Operand> CreateFPImm(unsigned Val, SMLoc S, in CreateFPImm()
1703 auto Op = make_unique<AArch64Operand>(k_FPImm, Ctx); in CreateFPImm()
1710 static std::unique_ptr<AArch64Operand> CreateBarrier(unsigned Val, in CreateBarrier()
1714 auto Op = make_unique<AArch64Operand>(k_Barrier, Ctx); in CreateBarrier()
1723 static std::unique_ptr<AArch64Operand> CreateSysReg(StringRef Str, SMLoc S, in CreateSysReg()
1728 auto Op = make_unique<AArch64Operand>(k_SysReg, Ctx); in CreateSysReg()
1739 static std::unique_ptr<AArch64Operand> CreateSysCR(unsigned Val, SMLoc S, in CreateSysCR()
1741 auto Op = make_unique<AArch64Operand>(k_SysCR, Ctx); in CreateSysCR()
1748 static std::unique_ptr<AArch64Operand> CreatePrefetch(unsigned Val, in CreatePrefetch()
1752 auto Op = make_unique<AArch64Operand>(k_Prefetch, Ctx); in CreatePrefetch()
1761 static std::unique_ptr<AArch64Operand> CreatePSBHint(unsigned Val, in CreatePSBHint()
1765 auto Op = make_unique<AArch64Operand>(k_PSBHint, Ctx); in CreatePSBHint()
1774 static std::unique_ptr<AArch64Operand>
1777 auto Op = make_unique<AArch64Operand>(k_ShiftExtend, Ctx); in CreateShiftExtend()
1789 void AArch64Operand::print(raw_ostream &OS) const { in print()
2060 AArch64Operand::CreateSysCR(CRNum, S, getLoc(), getContext())); in tryParseSysCROperand()
2094 Operands.push_back(AArch64Operand::CreatePrefetch(prfop, Name, in tryParsePrefetch()
2114 Operands.push_back(AArch64Operand::CreatePrefetch(prfop, Tok.getString(), in tryParsePrefetch()
2140 Operands.push_back(AArch64Operand::CreatePSBHint(psbhint, Tok.getString(), in tryParsePSBHint()
2191 Operands.push_back(AArch64Operand::CreateImm(Expr, S, E, getContext())); in tryParseAdrpLabel()
2212 Operands.push_back(AArch64Operand::CreateImm(Expr, S, E, getContext())); in tryParseAdrLabel()
2251 Operands.push_back(AArch64Operand::CreateFPImm(Val, S, getContext())); in tryParseFPImm()
2270 Operands.push_back(AArch64Operand::CreateFPImm(Val, S, getContext())); in tryParseFPImm()
2307 Operands.push_back(AArch64Operand::CreateShiftedImm(Imm, ShiftAmount, S, E, in tryParseAddSubImm()
2343 Operands.push_back(AArch64Operand::CreateShiftedImm(Imm, ShiftAmount, in tryParseAddSubImm()
2394 AArch64Operand::CreateCondCode(CC, S, getLoc(), getContext())); in parseCondCode()
2441 AArch64Operand::CreateShiftExtend(ShOp, 0, false, S, E, getContext())); in tryParseOptionalShiftExtend()
2467 Operands.push_back(AArch64Operand::CreateShiftExtend( in tryParseOptionalShiftExtend()
2481 AArch64Operand::CreateToken("sys", false, NameLoc, getContext())); in parseSysAlias()
2494 AArch64Operand::CreateImm(Expr, S, getLoc(), getContext())); \ in parseSysAlias()
2496 AArch64Operand::CreateSysCR(Cn, S, getLoc(), getContext())); \ in parseSysAlias()
2498 AArch64Operand::CreateSysCR(Cm, S, getLoc(), getContext())); \ in parseSysAlias()
2501 AArch64Operand::CreateImm(Expr, S, getLoc(), getContext())); \ in parseSysAlias()
2769 Operands.push_back( AArch64Operand::CreateBarrier(MCE->getValue(), Name, in tryParseBarrierOperand()
2794 Operands.push_back( AArch64Operand::CreateBarrier(Opt, Tok.getString(), in tryParseBarrierOperand()
2829 Operands.push_back(AArch64Operand::CreateSysReg( in tryParseSysReg()
2849 AArch64Operand::CreateReg(Reg, true, S, getLoc(), getContext())); in tryParseVectorRegister()
2854 AArch64Operand::CreateToken(Kind, false, S, getContext())); in tryParseVectorRegister()
2878 Operands.push_back(AArch64Operand::CreateVectorIndex(MCE->getValue(), SIdx, in tryParseVectorRegister()
2898 AArch64Operand::CreateReg(Reg, false, S, getLoc(), getContext())); in parseRegister()
2915 AArch64Operand::CreateToken("[", false, LBracS, getContext())); in parseRegister()
2917 AArch64Operand::CreateToken("1", false, IntS, getContext())); in parseRegister()
2919 AArch64Operand::CreateToken("]", false, RBracS, getContext())); in parseRegister()
3075 Operands.push_back(AArch64Operand::CreateVectorList( in parseVectorList()
3100 Operands.push_back(AArch64Operand::CreateVectorIndex(MCE->getValue(), SIdx, in parseVectorList()
3125 AArch64Operand::CreateReg(RegNum, false, S, getLoc(), Ctx)); in tryParseGPR64sp0Operand()
3146 AArch64Operand::CreateReg(RegNum, false, S, getLoc(), Ctx)); in tryParseGPR64sp0Operand()
3176 Operands.push_back(AArch64Operand::CreateImm(Expr, S, E, getContext())); in parseOperand()
3181 Operands.push_back(AArch64Operand::CreateToken("[", false, Loc, in parseOperand()
3214 Operands.push_back(AArch64Operand::CreateImm(IdVal, S, E, getContext())); in parseOperand()
3251 AArch64Operand::CreateToken("#0", false, S, getContext())); in parseOperand()
3253 AArch64Operand::CreateToken(".0", false, S, getContext())); in parseOperand()
3262 Operands.push_back(AArch64Operand::CreateImm(ImmVal, S, E, getContext())); in parseOperand()
3275 !static_cast<AArch64Operand &>(*Operands[1]).isReg()) in parseOperand()
3293 Operands[0] = AArch64Operand::CreateToken("movz", false, Loc, Ctx); in parseOperand()
3294 Operands.push_back(AArch64Operand::CreateImm( in parseOperand()
3297 Operands.push_back(AArch64Operand::CreateShiftExtend(AArch64_AM::LSL, in parseOperand()
3309 Operands.push_back(AArch64Operand::CreateImm(CPLoc, S, E, Ctx)); in parseOperand()
3364 AArch64Operand::CreateToken(Head, false, NameLoc, getContext())); in ParseInstruction()
3379 AArch64Operand::CreateToken(".", true, SuffixLoc, getContext())); in ParseInstruction()
3381 AArch64Operand::CreateCondCode(CC, NameLoc, NameLoc, getContext())); in ParseInstruction()
3392 AArch64Operand::CreateToken(Head, true, SuffixLoc, getContext())); in ParseInstruction()
3443 Operands.push_back(AArch64Operand::CreateToken("]", false, Loc, in ParseInstruction()
3450 Operands.push_back(AArch64Operand::CreateToken("!", false, Loc, in ParseInstruction()
3779 AArch64Operand &Op = static_cast<AArch64Operand &>(*Operands[0]); in MatchAndEmitInstruction()
3786 AArch64Operand &Op2 = static_cast<AArch64Operand &>(*Operands[2]); in MatchAndEmitInstruction()
3787 AArch64Operand &Op3 = static_cast<AArch64Operand &>(*Operands[3]); in MatchAndEmitInstruction()
3806 Operands[0] = AArch64Operand::CreateToken( in MatchAndEmitInstruction()
3808 Operands.push_back(AArch64Operand::CreateImm( in MatchAndEmitInstruction()
3810 Operands[3] = AArch64Operand::CreateImm(NewOp3, Op3.getStartLoc(), in MatchAndEmitInstruction()
3816 AArch64Operand &Op1 = static_cast<AArch64Operand &>(*Operands[1]); in MatchAndEmitInstruction()
3817 AArch64Operand LSBOp = static_cast<AArch64Operand &>(*Operands[2]); in MatchAndEmitInstruction()
3818 AArch64Operand WidthOp = static_cast<AArch64Operand &>(*Operands[3]); in MatchAndEmitInstruction()
3856 Operands[0] = AArch64Operand::CreateToken( in MatchAndEmitInstruction()
3858 Operands[2] = AArch64Operand::CreateReg( in MatchAndEmitInstruction()
3861 Operands[3] = AArch64Operand::CreateImm( in MatchAndEmitInstruction()
3864 AArch64Operand::CreateImm(ImmSExpr, WidthOp.getStartLoc(), in MatchAndEmitInstruction()
3872 AArch64Operand &Op1 = static_cast<AArch64Operand &>(*Operands[1]); in MatchAndEmitInstruction()
3873 AArch64Operand &Op3 = static_cast<AArch64Operand &>(*Operands[3]); in MatchAndEmitInstruction()
3874 AArch64Operand &Op4 = static_cast<AArch64Operand &>(*Operands[4]); in MatchAndEmitInstruction()
3914 Operands[3] = AArch64Operand::CreateImm( in MatchAndEmitInstruction()
3916 Operands[4] = AArch64Operand::CreateImm( in MatchAndEmitInstruction()
3919 Operands[0] = AArch64Operand::CreateToken( in MatchAndEmitInstruction()
3922 Operands[0] = AArch64Operand::CreateToken( in MatchAndEmitInstruction()
3925 Operands[0] = AArch64Operand::CreateToken( in MatchAndEmitInstruction()
3936 AArch64Operand &Op1 = static_cast<AArch64Operand &>(*Operands[1]); in MatchAndEmitInstruction()
3937 AArch64Operand &Op3 = static_cast<AArch64Operand &>(*Operands[3]); in MatchAndEmitInstruction()
3938 AArch64Operand &Op4 = static_cast<AArch64Operand &>(*Operands[4]); in MatchAndEmitInstruction()
3970 Operands[4] = AArch64Operand::CreateImm( in MatchAndEmitInstruction()
3973 Operands[0] = AArch64Operand::CreateToken( in MatchAndEmitInstruction()
3976 Operands[0] = AArch64Operand::CreateToken( in MatchAndEmitInstruction()
3979 Operands[0] = AArch64Operand::CreateToken( in MatchAndEmitInstruction()
3993 AArch64Operand &Op = static_cast<AArch64Operand &>(*Operands[2]); in MatchAndEmitInstruction()
3996 Operands[2] = AArch64Operand::CreateReg(Reg, false, Op.getStartLoc(), in MatchAndEmitInstruction()
4002 AArch64Operand &Op = static_cast<AArch64Operand &>(*Operands[1]); in MatchAndEmitInstruction()
4008 AArch64Operand &Op = static_cast<AArch64Operand &>(*Operands[2]); in MatchAndEmitInstruction()
4011 Operands[2] = AArch64Operand::CreateReg(Reg, false, Op.getStartLoc(), in MatchAndEmitInstruction()
4018 AArch64Operand &Op = static_cast<AArch64Operand &>(*Operands[1]); in MatchAndEmitInstruction()
4024 AArch64Operand &Op = static_cast<AArch64Operand &>(*Operands[1]); in MatchAndEmitInstruction()
4027 Operands[1] = AArch64Operand::CreateReg(Reg, false, Op.getStartLoc(), in MatchAndEmitInstruction()
4035 AArch64Operand &RegOp = static_cast<AArch64Operand &>(*Operands[1]); in MatchAndEmitInstruction()
4036 AArch64Operand &ImmOp = static_cast<AArch64Operand &>(*Operands[2]); in MatchAndEmitInstruction()
4043 Operands[2] = AArch64Operand::CreateReg(zreg, false, Op.getStartLoc(), in MatchAndEmitInstruction()
4069 Operands.size() > 1 && ((AArch64Operand &)*Operands[1]).isToken() && in MatchAndEmitInstruction()
4070 ((AArch64Operand &)*Operands[1]).isTokenSuffix()) { in MatchAndEmitInstruction()
4115 ErrorLoc = ((AArch64Operand &)*Operands[ErrorInfo]).getStartLoc(); in MatchAndEmitInstruction()
4121 if (((AArch64Operand &)*Operands[ErrorInfo]).isToken() && in MatchAndEmitInstruction()
4122 ((AArch64Operand &)*Operands[ErrorInfo]).isTokenSuffix()) in MatchAndEmitInstruction()
4179 SMLoc ErrorLoc = ((AArch64Operand &)*Operands[ErrorInfo]).getStartLoc(); in MatchAndEmitInstruction()
4485 AArch64Operand &Op = static_cast<AArch64Operand &>(AsmOp); in validateTargetOperandClass()
4611 Operands.push_back(AArch64Operand::CreateReg(Pair, false, S, getLoc(), in tryParseGPRSeqPair()