| /llvm-project-15.0.7/libclc/generic/lib/math/ |
| H A D | tables.cl | 27 DECLARE_TABLE(float2, LOGE_TBL, 129) = { 28 (float2)(0x0.000000p+0f, 0x0.000000p+0f), 29 (float2)(0x1.fe0000p-8f, 0x1.535882p-23f), 30 (float2)(0x1.fc0000p-7f, 0x1.5161f8p-20f), 31 (float2)(0x1.7b8000p-6f, 0x1.1b07d4p-18f), 32 (float2)(0x1.f82000p-6f, 0x1.361cf0p-19f), 33 (float2)(0x1.39e000p-5f, 0x1.0f73fcp-18f), 34 (float2)(0x1.774000p-5f, 0x1.63d8cap-19f), 35 (float2)(0x1.b42000p-5f, 0x1.bae232p-18f), 423 DECLARE_TABLE(float2, LOG2_TBL, 129) = { [all …]
|
| H A D | tables.h | 41 TABLE_FUNCTION_DECL(float2, loge_tbl); 43 TABLE_FUNCTION_DECL(float2, log_inv_tbl_ep); 44 TABLE_FUNCTION_DECL(float2, log2_tbl); 45 TABLE_FUNCTION_DECL(float2, log10_tbl); 47 TABLE_FUNCTION_DECL(float2, sinhcosh_tbl); 48 TABLE_FUNCTION_DECL(float2, cbrt_tbl); 50 TABLE_FUNCTION_DECL(float2, exp_tbl_ep);
|
| H A D | sincospiF_piby4.h | 24 _CLC_INLINE float2 52 float2 ret; in __libclc__sincosf_piby4()
|
| /llvm-project-15.0.7/clang/test/SemaOpenCL/ |
| H A D | arithmetic-conversions.cl | 3 typedef float float2 __attribute__((ext_vector_type(2))); 7 …float2 in, global float2 *out) { *out = in + 0.5;} // expected-error {{scalar operand type has gre… 9 …float2 in, global float2 *out) { *out = 0.5 + in;} // expected-error {{scalar operand type has gre… 11 kernel void foo3(float2 in, global float2 *out) { *out = 0.5f + in;} 15 kernel void foo5(float2 in, global float2 *out) { 17 …t convert between vector and non-scalar values ('__private float *' and 'float2' (vector of 2 'flo…
|
| H A D | cond.cl | 11 typedef float float2 __attribute__((ext_vector_type(2))); 45 float2 ptest06(int2 C, float X, float Y) 51 float2 ptest07(int2 C, int X, float Y) 57 float2 ptest08(int2 C, int X, float2 Y) 63 float2 ptest09(float2 A, float2 B, float2 C, float2 D) 85 float2 ntest04(int2 C, int2 X, float2 Y) 87 …conversions between vector types ('int2' (vector of 2 'int' values) and 'float2' (vector of 2 'flo… 90 float2 ntest05(int2 C, int2 X, float Y) 105 float2 ntest08(float2 C, float2 X, float2 Y) 107 …return C ? X : Y; // expected-error {{used type 'float2' (vector of 2 'float' values) where floati…
|
| H A D | shifts.cl | 10 typedef __attribute__((ext_vector_type(2))) float float2; 55 float2 ntest03(float2 c, char s) { 56 …return c << s; // expected-error {{used type 'float2' (vector of 2 'float' values) where integer i…
|
| /llvm-project-15.0.7/clang/test/SemaHLSL/BuiltIns/ |
| H A D | vector-constructors-erros.hlsl | 3 typedef float float2 __attribute__((ext_vector_type(2))); 11 float2 LilVec = float2(1.0, 2.0); 12 …float2 BrokenVec = float2(1.0, 2.0, 3.0); // expected-error{{excess elements in vector initializer… 19 …float2 GettingStrange = float2(s, s); // expected-error{{no viable conversion from 'S' to 'float'}… 21 …float2 EvenStranger = float2(s2); // expected-error{{no viable conversion from 'S2' to 'float'}} e…
|
| /llvm-project-15.0.7/clang/test/AST/HLSL/ |
| H A D | vector-constructors.hlsl | 3 typedef float float2 __attribute__((ext_vector_type(2))); 8 float2 Vec2 = float2(1.0, 2.0); 15 … 0x{{[0-9a-fA-F]+}} <col:17, col:32> 'float2':'float __attribute__((ext_vector_type(2)))' function… 54 float2 foo0 = float2(f, g); // Non-literal 66 float2 foo1 = float2(1, 2); // Integer literals 77 float2 foo2 = float2(i, j); // Integer non-literal 91 float2 foo4 = float2(s.f, s.f); 107 float2 foo5 = float2(t, t); // user-defined cast operator 124 typedef float2 second_level_of_typedefs; 125 second_level_of_typedefs foo6 = float2(1.0f, 2.0f); [all …]
|
| /llvm-project-15.0.7/llvm/test/ExecutionEngine/ |
| H A D | test-interp-vec-setcond-fp.ll | 8 %float2 = fadd <3 x float> <float 0.0, float 0.0, float 0.0>, <float 0.0, float 0.0, float 0.0> 9 %test49 = fcmp oeq <3 x float> %float1, %float2 10 %test50 = fcmp oge <3 x float> %float1, %float2 11 %test51 = fcmp ogt <3 x float> %float1, %float2 12 %test52 = fcmp ole <3 x float> %float1, %float2 13 %test53 = fcmp olt <3 x float> %float1, %float2 14 %test54 = fcmp une <3 x float> %float1, %float2
|
| /llvm-project-15.0.7/llvm/test/ExecutionEngine/MCJIT/ |
| H A D | test-setcond-fp.ll | 9 %float2 = fadd float 0.000000e+00, 0.000000e+00 ; <float> [#uses=6] 10 %test49 = fcmp oeq float %float1, %float2 ; <i1> [#uses=0] 11 %test50 = fcmp oge float %float1, %float2 ; <i1> [#uses=0] 12 %test51 = fcmp ogt float %float1, %float2 ; <i1> [#uses=0] 13 %test52 = fcmp ole float %float1, %float2 ; <i1> [#uses=0] 14 %test53 = fcmp olt float %float1, %float2 ; <i1> [#uses=0] 15 %test54 = fcmp une float %float1, %float2 ; <i1> [#uses=0]
|
| /llvm-project-15.0.7/clang/test/Sema/ |
| H A D | ext_vector_components.c | 3 typedef __attribute__(( ext_vector_type(2) )) float float2; typedef 11 float2 vec2, vec2_2; in test() 71 float2 lo(float3 x) { return x.lo; } in lo() 72 float2 hi(float3 x) { return x.hi; } in hi() 73 float2 ev(float3 x) { return x.even; } in ev() 74 float2 od(float3 x) { return x.odd; } in od()
|
| H A D | ext_vector_casts.c | 5 typedef __attribute__(( ext_vector_type(2) )) float float2; typedef 16 float2 vec2; in test() 56 typedef __attribute__(( ext_vector_type(2) )) float2 vecfloat2; // expected-error{{invalid vector e… 58 void inc(float2 f2) { in inc() 101 float2 vf = f; in splats()
|
| /llvm-project-15.0.7/libclc/r600/lib/image/ |
| H A D | read_imagef.cl | 3 _CLC_DECL float4 __clc_read_imagef_tex(image2d_t, sampler_t, float2); 7 float2 coord_float = (float2)(coord.x, coord.y); 12 float2 coord) {
|
| H A D | read_imageui.cl | 3 _CLC_DECL float4 __clc_read_imagef_tex(image2d_t, sampler_t, float2); 15 float2 coord_float = (float2)(coord.x, coord.y); 20 float2 coord) {
|
| H A D | read_imagei.cl | 3 _CLC_DECL float4 __clc_read_imagef_tex(image2d_t, sampler_t, float2); 15 float2 coord_float = (float2)(coord.x, coord.y); 20 float2 coord) {
|
| /llvm-project-15.0.7/clang/test/SemaCXX/ |
| H A D | err_init_conversion_failed.cpp | 39 typedef float float2 __attribute__((ext_vector_type(2))); typedef 42 void test14(const float2 in, const float2 out) { in test14()
|
| /llvm-project-15.0.7/llvm/test/CodeGen/SystemZ/ |
| H A D | frame-15.ll | 45 %float2 = load float, float *%ptr2 72 %float2 = load float, float *%ptr2 99 %float2 = load float, float *%ptr2 126 %float2 = load float, float *%ptr2 153 %float2 = load float, float *%ptr2 180 %float2 = load float, float *%ptr2 209 %float2 = load float, float *%ptr2 237 %float2 = load float, float *%ptr2 266 %float2 = load float, float *%ptr2 307 %float2 = load float, float *%ptr2 [all …]
|
| /llvm-project-15.0.7/llvm/test/CodeGen/NVPTX/ |
| H A D | param-align.ll | 20 ;;; Need 4-byte alignment on float2* passed byval 21 %struct.float2 = type { float, float } 22 define ptx_device void @t3(%struct.float2* byval(%struct.float2) %x) {
|
| /llvm-project-15.0.7/libclc/generic/include/math/ |
| H A D | ternary_intrin.inc | 2 _CLC_OVERLOAD float2 __CLC_FUNCTION(float2, float2, float2) __asm(__CLC_INTRINSIC ".v2f32");
|
| H A D | binary_intrin.inc | 2 _CLC_OVERLOAD float2 __CLC_FUNCTION(float2, float2) __asm(__CLC_INTRINSIC ".v2f32");
|
| /llvm-project-15.0.7/clang/test/CodeGenOpenCL/ |
| H A D | ext-vector-shuffle.cl | 5 typedef __attribute__(( ext_vector_type(2) )) float float2; 8 float2 test1(float4 V) { 13 float2 W = V.ww;
|
| /llvm-project-15.0.7/clang/lib/Headers/ |
| H A D | opencl-c.h | 7125 float2 __ovld __cnfn fma(float2, float2, float2); 7267 float2 __ovld fract(float2, float2 *); 7791 float2 __ovld __cnfn mad(float2, float2, float2); 7876 float2 __ovld modf(float2, float2 *); 8363 float2 __ovld sincos(float2, float2 *); 10024 float2 __ovld __cnfn clamp(float2, float2, float2); 10180 float2 __ovld __cnfn mix(float2, float2, float2); 10299 float2 __ovld __cnfn smoothstep(float2, float2, float2); 10994 float2 __ovld __cnfn bitselect(float2, float2, float2); 18201 float2 __ovld amd_max3(float2 src0, float2 src1, float2 src2); [all …]
|
| /llvm-project-15.0.7/llvm/test/CodeGen/SPIRV/transcoding/ |
| H A D | RelationalOperators.ll | 169 ; kernel void testFOrdEqual(float2 a, float2 b, global int2 *res) { 188 ; kernel void testFUnordNotEqual(float2 a, float2 b, global int2 *res) { 207 ; kernel void testFOrdGreaterThan(float2 a, float2 b, global int2 *res) { 226 ; kernel void testFOrdGreaterThanEqual(float2 a, float2 b, global int2 *res) { 245 ; kernel void testFOrdLessThan(float2 a, float2 b, global int2 *res) { 264 ; kernel void testFOrdLessThanEqual(float2 a, float2 b, global int2 *res) { 297 !13 = !{!"float2", !"float2", !"int2*"}
|
| /llvm-project-15.0.7/libclc/generic/include/clc/image/ |
| H A D | image.h | 28 read_imagef(image2d_t image, sampler_t sampler, float2 coord); 32 read_imagei(image2d_t image, sampler_t sampler, float2 coord); 36 read_imageui(image2d_t image, sampler_t sampler, float2 coord);
|
| /llvm-project-15.0.7/clang/test/CodeGen/ |
| H A D | ext-vector.c | 4 typedef __attribute__(( ext_vector_type(2) )) float float2; typedef 20 float2 vec2, vec2_2; 291 void test16(float2 a, float2 b) { in test16() 292 float2 t0 = (a + b) / 2; in test16()
|