Lines Matching refs:__constant
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 …
144 // expected-error-re@-2{{casting '__constant int *' to type '__{{global|generic}} int *' changes ad…
154 // expected-error@-2{{casting '__generic int *' to type '__constant int *' changes address space of…
160 // expected-error@-2{{comparison between ('__constant int *' and '__global int *') which are point…
170 // expected-error-re@-2{{comparison between ('__{{global|generic}} int *' and '__constant int *') …
180 // expected-error@-2{{comparison between ('__constant int *' and '__generic int *') which are poin…
186 // expected-error@-2{{arithmetic operation with operands of type ('__constant int *' and '__global…
196 …ic operation with operands of type ('__{{global|generic}} int *' and '__constant int *') which ar…
206 // expected-error@-2{{arithmetic operation with operands of type ('__constant int *' and '__generi…
218 // expected-error-re@-2{{passing '__{{global|generic}} int *' to parameter of type '__constant int …
225 // expected-error@-2{{passing '__constant int *' to parameter of type '__generic int *' changes add…
235 // expected-error@-2{{conditional operator with the second and third operands of type ('__constant…
247 … second and third operands of type ('__{{global|generic}} int *' and '__constant int *') which ar…
258 // expected-error@-2{{conditional operator with the second and third operands of type ('__constant…
265 // expected-error@-2{{conditional operator with the second and third operands of type ('__constant…
278 … second and third operands of type ('__{{global|generic}} int *' and '__constant char *') which a…
290 // expected-error@-2{{conditional operator with the second and third operands of type ('__constant…