| /llvm-project-15.0.7/libclc/generic/include/math/ |
| H A D | binary_intrin.inc | 1 _CLC_OVERLOAD float __CLC_FUNCTION(float, float) __asm(__CLC_INTRINSIC ".f32"); 2 _CLC_OVERLOAD float2 __CLC_FUNCTION(float2, float2) __asm(__CLC_INTRINSIC ".v2f32"); 3 _CLC_OVERLOAD float3 __CLC_FUNCTION(float3, float3) __asm(__CLC_INTRINSIC ".v3f32"); 4 _CLC_OVERLOAD float4 __CLC_FUNCTION(float4, float4) __asm(__CLC_INTRINSIC ".v4f32"); 5 _CLC_OVERLOAD float8 __CLC_FUNCTION(float8, float8) __asm(__CLC_INTRINSIC ".v8f32"); 10 _CLC_OVERLOAD double __CLC_FUNCTION(double, double) __asm(__CLC_INTRINSIC ".f64"); 20 _CLC_OVERLOAD half __CLC_FUNCTION(half, half) __asm(__CLC_INTRINSIC ".f16"); 21 _CLC_OVERLOAD half2 __CLC_FUNCTION(half2, half2) __asm(__CLC_INTRINSIC ".v2f16"); 22 _CLC_OVERLOAD half3 __CLC_FUNCTION(half3, half3) __asm(__CLC_INTRINSIC ".v3f16"); 23 _CLC_OVERLOAD half4 __CLC_FUNCTION(half4, half4) __asm(__CLC_INTRINSIC ".v4f16"); [all …]
|
| H A D | unary_intrin.inc | 1 _CLC_OVERLOAD float __CLC_FUNCTION(float f) __asm(__CLC_INTRINSIC ".f32"); 2 _CLC_OVERLOAD float2 __CLC_FUNCTION(float2 f) __asm(__CLC_INTRINSIC ".v2f32"); 3 _CLC_OVERLOAD float3 __CLC_FUNCTION(float3 f) __asm(__CLC_INTRINSIC ".v3f32"); 4 _CLC_OVERLOAD float4 __CLC_FUNCTION(float4 f) __asm(__CLC_INTRINSIC ".v4f32"); 5 _CLC_OVERLOAD float8 __CLC_FUNCTION(float8 f) __asm(__CLC_INTRINSIC ".v8f32"); 10 _CLC_OVERLOAD double __CLC_FUNCTION(double d) __asm(__CLC_INTRINSIC ".f64"); 20 _CLC_OVERLOAD half __CLC_FUNCTION(half d) __asm(__CLC_INTRINSIC ".f16"); 21 _CLC_OVERLOAD half2 __CLC_FUNCTION(half2 d) __asm(__CLC_INTRINSIC ".v2f16"); 22 _CLC_OVERLOAD half3 __CLC_FUNCTION(half3 d) __asm(__CLC_INTRINSIC ".v3f16"); 23 _CLC_OVERLOAD half4 __CLC_FUNCTION(half4 d) __asm(__CLC_INTRINSIC ".v4f16"); [all …]
|
| H A D | ternary_intrin.inc | 1 _CLC_OVERLOAD float __CLC_FUNCTION(float, float, float) __asm(__CLC_INTRINSIC ".f32"); 2 _CLC_OVERLOAD float2 __CLC_FUNCTION(float2, float2, float2) __asm(__CLC_INTRINSIC ".v2f32"); 3 _CLC_OVERLOAD float3 __CLC_FUNCTION(float3, float3, float3) __asm(__CLC_INTRINSIC ".v3f32"); 4 _CLC_OVERLOAD float4 __CLC_FUNCTION(float4, float4, float4) __asm(__CLC_INTRINSIC ".v4f32"); 5 _CLC_OVERLOAD float8 __CLC_FUNCTION(float8, float8, float8) __asm(__CLC_INTRINSIC ".v8f32"); 10 _CLC_OVERLOAD double __CLC_FUNCTION(double, double, double) __asm(__CLC_INTRINSIC ".f64"); 20 _CLC_OVERLOAD half __CLC_FUNCTION(half, half, half) __asm(__CLC_INTRINSIC ".f16"); 21 _CLC_OVERLOAD half2 __CLC_FUNCTION(half2, half2, half2) __asm(__CLC_INTRINSIC ".v2f16"); 22 _CLC_OVERLOAD half3 __CLC_FUNCTION(half3, half3, half3) __asm(__CLC_INTRINSIC ".v3f16"); 23 _CLC_OVERLOAD half4 __CLC_FUNCTION(half4, half4, half4) __asm(__CLC_INTRINSIC ".v4f16"); [all …]
|
| H A D | clc_fma.h | 1 #define __CLC_FUNCTION __clc_fma macro 6 #define __CLC_FUNCTION __clc_sw_fma macro 10 #undef __CLC_FUNCTION
|
| H A D | clc_exp10.h | 1 #define __CLC_FUNCTION __clc_exp10 macro 4 #undef __CLC_FUNCTION
|
| H A D | clc_remainder.h | 1 #define __CLC_FUNCTION __clc_remainder macro 4 #undef __CLC_FUNCTION
|
| H A D | clc_fmod.h | 1 #define __CLC_FUNCTION __clc_fmod macro 4 #undef __CLC_FUNCTION
|
| /llvm-project-15.0.7/libclc/generic/include/integer/ |
| H A D | unary_intrin.inc | 2 _CLC_OVERLOAD SCALAR_TYPE __CLC_FUNCTION(SCALAR_TYPE x) __asm(__CLC_INTRINSIC ".i" BIT_SIZE); \ 3 _CLC_OVERLOAD SCALAR_TYPE##2 __CLC_FUNCTION(SCALAR_TYPE##2 x) __asm(__CLC_INTRINSIC ".v2i" BIT_SIZE… 4 _CLC_OVERLOAD SCALAR_TYPE##3 __CLC_FUNCTION(SCALAR_TYPE##3 x) __asm(__CLC_INTRINSIC ".v3i" BIT_SIZE… 5 _CLC_OVERLOAD SCALAR_TYPE##4 __CLC_FUNCTION(SCALAR_TYPE##4 x) __asm(__CLC_INTRINSIC ".v4i" BIT_SIZE… 6 _CLC_OVERLOAD SCALAR_TYPE##8 __CLC_FUNCTION(SCALAR_TYPE##8 x) __asm(__CLC_INTRINSIC ".v8i" BIT_SIZE… 7 _CLC_OVERLOAD SCALAR_TYPE##16 __CLC_FUNCTION(SCALAR_TYPE##16 x) __asm(__CLC_INTRINSIC ".v16i" BIT_S… 18 #undef __CLC_FUNCTION
|
| /llvm-project-15.0.7/libclc/generic/lib/math/ |
| H A D | unary_builtin.inc | 5 #define __CLC_BUILTIN __CLC_XCONCAT(__clc_, __CLC_FUNCTION) 8 _CLC_DEFINE_UNARY_BUILTIN(float, __CLC_FUNCTION, __CLC_BUILTIN, float) 14 _CLC_DEFINE_UNARY_BUILTIN(double, __CLC_FUNCTION, __CLC_BUILTIN, double) 22 _CLC_DEFINE_UNARY_BUILTIN(half, __CLC_FUNCTION, __CLC_BUILTIN, half)
|
| H A D | rint.cl | 4 #define __CLC_FUNCTION __clc_rint 8 #undef __CLC_FUNCTION 9 #define __CLC_FUNCTION rint
|
| H A D | round.cl | 4 #define __CLC_FUNCTION __clc_round 8 #undef __CLC_FUNCTION 9 #define __CLC_FUNCTION round
|
| H A D | trunc.cl | 4 #define __CLC_FUNCTION __clc_trunc 8 #undef __CLC_FUNCTION 9 #define __CLC_FUNCTION trunc
|
| H A D | ceil.cl | 5 #define __CLC_FUNCTION __clc_ceil 9 #undef __CLC_FUNCTION 10 #define __CLC_FUNCTION ceil
|
| H A D | floor.cl | 5 #define __CLC_FUNCTION __clc_floor 9 #undef __CLC_FUNCTION 10 #define __CLC_FUNCTION floor
|
| H A D | fabs.cl | 5 #define __CLC_FUNCTION __clc_fabs 9 #undef __CLC_FUNCTION 10 #define __CLC_FUNCTION fabs
|
| H A D | native_unary_intrinsic.inc | 26 #define __CLC_FUNCTION __CLC_XCONCAT(__clc_native_, __CLC_NATIVE_INTRINSIC) 34 #define __CLC_FUNCTION __CLC_XCONCAT(native_, __CLC_NATIVE_INTRINSIC) 36 _CLC_OVERLOAD _CLC_DEF __CLC_GENTYPE __CLC_FUNCTION(__CLC_GENTYPE val) { 40 #undef __CLC_FUNCTION
|
| /llvm-project-15.0.7/libclc/generic/include/clc/atomic/ |
| H A D | atomic_xchg.h | 1 #define __CLC_FUNCTION atomic_xchg macro 3 _CLC_OVERLOAD _CLC_DECL float __CLC_FUNCTION (volatile local float *, float); 4 _CLC_OVERLOAD _CLC_DECL float __CLC_FUNCTION (volatile global float *, float);
|
| /llvm-project-15.0.7/libclc/generic/include/clc/math/ |
| H A D | remainder.h | 1 #define __CLC_FUNCTION remainder macro 4 #undef __CLC_FUNCTION
|
| H A D | fmod.h | 1 #define __CLC_FUNCTION fmod macro 4 #undef __CLC_FUNCTION
|
| H A D | asin.h | 2 #define __CLC_FUNCTION asin macro 7 #undef __CLC_FUNCTION
|
| H A D | asinh.h | 24 #define __CLC_FUNCTION asinh macro 29 #undef __CLC_FUNCTION
|
| H A D | atan2.h | 23 #define __CLC_FUNCTION atan2 macro 29 #undef __CLC_FUNCTION
|
| H A D | atan2pi.h | 23 #define __CLC_FUNCTION atan2pi macro 29 #undef __CLC_FUNCTION
|
| H A D | cosh.h | 24 #define __CLC_FUNCTION cosh macro 29 #undef __CLC_FUNCTION
|
| H A D | native_powr.h | 2 #define __CLC_FUNCTION native_powr macro 7 #undef __CLC_FUNCTION
|