Lines Matching full:variant
11 #pragma omp declare variant // expected-error {{expected '(' after 'declare variant'}}
12 #pragma omp declare variant( // expected-error {{expected expression}} expected-error {{expected ')…
13 …variant(foo // expected-error {{expected ')'}} omp50-error {{expected 'match' clause on 'omp decla…
14 …variant(x) // expected-error {{use of undeclared identifier 'x'}} omp50-error {{expected 'match' c…
15 …variant(foo) // omp50-error {{expected 'match' clause on 'omp declare variant' directive}} omp51-e…
16 …variant(foo) // omp50-error {{expected 'match' clause on 'omp declare variant' directive}} omp51-e…
17 …variant(foo) xxx // omp50-error {{expected 'match' clause on 'omp declare variant' directive}} omp…
18 #pragma omp declare variant(foo) match // expected-error {{expected '(' after 'match'}}
19 #pragma omp declare variant(foo) match( // expected-error {{expected ')'}} expected-warning {{expec…
20 #pragma omp declare variant(foo) match() // expected-warning {{expected identifier or string litera…
21 #pragma omp declare variant(foo) match(xxx) // expected-warning {{'xxx' is not a valid context set …
22 #pragma omp declare variant(foo) match(xxx=) // expected-warning {{'xxx' is not a valid context set…
23 #pragma omp declare variant(foo) match(xxx=yyy) // expected-warning {{'xxx' is not a valid context …
24 …variant(foo) match(xxx=yyy}) // expected-error {{expected ')'}} expected-warning {{'xxx' is not a …
25 … declare variant(foo) match(xxx={) // expected-error {{expected ')'}} expected-warning {{'xxx' is …
26 #pragma omp declare variant(foo) match(xxx={}) // expected-warning {{'xxx' is not a valid context s…
27 #pragma omp declare variant(foo) match(xxx={vvv, vvv}) // expected-warning {{'xxx' is not a valid c…
28 #pragma omp declare variant(foo) match(xxx={vvv} xxx) // expected-warning {{'xxx' is not a valid co…
29 …variant(foo) match(xxx={vvv}) xxx // expected-warning {{'xxx' is not a valid context set in a `dec…
30 #pragma omp declare variant(foo) match(implementation={xxx}) // expected-warning {{'xxx' is not a v…
31 #pragma omp declare variant(foo) match(implementation={vendor}) // expected-warning {{the context s…
32 #pragma omp declare variant(foo) match(implementation={vendor(}) // expected-error {{expected ')'}}…
33 #pragma omp declare variant(foo) match(implementation={vendor()}) // expected-warning {{expected id…
34 #pragma omp declare variant(foo) match(implementation={vendor(score ibm)}) // expected-error {{expe…
35 #pragma omp declare variant(foo) match(implementation={vendor(score( ibm)}) // expected-error {{use…
36 #pragma omp declare variant(foo) match(implementation={vendor(score(2 ibm)}) // expected-error {{ex…
37 #pragma omp declare variant(foo) match(implementation={vendor(score(foo()) ibm)}) // expected-warni…
38 …variant(foo) match(implementation={vendor(score(5): ibm), vendor(llvm)}) // expected-warning {{the…
39 #pragma omp declare variant(foo) match(implementation={vendor(score(5): ibm), kind(cpu)}) // expect…
40 #pragma omp declare variant(foo) match(device={xxx}) // expected-warning {{'xxx' is not a valid con…
41 #pragma omp declare variant(foo) match(device={kind}) // expected-warning {{the context selector 'k…
42 #pragma omp declare variant(foo) match(device={kind(}) // expected-error {{expected ')'}} expected-…
43 #pragma omp declare variant(foo) match(device={kind()}) // expected-warning {{expected identifier o…
44 #pragma omp declare variant(foo) match(device={kind(score cpu)}) // expected-error {{expected '(' a…
45 #pragma omp declare variant(foo) match(device = {kind(score(ibm) }) // expected-error {{use of unde…
46 #pragma omp declare variant(foo) match(device={kind(score(2 gpu)}) // expected-error {{expected ')'…
47 #pragma omp declare variant(foo) match(device={kind(score(foo()) ibm)}) // expected-warning {{expec…
48 …variant(foo) match(device={kind(score(5): host), kind(llvm)}) // expected-warning {{the context se…
49 #pragma omp declare variant(foo) match(device={kind(score(5): nohost), vendor(llvm)}) // expected-w…
50 #pragma omp declare variant(foo) match(implementation={extension("aaa")}) // expected-warning {{'aa…
53 #pragma omp declare variant(foo) match(implementation = {vendor(score(foo) :llvm)}) // expected-war…
54 #pragma omp declare variant(foo) match(implementation = {vendor(score(foo()) :llvm)}) // expected-w…
55 #pragma omp declare variant(foo) match(implementation = {vendor(score(<expr>) :llvm)}) // expected-…
56 #pragma omp declare variant(foo) match(user = {condition(foo)}) // expected-error {{the user condit…
57 #pragma omp declare variant(foo) match(user = {condition(foo())}) // expected-error {{the user cond…
58 #pragma omp declare variant(foo) match(user = {condition(<expr>)}) // expected-error {{expected exp…
61 #pragma omp declare variant(foo) match(construct={teams,parallel,for,simd})
62 …variant(foo) match(construct={target teams}) // expected-error {{expected ')'}} expected-warning {…
63 …variant(foo) match(construct={parallel for}) // expected-error {{expected ')'}} expected-warning {…
64 …variant(foo) match(construct={for simd}) // expected-error {{expected ')'}} expected-warning {{exp…
67 #pragma omp declare variant(foo) match(xxx={}) // expected-warning {{'xxx' is not a valid context s…
68 int a; // expected-error {{'#pragma omp declare variant' can only be applied to functions}}
70 #pragma omp declare variant(foo) match(xxx={}) // expected-warning {{'xxx' is not a valid context s…
71 #pragma omp threadprivate(a) // expected-error {{'#pragma omp declare variant' can only be applied …
76 #pragma omp declare variant(foo) match(xxx={}) // expected-error {{function declaration is expected…
81 #pragma omp declare variant(foo) match(xxx={}) // expected-error {{function declaration is expected…
82 #pragma omp declare variant(foo) match(xxx={}) // expected-error {{function declaration is expected…
88 …a omp declare variant(foo) match(implementation={vendor(llvm)}) // expected-error {{function decla…
89 …a omp declare variant(foo) match(implementation={vendor(llvm)}) // expected-error {{function decla…
94 …variant(foo) match(xxx={}) // expected-error {{single declaration is expected after 'declare varia…
98 #pragma omp declare variant(no_proto) match(xxx={}) // expected-warning {{'xxx' is not a valid cont…
103 #pragma omp declare variant(proto1) match(xxx={}) // expected-warning {{'xxx' is not a valid contex…
108 #pragma omp declare variant(no_proto) match(xxx={}) // expected-warning {{'xxx' is not a valid cont…
117 // expected-error@+1 {{variant in '#pragma omp declare variant' is the same as the base function}}
118 #pragma omp declare variant (self) \
127 …variant(after_use_variant) match(xxx={}) // expected-warning {{'xxx' is not a valid context set in…
129 …ragma omp declare variant(after_use_variant) match(xxx={}) // expected-warning {{'xxx' is not a va…
133 …variant(after_use_variant) match(xxx={}) // expected-warning {{'xxx' is not a valid context set in…
139 …variant(diff_cc_variant) match(xxx={}) // expected-error {{variant in '#pragma omp declare variant…
144 …variant(diff_ret_variant) match(xxx={}) // expected-error {{variant in '#pragma omp declare varian…
149 #pragma omp declare variant(incompat_attr_variant) match(implementation={vendor(llvm)})
150 …compat_attr_cpu_dispatch(void); // expected-error {{'#pragma omp declare variant' is not compatibl…
152 #pragma omp declare variant(incompat_attr_variant) match(implementation={vendor(llvm)})
153 …compat_attr_cpu_specific(void); // expected-error {{'#pragma omp declare variant' is not compatibl…
156 #pragma omp declare variant(incompat_attr_variant) match(implementation={vendor(llvm)})
157 …oid incompat_attr_target(void); // expected-error {{'#pragma omp declare variant' is not compatibl…
160 #pragma omp declare variant(incompat_attr_variant) match(implementation={vendor(llvm)})
161 …oid incompat_attr_target(void); // expected-error {{'#pragma omp declare variant' is not compatibl…
164 #pragma omp declare variant(incompat_attr_variant) match(implementation={vendor(llvm)})
165 …mpat_attr_target_default(void); // expected-error {{'#pragma omp declare variant' is not compatibl…
167 #pragma omp declare variant(incompat_attr_variant) match(implementation={vendor(llvm)})
168 …ompat_attr_target_clones(void); // expected-error {{'#pragma omp declare variant' is not compatibl…
173 …a omp declare variant(not_marked) match(implementation={vendor(unknown)}, device={kind(cpu)}) // e…
176 …variant(marked_variant) match(xxx={}) // expected-warning {{'xxx' is not a valid context set in a …
179 #pragma omp declare variant(foo) match(device = {isa("foo")})
181 #pragma omp declare variant(foo) match(device = {isa(foo)})
183 #pragma omp declare variant(foo) match(device = {kind(fpga), isa(bar)})
193 #pragma omp begin declare variant match(device={isa(sse2020)}) // expected-warning {{isa trait 'sse…
194 #pragma omp end declare variant
197 #pragma omp begin declare variant match(device={isa(sse2020), arch(ppc)})
198 #pragma omp end declare variant
200 #pragma omp declare variant // expected-error {{function declaration is expected after 'declare var…
202 #pragma omp declare variant // expected-error {{function declaration is expected after 'declare var…
205 #pragma omp begin declare variant match(implementation = {vendor(score(2) \
207 #pragma omp declare variant(foo) match(implementation = {vendor(score(2) \
210 #pragma omp end declare variant
213 #pragma omp begin declare variant match(user = {condition(1)})
214 #pragma omp declare variant(foo) match(user = {condition(1)}) // expected-error {{nested user condi…
216 #pragma omp end declare variant