================ @@ -37,15 +37,20 @@ class SemaARM : public SemaBase { /// flags. Do Sema checks for the runtime mode. }; + bool CheckImmediateArg(CallExpr *TheCall, unsigned CheckTy, unsigned ArgIdx, + unsigned EltBitWidth, unsigned VecBitWidth); bool CheckARMBuiltinExclusiveCall(unsigned BuiltinID, CallExpr *TheCall, unsigned MaxWidth); bool CheckNeonBuiltinFunctionCall(const TargetInfo &TI, unsigned BuiltinID, CallExpr *TheCall); + bool + ParseNeonImmChecks(CallExpr *TheCall, + SmallVector<std::tuple<int, int, int, int>, 2> &ImmChecks, ---------------- SpencerAbson wrote:
I would have done this if the type name could be shared SVE/SME and NEON, but this isn't the case as we omit the last value from the tuple in SME/SVE as it is always 128. https://github.com/llvm/llvm-project/pull/100278 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits