| /llvm-project-15.0.7/clang/test/SemaOpenCL/ |
| H A D | shifts.cl | 5 typedef __attribute__((ext_vector_type(2))) char char2; 14 char2 ptest01(char2 c, char s) { 18 char2 ptest02(char2 c, char2 s) { 22 char2 ptest03(char2 c, int s) { 26 char2 ptest04(char2 c, int2 s) { 30 int2 ptest05(int2 c, char2 s) { 34 char2 ptest06(char2 c) { 47 char2 ntest01(char c, char2 s) { 48 …return c << s; // expected-error {{requested shift is a vector of type '__private char2' (vector o… 51 char3 ntest02(char3 c, char2 s) { [all …]
|
| H A D | cond.cl | 6 typedef char char2 __attribute__((ext_vector_type(2))); 33 char2 ptest04(char2 X, char2 Y, char2 C) 70 int2 ntest01(char2 C, int X, int Y) 72 …return C ? X : Y; // expected-error {{vector condition type 'char2' (vector of 2 'char' values) an… 75 int2 ntest02(char2 C, int2 X, int2 Y) 77 …return C ? X : Y; // expected-error {{vector condition type 'char2' (vector of 2 'char' values) an… 95 char2 ntest06(int2 C, char2 X, char2 Y) 97 …{vector condition type 'int2' (vector of 2 'int' values) and result type 'char2' (vector of 2 'cha… 116 char3 ntest10(char C, char3 X, char2 Y) 118 …onversions between vector types ('char3' (vector of 3 'char' values) and 'char2' (vector of 2 'cha… [all …]
|
| H A D | multistep-explicit-cast.cl | 4 typedef __attribute__((ext_vector_type(2))) char char2; 8 …// CHECK: CStyleCastExpr {{.*}} <col:{{.*}}> 'char2':'char __attribute__((ext_vector_type(2)))' <V… 11 char2 A = (char2)(1);
|
| H A D | vector_inc_dec_ops.cl | 3 typedef __attribute__((ext_vector_type(2))) char char2; 10 char2 A = (char2)(1);
|
| H A D | fdeclare-opencl-builtins.cl | 49 typedef char char2 __attribute__((ext_vector_type(2))); 220 char2 c2; 319 kernel void extended_subgroup(global uint4 *out, global int *scalar, global char2 *c2) { 376 void test_extension_types(char2 c2) { 380 …// expected-note@-2 6 {{candidate function not viable: no known conversion from '__private char2' … 381 …// expected-note@-3 6 {{candidate function not viable: no known conversion from '__private char2' …
|
| /llvm-project-15.0.7/clang/test/CodeGenOpenCL/ |
| H A D | vectorLoadStore.cl | 3 typedef char char2 __attribute((ext_vector_type(2))); 16 __private char2 data_generic[100];
|
| H A D | amdgpu-abi-struct-coerce.cl | 5 typedef __attribute__(( ext_vector_type(2) )) char char2; 514 void v2i8_reg_count(char2 arg0, char2 arg1, char2 arg2, char2 arg3, 515 char2 arg4, char2 arg5, struct_4regs arg6) { } 518 void v2i8_reg_count_over(char2 arg0, char2 arg1, char2 arg2, char2 arg3, 519 char2 arg4, char2 arg5, int arg6, struct_4regs arg7) { }
|
| H A D | amdgpu-alignment.cl | 8 typedef char __attribute__((ext_vector_type(2))) char2; 140 volatile local char2 lds_v2i8[4]; 240 volatile local char2* lds_v2i8, 427 volatile private char2 private_v2i8[4];
|
| /llvm-project-15.0.7/clang/lib/Headers/ |
| H A D | opencl-c.h | 9119 char2 __ovld __cnfn hadd(char2, char2); 9172 char2 __ovld __cnfn rhadd(char2, char2); 9225 char2 __ovld __cnfn clamp(char2, char2, char2); 9426 char2 __ovld __cnfn mad_hi(char2, char2, char2); 9478 char2 __ovld __cnfn mad_sat(char2, char2, char2); 9530 char2 __ovld __cnfn max(char2, char2); 9622 char2 __ovld __cnfn min(char2, char2); 9715 char2 __ovld __cnfn mul_hi(char2, char2); 9772 char2 __ovld __cnfn rotate(char2, char2); 10947 char2 __ovld __cnfn bitselect(char2, char2, char2); [all …]
|
| H A D | __clang_cuda_intrinsics.h | 292 inline __device__ char2 __ldg(const char2 *ptr) { in __ldg() 298 char2 ret; in __ldg()
|
| H A D | opencl-c-base.h | 143 typedef char char2 __attribute__((ext_vector_type(2))); typedef 536 #define as_char2(x) __builtin_astype((x), char2)
|
| /llvm-project-15.0.7/clang/test/Headers/Inputs/include/ |
| H A D | cuda.h | 28 struct char2 { struct 30 __host__ __device__ char2(char x = 0, char y = 0) : x(x), y(y) {} in x() argument
|
| /llvm-project-15.0.7/llvm/test/CodeGen/AArch64/ |
| H A D | func-calls.ll | 25 %char2 = load i8, i8* @var8_2 26 call void @take_i8s(i8 %char1, i8 %char2)
|
| /llvm-project-15.0.7/libclc/generic/include/clc/integer/ |
| H A D | gentype.inc | 18 #define __CLC_GENTYPE char2 20 #define __CLC_S_GENTYPE char2 85 #define __CLC_S_GENTYPE char2
|
| /llvm-project-15.0.7/libclc/generic/include/clc/ |
| H A D | clctypes.h | 25 typedef __attribute__((ext_vector_type(2))) char char2; typedef
|
| H A D | as_type.h | 11 #define as_char2(x) __builtin_astype(x, char2)
|
| /llvm-project-15.0.7/clang/test/CodeGen/ |
| H A D | builtins-nvptx.c | 595 typedef char char2 __attribute__((ext_vector_type(2))); in nvvm_ldg() typedef 597 __nvvm_ldg_c2((const char2 *)p); in nvvm_ldg()
|
| /llvm-project-15.0.7/libclc/generic/include/clc/async/ |
| H A D | gentype.inc | 6 #define __CLC_GENTYPE char2
|
| /llvm-project-15.0.7/llvm/test/CodeGen/AMDGPU/ |
| H A D | hsa-metadata-from-llvm-ir-full-v3.ll | 1613 ; CHECK-NEXT: .type_name: 'char2 addrspace(5)*' 1712 ; CHECK-NEXT: .type_name: 'char2 addrspace(5)*' 1950 !93 = !{!"long addrspace(5)*", !"char addrspace(5)*", !"char2 addrspace(5)*", !"char3 addrspace…
|
| H A D | hsa-metadata-from-llvm-ir-full.ll | 1584 ; CHECK-NEXT: TypeName: 'char2 addrspace(5)*' 1688 ; CHECK-NEXT: TypeName: 'char2 addrspace(5)*' 1922 !93 = !{!"long addrspace(5)*", !"char addrspace(5)*", !"char2 addrspace(5)*", !"char3 addrspace…
|