Home
last modified time | relevance | path

Searched refs:float4 (Results 1 – 19 of 19) sorted by relevance

/freebsd/contrib/llvm-project/clang/lib/Headers/hlsl/
H A Dhlsl_compat_overloads.h23 constexpr float4 fn(double4 V) { return fn((float4)V); }
35 constexpr float4 fn(double4 V1, double4 V2) { \
36 return fn((float4)V1, (float4)V2); \
49 constexpr float4 fn(double4 V1, double4 V2, double4 V3) { \
50 return fn((float4)V1, (float4)V2, (float4)V3); \
57 constexpr float4 fn(int4 V) { return fn((float4)V); } \
61 constexpr float4 fn(uint4 V) { return fn((float4)V); } \
65 constexpr float4 fn(int64_t4 V) { return fn((float4)V); } \
69 constexpr float4 fn(uint64_t4 V) { return fn((float4)V); }
75 constexpr float4 fn(int4 V1, int4 V2) { return fn((float4)V1, (float4)V2); } \
[all …]
H A Dhlsl_alias_intrinsics.h104 float4 abs(float4);
157 float4 acos(float4);
263 bool all(float4);
397 bool any(float4);
472 float4 asin(float4);
502 float4 atan(float4);
534 float4 atan2(float4 y, float4 x);
565 float4 ceil(float4);
666 float4 clamp(float4, float4, float4);
692 void clip(float4);
[all …]
H A Dhlsl_intrinsics.h209 const inline float4 dst(float4 Src0, float4 Src1) { in dst()
404 const inline float4 lit(float NDotL, float NDotH, float M) { in lit()
H A Dhlsl_basic_types.h96 typedef vector<float, 4> float4; typedef
/freebsd/contrib/llvm-project/clang/lib/Headers/
H A D__clang_cuda_intrinsics.h427 inline __device__ float4 __ldg(const float4 *ptr) { in __ldg()
430 float4 ret; in __ldg()
562 __INTRINSIC_LOAD4(__ldcg, "ld.global.cg.v4.f32", float4, float4, "=f", );
626 __INTRINSIC_LOAD4(__ldcv, "ld.global.cv.v4.f32", float4, float4,
677 __INTRINSIC_LOAD4(__ldcs, "ld.global.cs.v4.f32", float4, float4, "=f", );
761 __INTRINSIC_STORE4(__stwt, "st.global.wt.v4.f32", float4, float4, "f");
964 __device__ inline float4 atomicAdd(float4 *__ptr, float4 __val) { in atomicAdd()
965 float4 __ret; in atomicAdd()
972 __device__ inline float4 atomicAdd_block(float4 *__ptr, float4 __val) { in atomicAdd_block()
973 float4 __ret; in atomicAdd_block()
[all …]
H A Dopencl-c.h2421 char4 __ovld __cnfn convert_char4_rte(float4);
2422 char4 __ovld __cnfn convert_char4_sat_rte(float4);
2423 char4 __ovld __cnfn convert_char4_rtz(float4);
2424 char4 __ovld __cnfn convert_char4_sat_rtz(float4);
2425 char4 __ovld __cnfn convert_char4_rtp(float4);
2426 char4 __ovld __cnfn convert_char4_sat_rtp(float4);
2427 char4 __ovld __cnfn convert_char4_rtn(float4);
2428 char4 __ovld __cnfn convert_char4_sat_rtn(float4);
2429 char4 __ovld __cnfn convert_char4(float4);
2430 char4 __ovld __cnfn convert_char4_sat(float4);
[all …]
H A D__clang_cuda_texture_intrinsics.h210 using __fetch_t = float4;
294 __IMPL_F1(float4, float4, __args, \
305 __IMPL_F1(float4, float4, __args, \
312 __IMPL_F1(float4, int4, __args, __asm_op ".s32." __ctype "\t" __asm_op_args, \
314 __IMPL_F1(float4, uint4, __args, \
344 __device__ static float4 __run(cudaTextureObject_t __obj, __L(__args)); \
557 __device__ static float4 __run(cudaTextureObject_t __obj, float __x,
615 (float __x, float __y, float __z, const float4 *__dPdx,
616 const float4 *__dPdy),
625 (float __x, float __y, float __z, const float4 *__dPdx,
[all …]
H A Dopencl-c-base.h211 typedef float float4 __attribute__((ext_vector_type(4))); typedef
638 #define as_float4(x) __builtin_astype((x), float4)
/freebsd/contrib/llvm-project/openmp/runtime/src/
H A Dkmp_atomic.cpp952 ATOMIC_CMPXCHG(float4, add, kmp_real32, 32, +, 4r, 3,
954 ATOMIC_CMPXCHG(float4, sub, kmp_real32, 32, -, 4r, 3,
1063 ATOMIC_CMPXCHG(float4, div, kmp_real32, 32, /, 4r, 3,
1065 ATOMIC_CMPXCHG(float4, mul, kmp_real32, 32, *, 4r, 3,
1230 MIN_MAX_COMPXCHG(float4, max, kmp_real32, 32, <, 4r, 3,
1232 MIN_MAX_COMPXCHG(float4, min, kmp_real32, 32, >, 4r, 3,
1547 ATOMIC_CMPXCHG_REV(float4, div, kmp_real32, 32, /, 4r,
1549 ATOMIC_CMPXCHG_REV(float4, sub, kmp_real32, 32, -, 4r,
1708 ATOMIC_CMPXCHG_MIX(float4, kmp_real32, add, 32, +, float8, kmp_real64, 4r, 3,
1710 ATOMIC_CMPXCHG_MIX(float4, kmp_real32, sub, 32, -, float8, kmp_real64, 4r, 3,
[all …]
/freebsd/contrib/libcbor/examples/
H A Dcjson2cbor.c38 .float4 = &cbor_builder_float4_callback, in cjson_cbor_load()
73 callbacks->float4(context, source->valuedouble); in cjson_cbor_stream_decode()
/freebsd/contrib/libcbor/test/
H A Dstream_expectations.c235 (struct test_assertion){FLOAT_EQ, {.float4 = value}}; in assert_float()
240 assert_true(current().data.float4 == actual); in float_callback()
311 .float4 = &float_callback,
H A Dstream_expectations.h67 float float4; member
/freebsd/contrib/libcbor/src/cbor/
H A Dcallbacks.h96 cbor_float_callback float4; member
H A Dcallbacks.c113 .float4 = cbor_null_float4_callback,
H A Dstreaming.c575 callbacks->float4(context, _cbor_load_float(source + 1)); in cbor_stream_decode()
/freebsd/contrib/libcbor/src/
H A Dcbor.c47 .float4 = &cbor_builder_float4_callback, in cbor_load()
/freebsd/contrib/llvm-project/clang/include/clang/Basic/
H A DBuiltinsAMDGPU.def295 // By default the 1st argument is i32 and the 4/5-th arguments are float4.
H A DAttrDocs.td8525 float4 b : packoffset(c4);
/freebsd/contrib/llvm-project/clang/lib/Sema/
H A DOpenCLBuiltins.td277 // represents <int, int2, int4, float, float2, float4>.