• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /freebsd-13-stable/contrib/llvm-project/llvm/lib/Target/AArch64/AsmParser/

Lines Matching refs:AArch64Operand

277 /// AArch64Operand - Instances of this class represent a parsed AArch64 machine
279 class AArch64Operand : public MCParsedAsmOperand {
433 AArch64Operand(KindTy K, MCContext &Ctx) : Kind(K), Ctx(Ctx) {}
435 AArch64Operand(const AArch64Operand &o) : MCParsedAsmOperand(), Ctx(o.Ctx) {
1815 static std::unique_ptr<AArch64Operand>
1817 auto Op = std::make_unique<AArch64Operand>(k_Token, Ctx);
1826 static std::unique_ptr<AArch64Operand>
1832 auto Op = std::make_unique<AArch64Operand>(k_Register, Ctx);
1845 static std::unique_ptr<AArch64Operand>
1860 static std::unique_ptr<AArch64Operand>
1864 auto Op = std::make_unique<AArch64Operand>(k_VectorList, Ctx);
1875 static std::unique_ptr<AArch64Operand>
1877 auto Op = std::make_unique<AArch64Operand>(k_VectorIndex, Ctx);
1884 static std::unique_ptr<AArch64Operand> CreateImm(const MCExpr *Val, SMLoc S,
1886 auto Op = std::make_unique<AArch64Operand>(k_Immediate, Ctx);
1893 static std::unique_ptr<AArch64Operand> CreateShiftedImm(const MCExpr *Val,
1897 auto Op = std::make_unique<AArch64Operand>(k_ShiftedImm, Ctx);
1905 static std::unique_ptr<AArch64Operand>
1907 auto Op = std::make_unique<AArch64Operand>(k_CondCode, Ctx);
1914 static std::unique_ptr<AArch64Operand>
1916 auto Op = std::make_unique<AArch64Operand>(k_FPImm, Ctx);
1924 static std::unique_ptr<AArch64Operand> CreateBarrier(unsigned Val,
1928 auto Op = std::make_unique<AArch64Operand>(k_Barrier, Ctx);
1937 static std::unique_ptr<AArch64Operand> CreateSysReg(StringRef Str, SMLoc S,
1942 auto Op = std::make_unique<AArch64Operand>(k_SysReg, Ctx);
1953 static std::unique_ptr<AArch64Operand> CreateSysCR(unsigned Val, SMLoc S,
1955 auto Op = std::make_unique<AArch64Operand>(k_SysCR, Ctx);
1962 static std::unique_ptr<AArch64Operand> CreatePrefetch(unsigned Val,
1966 auto Op = std::make_unique<AArch64Operand>(k_Prefetch, Ctx);
1975 static std::unique_ptr<AArch64Operand> CreatePSBHint(unsigned Val,
1979 auto Op = std::make_unique<AArch64Operand>(k_PSBHint, Ctx);
1988 static std::unique_ptr<AArch64Operand> CreateBTIHint(unsigned Val,
1992 auto Op = std::make_unique<AArch64Operand>(k_BTIHint, Ctx);
2001 static std::unique_ptr<AArch64Operand>
2004 auto Op = std::make_unique<AArch64Operand>(k_ShiftExtend, Ctx);
2016 void AArch64Operand::print(raw_ostream &OS) const {
2358 AArch64Operand::CreateSysCR(CRNum, S, getLoc(), getContext()));
2410 Operands.push_back(AArch64Operand::CreatePrefetch(
2426 Operands.push_back(AArch64Operand::CreatePrefetch(
2449 Operands.push_back(AArch64Operand::CreatePSBHint(
2472 Operands.push_back(AArch64Operand::CreateBTIHint(
2525 Operands.push_back(AArch64Operand::CreateImm(Expr, S, E, getContext()));
2563 Operands.push_back(AArch64Operand::CreateImm(Expr, S, E, getContext()));
2596 AArch64Operand::CreateFPImm(F, true, S, getContext()));
2612 AArch64Operand::CreateToken("#0", false, S, getContext()));
2614 AArch64Operand::CreateToken(".0", false, S, getContext()));
2616 Operands.push_back(AArch64Operand::CreateFPImm(
2644 AArch64Operand::CreateImm(Imm, S, E, getContext()));
2679 Operands.push_back(AArch64Operand::CreateImm(Imm, S, E, getContext()));
2684 Operands.push_back(AArch64Operand::CreateShiftedImm(Imm, ShiftAmount,
2751 AArch64Operand::CreateCondCode(CC, S, getLoc(), getContext()));
2799 AArch64Operand::CreateShiftExtend(ShOp, 0, false, S, E, getContext()));
2824 Operands.push_back(AArch64Operand::CreateShiftExtend(
2898 AArch64Operand::CreateImm(Expr, S, getLoc(), getContext()));
2900 AArch64Operand::CreateSysCR(Cn, S, getLoc(), getContext()));
2902 AArch64Operand::CreateSysCR(Cm, S, getLoc(), getContext()));
2905 AArch64Operand::CreateImm(Expr, S, getLoc(), getContext()));
2917 AArch64Operand::CreateToken("sys", false, NameLoc, getContext()));
3031 Operands.push_back(AArch64Operand::CreateBarrier(
3056 Operands.push_back(AArch64Operand::CreateBarrier(
3085 AArch64Operand::CreateSysReg(Tok.getString(), getLoc(), MRSReg, MSRReg,
3113 AArch64Operand::CreateVectorReg(Reg, RegKind::NeonVector, ElementWidth,
3120 AArch64Operand::CreateToken(Kind, false, S, getContext()));
3143 Operands.push_back(AArch64Operand::CreateVectorIndex(MCE->getValue(), SIdx,
3203 Operands.push_back(AArch64Operand::CreateVectorReg(
3220 AArch64Operand::CreateToken("/" , false, getLoc(), getContext()));
3234 AArch64Operand::CreateToken(ZM, false, getLoc(), getContext()));
3445 Operands.push_back(AArch64Operand::CreateVectorList(
3471 Operands.push_back(AArch64Operand::CreateReg(
3490 Operands.push_back(AArch64Operand::CreateReg(
3507 Operands.push_back(AArch64Operand::CreateReg(
3521 auto Ext = static_cast<AArch64Operand*>(ExtOpnd.back().get());
3522 Operands.push_back(AArch64Operand::CreateReg(
3543 AArch64Operand::CreateToken("mul", false, getLoc(), getContext()));
3548 AArch64Operand::CreateToken("vl", false, getLoc(), getContext()));
3561 Operands.push_back(AArch64Operand::CreateImm(
3600 Operands.push_back(AArch64Operand::CreateImm(Expr, S, E, getContext()));
3605 Operands.push_back(AArch64Operand::CreateToken("[", false, Loc,
3642 Operands.push_back(AArch64Operand::CreateImm(IdVal, S, E, getContext()));
3679 AArch64Operand::CreateToken("#0", false, S, getContext()));
3681 AArch64Operand::CreateToken(".0", false, S, getContext()));
3690 Operands.push_back(AArch64Operand::CreateImm(ImmVal, S, E, getContext()));
3703 !static_cast<AArch64Operand &>(*Operands[1]).isScalarReg())
3721 Operands[0] = AArch64Operand::CreateToken("movz", false, Loc, Ctx);
3722 Operands.push_back(AArch64Operand::CreateImm(
3725 Operands.push_back(AArch64Operand::CreateShiftExtend(AArch64_AM::LSL,
3737 Operands.push_back(AArch64Operand::CreateImm(CPLoc, S, E, Ctx));
3745 auto &AOp1 = static_cast<const AArch64Operand&>(Op1);
3746 auto &AOp2 = static_cast<const AArch64Operand&>(Op2);
3814 AArch64Operand::CreateToken(Head, false, NameLoc, getContext()));
3829 AArch64Operand::CreateToken(".", true, SuffixLoc, getContext()));
3831 AArch64Operand::CreateCondCode(CC, NameLoc, NameLoc, getContext()));
3842 AArch64Operand::CreateToken(Head, true, SuffixLoc, getContext()));
3887 AArch64Operand::CreateToken("]", false, RLoc, getContext()));
3891 AArch64Operand::CreateToken("!", false, ELoc, getContext()));
4211 static_cast<const AArch64Operand &>(*Operands[ErrorInfo])
4418 ((AArch64Operand &)*Operands[0]).getToken(),
4535 AArch64Operand &Op = static_cast<AArch64Operand &>(*Operands[0]);
4542 AArch64Operand &Op2 = static_cast<AArch64Operand &>(*Operands[2]);
4543 AArch64Operand &Op3 = static_cast<AArch64Operand &>(*Operands[3]);
4562 Operands[0] = AArch64Operand::CreateToken(
4564 Operands.push_back(AArch64Operand::CreateImm(
4566 Operands[3] = AArch64Operand::CreateImm(NewOp3, Op3.getStartLoc(),
4572 AArch64Operand &Op1 = static_cast<AArch64Operand &>(*Operands[1]);
4573 AArch64Operand LSBOp = static_cast<AArch64Operand &>(*Operands[2]);
4574 AArch64Operand WidthOp = static_cast<AArch64Operand &>(*Operands[3]);
4612 Operands[0] = AArch64Operand::CreateToken(
4614 Operands[2] = AArch64Operand::CreateReg(
4617 Operands[3] = AArch64Operand::CreateImm(
4620 AArch64Operand::CreateImm(ImmSExpr, WidthOp.getStartLoc(),
4628 AArch64Operand &Op1 = static_cast<AArch64Operand &>(*Operands[1]);
4629 AArch64Operand &Op3 = static_cast<AArch64Operand &>(*Operands[3]);
4630 AArch64Operand &Op4 = static_cast<AArch64Operand &>(*Operands[4]);
4670 Operands[3] = AArch64Operand::CreateImm(
4672 Operands[4] = AArch64Operand::CreateImm(
4675 Operands[0] = AArch64Operand::CreateToken(
4678 Operands[0] = AArch64Operand::CreateToken(
4681 Operands[0] = AArch64Operand::CreateToken(
4692 AArch64Operand &Op1 = static_cast<AArch64Operand &>(*Operands[1]);
4693 AArch64Operand &Op3 = static_cast<AArch64Operand &>(*Operands[3]);
4694 AArch64Operand &Op4 = static_cast<AArch64Operand &>(*Operands[4]);
4726 Operands[4] = AArch64Operand::CreateImm(
4729 Operands[0] = AArch64Operand::CreateToken(
4732 Operands[0] = AArch64Operand::CreateToken(
4735 Operands[0] = AArch64Operand::CreateToken(
4750 AArch64Operand &Op1 = static_cast<AArch64Operand &>(*Operands[1]);
4751 AArch64Operand &Op2 = static_cast<AArch64Operand &>(*Operands[2]);
4752 AArch64Operand &Op3 = static_cast<AArch64Operand &>(*Operands[3]);
4762 Operands[Idx] = AArch64Operand::CreateToken(".16b", false, IDLoc,
4774 AArch64Operand &Op = static_cast<AArch64Operand &>(*Operands[2]);
4777 Operands[2] = AArch64Operand::CreateReg(Reg, RegKind::Scalar,
4784 AArch64Operand &Op = static_cast<AArch64Operand &>(*Operands[1]);
4790 AArch64Operand &Op = static_cast<AArch64Operand &>(*Operands[2]);
4793 Operands[2] = AArch64Operand::CreateReg(Reg, RegKind::Scalar,
4801 AArch64Operand &Op = static_cast<AArch64Operand &>(*Operands[1]);
4807 AArch64Operand &Op = static_cast<AArch64Operand &>(*Operands[1]);
4810 Operands[1] = AArch64Operand::CreateReg(Reg, RegKind::Scalar,
4842 Operands.size() > 1 && ((AArch64Operand &)*Operands[1]).isToken() &&
4843 ((AArch64Operand &)*Operands[1]).isTokenSuffix()) {
4887 ErrorLoc = ((AArch64Operand &)*Operands[ErrorInfo]).getStartLoc();
4893 if (((AArch64Operand &)*Operands[ErrorInfo]).isToken() &&
4894 ((AArch64Operand &)*Operands[ErrorInfo]).isTokenSuffix())
5046 SMLoc ErrorLoc = ((AArch64Operand &)*Operands[ErrorInfo]).getStartLoc();
5601 AArch64Operand &Op = static_cast<AArch64Operand &>(AsmOp);
5726 Operands.push_back(AArch64Operand::CreateReg(Pair, RegKind::Scalar, S,
5757 Operands.push_back(AArch64Operand::CreateVectorReg(
5775 auto Ext = static_cast<AArch64Operand *>(ExtOpnd.back().get());
5776 Operands.push_back(AArch64Operand::CreateVectorReg(
5822 AArch64Operand::CreateImm(MCConstantExpr::create(Pattern, getContext()),