File indexing completed on 2026-05-10 08:44:35
0001
0002
0003
0004
0005
0006
0007
0008
0009
0010
0011
0012
0013
0014 #ifndef AARCH64_IMMCHECK_H
0015 #define AARCH64_IMMCHECK_H
0016
0017 class ImmCheck {
0018 int ImmArgIdx;
0019 unsigned Kind;
0020 unsigned ElementSizeInBits;
0021 unsigned VecSizeInBits;
0022
0023 public:
0024 ImmCheck(int ImmArgIdx, unsigned Kind, unsigned ElementSizeInBits = 0,
0025 unsigned VecSizeInBits = 128)
0026 : ImmArgIdx(ImmArgIdx), Kind(Kind), ElementSizeInBits(ElementSizeInBits),
0027 VecSizeInBits(VecSizeInBits) {}
0028 ImmCheck(const ImmCheck &Other) = default;
0029 ~ImmCheck() = default;
0030
0031 int getImmArgIdx() const { return ImmArgIdx; }
0032 unsigned getKind() const { return Kind; }
0033 unsigned getElementSizeInBits() const { return ElementSizeInBits; }
0034 unsigned getVecSizeInBits() const { return VecSizeInBits; }
0035 };
0036
0037 #endif