| /freebsd/contrib/llvm-project/libc/src/__support/FPUtil/ |
| H A D | except_value_utils.h | 128 template <> LIBC_INLINE float16 round_result_slightly_down(float16 value_rn) { in round_result_slightly_down() 130 tmp -= FPBits<float16>::min_normal().get_val(); in round_result_slightly_down() 131 return cast<float16>(tmp); in round_result_slightly_down() 134 template <> LIBC_INLINE float16 round_result_slightly_up(float16 value_rn) { in round_result_slightly_up() 136 tmp += FPBits<float16>::min_normal().get_val(); in round_result_slightly_up() 137 return cast<float16>(tmp); in round_result_slightly_up()
|
| H A D | BasicOperations.h | 50 template <> LIBC_INLINE float16 max(float16 x, float16 y) { in max() 54 template <> LIBC_INLINE float16 max(float16 x, float16 y) { in max() 55 FPBits<float16> x_bits(x); in max() 56 FPBits<float16> y_bits(y); in max() 90 template <> LIBC_INLINE float16 min(float16 x, float16 y) { in min() 94 template <> LIBC_INLINE float16 min(float16 x, float16 y) { in min() 95 FPBits<float16> x_bits(x); in min() 96 FPBits<float16> y_bits(y); in min()
|
| H A D | cast.h | 37 || cpp::is_same_v<OutType, float16> || in cast() 38 cpp::is_same_v<InType, float16> in cast()
|
| H A D | dyadic_float.h | 414 || cpp::is_same_v<T, float16> in as()
|
| H A D | FPBits.h | 806 else if constexpr (cpp::is_same_v<UnqualT, float16>)
|
| /freebsd/contrib/llvm-project/libc/src/__support/math/ |
| H A D | expf16.h | 34 static constexpr float16 expf16(float16 x) { in expf16() 36 constexpr fputil::ExceptValues<float16, 2> EXPF16_EXCEPTS_LO = {{ in expf16() 44 constexpr fputil::ExceptValues<float16, 3> EXPF16_EXCEPTS_HI = {{ in expf16() 55 using FPBits = fputil::FPBits<float16>; in expf16() 120 return fputil::cast<float16>( in expf16() 132 return fputil::cast<float16>(exp_hi_mid * exp_lo); in expf16()
|
| H A D | frexpf16.h | 24 static constexpr float16 frexpf16(float16 x, int *exp) { in frexpf16()
|
| H A D | ldexpf16.h | 24 static constexpr float16 ldexpf16(float16 x, int exp) { in ldexpf16()
|
| H A D | expf16_utils.h | 50 static constexpr ExpRangeReduction exp_range_reduction(float16 x) { in exp_range_reduction()
|
| /freebsd/contrib/llvm-project/clang/lib/Headers/ |
| H A D | opencl-c.h | 3951 char16 __ovld __cnfn convert_char16_rte(float16); 3952 char16 __ovld __cnfn convert_char16_sat_rte(float16); 3953 char16 __ovld __cnfn convert_char16_rtz(float16); 3954 char16 __ovld __cnfn convert_char16_sat_rtz(float16); 3955 char16 __ovld __cnfn convert_char16_rtp(float16); 3956 char16 __ovld __cnfn convert_char16_sat_rtp(float16); 3957 char16 __ovld __cnfn convert_char16_rtn(float16); 3958 char16 __ovld __cnfn convert_char16_sat_rtn(float16); 3959 char16 __ovld __cnfn convert_char16(float16); 3960 char16 __ovld __cnfn convert_char16_sat(float16); [all …]
|
| H A D | opencl-c-base.h | 213 typedef float float16 __attribute__((ext_vector_type(16))); typedef 640 #define as_float16(x) __builtin_astype((x), float16)
|
| /freebsd/contrib/llvm-project/libc/src/__support/ |
| H A D | complex_type.h | 35 template <> struct make_complex<float16> { 61 using type = float16;
|
| /freebsd/contrib/llvm-project/openmp/runtime/src/ |
| H A D | kmp_atomic.cpp | 1245 MIN_MAX_CRITICAL(float16, max, QUAD_LEGACY, <, 16r, 1247 MIN_MAX_CRITICAL(float16, min, QUAD_LEGACY, >, 16r, 1250 MIN_MAX_CRITICAL(float16, max_a16, Quad_a16_t, <, 16r, 1252 MIN_MAX_CRITICAL(float16, min_a16, Quad_a16_t, >, 16r, 1335 ATOMIC_CRITICAL(float16, add, QUAD_LEGACY, +, 16r, 1337 ATOMIC_CRITICAL(float16, sub, QUAD_LEGACY, -, 16r, 1339 ATOMIC_CRITICAL(float16, mul, QUAD_LEGACY, *, 16r, 1341 ATOMIC_CRITICAL(float16, div, QUAD_LEGACY, /, 16r, 1344 ATOMIC_CRITICAL(float16, add_a16, Quad_a16_t, +, 16r, 1346 ATOMIC_CRITICAL(float16, sub_a16, Quad_a16_t, -, 16r, [all …]
|
| /freebsd/contrib/llvm-project/libc/src/__support/macros/properties/ |
| H A D | types.h | 55 using float16 = _Float16; variable
|
| /freebsd/contrib/llvm-project/libc/src/__support/CPP/type_traits/ |
| H A D | is_floating_point.h | 33 float16
|
| /freebsd/contrib/llvm-project/llvm/include/llvm/CodeGenTypes/ |
| H A D | LowLevelType.h | 85 static constexpr LLT float16() { in float16() function
|
| /freebsd/contrib/llvm-project/llvm/lib/Target/AMDGPU/ |
| H A D | AMDGPUCombinerHelper.cpp | 468 ScalarDestTy != LLT::float16()) || in matchCombineFmulWithSelectToFldexp()
|
| H A D | AMDGPULegalizerInfo.cpp | 311 constexpr LLT V2F16 = LLT::fixed_vector(2, LLT::float16()); 3243 if (Ty == LLT::float16() && in legalizeFMad() 3795 const LLT F16 = LLT::float16(); in legalizeFPow()
|
| /freebsd/contrib/llvm-project/llvm/lib/Target/AArch64/GISel/ |
| H A D | AArch64RegisterBankInfo.cpp | 572 return MRI.getType(MI.getOperand(2).getReg()) == LLT::float16(); in onlyUsesFP()
|