Lines Matching refs:AArch64Operand

40 class AArch64Operand;
146 class AArch64Operand : public MCParsedAsmOperand { class
260 AArch64Operand(KindTy K, MCContext &Ctx) : Kind(K), Ctx(Ctx) {} in AArch64Operand() function in __anon26fd99540211::AArch64Operand
262 AArch64Operand(const AArch64Operand &o) : MCParsedAsmOperand(), Ctx(o.Ctx) { in AArch64Operand() function in __anon26fd99540211::AArch64Operand
1530 static std::unique_ptr<AArch64Operand>
1532 auto Op = make_unique<AArch64Operand>(k_Token, Ctx); in CreateToken()
1541 static std::unique_ptr<AArch64Operand>
1543 auto Op = make_unique<AArch64Operand>(k_Register, Ctx); in CreateReg()
1551 static std::unique_ptr<AArch64Operand>
1554 auto Op = make_unique<AArch64Operand>(k_VectorList, Ctx); in CreateVectorList()
1564 static std::unique_ptr<AArch64Operand>
1566 auto Op = make_unique<AArch64Operand>(k_VectorIndex, Ctx); in CreateVectorIndex()
1573 static std::unique_ptr<AArch64Operand> CreateImm(const MCExpr *Val, SMLoc S, in CreateImm()
1575 auto Op = make_unique<AArch64Operand>(k_Immediate, Ctx); in CreateImm()
1582 static std::unique_ptr<AArch64Operand> CreateShiftedImm(const MCExpr *Val, in CreateShiftedImm()
1586 auto Op = make_unique<AArch64Operand>(k_ShiftedImm, Ctx); in CreateShiftedImm()
1594 static std::unique_ptr<AArch64Operand>
1596 auto Op = make_unique<AArch64Operand>(k_CondCode, Ctx); in CreateCondCode()
1603 static std::unique_ptr<AArch64Operand> CreateFPImm(unsigned Val, SMLoc S, in CreateFPImm()
1605 auto Op = make_unique<AArch64Operand>(k_FPImm, Ctx); in CreateFPImm()
1612 static std::unique_ptr<AArch64Operand> CreateBarrier(unsigned Val, in CreateBarrier()
1616 auto Op = make_unique<AArch64Operand>(k_Barrier, Ctx); in CreateBarrier()
1625 static std::unique_ptr<AArch64Operand> CreateSysReg(StringRef Str, SMLoc S, in CreateSysReg()
1630 auto Op = make_unique<AArch64Operand>(k_SysReg, Ctx); in CreateSysReg()
1641 static std::unique_ptr<AArch64Operand> CreateSysCR(unsigned Val, SMLoc S, in CreateSysCR()
1643 auto Op = make_unique<AArch64Operand>(k_SysCR, Ctx); in CreateSysCR()
1650 static std::unique_ptr<AArch64Operand> CreatePrefetch(unsigned Val, in CreatePrefetch()
1654 auto Op = make_unique<AArch64Operand>(k_Prefetch, Ctx); in CreatePrefetch()
1663 static std::unique_ptr<AArch64Operand>
1666 auto Op = make_unique<AArch64Operand>(k_ShiftExtend, Ctx); in CreateShiftExtend()
1678 void AArch64Operand::print(raw_ostream &OS) const { in print()
1943 AArch64Operand::CreateSysCR(CRNum, S, getLoc(), getContext())); in tryParseSysCROperand()
1977 Operands.push_back(AArch64Operand::CreatePrefetch(prfop, Name, in tryParsePrefetch()
1997 Operands.push_back(AArch64Operand::CreatePrefetch(prfop, Tok.getString(), in tryParsePrefetch()
2048 Operands.push_back(AArch64Operand::CreateImm(Expr, S, E, getContext())); in tryParseAdrpLabel()
2069 Operands.push_back(AArch64Operand::CreateImm(Expr, S, E, getContext())); in tryParseAdrLabel()
2108 Operands.push_back(AArch64Operand::CreateFPImm(Val, S, getContext())); in tryParseFPImm()
2127 Operands.push_back(AArch64Operand::CreateFPImm(Val, S, getContext())); in tryParseFPImm()
2164 Operands.push_back(AArch64Operand::CreateShiftedImm(Imm, ShiftAmount, S, E, in tryParseAddSubImm()
2200 Operands.push_back(AArch64Operand::CreateShiftedImm(Imm, ShiftAmount, in tryParseAddSubImm()
2251 AArch64Operand::CreateCondCode(CC, S, getLoc(), getContext())); in parseCondCode()
2298 AArch64Operand::CreateShiftExtend(ShOp, 0, false, S, E, getContext())); in tryParseOptionalShiftExtend()
2324 Operands.push_back(AArch64Operand::CreateShiftExtend( in tryParseOptionalShiftExtend()
2338 AArch64Operand::CreateToken("sys", false, NameLoc, getContext())); in parseSysAlias()
2351 AArch64Operand::CreateImm(Expr, S, getLoc(), getContext())); \ in parseSysAlias()
2353 AArch64Operand::CreateSysCR(Cn, S, getLoc(), getContext())); \ in parseSysAlias()
2355 AArch64Operand::CreateSysCR(Cm, S, getLoc(), getContext())); \ in parseSysAlias()
2358 AArch64Operand::CreateImm(Expr, S, getLoc(), getContext())); \ in parseSysAlias()
2605 Operands.push_back( AArch64Operand::CreateBarrier(MCE->getValue(), Name, in tryParseBarrierOperand()
2630 Operands.push_back( AArch64Operand::CreateBarrier(Opt, Tok.getString(), in tryParseBarrierOperand()
2664 Operands.push_back(AArch64Operand::CreateSysReg( in tryParseSysReg()
2684 AArch64Operand::CreateReg(Reg, true, S, getLoc(), getContext())); in tryParseVectorRegister()
2689 AArch64Operand::CreateToken(Kind, false, S, getContext())); in tryParseVectorRegister()
2713 Operands.push_back(AArch64Operand::CreateVectorIndex(MCE->getValue(), SIdx, in tryParseVectorRegister()
2733 AArch64Operand::CreateReg(Reg, false, S, getLoc(), getContext())); in parseRegister()
2750 AArch64Operand::CreateToken("[", false, LBracS, getContext())); in parseRegister()
2752 AArch64Operand::CreateToken("1", false, IntS, getContext())); in parseRegister()
2754 AArch64Operand::CreateToken("]", false, RBracS, getContext())); in parseRegister()
2910 Operands.push_back(AArch64Operand::CreateVectorList( in parseVectorList()
2935 Operands.push_back(AArch64Operand::CreateVectorIndex(MCE->getValue(), SIdx, in parseVectorList()
2960 AArch64Operand::CreateReg(RegNum, false, S, getLoc(), Ctx)); in tryParseGPR64sp0Operand()
2981 AArch64Operand::CreateReg(RegNum, false, S, getLoc(), Ctx)); in tryParseGPR64sp0Operand()
3011 Operands.push_back(AArch64Operand::CreateImm(Expr, S, E, getContext())); in parseOperand()
3016 Operands.push_back(AArch64Operand::CreateToken("[", false, Loc, in parseOperand()
3049 Operands.push_back(AArch64Operand::CreateImm(IdVal, S, E, getContext())); in parseOperand()
3086 AArch64Operand::CreateToken("#0", false, S, getContext())); in parseOperand()
3088 AArch64Operand::CreateToken(".0", false, S, getContext())); in parseOperand()
3097 Operands.push_back(AArch64Operand::CreateImm(ImmVal, S, E, getContext())); in parseOperand()
3110 !static_cast<AArch64Operand &>(*Operands[1]).isReg()) in parseOperand()
3128 Operands[0] = AArch64Operand::CreateToken("movz", false, Loc, Ctx); in parseOperand()
3129 Operands.push_back(AArch64Operand::CreateImm( in parseOperand()
3132 Operands.push_back(AArch64Operand::CreateShiftExtend(AArch64_AM::LSL, in parseOperand()
3144 Operands.push_back(AArch64Operand::CreateImm(CPLoc, S, E, Ctx)); in parseOperand()
3199 AArch64Operand::CreateToken(Head, false, NameLoc, getContext())); in ParseInstruction()
3214 AArch64Operand::CreateToken(".", true, SuffixLoc, getContext())); in ParseInstruction()
3216 AArch64Operand::CreateCondCode(CC, NameLoc, NameLoc, getContext())); in ParseInstruction()
3227 AArch64Operand::CreateToken(Head, true, SuffixLoc, getContext())); in ParseInstruction()
3278 Operands.push_back(AArch64Operand::CreateToken("]", false, Loc, in ParseInstruction()
3285 Operands.push_back(AArch64Operand::CreateToken("!", false, Loc, in ParseInstruction()
3612 AArch64Operand &Op = static_cast<AArch64Operand &>(*Operands[0]); in MatchAndEmitInstruction()
3619 AArch64Operand &Op2 = static_cast<AArch64Operand &>(*Operands[2]); in MatchAndEmitInstruction()
3620 AArch64Operand &Op3 = static_cast<AArch64Operand &>(*Operands[3]); in MatchAndEmitInstruction()
3639 Operands[0] = AArch64Operand::CreateToken( in MatchAndEmitInstruction()
3641 Operands.push_back(AArch64Operand::CreateImm( in MatchAndEmitInstruction()
3643 Operands[3] = AArch64Operand::CreateImm(NewOp3, Op3.getStartLoc(), in MatchAndEmitInstruction()
3651 AArch64Operand &Op1 = static_cast<AArch64Operand &>(*Operands[1]); in MatchAndEmitInstruction()
3652 AArch64Operand &Op3 = static_cast<AArch64Operand &>(*Operands[3]); in MatchAndEmitInstruction()
3653 AArch64Operand &Op4 = static_cast<AArch64Operand &>(*Operands[4]); in MatchAndEmitInstruction()
3694 Operands[3] = AArch64Operand::CreateImm( in MatchAndEmitInstruction()
3696 Operands[4] = AArch64Operand::CreateImm( in MatchAndEmitInstruction()
3699 Operands[0] = AArch64Operand::CreateToken( in MatchAndEmitInstruction()
3702 Operands[0] = AArch64Operand::CreateToken( in MatchAndEmitInstruction()
3705 Operands[0] = AArch64Operand::CreateToken( in MatchAndEmitInstruction()
3716 AArch64Operand &Op1 = static_cast<AArch64Operand &>(*Operands[1]); in MatchAndEmitInstruction()
3717 AArch64Operand &Op3 = static_cast<AArch64Operand &>(*Operands[3]); in MatchAndEmitInstruction()
3718 AArch64Operand &Op4 = static_cast<AArch64Operand &>(*Operands[4]); in MatchAndEmitInstruction()
3750 Operands[4] = AArch64Operand::CreateImm( in MatchAndEmitInstruction()
3753 Operands[0] = AArch64Operand::CreateToken( in MatchAndEmitInstruction()
3756 Operands[0] = AArch64Operand::CreateToken( in MatchAndEmitInstruction()
3759 Operands[0] = AArch64Operand::CreateToken( in MatchAndEmitInstruction()
3773 AArch64Operand &Op = static_cast<AArch64Operand &>(*Operands[2]); in MatchAndEmitInstruction()
3776 Operands[2] = AArch64Operand::CreateReg(Reg, false, Op.getStartLoc(), in MatchAndEmitInstruction()
3782 AArch64Operand &Op = static_cast<AArch64Operand &>(*Operands[1]); in MatchAndEmitInstruction()
3788 AArch64Operand &Op = static_cast<AArch64Operand &>(*Operands[2]); in MatchAndEmitInstruction()
3791 Operands[2] = AArch64Operand::CreateReg(Reg, false, Op.getStartLoc(), in MatchAndEmitInstruction()
3798 AArch64Operand &Op = static_cast<AArch64Operand &>(*Operands[1]); in MatchAndEmitInstruction()
3804 AArch64Operand &Op = static_cast<AArch64Operand &>(*Operands[1]); in MatchAndEmitInstruction()
3807 Operands[1] = AArch64Operand::CreateReg(Reg, false, Op.getStartLoc(), in MatchAndEmitInstruction()
3815 AArch64Operand &RegOp = static_cast<AArch64Operand &>(*Operands[1]); in MatchAndEmitInstruction()
3816 AArch64Operand &ImmOp = static_cast<AArch64Operand &>(*Operands[2]); in MatchAndEmitInstruction()
3823 Operands[2] = AArch64Operand::CreateReg(zreg, false, Op.getStartLoc(), in MatchAndEmitInstruction()
3877 ErrorLoc = ((AArch64Operand &)*Operands[ErrorInfo]).getStartLoc(); in MatchAndEmitInstruction()
3883 if (((AArch64Operand &)*Operands[ErrorInfo]).isToken() && in MatchAndEmitInstruction()
3884 ((AArch64Operand &)*Operands[ErrorInfo]).isTokenSuffix()) in MatchAndEmitInstruction()
3940 SMLoc ErrorLoc = ((AArch64Operand &)*Operands[ErrorInfo]).getStartLoc(); in MatchAndEmitInstruction()
4246 AArch64Operand &Op = static_cast<AArch64Operand &>(AsmOp); in validateTargetOperandClass()