Lines Matching refs:GLOB
15 __attribute__((opencl_global)) int *GLOB; in usages() local
20 …GLOB = PRIV; // expected-error {{assigning '__… in usages()
21 …GLOB = LOC; // expected-error {{assigning '__… in usages()
22 …PRIV = static_cast<__attribute__((opencl_private)) int *>(GLOB); // expected-error {{static_cast f… in usages()
24 …NoAS = GLOB + PRIV; // expected-error {{invalid opera… in usages()
25 …NoAS = GLOB + LOC; // expected-error {{invalid opera… in usages()
26 …NoAS += GLOB; // expected-error {{invalid opera… in usages()
28 bar(*GLOB); in usages()
29 bar2(*GLOB); in usages()
40 foo(GLOB); in usages()
41 foo2(GLOB); in usages()
49 tmpl(GLOB); in usages()
59 …GLOB = (__attribute__((opencl_global)) int *)PRIV; // expected-error {{C-style cast from '__privat… in usages()
61 (void)static_cast<int *>(GLOB); in usages()
62 (void)static_cast<void *>(GLOB); in usages()
63 int *i = GLOB; in usages()
64 void *v = GLOB; in usages()
71 GLOB = GLOB_HOST; in usages()
72 …GLOB_HOST = GLOB; // expected-error {{assigning '__global int *' to '__global_host int *' changes … in usages()
73 …GLOB_HOST = static_cast<__attribute__((opencl_global_host)) int *>(GLOB); // expected-error {{stat… in usages()
77 GLOB = GLOB_DEVICE; in usages()
78 …GLOB_DEVICE = GLOB; // expected-error {{assigning '__global int *' to '__global_device int *' chan… in usages()
79 …GLOB_DEVICE = static_cast<__attribute__((opencl_global_device)) int *>(GLOB); // expected-error {{… in usages()