/external/clang/test/SemaOpenCL/ |
D | vector_literals_const.cl | 8 __constant int4 i_1_1_1_1 = (int4)(1,2,3,4); 9 __constant int4 i_2_1_1 = (int4)((int2)(1,2),3,4); 10 __constant int4 i_1_2_1 = (int4)(1,(int2)(2,3),4); 11 __constant int4 i_1_1_2 = (int4)(1,2,(int2)(3,4)); 12 __constant int4 i_2_2 = (int4)((int2)(1,2),(int2)(3,4)); 13 __constant int4 i_3_1 = (int4)((int3)(1,2,3),4); 14 __constant int4 i_1_3 = (int4)(1,(int3)(2,3,4)); 20 __constant float4 f_1_1_1_1 = (float4)(1,2,3,4); 21 __constant float4 f_2_1_1 = (float4)((float2)(1,2),3,4); 22 __constant float4 f_1_2_1 = (float4)(1,(float2)(2,3),4); [all …]
|
D | address-spaces.cl | 3 __constant int ci = 1; 12 …ip = &ci; // expected-error {{assigning '__constant int *' to 'int *' changes address space of poi… 18 …g = (global int*) c; // expected-error {{casting '__constant int *' to type '__global int *' ch… 19 …g = (global int*) cc; // expected-error {{casting 'const __constant int *' to type '__global int… 23 …l = (local int*) c; // expected-error {{casting '__constant int *' to type '__local int *' cha… 24 …l = (local int*) cc; // expected-error {{casting 'const __constant int *' to type '__local int … 27 …c = (constant int*) g; // expected-error {{casting '__global int *' to type '__constant int *' ch… 28 …c = (constant int*) l; // expected-error {{casting '__local int *' to type '__constant int *' cha… 29 …c = (constant int*) p; // expected-error {{casting 'int *' to type '__constant int *' changes add… 33 …p = (private int*) c; // expected-error {{casting '__constant int *' to type 'int *' changes add… [all …]
|
D | address-spaces-conversions-cl2.0.cl | 11 * other address space except for __constant address space (Section 6.5.5). 14 * case), and __constant, that should cover all program paths for CL address 58 // expected-error@-2{{initializing '__constant int *' with an expression of type '__global int *' c… 68 …{initializing '__{{global|generic}} int *' with an expression of type '__constant int *' changes a… 83 // expected-error@-2{{casting '__global int *' to type '__constant int *' changes address space of … 93 // expected-error-re@-2{{casting '__constant int *' to type '__{{global|generic}} int *' changes ad… 103 // expected-error@-2{{casting '__generic int *' to type '__constant int *' changes address space of… 109 // expected-error@-2{{assigning '__global int *' to '__constant int *' changes address space of poi… 119 // expected-error-re@-2{{assigning '__constant int *' to '__{{global|generic}} int *' changes addre… 134 // expected-error@-2{{casting '__global int *' to type '__constant int *' changes address space of … [all …]
|
D | str_literals.cl | 4 constant char * __constant x = "hello world"; 6 void foo(__constant char * a) {
|
D | builtin.cl | 8 int printf(__constant const char* st, ...);
|
D | null_literal.cl | 14 constant int* ptr4 = (global void*)0; // expected-error{{initializing '__constant int *' with an ex…
|
/external/clang/test/CodeGenOpenCL/ |
D | str_literals.cl | 3 __constant char * __constant x = "hello world"; 4 __constant char * __constant y = "hello world";
|
D | address-space-constant-initializers.cl | 8 __constant ArrayStruct constant_array_struct = { 0, 0.0f }; 11 __constant float* constant_float_ptr; 17 __constant ConstantArrayPointerStruct constant_array_pointer_struct = {
|
D | vector_literals_nested.cl | 6 __constant const int4 itest1 = (int4)(1, 2, ((int2)(3, 4))); 8 __constant const int4 itest2 = (int4)(1, 2, ((int2)(3)));
|
D | constant-addr-space-globals.cl | 4 __constant float array[2] = {0.0f, 1.0f};
|
D | address-spaces.cl | 14 void f__c(__constant int *arg) {}
|
D | kernel-arg-info.cl | 5 volatile int anotherArg, __constant float * restrict Z) {
|
D | shifts.cl | 9 __constant const unsigned long gtest1 = 1UL << 31;
|
/external/libcxx/src/ |
D | strstream.cpp | 61 : __strmode_(__constant), in strstreambuf() 79 : __strmode_(__constant), in strstreambuf() 97 : __strmode_(__constant), in strstreambuf() 206 if (__strmode_ & __constant) in pbackfail()
|
/external/ImageMagick/MagickCore/ |
D | accelerate-kernels-private.h | 907 __constant float *filter,const unsigned int width, 963 __constant float *filter,const unsigned int width, 1247 __constant float *filter, const unsigned int filterWidth, const unsigned int filterHeight, 1370 … __constant float *filter, const unsigned int filterWidth, const unsigned int filterHeight, 1691 const unsigned int number_parameters,__constant float *parameters) 1758 __constant float *parameters) 2786 const float2 blurCenter,__constant float *cos_theta, 2787 __constant float *sin_theta,const unsigned int cossin_theta_size, 2934 const ChannelType channel,__constant float *filter,const unsigned int width,
|
/external/clang/lib/Headers/ |
D | vecintrin.h | 30 #define __constant(PARM) \ macro 1087 __constant(__mask) { in vec_genmask() 1111 __constant(__first) __constant(__last) { in vec_genmasks_8() 1124 __constant(__first) __constant(__last) { in vec_genmasks_16() 1137 __constant(__first) __constant(__last) { in vec_genmasks_32() 1150 __constant(__first) __constant(__last) { in vec_genmasks_64() 1245 __constant(__scalar) { in vec_splat_s8() 1251 __constant(__scalar) { in vec_splat_s16() 1257 __constant(__scalar) { in vec_splat_s32() 1263 __constant(__scalar) { in vec_splat_s64() [all …]
|
D | opencl-c.h | 12661 char2 __ovld vload2(size_t offset, const __constant char *p); 12662 uchar2 __ovld vload2(size_t offset, const __constant uchar *p); 12663 short2 __ovld vload2(size_t offset, const __constant short *p); 12664 ushort2 __ovld vload2(size_t offset, const __constant ushort *p); 12665 int2 __ovld vload2(size_t offset, const __constant int *p); 12666 uint2 __ovld vload2(size_t offset, const __constant uint *p); 12667 long2 __ovld vload2(size_t offset, const __constant long *p); 12668 ulong2 __ovld vload2(size_t offset, const __constant ulong *p); 12669 float2 __ovld vload2(size_t offset, const __constant float *p); 12670 char3 __ovld vload3(size_t offset, const __constant char *p); [all …]
|
/external/libcxx/include/ |
D | strstream | 181 static const __mode_type __constant = 0x02;
|
/external/clang/include/clang/Basic/ |
D | TokenKinds.def | 504 KEYWORD(__constant , KEYOPENCL) 509 ALIAS("constant", __constant , KEYOPENCL)
|
D | AttrDocs.td | 1764 __constant(constant). 1768 __constant int c = ...; 1788 except for '__constant' in OpenCL code which can be used with multiple address
|
D | Attr.td | 734 let Spellings = [Keyword<"__constant">, Keyword<"constant">];
|