Lines Matching full:clang
17 * The intrinsic declaration are guarded by predefined ACLE macros in clang:
57 * can't always detect __ARM_FEATURE_SHA512 (notably clang 7-12).
62 * Clang < 7 won't work at all (lacks the sha512 instructions)
63 * Clang 7-12 don't have intrinsics (but we work around that with inline
65 * Clang == 13.0.0 same as clang 12 (only seen on macOS)
66 * Clang >= 13.0.1 has __ARM_FEATURE_SHA512 and intrinsics
69 /* Test Clang first, as it defines __GNUC__ */
76 # pragma clang attribute push (__attribute__((target("sha3"))), apply_to=function)
81 # error "A more recent Clang is required for MBEDTLS_SHA512_USE_A64_CRYPTO_*"
83 # pragma clang attribute push (__attribute__((target("sha3"))), apply_to=function)
95 # error "Only GCC and Clang supported for MBEDTLS_SHA512_USE_A64_CRYPTO_*"
578 #pragma clang attribute pop