| /llvm-project-15.0.7/clang/test/Analysis/ |
| H A D | produce-symbolcast_x86.cpp | 5 using ushort = unsigned short; typedef 129 clang_analyzer_dump((ushort)(ushort)x); // expected-warning{{(unsigned short) (reg_$0<schar x>)}} in test_schar() 277 clang_analyzer_dump((ushort)(ushort)x); // expected-warning{{(unsigned short) (reg_$0<char x>)}} in test_char() 425 clang_analyzer_dump((ushort)(ushort)x); // expected-warning{{(unsigned short) (reg_$0<short x>)}} in test_short() 573 clang_analyzer_dump((ushort)(ushort)x); // expected-warning{{(unsigned short) (reg_$0<int x>)}} in test_int() 721 clang_analyzer_dump((ushort)(ushort)x); // expected-warning{{(unsigned short) (reg_$0<long x>)}} in test_long() 869 clang_analyzer_dump((ushort)(ushort)x); // expected-warning{{(unsigned short) (reg_$0<llong x>)}} in test_llong() 1017 clang_analyzer_dump((ushort)(ushort)x); // expected-warning{{(unsigned short) (reg_$0<uchar x>)}} in test_uchar() 1059 void test_ushort(ushort x) { in test_ushort() 1165 clang_analyzer_dump((ushort)(ushort)x); // expected-warning{{reg_$0<ushort x>}} in test_ushort() [all …]
|
| H A D | produce-symbolcast_x64.cpp | 5 using ushort = unsigned short; typedef 120 clang_analyzer_dump((ushort)(ushort)x); // expected-warning{{(unsigned short) (reg_$0<schar x>)}} in test_schar() 268 clang_analyzer_dump((ushort)(ushort)x); // expected-warning{{(unsigned short) (reg_$0<char x>)}} in test_char() 416 clang_analyzer_dump((ushort)(ushort)x); // expected-warning{{(unsigned short) (reg_$0<short x>)}} in test_short() 564 clang_analyzer_dump((ushort)(ushort)x); // expected-warning{{(unsigned short) (reg_$0<int x>)}} in test_int() 712 clang_analyzer_dump((ushort)(ushort)x); // expected-warning{{(unsigned short) (reg_$0<long x>)}} in test_long() 860 clang_analyzer_dump((ushort)(ushort)x); // expected-warning{{(unsigned short) (reg_$0<llong x>)}} in test_llong() 1008 clang_analyzer_dump((ushort)(ushort)x); // expected-warning{{(unsigned short) (reg_$0<uchar x>)}} in test_uchar() 1050 void test_ushort(ushort x) { in test_ushort() 1156 clang_analyzer_dump((ushort)(ushort)x); // expected-warning{{reg_$0<ushort x>}} in test_ushort() [all …]
|
| /llvm-project-15.0.7/libclc/generic/lib/integer/ |
| H A D | mad_sat.cl | 9 return clamp((ushort)mad24((ushort)x, (ushort)y, (ushort)z), (ushort)0, (ushort) UCHAR_MAX); 16 _CLC_OVERLOAD _CLC_DEF ushort mad_sat(ushort x, ushort y, ushort z) { 68 _CLC_TERNARY_VECTORIZE(_CLC_OVERLOAD _CLC_DEF, ushort, mad_sat, ushort, ushort, ushort)
|
| H A D | add_sat.cl | 8 _CLC_DECL ushort __clc_add_sat_u16(ushort, ushort); 20 ushort r = x + y; 29 _CLC_OVERLOAD _CLC_DEF ushort add_sat(ushort x, ushort y) { 69 _CLC_BINARY_VECTORIZE(_CLC_OVERLOAD _CLC_DEF, ushort, add_sat, ushort, ushort)
|
| H A D | clz.cl | 5 return clz((ushort)(uchar)x) - 8; 9 return clz((ushort)x) - 8; 16 _CLC_OVERLOAD _CLC_DEF ushort clz(ushort x) { 39 _CLC_UNARY_VECTORIZE(_CLC_OVERLOAD _CLC_DEF, ushort, clz, ushort)
|
| H A D | sub_sat.cl | 19 _CLC_OVERLOAD _CLC_DEF ushort sub_sat(ushort x, ushort y) { 57 _CLC_BINARY_VECTORIZE(_CLC_OVERLOAD _CLC_DEF, ushort, sub_sat, ushort, ushort)
|
| H A D | upsample.cl | 25 __CLC_UPSAMPLE_IMPL(ushort, uchar, uchar, 8) \ 26 __CLC_UPSAMPLE_IMPL(int, short, ushort, 16) \ 27 __CLC_UPSAMPLE_IMPL(uint, ushort, ushort, 16) \
|
| /llvm-project-15.0.7/libclc/generic/include/clc/integer/ |
| H A D | upsample.h | 14 __CLC_UPSAMPLE_VEC(ushort, uchar, uchar) \ 15 __CLC_UPSAMPLE_VEC(int, short, ushort) \ 16 __CLC_UPSAMPLE_VEC(uint, ushort, ushort) \
|
| H A D | gentype.inc | 139 #define __CLC_U_GENTYPE ushort 201 #define __CLC_SCALAR_GENTYPE ushort 203 #define __CLC_GENTYPE ushort 204 #define __CLC_U_GENTYPE ushort
|
| /llvm-project-15.0.7/libclc/generic/include/clc/ |
| H A D | clctypes.h | 4 typedef unsigned short ushort; typedef 43 typedef __attribute__((ext_vector_type(2))) ushort ushort2; 44 typedef __attribute__((ext_vector_type(3))) ushort ushort3; 45 typedef __attribute__((ext_vector_type(4))) ushort ushort4; 46 typedef __attribute__((ext_vector_type(8))) ushort ushort8; 47 typedef __attribute__((ext_vector_type(16))) ushort ushort16;
|
| H A D | convert.h | 18 _CLC_VECTOR_CONVERT_DECL(FROM_TYPE, ushort, SUFFIX) \ 38 _CLC_VECTOR_CONVERT_FROM(ushort, SUFFIX) \
|
| /llvm-project-15.0.7/libclc/generic/include/clc/misc/ |
| H A D | shuffle.h | 29 _CLC_VECTOR_SHUFFLE_INSIZE(short, ushort) 33 _CLC_VECTOR_SHUFFLE_INSIZE(ushort, ushort) 41 _CLC_VECTOR_SHUFFLE_INSIZE(half, ushort)
|
| H A D | shuffle2.h | 29 _CLC_VECTOR_SHUFFLE2_INSIZE(short, ushort) 33 _CLC_VECTOR_SHUFFLE2_INSIZE(ushort, ushort) 41 _CLC_VECTOR_SHUFFLE2_INSIZE(half, ushort)
|
| /llvm-project-15.0.7/libclc/generic/lib/math/ |
| H A D | nan.inc | 16 _CLC_OVERLOAD _CLC_DEF __CLC_GENTYPE nan(__CLC_XCONCAT(ushort, __CLC_VECSIZE) code) 18 const ushort mask = 0x7e00; 19 const __CLC_XCONCAT(ushort, __CLC_VECSIZE) res = code | mask;
|
| H A D | copysign.cl | 20 ushort sign_x = as_ushort(x) & 0x8000u; 21 ushort unsigned_y = as_ushort(y) & 0x7ffffu; 23 return as_half((ushort)(sign_x | unsigned_y));
|
| /llvm-project-15.0.7/clang/test/CodeGen/ |
| H A D | ubsan-promoted-arith.cpp | 4 typedef unsigned short ushort; typedef 61 ushort mul3(ushort us) { return us * us; } in mul3()
|
| /llvm-project-15.0.7/clang/lib/Headers/ |
| H A D | opencl-c.h | 9130 ushort __ovld __cnfn hadd(ushort, ushort); 9183 ushort __ovld __cnfn rhadd(ushort, ushort); 9236 ushort __ovld __cnfn clamp(ushort, ushort, ushort); 9437 ushort __ovld __cnfn mad_hi(ushort, ushort, ushort); 9489 ushort __ovld __cnfn mad_sat(ushort, ushort, ushort); 9541 ushort __ovld __cnfn max(ushort, ushort); 9633 ushort __ovld __cnfn min(ushort, ushort); 9726 ushort __ovld __cnfn mul_hi(ushort, ushort); 9783 ushort __ovld __cnfn rotate(ushort, ushort); 10958 ushort __ovld __cnfn bitselect(ushort, ushort, ushort); [all …]
|
| H A D | opencl-c-base.h | 100 typedef unsigned short ushort; typedef 158 typedef ushort ushort2 __attribute__((ext_vector_type(2))); 159 typedef ushort ushort3 __attribute__((ext_vector_type(3))); 160 typedef ushort ushort4 __attribute__((ext_vector_type(4))); 161 typedef ushort ushort8 __attribute__((ext_vector_type(8))); 162 typedef ushort ushort16 __attribute__((ext_vector_type(16))); 556 #define as_ushort(x) __builtin_astype((x), ushort)
|
| /llvm-project-15.0.7/llvm/test/CodeGen/AMDGPU/ |
| H A D | mad.u16.ll | 9 ; GCN: {{flat|global}}_load_{{ushort|u16}} v[[A:[0-9]+]] 10 ; GCN: {{flat|global}}_load_{{ushort|u16}} v[[B:[0-9]+]] 11 ; GCN: {{flat|global}}_load_{{ushort|u16}} v[[C:[0-9]+]]
|
| /llvm-project-15.0.7/libclc/generic/lib/misc/ |
| H A D | shuffle.cl | 124 _CLC_VECTOR_SHUFFLE_INSIZE(short, ushort) 128 _CLC_VECTOR_SHUFFLE_INSIZE(ushort, ushort) 138 _CLC_VECTOR_SHUFFLE_INSIZE(half, ushort)
|
| H A D | shuffle2.cl | 128 _CLC_VECTOR_SHUFFLE_INSIZE(short, ushort) 132 _CLC_VECTOR_SHUFFLE_INSIZE(ushort, ushort) 142 _CLC_VECTOR_SHUFFLE_INSIZE(half, ushort)
|
| /llvm-project-15.0.7/libclc/generic/include/clc/math/ |
| H A D | nan.inc | 10 #define __CLC_NATN __CLC_XCONCAT(ushort, __CLC_VECSIZE)
|
| /llvm-project-15.0.7/libclc/generic/include/clc/relational/ |
| H A D | select.inc | 13 #define __CLC_U_GENTYPE __CLC_XCONCAT(ushort, __CLC_VECSIZE)
|
| /llvm-project-15.0.7/libclc/generic/lib/relational/ |
| H A D | select.inc | 13 #define __CLC_U_GENTYPE __CLC_XCONCAT(ushort, __CLC_VECSIZE)
|
| /llvm-project-15.0.7/libclc/generic/include/integer/ |
| H A D | unary_intrin.inc | 12 __CLC_INTRINSIC_DEF(ushort, "16")
|