1#ifdef GEN_FLANG_DIRECTIVE_CLAUSE_SETS
2#undef GEN_FLANG_DIRECTIVE_CLAUSE_SETS
3
4namespace llvm::omp {
5
6// Sets for allocate
7
8static llvm::omp::Clauses allowedClauses_OMPD_allocate {
9};
10
11static llvm::omp::Clauses allowedOnceClauses_OMPD_allocate {
12 Clause::OMPC_align,
13 Clause::OMPC_allocator,
14};
15
16static llvm::omp::Clauses allowedExclusiveClauses_OMPD_allocate {
17};
18
19static llvm::omp::Clauses requiredClauses_OMPD_allocate {
20};
21// Sets for allocators
22
23static llvm::omp::Clauses allowedClauses_OMPD_allocators {
24 Clause::OMPC_allocate,
25};
26
27static llvm::omp::Clauses allowedOnceClauses_OMPD_allocators {
28};
29
30static llvm::omp::Clauses allowedExclusiveClauses_OMPD_allocators {
31};
32
33static llvm::omp::Clauses requiredClauses_OMPD_allocators {
34};
35// Sets for assume
36
37static llvm::omp::Clauses allowedClauses_OMPD_assume {
38};
39
40static llvm::omp::Clauses allowedOnceClauses_OMPD_assume {
41 Clause::OMPC_absent,
42 Clause::OMPC_contains,
43 Clause::OMPC_holds,
44 Clause::OMPC_no_openmp,
45 Clause::OMPC_no_openmp_constructs,
46 Clause::OMPC_no_openmp_routines,
47 Clause::OMPC_no_parallelism,
48};
49
50static llvm::omp::Clauses allowedExclusiveClauses_OMPD_assume {
51};
52
53static llvm::omp::Clauses requiredClauses_OMPD_assume {
54};
55// Sets for assumes
56
57static llvm::omp::Clauses allowedClauses_OMPD_assumes {
58};
59
60static llvm::omp::Clauses allowedOnceClauses_OMPD_assumes {
61 Clause::OMPC_absent,
62 Clause::OMPC_contains,
63 Clause::OMPC_holds,
64 Clause::OMPC_no_openmp,
65 Clause::OMPC_no_openmp_routines,
66 Clause::OMPC_no_parallelism,
67};
68
69static llvm::omp::Clauses allowedExclusiveClauses_OMPD_assumes {
70};
71
72static llvm::omp::Clauses requiredClauses_OMPD_assumes {
73};
74// Sets for atomic
75
76static llvm::omp::Clauses allowedClauses_OMPD_atomic {
77};
78
79static llvm::omp::Clauses allowedOnceClauses_OMPD_atomic {
80 Clause::OMPC_acq_rel,
81 Clause::OMPC_acquire,
82 Clause::OMPC_capture,
83 Clause::OMPC_compare,
84 Clause::OMPC_fail,
85 Clause::OMPC_hint,
86 Clause::OMPC_read,
87 Clause::OMPC_relaxed,
88 Clause::OMPC_release,
89 Clause::OMPC_seq_cst,
90 Clause::OMPC_update,
91 Clause::OMPC_weak,
92 Clause::OMPC_write,
93};
94
95static llvm::omp::Clauses allowedExclusiveClauses_OMPD_atomic {
96};
97
98static llvm::omp::Clauses requiredClauses_OMPD_atomic {
99};
100// Sets for barrier
101
102static llvm::omp::Clauses allowedClauses_OMPD_barrier {
103};
104
105static llvm::omp::Clauses allowedOnceClauses_OMPD_barrier {
106};
107
108static llvm::omp::Clauses allowedExclusiveClauses_OMPD_barrier {
109};
110
111static llvm::omp::Clauses requiredClauses_OMPD_barrier {
112};
113// Sets for begin assumes
114
115static llvm::omp::Clauses allowedClauses_OMPD_begin_assumes {
116};
117
118static llvm::omp::Clauses allowedOnceClauses_OMPD_begin_assumes {
119 Clause::OMPC_absent,
120 Clause::OMPC_contains,
121 Clause::OMPC_holds,
122 Clause::OMPC_no_openmp,
123 Clause::OMPC_no_openmp_routines,
124 Clause::OMPC_no_parallelism,
125};
126
127static llvm::omp::Clauses allowedExclusiveClauses_OMPD_begin_assumes {
128};
129
130static llvm::omp::Clauses requiredClauses_OMPD_begin_assumes {
131};
132// Sets for begin declare target
133
134static llvm::omp::Clauses allowedClauses_OMPD_begin_declare_target {
135 Clause::OMPC_link,
136 Clause::OMPC_to,
137};
138
139static llvm::omp::Clauses allowedOnceClauses_OMPD_begin_declare_target {
140 Clause::OMPC_device_type,
141 Clause::OMPC_indirect,
142};
143
144static llvm::omp::Clauses allowedExclusiveClauses_OMPD_begin_declare_target {
145};
146
147static llvm::omp::Clauses requiredClauses_OMPD_begin_declare_target {
148};
149// Sets for begin declare variant
150
151static llvm::omp::Clauses allowedClauses_OMPD_begin_declare_variant {
152};
153
154static llvm::omp::Clauses allowedOnceClauses_OMPD_begin_declare_variant {
155};
156
157static llvm::omp::Clauses allowedExclusiveClauses_OMPD_begin_declare_variant {
158};
159
160static llvm::omp::Clauses requiredClauses_OMPD_begin_declare_variant {
161};
162// Sets for begin metadirective
163
164static llvm::omp::Clauses allowedClauses_OMPD_begin_metadirective {
165 Clause::OMPC_when,
166};
167
168static llvm::omp::Clauses allowedOnceClauses_OMPD_begin_metadirective {
169 Clause::OMPC_default_variant,
170 Clause::OMPC_otherwise,
171};
172
173static llvm::omp::Clauses allowedExclusiveClauses_OMPD_begin_metadirective {
174};
175
176static llvm::omp::Clauses requiredClauses_OMPD_begin_metadirective {
177};
178// Sets for cancel
179
180static llvm::omp::Clauses allowedClauses_OMPD_cancel {
181 Clause::OMPC_if,
182};
183
184static llvm::omp::Clauses allowedOnceClauses_OMPD_cancel {
185 Clause::OMPC_cancellation_construct_type,
186};
187
188static llvm::omp::Clauses allowedExclusiveClauses_OMPD_cancel {
189};
190
191static llvm::omp::Clauses requiredClauses_OMPD_cancel {
192};
193// Sets for cancellation point
194
195static llvm::omp::Clauses allowedClauses_OMPD_cancellation_point {
196};
197
198static llvm::omp::Clauses allowedOnceClauses_OMPD_cancellation_point {
199 Clause::OMPC_cancellation_construct_type,
200};
201
202static llvm::omp::Clauses allowedExclusiveClauses_OMPD_cancellation_point {
203};
204
205static llvm::omp::Clauses requiredClauses_OMPD_cancellation_point {
206};
207// Sets for critical
208
209static llvm::omp::Clauses allowedClauses_OMPD_critical {
210};
211
212static llvm::omp::Clauses allowedOnceClauses_OMPD_critical {
213 Clause::OMPC_hint,
214};
215
216static llvm::omp::Clauses allowedExclusiveClauses_OMPD_critical {
217};
218
219static llvm::omp::Clauses requiredClauses_OMPD_critical {
220};
221// Sets for declare_induction
222
223static llvm::omp::Clauses allowedClauses_OMPD_declare_induction {
224};
225
226static llvm::omp::Clauses allowedOnceClauses_OMPD_declare_induction {
227 Clause::OMPC_collector,
228 Clause::OMPC_inductor,
229};
230
231static llvm::omp::Clauses allowedExclusiveClauses_OMPD_declare_induction {
232};
233
234static llvm::omp::Clauses requiredClauses_OMPD_declare_induction {
235};
236// Sets for declare mapper
237
238static llvm::omp::Clauses allowedClauses_OMPD_declare_mapper {
239};
240
241static llvm::omp::Clauses allowedOnceClauses_OMPD_declare_mapper {
242};
243
244static llvm::omp::Clauses allowedExclusiveClauses_OMPD_declare_mapper {
245};
246
247static llvm::omp::Clauses requiredClauses_OMPD_declare_mapper {
248 Clause::OMPC_map,
249};
250// Sets for declare reduction
251
252static llvm::omp::Clauses allowedClauses_OMPD_declare_reduction {
253};
254
255static llvm::omp::Clauses allowedOnceClauses_OMPD_declare_reduction {
256 Clause::OMPC_combiner,
257 Clause::OMPC_initializer,
258};
259
260static llvm::omp::Clauses allowedExclusiveClauses_OMPD_declare_reduction {
261};
262
263static llvm::omp::Clauses requiredClauses_OMPD_declare_reduction {
264};
265// Sets for declare simd
266
267static llvm::omp::Clauses allowedClauses_OMPD_declare_simd {
268 Clause::OMPC_aligned,
269 Clause::OMPC_linear,
270 Clause::OMPC_uniform,
271};
272
273static llvm::omp::Clauses allowedOnceClauses_OMPD_declare_simd {
274 Clause::OMPC_simdlen,
275};
276
277static llvm::omp::Clauses allowedExclusiveClauses_OMPD_declare_simd {
278 Clause::OMPC_inbranch,
279 Clause::OMPC_notinbranch,
280};
281
282static llvm::omp::Clauses requiredClauses_OMPD_declare_simd {
283};
284// Sets for declare target
285
286static llvm::omp::Clauses allowedClauses_OMPD_declare_target {
287 Clause::OMPC_enter,
288 Clause::OMPC_link,
289 Clause::OMPC_local,
290 Clause::OMPC_to,
291};
292
293static llvm::omp::Clauses allowedOnceClauses_OMPD_declare_target {
294 Clause::OMPC_device_type,
295 Clause::OMPC_indirect,
296};
297
298static llvm::omp::Clauses allowedExclusiveClauses_OMPD_declare_target {
299};
300
301static llvm::omp::Clauses requiredClauses_OMPD_declare_target {
302};
303// Sets for declare variant
304
305static llvm::omp::Clauses allowedClauses_OMPD_declare_variant {
306 Clause::OMPC_adjust_args,
307};
308
309static llvm::omp::Clauses allowedOnceClauses_OMPD_declare_variant {
310 Clause::OMPC_append_args,
311 Clause::OMPC_match,
312};
313
314static llvm::omp::Clauses allowedExclusiveClauses_OMPD_declare_variant {
315};
316
317static llvm::omp::Clauses requiredClauses_OMPD_declare_variant {
318};
319// Sets for depobj
320
321static llvm::omp::Clauses allowedClauses_OMPD_depobj {
322 Clause::OMPC_depend,
323 Clause::OMPC_depobj,
324 Clause::OMPC_destroy,
325 Clause::OMPC_init,
326};
327
328static llvm::omp::Clauses allowedOnceClauses_OMPD_depobj {
329 Clause::OMPC_update_depend_objects,
330};
331
332static llvm::omp::Clauses allowedExclusiveClauses_OMPD_depobj {
333};
334
335static llvm::omp::Clauses requiredClauses_OMPD_depobj {
336};
337// Sets for distribute
338
339static llvm::omp::Clauses allowedClauses_OMPD_distribute {
340 Clause::OMPC_allocate,
341 Clause::OMPC_firstprivate,
342 Clause::OMPC_lastprivate,
343 Clause::OMPC_private,
344};
345
346static llvm::omp::Clauses allowedOnceClauses_OMPD_distribute {
347 Clause::OMPC_collapse,
348 Clause::OMPC_dist_schedule,
349 Clause::OMPC_order,
350};
351
352static llvm::omp::Clauses allowedExclusiveClauses_OMPD_distribute {
353};
354
355static llvm::omp::Clauses requiredClauses_OMPD_distribute {
356};
357// Sets for distribute parallel do
358
359static llvm::omp::Clauses allowedClauses_OMPD_distribute_parallel_do {
360 Clause::OMPC_allocate,
361 Clause::OMPC_copyin,
362 Clause::OMPC_firstprivate,
363 Clause::OMPC_if,
364 Clause::OMPC_lastprivate,
365 Clause::OMPC_linear,
366 Clause::OMPC_private,
367 Clause::OMPC_reduction,
368 Clause::OMPC_shared,
369};
370
371static llvm::omp::Clauses allowedOnceClauses_OMPD_distribute_parallel_do {
372 Clause::OMPC_collapse,
373 Clause::OMPC_default,
374 Clause::OMPC_dist_schedule,
375 Clause::OMPC_message,
376 Clause::OMPC_num_threads,
377 Clause::OMPC_order,
378 Clause::OMPC_proc_bind,
379 Clause::OMPC_schedule,
380 Clause::OMPC_severity,
381};
382
383static llvm::omp::Clauses allowedExclusiveClauses_OMPD_distribute_parallel_do {
384};
385
386static llvm::omp::Clauses requiredClauses_OMPD_distribute_parallel_do {
387};
388// Sets for distribute parallel do simd
389
390static llvm::omp::Clauses allowedClauses_OMPD_distribute_parallel_do_simd {
391 Clause::OMPC_aligned,
392 Clause::OMPC_allocate,
393 Clause::OMPC_copyin,
394 Clause::OMPC_firstprivate,
395 Clause::OMPC_if,
396 Clause::OMPC_lastprivate,
397 Clause::OMPC_linear,
398 Clause::OMPC_nontemporal,
399 Clause::OMPC_private,
400 Clause::OMPC_reduction,
401 Clause::OMPC_shared,
402};
403
404static llvm::omp::Clauses allowedOnceClauses_OMPD_distribute_parallel_do_simd {
405 Clause::OMPC_collapse,
406 Clause::OMPC_default,
407 Clause::OMPC_dist_schedule,
408 Clause::OMPC_message,
409 Clause::OMPC_num_threads,
410 Clause::OMPC_order,
411 Clause::OMPC_proc_bind,
412 Clause::OMPC_safelen,
413 Clause::OMPC_schedule,
414 Clause::OMPC_severity,
415 Clause::OMPC_simdlen,
416};
417
418static llvm::omp::Clauses allowedExclusiveClauses_OMPD_distribute_parallel_do_simd {
419};
420
421static llvm::omp::Clauses requiredClauses_OMPD_distribute_parallel_do_simd {
422};
423// Sets for distribute parallel for
424
425static llvm::omp::Clauses allowedClauses_OMPD_distribute_parallel_for {
426 Clause::OMPC_allocate,
427 Clause::OMPC_copyin,
428 Clause::OMPC_firstprivate,
429 Clause::OMPC_if,
430 Clause::OMPC_lastprivate,
431 Clause::OMPC_ompx_attribute,
432 Clause::OMPC_private,
433 Clause::OMPC_reduction,
434 Clause::OMPC_shared,
435};
436
437static llvm::omp::Clauses allowedOnceClauses_OMPD_distribute_parallel_for {
438 Clause::OMPC_collapse,
439 Clause::OMPC_default,
440 Clause::OMPC_dist_schedule,
441 Clause::OMPC_message,
442 Clause::OMPC_num_threads,
443 Clause::OMPC_order,
444 Clause::OMPC_proc_bind,
445 Clause::OMPC_schedule,
446 Clause::OMPC_severity,
447};
448
449static llvm::omp::Clauses allowedExclusiveClauses_OMPD_distribute_parallel_for {
450};
451
452static llvm::omp::Clauses requiredClauses_OMPD_distribute_parallel_for {
453};
454// Sets for distribute parallel for simd
455
456static llvm::omp::Clauses allowedClauses_OMPD_distribute_parallel_for_simd {
457 Clause::OMPC_aligned,
458 Clause::OMPC_allocate,
459 Clause::OMPC_copyin,
460 Clause::OMPC_firstprivate,
461 Clause::OMPC_if,
462 Clause::OMPC_lastprivate,
463 Clause::OMPC_linear,
464 Clause::OMPC_nontemporal,
465 Clause::OMPC_ompx_attribute,
466 Clause::OMPC_private,
467 Clause::OMPC_reduction,
468 Clause::OMPC_shared,
469};
470
471static llvm::omp::Clauses allowedOnceClauses_OMPD_distribute_parallel_for_simd {
472 Clause::OMPC_collapse,
473 Clause::OMPC_default,
474 Clause::OMPC_dist_schedule,
475 Clause::OMPC_message,
476 Clause::OMPC_num_threads,
477 Clause::OMPC_order,
478 Clause::OMPC_proc_bind,
479 Clause::OMPC_safelen,
480 Clause::OMPC_schedule,
481 Clause::OMPC_severity,
482 Clause::OMPC_simdlen,
483};
484
485static llvm::omp::Clauses allowedExclusiveClauses_OMPD_distribute_parallel_for_simd {
486};
487
488static llvm::omp::Clauses requiredClauses_OMPD_distribute_parallel_for_simd {
489};
490// Sets for distribute simd
491
492static llvm::omp::Clauses allowedClauses_OMPD_distribute_simd {
493 Clause::OMPC_aligned,
494 Clause::OMPC_allocate,
495 Clause::OMPC_copyin,
496 Clause::OMPC_firstprivate,
497 Clause::OMPC_if,
498 Clause::OMPC_lastprivate,
499 Clause::OMPC_linear,
500 Clause::OMPC_nontemporal,
501 Clause::OMPC_private,
502 Clause::OMPC_reduction,
503};
504
505static llvm::omp::Clauses allowedOnceClauses_OMPD_distribute_simd {
506 Clause::OMPC_collapse,
507 Clause::OMPC_default,
508 Clause::OMPC_dist_schedule,
509 Clause::OMPC_message,
510 Clause::OMPC_num_threads,
511 Clause::OMPC_order,
512 Clause::OMPC_proc_bind,
513 Clause::OMPC_safelen,
514 Clause::OMPC_schedule,
515 Clause::OMPC_severity,
516 Clause::OMPC_simdlen,
517};
518
519static llvm::omp::Clauses allowedExclusiveClauses_OMPD_distribute_simd {
520};
521
522static llvm::omp::Clauses requiredClauses_OMPD_distribute_simd {
523};
524// Sets for do
525
526static llvm::omp::Clauses allowedClauses_OMPD_do {
527 Clause::OMPC_allocate,
528 Clause::OMPC_firstprivate,
529 Clause::OMPC_lastprivate,
530 Clause::OMPC_linear,
531 Clause::OMPC_private,
532 Clause::OMPC_reduction,
533};
534
535static llvm::omp::Clauses allowedOnceClauses_OMPD_do {
536 Clause::OMPC_collapse,
537 Clause::OMPC_nowait,
538 Clause::OMPC_order,
539 Clause::OMPC_ordered,
540 Clause::OMPC_schedule,
541};
542
543static llvm::omp::Clauses allowedExclusiveClauses_OMPD_do {
544};
545
546static llvm::omp::Clauses requiredClauses_OMPD_do {
547};
548// Sets for do simd
549
550static llvm::omp::Clauses allowedClauses_OMPD_do_simd {
551 Clause::OMPC_aligned,
552 Clause::OMPC_firstprivate,
553 Clause::OMPC_if,
554 Clause::OMPC_lastprivate,
555 Clause::OMPC_linear,
556 Clause::OMPC_nontemporal,
557 Clause::OMPC_private,
558 Clause::OMPC_reduction,
559};
560
561static llvm::omp::Clauses allowedOnceClauses_OMPD_do_simd {
562 Clause::OMPC_collapse,
563 Clause::OMPC_nowait,
564 Clause::OMPC_order,
565 Clause::OMPC_ordered,
566 Clause::OMPC_safelen,
567 Clause::OMPC_schedule,
568 Clause::OMPC_simdlen,
569};
570
571static llvm::omp::Clauses allowedExclusiveClauses_OMPD_do_simd {
572};
573
574static llvm::omp::Clauses requiredClauses_OMPD_do_simd {
575};
576// Sets for end assumes
577
578static llvm::omp::Clauses allowedClauses_OMPD_end_assumes {
579};
580
581static llvm::omp::Clauses allowedOnceClauses_OMPD_end_assumes {
582};
583
584static llvm::omp::Clauses allowedExclusiveClauses_OMPD_end_assumes {
585};
586
587static llvm::omp::Clauses requiredClauses_OMPD_end_assumes {
588};
589// Sets for end declare target
590
591static llvm::omp::Clauses allowedClauses_OMPD_end_declare_target {
592};
593
594static llvm::omp::Clauses allowedOnceClauses_OMPD_end_declare_target {
595};
596
597static llvm::omp::Clauses allowedExclusiveClauses_OMPD_end_declare_target {
598};
599
600static llvm::omp::Clauses requiredClauses_OMPD_end_declare_target {
601};
602// Sets for end declare variant
603
604static llvm::omp::Clauses allowedClauses_OMPD_end_declare_variant {
605};
606
607static llvm::omp::Clauses allowedOnceClauses_OMPD_end_declare_variant {
608};
609
610static llvm::omp::Clauses allowedExclusiveClauses_OMPD_end_declare_variant {
611};
612
613static llvm::omp::Clauses requiredClauses_OMPD_end_declare_variant {
614};
615// Sets for end metadirective
616
617static llvm::omp::Clauses allowedClauses_OMPD_end_metadirective {
618};
619
620static llvm::omp::Clauses allowedOnceClauses_OMPD_end_metadirective {
621};
622
623static llvm::omp::Clauses allowedExclusiveClauses_OMPD_end_metadirective {
624};
625
626static llvm::omp::Clauses requiredClauses_OMPD_end_metadirective {
627};
628// Sets for error
629
630static llvm::omp::Clauses allowedClauses_OMPD_error {
631};
632
633static llvm::omp::Clauses allowedOnceClauses_OMPD_error {
634 Clause::OMPC_at,
635 Clause::OMPC_message,
636 Clause::OMPC_severity,
637};
638
639static llvm::omp::Clauses allowedExclusiveClauses_OMPD_error {
640};
641
642static llvm::omp::Clauses requiredClauses_OMPD_error {
643};
644// Sets for flatten
645
646static llvm::omp::Clauses allowedClauses_OMPD_flatten {
647 Clause::OMPC_apply,
648};
649
650static llvm::omp::Clauses allowedOnceClauses_OMPD_flatten {
651 Clause::OMPC_depth,
652};
653
654static llvm::omp::Clauses allowedExclusiveClauses_OMPD_flatten {
655};
656
657static llvm::omp::Clauses requiredClauses_OMPD_flatten {
658};
659// Sets for flush
660
661static llvm::omp::Clauses allowedClauses_OMPD_flush {
662};
663
664static llvm::omp::Clauses allowedOnceClauses_OMPD_flush {
665 Clause::OMPC_acq_rel,
666 Clause::OMPC_acquire,
667 Clause::OMPC_flush,
668 Clause::OMPC_release,
669 Clause::OMPC_seq_cst,
670};
671
672static llvm::omp::Clauses allowedExclusiveClauses_OMPD_flush {
673};
674
675static llvm::omp::Clauses requiredClauses_OMPD_flush {
676};
677// Sets for for
678
679static llvm::omp::Clauses allowedClauses_OMPD_for {
680 Clause::OMPC_allocate,
681 Clause::OMPC_firstprivate,
682 Clause::OMPC_lastprivate,
683 Clause::OMPC_linear,
684 Clause::OMPC_private,
685 Clause::OMPC_reduction,
686};
687
688static llvm::omp::Clauses allowedOnceClauses_OMPD_for {
689 Clause::OMPC_collapse,
690 Clause::OMPC_nowait,
691 Clause::OMPC_order,
692 Clause::OMPC_ordered,
693 Clause::OMPC_schedule,
694};
695
696static llvm::omp::Clauses allowedExclusiveClauses_OMPD_for {
697};
698
699static llvm::omp::Clauses requiredClauses_OMPD_for {
700};
701// Sets for for simd
702
703static llvm::omp::Clauses allowedClauses_OMPD_for_simd {
704 Clause::OMPC_aligned,
705 Clause::OMPC_allocate,
706 Clause::OMPC_firstprivate,
707 Clause::OMPC_if,
708 Clause::OMPC_lastprivate,
709 Clause::OMPC_linear,
710 Clause::OMPC_nontemporal,
711 Clause::OMPC_private,
712 Clause::OMPC_reduction,
713};
714
715static llvm::omp::Clauses allowedOnceClauses_OMPD_for_simd {
716 Clause::OMPC_collapse,
717 Clause::OMPC_nowait,
718 Clause::OMPC_order,
719 Clause::OMPC_ordered,
720 Clause::OMPC_safelen,
721 Clause::OMPC_schedule,
722 Clause::OMPC_simdlen,
723};
724
725static llvm::omp::Clauses allowedExclusiveClauses_OMPD_for_simd {
726};
727
728static llvm::omp::Clauses requiredClauses_OMPD_for_simd {
729};
730// Sets for fuse
731
732static llvm::omp::Clauses allowedClauses_OMPD_fuse {
733 Clause::OMPC_apply,
734};
735
736static llvm::omp::Clauses allowedOnceClauses_OMPD_fuse {
737 Clause::OMPC_depth,
738 Clause::OMPC_looprange,
739};
740
741static llvm::omp::Clauses allowedExclusiveClauses_OMPD_fuse {
742};
743
744static llvm::omp::Clauses requiredClauses_OMPD_fuse {
745};
746// Sets for groupprivate
747
748static llvm::omp::Clauses allowedClauses_OMPD_groupprivate {
749};
750
751static llvm::omp::Clauses allowedOnceClauses_OMPD_groupprivate {
752 Clause::OMPC_device_type,
753};
754
755static llvm::omp::Clauses allowedExclusiveClauses_OMPD_groupprivate {
756};
757
758static llvm::omp::Clauses requiredClauses_OMPD_groupprivate {
759};
760// Sets for interchange
761
762static llvm::omp::Clauses allowedClauses_OMPD_interchange {
763 Clause::OMPC_apply,
764};
765
766static llvm::omp::Clauses allowedOnceClauses_OMPD_interchange {
767 Clause::OMPC_permutation,
768};
769
770static llvm::omp::Clauses allowedExclusiveClauses_OMPD_interchange {
771};
772
773static llvm::omp::Clauses requiredClauses_OMPD_interchange {
774};
775// Sets for masked taskloop
776
777static llvm::omp::Clauses allowedClauses_OMPD_masked_taskloop {
778 Clause::OMPC_allocate,
779 Clause::OMPC_firstprivate,
780 Clause::OMPC_if,
781 Clause::OMPC_in_reduction,
782 Clause::OMPC_lastprivate,
783 Clause::OMPC_private,
784 Clause::OMPC_reduction,
785 Clause::OMPC_shared,
786};
787
788static llvm::omp::Clauses allowedOnceClauses_OMPD_masked_taskloop {
789 Clause::OMPC_collapse,
790 Clause::OMPC_default,
791 Clause::OMPC_filter,
792 Clause::OMPC_final,
793 Clause::OMPC_grainsize,
794 Clause::OMPC_mergeable,
795 Clause::OMPC_nogroup,
796 Clause::OMPC_num_tasks,
797 Clause::OMPC_priority,
798 Clause::OMPC_untied,
799};
800
801static llvm::omp::Clauses allowedExclusiveClauses_OMPD_masked_taskloop {
802};
803
804static llvm::omp::Clauses requiredClauses_OMPD_masked_taskloop {
805};
806// Sets for masked taskloop simd
807
808static llvm::omp::Clauses allowedClauses_OMPD_masked_taskloop_simd {
809 Clause::OMPC_aligned,
810 Clause::OMPC_allocate,
811 Clause::OMPC_firstprivate,
812 Clause::OMPC_if,
813 Clause::OMPC_in_reduction,
814 Clause::OMPC_lastprivate,
815 Clause::OMPC_linear,
816 Clause::OMPC_nontemporal,
817 Clause::OMPC_private,
818 Clause::OMPC_reduction,
819 Clause::OMPC_shared,
820};
821
822static llvm::omp::Clauses allowedOnceClauses_OMPD_masked_taskloop_simd {
823 Clause::OMPC_collapse,
824 Clause::OMPC_default,
825 Clause::OMPC_filter,
826 Clause::OMPC_final,
827 Clause::OMPC_grainsize,
828 Clause::OMPC_mergeable,
829 Clause::OMPC_nogroup,
830 Clause::OMPC_num_tasks,
831 Clause::OMPC_order,
832 Clause::OMPC_priority,
833 Clause::OMPC_safelen,
834 Clause::OMPC_simdlen,
835 Clause::OMPC_untied,
836};
837
838static llvm::omp::Clauses allowedExclusiveClauses_OMPD_masked_taskloop_simd {
839};
840
841static llvm::omp::Clauses requiredClauses_OMPD_masked_taskloop_simd {
842};
843// Sets for master
844
845static llvm::omp::Clauses allowedClauses_OMPD_master {
846};
847
848static llvm::omp::Clauses allowedOnceClauses_OMPD_master {
849};
850
851static llvm::omp::Clauses allowedExclusiveClauses_OMPD_master {
852};
853
854static llvm::omp::Clauses requiredClauses_OMPD_master {
855};
856// Sets for master taskloop
857
858static llvm::omp::Clauses allowedClauses_OMPD_master_taskloop {
859 Clause::OMPC_allocate,
860 Clause::OMPC_firstprivate,
861 Clause::OMPC_if,
862 Clause::OMPC_in_reduction,
863 Clause::OMPC_lastprivate,
864 Clause::OMPC_private,
865 Clause::OMPC_reduction,
866 Clause::OMPC_shared,
867};
868
869static llvm::omp::Clauses allowedOnceClauses_OMPD_master_taskloop {
870 Clause::OMPC_collapse,
871 Clause::OMPC_default,
872 Clause::OMPC_final,
873 Clause::OMPC_grainsize,
874 Clause::OMPC_mergeable,
875 Clause::OMPC_nogroup,
876 Clause::OMPC_num_tasks,
877 Clause::OMPC_priority,
878 Clause::OMPC_untied,
879};
880
881static llvm::omp::Clauses allowedExclusiveClauses_OMPD_master_taskloop {
882};
883
884static llvm::omp::Clauses requiredClauses_OMPD_master_taskloop {
885};
886// Sets for master taskloop simd
887
888static llvm::omp::Clauses allowedClauses_OMPD_master_taskloop_simd {
889 Clause::OMPC_aligned,
890 Clause::OMPC_allocate,
891 Clause::OMPC_firstprivate,
892 Clause::OMPC_if,
893 Clause::OMPC_in_reduction,
894 Clause::OMPC_lastprivate,
895 Clause::OMPC_linear,
896 Clause::OMPC_nontemporal,
897 Clause::OMPC_private,
898 Clause::OMPC_reduction,
899 Clause::OMPC_shared,
900};
901
902static llvm::omp::Clauses allowedOnceClauses_OMPD_master_taskloop_simd {
903 Clause::OMPC_collapse,
904 Clause::OMPC_default,
905 Clause::OMPC_final,
906 Clause::OMPC_grainsize,
907 Clause::OMPC_mergeable,
908 Clause::OMPC_nogroup,
909 Clause::OMPC_num_tasks,
910 Clause::OMPC_order,
911 Clause::OMPC_priority,
912 Clause::OMPC_safelen,
913 Clause::OMPC_simdlen,
914 Clause::OMPC_untied,
915};
916
917static llvm::omp::Clauses allowedExclusiveClauses_OMPD_master_taskloop_simd {
918};
919
920static llvm::omp::Clauses requiredClauses_OMPD_master_taskloop_simd {
921};
922// Sets for metadirective
923
924static llvm::omp::Clauses allowedClauses_OMPD_metadirective {
925 Clause::OMPC_when,
926};
927
928static llvm::omp::Clauses allowedOnceClauses_OMPD_metadirective {
929 Clause::OMPC_default_variant,
930 Clause::OMPC_otherwise,
931};
932
933static llvm::omp::Clauses allowedExclusiveClauses_OMPD_metadirective {
934};
935
936static llvm::omp::Clauses requiredClauses_OMPD_metadirective {
937};
938// Sets for nothing
939
940static llvm::omp::Clauses allowedClauses_OMPD_nothing {
941 Clause::OMPC_apply,
942};
943
944static llvm::omp::Clauses allowedOnceClauses_OMPD_nothing {
945};
946
947static llvm::omp::Clauses allowedExclusiveClauses_OMPD_nothing {
948};
949
950static llvm::omp::Clauses requiredClauses_OMPD_nothing {
951};
952// Sets for ordered
953
954static llvm::omp::Clauses allowedClauses_OMPD_ordered_blockassoc {
955};
956
957static llvm::omp::Clauses allowedOnceClauses_OMPD_ordered_blockassoc {
958 Clause::OMPC_simd,
959 Clause::OMPC_threads,
960};
961
962static llvm::omp::Clauses allowedExclusiveClauses_OMPD_ordered_blockassoc {
963};
964
965static llvm::omp::Clauses requiredClauses_OMPD_ordered_blockassoc {
966};
967// Sets for ordered
968
969static llvm::omp::Clauses allowedClauses_OMPD_ordered_standalone {
970 Clause::OMPC_depend,
971 Clause::OMPC_doacross,
972};
973
974static llvm::omp::Clauses allowedOnceClauses_OMPD_ordered_standalone {
975};
976
977static llvm::omp::Clauses allowedExclusiveClauses_OMPD_ordered_standalone {
978};
979
980static llvm::omp::Clauses requiredClauses_OMPD_ordered_standalone {
981};
982// Sets for parallel
983
984static llvm::omp::Clauses allowedClauses_OMPD_parallel {
985 Clause::OMPC_allocate,
986 Clause::OMPC_copyin,
987 Clause::OMPC_firstprivate,
988 Clause::OMPC_if,
989 Clause::OMPC_ompx_attribute,
990 Clause::OMPC_private,
991 Clause::OMPC_reduction,
992 Clause::OMPC_shared,
993};
994
995static llvm::omp::Clauses allowedOnceClauses_OMPD_parallel {
996 Clause::OMPC_default,
997 Clause::OMPC_message,
998 Clause::OMPC_num_threads,
999 Clause::OMPC_proc_bind,
1000 Clause::OMPC_severity,
1001};
1002
1003static llvm::omp::Clauses allowedExclusiveClauses_OMPD_parallel {
1004};
1005
1006static llvm::omp::Clauses requiredClauses_OMPD_parallel {
1007};
1008// Sets for parallel do
1009
1010static llvm::omp::Clauses allowedClauses_OMPD_parallel_do {
1011 Clause::OMPC_allocate,
1012 Clause::OMPC_copyin,
1013 Clause::OMPC_firstprivate,
1014 Clause::OMPC_if,
1015 Clause::OMPC_lastprivate,
1016 Clause::OMPC_linear,
1017 Clause::OMPC_private,
1018 Clause::OMPC_reduction,
1019 Clause::OMPC_shared,
1020};
1021
1022static llvm::omp::Clauses allowedOnceClauses_OMPD_parallel_do {
1023 Clause::OMPC_collapse,
1024 Clause::OMPC_default,
1025 Clause::OMPC_message,
1026 Clause::OMPC_num_threads,
1027 Clause::OMPC_order,
1028 Clause::OMPC_ordered,
1029 Clause::OMPC_proc_bind,
1030 Clause::OMPC_schedule,
1031 Clause::OMPC_severity,
1032};
1033
1034static llvm::omp::Clauses allowedExclusiveClauses_OMPD_parallel_do {
1035};
1036
1037static llvm::omp::Clauses requiredClauses_OMPD_parallel_do {
1038};
1039// Sets for parallel do simd
1040
1041static llvm::omp::Clauses allowedClauses_OMPD_parallel_do_simd {
1042 Clause::OMPC_aligned,
1043 Clause::OMPC_allocate,
1044 Clause::OMPC_copyin,
1045 Clause::OMPC_firstprivate,
1046 Clause::OMPC_if,
1047 Clause::OMPC_lastprivate,
1048 Clause::OMPC_linear,
1049 Clause::OMPC_nontemporal,
1050 Clause::OMPC_private,
1051 Clause::OMPC_reduction,
1052 Clause::OMPC_shared,
1053};
1054
1055static llvm::omp::Clauses allowedOnceClauses_OMPD_parallel_do_simd {
1056 Clause::OMPC_collapse,
1057 Clause::OMPC_default,
1058 Clause::OMPC_message,
1059 Clause::OMPC_num_threads,
1060 Clause::OMPC_order,
1061 Clause::OMPC_ordered,
1062 Clause::OMPC_proc_bind,
1063 Clause::OMPC_safelen,
1064 Clause::OMPC_schedule,
1065 Clause::OMPC_severity,
1066 Clause::OMPC_simdlen,
1067};
1068
1069static llvm::omp::Clauses allowedExclusiveClauses_OMPD_parallel_do_simd {
1070};
1071
1072static llvm::omp::Clauses requiredClauses_OMPD_parallel_do_simd {
1073};
1074// Sets for parallel for
1075
1076static llvm::omp::Clauses allowedClauses_OMPD_parallel_for {
1077 Clause::OMPC_allocate,
1078 Clause::OMPC_copyin,
1079 Clause::OMPC_firstprivate,
1080 Clause::OMPC_if,
1081 Clause::OMPC_lastprivate,
1082 Clause::OMPC_linear,
1083 Clause::OMPC_ompx_attribute,
1084 Clause::OMPC_private,
1085 Clause::OMPC_reduction,
1086 Clause::OMPC_shared,
1087};
1088
1089static llvm::omp::Clauses allowedOnceClauses_OMPD_parallel_for {
1090 Clause::OMPC_collapse,
1091 Clause::OMPC_default,
1092 Clause::OMPC_message,
1093 Clause::OMPC_num_threads,
1094 Clause::OMPC_order,
1095 Clause::OMPC_ordered,
1096 Clause::OMPC_proc_bind,
1097 Clause::OMPC_schedule,
1098 Clause::OMPC_severity,
1099};
1100
1101static llvm::omp::Clauses allowedExclusiveClauses_OMPD_parallel_for {
1102};
1103
1104static llvm::omp::Clauses requiredClauses_OMPD_parallel_for {
1105};
1106// Sets for parallel for simd
1107
1108static llvm::omp::Clauses allowedClauses_OMPD_parallel_for_simd {
1109 Clause::OMPC_aligned,
1110 Clause::OMPC_allocate,
1111 Clause::OMPC_copyin,
1112 Clause::OMPC_firstprivate,
1113 Clause::OMPC_if,
1114 Clause::OMPC_lastprivate,
1115 Clause::OMPC_linear,
1116 Clause::OMPC_nontemporal,
1117 Clause::OMPC_ompx_attribute,
1118 Clause::OMPC_private,
1119 Clause::OMPC_reduction,
1120 Clause::OMPC_shared,
1121};
1122
1123static llvm::omp::Clauses allowedOnceClauses_OMPD_parallel_for_simd {
1124 Clause::OMPC_collapse,
1125 Clause::OMPC_default,
1126 Clause::OMPC_message,
1127 Clause::OMPC_num_threads,
1128 Clause::OMPC_order,
1129 Clause::OMPC_ordered,
1130 Clause::OMPC_proc_bind,
1131 Clause::OMPC_safelen,
1132 Clause::OMPC_schedule,
1133 Clause::OMPC_severity,
1134 Clause::OMPC_simdlen,
1135};
1136
1137static llvm::omp::Clauses allowedExclusiveClauses_OMPD_parallel_for_simd {
1138};
1139
1140static llvm::omp::Clauses requiredClauses_OMPD_parallel_for_simd {
1141};
1142// Sets for parallel masked
1143
1144static llvm::omp::Clauses allowedClauses_OMPD_parallel_masked {
1145 Clause::OMPC_allocate,
1146 Clause::OMPC_copyin,
1147 Clause::OMPC_firstprivate,
1148 Clause::OMPC_if,
1149 Clause::OMPC_ompx_attribute,
1150 Clause::OMPC_private,
1151 Clause::OMPC_reduction,
1152 Clause::OMPC_shared,
1153};
1154
1155static llvm::omp::Clauses allowedOnceClauses_OMPD_parallel_masked {
1156 Clause::OMPC_default,
1157 Clause::OMPC_filter,
1158 Clause::OMPC_message,
1159 Clause::OMPC_num_threads,
1160 Clause::OMPC_proc_bind,
1161 Clause::OMPC_severity,
1162};
1163
1164static llvm::omp::Clauses allowedExclusiveClauses_OMPD_parallel_masked {
1165};
1166
1167static llvm::omp::Clauses requiredClauses_OMPD_parallel_masked {
1168};
1169// Sets for parallel masked taskloop
1170
1171static llvm::omp::Clauses allowedClauses_OMPD_parallel_masked_taskloop {
1172 Clause::OMPC_allocate,
1173 Clause::OMPC_copyin,
1174 Clause::OMPC_firstprivate,
1175 Clause::OMPC_if,
1176 Clause::OMPC_lastprivate,
1177 Clause::OMPC_ompx_attribute,
1178 Clause::OMPC_private,
1179 Clause::OMPC_reduction,
1180 Clause::OMPC_shared,
1181};
1182
1183static llvm::omp::Clauses allowedOnceClauses_OMPD_parallel_masked_taskloop {
1184 Clause::OMPC_collapse,
1185 Clause::OMPC_default,
1186 Clause::OMPC_filter,
1187 Clause::OMPC_final,
1188 Clause::OMPC_grainsize,
1189 Clause::OMPC_mergeable,
1190 Clause::OMPC_message,
1191 Clause::OMPC_nogroup,
1192 Clause::OMPC_num_tasks,
1193 Clause::OMPC_num_threads,
1194 Clause::OMPC_priority,
1195 Clause::OMPC_proc_bind,
1196 Clause::OMPC_severity,
1197 Clause::OMPC_untied,
1198};
1199
1200static llvm::omp::Clauses allowedExclusiveClauses_OMPD_parallel_masked_taskloop {
1201};
1202
1203static llvm::omp::Clauses requiredClauses_OMPD_parallel_masked_taskloop {
1204};
1205// Sets for parallel masked taskloop simd
1206
1207static llvm::omp::Clauses allowedClauses_OMPD_parallel_masked_taskloop_simd {
1208 Clause::OMPC_aligned,
1209 Clause::OMPC_allocate,
1210 Clause::OMPC_copyin,
1211 Clause::OMPC_firstprivate,
1212 Clause::OMPC_if,
1213 Clause::OMPC_lastprivate,
1214 Clause::OMPC_linear,
1215 Clause::OMPC_nontemporal,
1216 Clause::OMPC_ompx_attribute,
1217 Clause::OMPC_private,
1218 Clause::OMPC_reduction,
1219 Clause::OMPC_shared,
1220};
1221
1222static llvm::omp::Clauses allowedOnceClauses_OMPD_parallel_masked_taskloop_simd {
1223 Clause::OMPC_collapse,
1224 Clause::OMPC_default,
1225 Clause::OMPC_filter,
1226 Clause::OMPC_final,
1227 Clause::OMPC_grainsize,
1228 Clause::OMPC_mergeable,
1229 Clause::OMPC_message,
1230 Clause::OMPC_nogroup,
1231 Clause::OMPC_num_tasks,
1232 Clause::OMPC_num_threads,
1233 Clause::OMPC_order,
1234 Clause::OMPC_priority,
1235 Clause::OMPC_proc_bind,
1236 Clause::OMPC_safelen,
1237 Clause::OMPC_severity,
1238 Clause::OMPC_simdlen,
1239 Clause::OMPC_untied,
1240};
1241
1242static llvm::omp::Clauses allowedExclusiveClauses_OMPD_parallel_masked_taskloop_simd {
1243};
1244
1245static llvm::omp::Clauses requiredClauses_OMPD_parallel_masked_taskloop_simd {
1246};
1247// Sets for parallel master
1248
1249static llvm::omp::Clauses allowedClauses_OMPD_parallel_master {
1250 Clause::OMPC_allocate,
1251 Clause::OMPC_copyin,
1252 Clause::OMPC_firstprivate,
1253 Clause::OMPC_if,
1254 Clause::OMPC_ompx_attribute,
1255 Clause::OMPC_private,
1256 Clause::OMPC_reduction,
1257 Clause::OMPC_shared,
1258};
1259
1260static llvm::omp::Clauses allowedOnceClauses_OMPD_parallel_master {
1261 Clause::OMPC_default,
1262 Clause::OMPC_message,
1263 Clause::OMPC_num_threads,
1264 Clause::OMPC_proc_bind,
1265 Clause::OMPC_severity,
1266};
1267
1268static llvm::omp::Clauses allowedExclusiveClauses_OMPD_parallel_master {
1269};
1270
1271static llvm::omp::Clauses requiredClauses_OMPD_parallel_master {
1272};
1273// Sets for parallel master taskloop
1274
1275static llvm::omp::Clauses allowedClauses_OMPD_parallel_master_taskloop {
1276 Clause::OMPC_allocate,
1277 Clause::OMPC_copyin,
1278 Clause::OMPC_firstprivate,
1279 Clause::OMPC_if,
1280 Clause::OMPC_lastprivate,
1281 Clause::OMPC_ompx_attribute,
1282 Clause::OMPC_private,
1283 Clause::OMPC_reduction,
1284 Clause::OMPC_shared,
1285};
1286
1287static llvm::omp::Clauses allowedOnceClauses_OMPD_parallel_master_taskloop {
1288 Clause::OMPC_collapse,
1289 Clause::OMPC_default,
1290 Clause::OMPC_final,
1291 Clause::OMPC_grainsize,
1292 Clause::OMPC_mergeable,
1293 Clause::OMPC_message,
1294 Clause::OMPC_nogroup,
1295 Clause::OMPC_num_tasks,
1296 Clause::OMPC_num_threads,
1297 Clause::OMPC_priority,
1298 Clause::OMPC_proc_bind,
1299 Clause::OMPC_severity,
1300 Clause::OMPC_untied,
1301};
1302
1303static llvm::omp::Clauses allowedExclusiveClauses_OMPD_parallel_master_taskloop {
1304};
1305
1306static llvm::omp::Clauses requiredClauses_OMPD_parallel_master_taskloop {
1307};
1308// Sets for parallel master taskloop simd
1309
1310static llvm::omp::Clauses allowedClauses_OMPD_parallel_master_taskloop_simd {
1311 Clause::OMPC_aligned,
1312 Clause::OMPC_allocate,
1313 Clause::OMPC_copyin,
1314 Clause::OMPC_firstprivate,
1315 Clause::OMPC_if,
1316 Clause::OMPC_lastprivate,
1317 Clause::OMPC_linear,
1318 Clause::OMPC_nontemporal,
1319 Clause::OMPC_ompx_attribute,
1320 Clause::OMPC_private,
1321 Clause::OMPC_reduction,
1322 Clause::OMPC_shared,
1323};
1324
1325static llvm::omp::Clauses allowedOnceClauses_OMPD_parallel_master_taskloop_simd {
1326 Clause::OMPC_collapse,
1327 Clause::OMPC_default,
1328 Clause::OMPC_final,
1329 Clause::OMPC_grainsize,
1330 Clause::OMPC_mergeable,
1331 Clause::OMPC_message,
1332 Clause::OMPC_nogroup,
1333 Clause::OMPC_num_tasks,
1334 Clause::OMPC_num_threads,
1335 Clause::OMPC_order,
1336 Clause::OMPC_priority,
1337 Clause::OMPC_proc_bind,
1338 Clause::OMPC_safelen,
1339 Clause::OMPC_severity,
1340 Clause::OMPC_simdlen,
1341 Clause::OMPC_untied,
1342};
1343
1344static llvm::omp::Clauses allowedExclusiveClauses_OMPD_parallel_master_taskloop_simd {
1345};
1346
1347static llvm::omp::Clauses requiredClauses_OMPD_parallel_master_taskloop_simd {
1348};
1349// Sets for parallel sections
1350
1351static llvm::omp::Clauses allowedClauses_OMPD_parallel_sections {
1352 Clause::OMPC_allocate,
1353 Clause::OMPC_copyin,
1354 Clause::OMPC_firstprivate,
1355 Clause::OMPC_if,
1356 Clause::OMPC_lastprivate,
1357 Clause::OMPC_ompx_attribute,
1358 Clause::OMPC_private,
1359 Clause::OMPC_reduction,
1360 Clause::OMPC_shared,
1361};
1362
1363static llvm::omp::Clauses allowedOnceClauses_OMPD_parallel_sections {
1364 Clause::OMPC_default,
1365 Clause::OMPC_message,
1366 Clause::OMPC_num_threads,
1367 Clause::OMPC_proc_bind,
1368 Clause::OMPC_severity,
1369};
1370
1371static llvm::omp::Clauses allowedExclusiveClauses_OMPD_parallel_sections {
1372};
1373
1374static llvm::omp::Clauses requiredClauses_OMPD_parallel_sections {
1375};
1376// Sets for parallel workshare
1377
1378static llvm::omp::Clauses allowedClauses_OMPD_parallel_workshare {
1379 Clause::OMPC_allocate,
1380 Clause::OMPC_copyin,
1381 Clause::OMPC_firstprivate,
1382 Clause::OMPC_if,
1383 Clause::OMPC_private,
1384 Clause::OMPC_reduction,
1385 Clause::OMPC_shared,
1386};
1387
1388static llvm::omp::Clauses allowedOnceClauses_OMPD_parallel_workshare {
1389 Clause::OMPC_default,
1390 Clause::OMPC_message,
1391 Clause::OMPC_num_threads,
1392 Clause::OMPC_proc_bind,
1393 Clause::OMPC_severity,
1394};
1395
1396static llvm::omp::Clauses allowedExclusiveClauses_OMPD_parallel_workshare {
1397};
1398
1399static llvm::omp::Clauses requiredClauses_OMPD_parallel_workshare {
1400};
1401// Sets for requires
1402
1403static llvm::omp::Clauses allowedClauses_OMPD_requires {
1404};
1405
1406static llvm::omp::Clauses allowedOnceClauses_OMPD_requires {
1407 Clause::OMPC_atomic_default_mem_order,
1408 Clause::OMPC_device_safesync,
1409 Clause::OMPC_dynamic_allocators,
1410 Clause::OMPC_reverse_offload,
1411 Clause::OMPC_self_maps,
1412 Clause::OMPC_unified_address,
1413 Clause::OMPC_unified_shared_memory,
1414};
1415
1416static llvm::omp::Clauses allowedExclusiveClauses_OMPD_requires {
1417};
1418
1419static llvm::omp::Clauses requiredClauses_OMPD_requires {
1420};
1421// Sets for reverse
1422
1423static llvm::omp::Clauses allowedClauses_OMPD_reverse {
1424 Clause::OMPC_apply,
1425};
1426
1427static llvm::omp::Clauses allowedOnceClauses_OMPD_reverse {
1428};
1429
1430static llvm::omp::Clauses allowedExclusiveClauses_OMPD_reverse {
1431};
1432
1433static llvm::omp::Clauses requiredClauses_OMPD_reverse {
1434};
1435// Sets for scan
1436
1437static llvm::omp::Clauses allowedClauses_OMPD_scan {
1438};
1439
1440static llvm::omp::Clauses allowedOnceClauses_OMPD_scan {
1441 Clause::OMPC_exclusive,
1442 Clause::OMPC_inclusive,
1443};
1444
1445static llvm::omp::Clauses allowedExclusiveClauses_OMPD_scan {
1446};
1447
1448static llvm::omp::Clauses requiredClauses_OMPD_scan {
1449};
1450// Sets for scope
1451
1452static llvm::omp::Clauses allowedClauses_OMPD_scope {
1453 Clause::OMPC_private,
1454 Clause::OMPC_reduction,
1455 Clause::OMPC_firstprivate,
1456 Clause::OMPC_allocate,
1457};
1458
1459static llvm::omp::Clauses allowedOnceClauses_OMPD_scope {
1460 Clause::OMPC_nowait,
1461};
1462
1463static llvm::omp::Clauses allowedExclusiveClauses_OMPD_scope {
1464};
1465
1466static llvm::omp::Clauses requiredClauses_OMPD_scope {
1467};
1468// Sets for section
1469
1470static llvm::omp::Clauses allowedClauses_OMPD_section {
1471};
1472
1473static llvm::omp::Clauses allowedOnceClauses_OMPD_section {
1474};
1475
1476static llvm::omp::Clauses allowedExclusiveClauses_OMPD_section {
1477};
1478
1479static llvm::omp::Clauses requiredClauses_OMPD_section {
1480};
1481// Sets for sections
1482
1483static llvm::omp::Clauses allowedClauses_OMPD_sections {
1484 Clause::OMPC_allocate,
1485 Clause::OMPC_firstprivate,
1486 Clause::OMPC_lastprivate,
1487 Clause::OMPC_private,
1488 Clause::OMPC_reduction,
1489};
1490
1491static llvm::omp::Clauses allowedOnceClauses_OMPD_sections {
1492 Clause::OMPC_nowait,
1493};
1494
1495static llvm::omp::Clauses allowedExclusiveClauses_OMPD_sections {
1496};
1497
1498static llvm::omp::Clauses requiredClauses_OMPD_sections {
1499};
1500// Sets for simd
1501
1502static llvm::omp::Clauses allowedClauses_OMPD_simd {
1503 Clause::OMPC_aligned,
1504 Clause::OMPC_allocate,
1505 Clause::OMPC_if,
1506 Clause::OMPC_lastprivate,
1507 Clause::OMPC_linear,
1508 Clause::OMPC_nontemporal,
1509 Clause::OMPC_private,
1510 Clause::OMPC_reduction,
1511};
1512
1513static llvm::omp::Clauses allowedOnceClauses_OMPD_simd {
1514 Clause::OMPC_collapse,
1515 Clause::OMPC_order,
1516 Clause::OMPC_safelen,
1517 Clause::OMPC_simdlen,
1518};
1519
1520static llvm::omp::Clauses allowedExclusiveClauses_OMPD_simd {
1521};
1522
1523static llvm::omp::Clauses requiredClauses_OMPD_simd {
1524};
1525// Sets for single
1526
1527static llvm::omp::Clauses allowedClauses_OMPD_single {
1528 Clause::OMPC_allocate,
1529 Clause::OMPC_copyprivate,
1530 Clause::OMPC_firstprivate,
1531 Clause::OMPC_private,
1532};
1533
1534static llvm::omp::Clauses allowedOnceClauses_OMPD_single {
1535 Clause::OMPC_nowait,
1536};
1537
1538static llvm::omp::Clauses allowedExclusiveClauses_OMPD_single {
1539};
1540
1541static llvm::omp::Clauses requiredClauses_OMPD_single {
1542};
1543// Sets for split
1544
1545static llvm::omp::Clauses allowedClauses_OMPD_split {
1546 Clause::OMPC_apply,
1547};
1548
1549static llvm::omp::Clauses allowedOnceClauses_OMPD_split {
1550 Clause::OMPC_counts,
1551};
1552
1553static llvm::omp::Clauses allowedExclusiveClauses_OMPD_split {
1554};
1555
1556static llvm::omp::Clauses requiredClauses_OMPD_split {
1557 Clause::OMPC_counts,
1558};
1559// Sets for stripe
1560
1561static llvm::omp::Clauses allowedClauses_OMPD_stripe {
1562 Clause::OMPC_apply,
1563};
1564
1565static llvm::omp::Clauses allowedOnceClauses_OMPD_stripe {
1566 Clause::OMPC_sizes,
1567};
1568
1569static llvm::omp::Clauses allowedExclusiveClauses_OMPD_stripe {
1570};
1571
1572static llvm::omp::Clauses requiredClauses_OMPD_stripe {
1573};
1574// Sets for target
1575
1576static llvm::omp::Clauses allowedClauses_OMPD_target {
1577 Clause::OMPC_allocate,
1578 Clause::OMPC_depend,
1579 Clause::OMPC_dyn_groupprivate,
1580 Clause::OMPC_firstprivate,
1581 Clause::OMPC_if,
1582 Clause::OMPC_has_device_addr,
1583 Clause::OMPC_in_reduction,
1584 Clause::OMPC_is_device_ptr,
1585 Clause::OMPC_map,
1586 Clause::OMPC_ompx_attribute,
1587 Clause::OMPC_private,
1588 Clause::OMPC_uses_allocators,
1589};
1590
1591static llvm::omp::Clauses allowedOnceClauses_OMPD_target {
1592 Clause::OMPC_default,
1593 Clause::OMPC_defaultmap,
1594 Clause::OMPC_device,
1595 Clause::OMPC_nowait,
1596 Clause::OMPC_ompx_bare,
1597 Clause::OMPC_ompx_dyn_cgroup_mem,
1598 Clause::OMPC_replayable,
1599 Clause::OMPC_thread_limit,
1600};
1601
1602static llvm::omp::Clauses allowedExclusiveClauses_OMPD_target {
1603};
1604
1605static llvm::omp::Clauses requiredClauses_OMPD_target {
1606};
1607// Sets for target data
1608
1609static llvm::omp::Clauses allowedClauses_OMPD_target_data {
1610 Clause::OMPC_if,
1611};
1612
1613static llvm::omp::Clauses allowedOnceClauses_OMPD_target_data {
1614 Clause::OMPC_default,
1615 Clause::OMPC_device,
1616 Clause::OMPC_transparent,
1617};
1618
1619static llvm::omp::Clauses allowedExclusiveClauses_OMPD_target_data {
1620};
1621
1622static llvm::omp::Clauses requiredClauses_OMPD_target_data {
1623 Clause::OMPC_map,
1624 Clause::OMPC_use_device_addr,
1625 Clause::OMPC_use_device_ptr,
1626};
1627// Sets for target enter data
1628
1629static llvm::omp::Clauses allowedClauses_OMPD_target_enter_data {
1630 Clause::OMPC_depend,
1631 Clause::OMPC_if,
1632};
1633
1634static llvm::omp::Clauses allowedOnceClauses_OMPD_target_enter_data {
1635 Clause::OMPC_device,
1636 Clause::OMPC_nowait,
1637 Clause::OMPC_replayable,
1638};
1639
1640static llvm::omp::Clauses allowedExclusiveClauses_OMPD_target_enter_data {
1641};
1642
1643static llvm::omp::Clauses requiredClauses_OMPD_target_enter_data {
1644 Clause::OMPC_map,
1645};
1646// Sets for target exit data
1647
1648static llvm::omp::Clauses allowedClauses_OMPD_target_exit_data {
1649 Clause::OMPC_depend,
1650 Clause::OMPC_if,
1651};
1652
1653static llvm::omp::Clauses allowedOnceClauses_OMPD_target_exit_data {
1654 Clause::OMPC_device,
1655 Clause::OMPC_nowait,
1656 Clause::OMPC_replayable,
1657};
1658
1659static llvm::omp::Clauses allowedExclusiveClauses_OMPD_target_exit_data {
1660};
1661
1662static llvm::omp::Clauses requiredClauses_OMPD_target_exit_data {
1663 Clause::OMPC_map,
1664};
1665// Sets for target parallel
1666
1667static llvm::omp::Clauses allowedClauses_OMPD_target_parallel {
1668 Clause::OMPC_allocate,
1669 Clause::OMPC_depend,
1670 Clause::OMPC_dyn_groupprivate,
1671 Clause::OMPC_firstprivate,
1672 Clause::OMPC_has_device_addr,
1673 Clause::OMPC_if,
1674 Clause::OMPC_is_device_ptr,
1675 Clause::OMPC_map,
1676 Clause::OMPC_ompx_attribute,
1677 Clause::OMPC_private,
1678 Clause::OMPC_reduction,
1679 Clause::OMPC_shared,
1680 Clause::OMPC_uses_allocators,
1681};
1682
1683static llvm::omp::Clauses allowedOnceClauses_OMPD_target_parallel {
1684 Clause::OMPC_default,
1685 Clause::OMPC_defaultmap,
1686 Clause::OMPC_device,
1687 Clause::OMPC_message,
1688 Clause::OMPC_nowait,
1689 Clause::OMPC_num_threads,
1690 Clause::OMPC_ompx_dyn_cgroup_mem,
1691 Clause::OMPC_proc_bind,
1692 Clause::OMPC_severity,
1693 Clause::OMPC_thread_limit,
1694};
1695
1696static llvm::omp::Clauses allowedExclusiveClauses_OMPD_target_parallel {
1697};
1698
1699static llvm::omp::Clauses requiredClauses_OMPD_target_parallel {
1700};
1701// Sets for target parallel do
1702
1703static llvm::omp::Clauses allowedClauses_OMPD_target_parallel_do {
1704 Clause::OMPC_depend,
1705 Clause::OMPC_dyn_groupprivate,
1706 Clause::OMPC_firstprivate,
1707 Clause::OMPC_has_device_addr,
1708 Clause::OMPC_if,
1709 Clause::OMPC_is_device_ptr,
1710 Clause::OMPC_lastprivate,
1711 Clause::OMPC_linear,
1712 Clause::OMPC_map,
1713 Clause::OMPC_private,
1714 Clause::OMPC_reduction,
1715 Clause::OMPC_shared,
1716 Clause::OMPC_uses_allocators,
1717};
1718
1719static llvm::omp::Clauses allowedOnceClauses_OMPD_target_parallel_do {
1720 Clause::OMPC_allocator,
1721 Clause::OMPC_collapse,
1722 Clause::OMPC_default,
1723 Clause::OMPC_defaultmap,
1724 Clause::OMPC_device,
1725 Clause::OMPC_message,
1726 Clause::OMPC_nowait,
1727 Clause::OMPC_num_threads,
1728 Clause::OMPC_order,
1729 Clause::OMPC_ordered,
1730 Clause::OMPC_proc_bind,
1731 Clause::OMPC_schedule,
1732 Clause::OMPC_severity,
1733};
1734
1735static llvm::omp::Clauses allowedExclusiveClauses_OMPD_target_parallel_do {
1736};
1737
1738static llvm::omp::Clauses requiredClauses_OMPD_target_parallel_do {
1739};
1740// Sets for target parallel do simd
1741
1742static llvm::omp::Clauses allowedClauses_OMPD_target_parallel_do_simd {
1743 Clause::OMPC_aligned,
1744 Clause::OMPC_allocate,
1745 Clause::OMPC_depend,
1746 Clause::OMPC_dyn_groupprivate,
1747 Clause::OMPC_firstprivate,
1748 Clause::OMPC_has_device_addr,
1749 Clause::OMPC_if,
1750 Clause::OMPC_is_device_ptr,
1751 Clause::OMPC_lastprivate,
1752 Clause::OMPC_linear,
1753 Clause::OMPC_map,
1754 Clause::OMPC_nontemporal,
1755 Clause::OMPC_private,
1756 Clause::OMPC_reduction,
1757 Clause::OMPC_shared,
1758 Clause::OMPC_uses_allocators,
1759};
1760
1761static llvm::omp::Clauses allowedOnceClauses_OMPD_target_parallel_do_simd {
1762 Clause::OMPC_collapse,
1763 Clause::OMPC_default,
1764 Clause::OMPC_defaultmap,
1765 Clause::OMPC_device,
1766 Clause::OMPC_message,
1767 Clause::OMPC_nowait,
1768 Clause::OMPC_num_threads,
1769 Clause::OMPC_order,
1770 Clause::OMPC_ordered,
1771 Clause::OMPC_proc_bind,
1772 Clause::OMPC_safelen,
1773 Clause::OMPC_schedule,
1774 Clause::OMPC_severity,
1775 Clause::OMPC_simdlen,
1776};
1777
1778static llvm::omp::Clauses allowedExclusiveClauses_OMPD_target_parallel_do_simd {
1779};
1780
1781static llvm::omp::Clauses requiredClauses_OMPD_target_parallel_do_simd {
1782};
1783// Sets for target parallel for
1784
1785static llvm::omp::Clauses allowedClauses_OMPD_target_parallel_for {
1786 Clause::OMPC_allocate,
1787 Clause::OMPC_depend,
1788 Clause::OMPC_dyn_groupprivate,
1789 Clause::OMPC_firstprivate,
1790 Clause::OMPC_has_device_addr,
1791 Clause::OMPC_if,
1792 Clause::OMPC_is_device_ptr,
1793 Clause::OMPC_lastprivate,
1794 Clause::OMPC_linear,
1795 Clause::OMPC_map,
1796 Clause::OMPC_ompx_attribute,
1797 Clause::OMPC_private,
1798 Clause::OMPC_reduction,
1799 Clause::OMPC_shared,
1800 Clause::OMPC_uses_allocators,
1801};
1802
1803static llvm::omp::Clauses allowedOnceClauses_OMPD_target_parallel_for {
1804 Clause::OMPC_collapse,
1805 Clause::OMPC_default,
1806 Clause::OMPC_defaultmap,
1807 Clause::OMPC_device,
1808 Clause::OMPC_message,
1809 Clause::OMPC_nowait,
1810 Clause::OMPC_num_threads,
1811 Clause::OMPC_ompx_dyn_cgroup_mem,
1812 Clause::OMPC_order,
1813 Clause::OMPC_ordered,
1814 Clause::OMPC_proc_bind,
1815 Clause::OMPC_schedule,
1816 Clause::OMPC_severity,
1817 Clause::OMPC_thread_limit,
1818};
1819
1820static llvm::omp::Clauses allowedExclusiveClauses_OMPD_target_parallel_for {
1821};
1822
1823static llvm::omp::Clauses requiredClauses_OMPD_target_parallel_for {
1824};
1825// Sets for target parallel for simd
1826
1827static llvm::omp::Clauses allowedClauses_OMPD_target_parallel_for_simd {
1828 Clause::OMPC_aligned,
1829 Clause::OMPC_allocate,
1830 Clause::OMPC_depend,
1831 Clause::OMPC_dyn_groupprivate,
1832 Clause::OMPC_firstprivate,
1833 Clause::OMPC_has_device_addr,
1834 Clause::OMPC_if,
1835 Clause::OMPC_is_device_ptr,
1836 Clause::OMPC_lastprivate,
1837 Clause::OMPC_linear,
1838 Clause::OMPC_map,
1839 Clause::OMPC_nontemporal,
1840 Clause::OMPC_ompx_attribute,
1841 Clause::OMPC_private,
1842 Clause::OMPC_reduction,
1843 Clause::OMPC_shared,
1844 Clause::OMPC_uses_allocators,
1845};
1846
1847static llvm::omp::Clauses allowedOnceClauses_OMPD_target_parallel_for_simd {
1848 Clause::OMPC_collapse,
1849 Clause::OMPC_default,
1850 Clause::OMPC_defaultmap,
1851 Clause::OMPC_device,
1852 Clause::OMPC_message,
1853 Clause::OMPC_nowait,
1854 Clause::OMPC_num_threads,
1855 Clause::OMPC_ompx_dyn_cgroup_mem,
1856 Clause::OMPC_order,
1857 Clause::OMPC_ordered,
1858 Clause::OMPC_proc_bind,
1859 Clause::OMPC_safelen,
1860 Clause::OMPC_schedule,
1861 Clause::OMPC_severity,
1862 Clause::OMPC_simdlen,
1863 Clause::OMPC_thread_limit,
1864};
1865
1866static llvm::omp::Clauses allowedExclusiveClauses_OMPD_target_parallel_for_simd {
1867};
1868
1869static llvm::omp::Clauses requiredClauses_OMPD_target_parallel_for_simd {
1870};
1871// Sets for target simd
1872
1873static llvm::omp::Clauses allowedClauses_OMPD_target_simd {
1874 Clause::OMPC_aligned,
1875 Clause::OMPC_allocate,
1876 Clause::OMPC_depend,
1877 Clause::OMPC_dyn_groupprivate,
1878 Clause::OMPC_firstprivate,
1879 Clause::OMPC_has_device_addr,
1880 Clause::OMPC_if,
1881 Clause::OMPC_is_device_ptr,
1882 Clause::OMPC_lastprivate,
1883 Clause::OMPC_linear,
1884 Clause::OMPC_map,
1885 Clause::OMPC_nontemporal,
1886 Clause::OMPC_ompx_attribute,
1887 Clause::OMPC_private,
1888 Clause::OMPC_reduction,
1889 Clause::OMPC_shared,
1890 Clause::OMPC_uses_allocators,
1891};
1892
1893static llvm::omp::Clauses allowedOnceClauses_OMPD_target_simd {
1894 Clause::OMPC_collapse,
1895 Clause::OMPC_defaultmap,
1896 Clause::OMPC_device,
1897 Clause::OMPC_message,
1898 Clause::OMPC_nowait,
1899 Clause::OMPC_num_threads,
1900 Clause::OMPC_ompx_dyn_cgroup_mem,
1901 Clause::OMPC_order,
1902 Clause::OMPC_proc_bind,
1903 Clause::OMPC_safelen,
1904 Clause::OMPC_schedule,
1905 Clause::OMPC_severity,
1906 Clause::OMPC_simdlen,
1907 Clause::OMPC_thread_limit,
1908};
1909
1910static llvm::omp::Clauses allowedExclusiveClauses_OMPD_target_simd {
1911};
1912
1913static llvm::omp::Clauses requiredClauses_OMPD_target_simd {
1914};
1915// Sets for target teams
1916
1917static llvm::omp::Clauses allowedClauses_OMPD_target_teams {
1918 Clause::OMPC_allocate,
1919 Clause::OMPC_depend,
1920 Clause::OMPC_dyn_groupprivate,
1921 Clause::OMPC_firstprivate,
1922 Clause::OMPC_has_device_addr,
1923 Clause::OMPC_if,
1924 Clause::OMPC_is_device_ptr,
1925 Clause::OMPC_map,
1926 Clause::OMPC_ompx_attribute,
1927 Clause::OMPC_private,
1928 Clause::OMPC_reduction,
1929 Clause::OMPC_shared,
1930 Clause::OMPC_uses_allocators,
1931};
1932
1933static llvm::omp::Clauses allowedOnceClauses_OMPD_target_teams {
1934 Clause::OMPC_default,
1935 Clause::OMPC_defaultmap,
1936 Clause::OMPC_device,
1937 Clause::OMPC_nowait,
1938 Clause::OMPC_num_teams,
1939 Clause::OMPC_ompx_bare,
1940 Clause::OMPC_ompx_dyn_cgroup_mem,
1941 Clause::OMPC_thread_limit,
1942};
1943
1944static llvm::omp::Clauses allowedExclusiveClauses_OMPD_target_teams {
1945};
1946
1947static llvm::omp::Clauses requiredClauses_OMPD_target_teams {
1948};
1949// Sets for target teams distribute
1950
1951static llvm::omp::Clauses allowedClauses_OMPD_target_teams_distribute {
1952 Clause::OMPC_allocate,
1953 Clause::OMPC_depend,
1954 Clause::OMPC_dyn_groupprivate,
1955 Clause::OMPC_firstprivate,
1956 Clause::OMPC_has_device_addr,
1957 Clause::OMPC_if,
1958 Clause::OMPC_is_device_ptr,
1959 Clause::OMPC_lastprivate,
1960 Clause::OMPC_map,
1961 Clause::OMPC_ompx_attribute,
1962 Clause::OMPC_private,
1963 Clause::OMPC_reduction,
1964 Clause::OMPC_shared,
1965 Clause::OMPC_uses_allocators,
1966};
1967
1968static llvm::omp::Clauses allowedOnceClauses_OMPD_target_teams_distribute {
1969 Clause::OMPC_collapse,
1970 Clause::OMPC_default,
1971 Clause::OMPC_defaultmap,
1972 Clause::OMPC_device,
1973 Clause::OMPC_dist_schedule,
1974 Clause::OMPC_nowait,
1975 Clause::OMPC_num_teams,
1976 Clause::OMPC_ompx_dyn_cgroup_mem,
1977 Clause::OMPC_order,
1978 Clause::OMPC_thread_limit,
1979};
1980
1981static llvm::omp::Clauses allowedExclusiveClauses_OMPD_target_teams_distribute {
1982};
1983
1984static llvm::omp::Clauses requiredClauses_OMPD_target_teams_distribute {
1985};
1986// Sets for target teams distribute parallel do
1987
1988static llvm::omp::Clauses allowedClauses_OMPD_target_teams_distribute_parallel_do {
1989 Clause::OMPC_allocate,
1990 Clause::OMPC_depend,
1991 Clause::OMPC_dyn_groupprivate,
1992 Clause::OMPC_firstprivate,
1993 Clause::OMPC_has_device_addr,
1994 Clause::OMPC_if,
1995 Clause::OMPC_is_device_ptr,
1996 Clause::OMPC_lastprivate,
1997 Clause::OMPC_linear,
1998 Clause::OMPC_map,
1999 Clause::OMPC_private,
2000 Clause::OMPC_reduction,
2001 Clause::OMPC_shared,
2002 Clause::OMPC_uses_allocators,
2003};
2004
2005static llvm::omp::Clauses allowedOnceClauses_OMPD_target_teams_distribute_parallel_do {
2006 Clause::OMPC_collapse,
2007 Clause::OMPC_default,
2008 Clause::OMPC_defaultmap,
2009 Clause::OMPC_device,
2010 Clause::OMPC_dist_schedule,
2011 Clause::OMPC_message,
2012 Clause::OMPC_nowait,
2013 Clause::OMPC_num_teams,
2014 Clause::OMPC_num_threads,
2015 Clause::OMPC_order,
2016 Clause::OMPC_proc_bind,
2017 Clause::OMPC_schedule,
2018 Clause::OMPC_severity,
2019 Clause::OMPC_thread_limit,
2020};
2021
2022static llvm::omp::Clauses allowedExclusiveClauses_OMPD_target_teams_distribute_parallel_do {
2023};
2024
2025static llvm::omp::Clauses requiredClauses_OMPD_target_teams_distribute_parallel_do {
2026};
2027// Sets for target teams distribute parallel do simd
2028
2029static llvm::omp::Clauses allowedClauses_OMPD_target_teams_distribute_parallel_do_simd {
2030 Clause::OMPC_aligned,
2031 Clause::OMPC_allocate,
2032 Clause::OMPC_depend,
2033 Clause::OMPC_dyn_groupprivate,
2034 Clause::OMPC_firstprivate,
2035 Clause::OMPC_has_device_addr,
2036 Clause::OMPC_if,
2037 Clause::OMPC_is_device_ptr,
2038 Clause::OMPC_lastprivate,
2039 Clause::OMPC_linear,
2040 Clause::OMPC_map,
2041 Clause::OMPC_nontemporal,
2042 Clause::OMPC_private,
2043 Clause::OMPC_reduction,
2044 Clause::OMPC_shared,
2045 Clause::OMPC_uses_allocators,
2046};
2047
2048static llvm::omp::Clauses allowedOnceClauses_OMPD_target_teams_distribute_parallel_do_simd {
2049 Clause::OMPC_collapse,
2050 Clause::OMPC_default,
2051 Clause::OMPC_defaultmap,
2052 Clause::OMPC_device,
2053 Clause::OMPC_dist_schedule,
2054 Clause::OMPC_message,
2055 Clause::OMPC_nowait,
2056 Clause::OMPC_num_teams,
2057 Clause::OMPC_num_threads,
2058 Clause::OMPC_order,
2059 Clause::OMPC_proc_bind,
2060 Clause::OMPC_safelen,
2061 Clause::OMPC_schedule,
2062 Clause::OMPC_severity,
2063 Clause::OMPC_simdlen,
2064 Clause::OMPC_thread_limit,
2065};
2066
2067static llvm::omp::Clauses allowedExclusiveClauses_OMPD_target_teams_distribute_parallel_do_simd {
2068};
2069
2070static llvm::omp::Clauses requiredClauses_OMPD_target_teams_distribute_parallel_do_simd {
2071};
2072// Sets for target teams distribute parallel for
2073
2074static llvm::omp::Clauses allowedClauses_OMPD_target_teams_distribute_parallel_for {
2075 Clause::OMPC_allocate,
2076 Clause::OMPC_depend,
2077 Clause::OMPC_dyn_groupprivate,
2078 Clause::OMPC_firstprivate,
2079 Clause::OMPC_has_device_addr,
2080 Clause::OMPC_if,
2081 Clause::OMPC_is_device_ptr,
2082 Clause::OMPC_lastprivate,
2083 Clause::OMPC_map,
2084 Clause::OMPC_ompx_attribute,
2085 Clause::OMPC_private,
2086 Clause::OMPC_reduction,
2087 Clause::OMPC_shared,
2088 Clause::OMPC_uses_allocators,
2089};
2090
2091static llvm::omp::Clauses allowedOnceClauses_OMPD_target_teams_distribute_parallel_for {
2092 Clause::OMPC_collapse,
2093 Clause::OMPC_default,
2094 Clause::OMPC_defaultmap,
2095 Clause::OMPC_device,
2096 Clause::OMPC_dist_schedule,
2097 Clause::OMPC_message,
2098 Clause::OMPC_nowait,
2099 Clause::OMPC_num_teams,
2100 Clause::OMPC_num_threads,
2101 Clause::OMPC_ompx_dyn_cgroup_mem,
2102 Clause::OMPC_order,
2103 Clause::OMPC_proc_bind,
2104 Clause::OMPC_schedule,
2105 Clause::OMPC_severity,
2106 Clause::OMPC_thread_limit,
2107};
2108
2109static llvm::omp::Clauses allowedExclusiveClauses_OMPD_target_teams_distribute_parallel_for {
2110};
2111
2112static llvm::omp::Clauses requiredClauses_OMPD_target_teams_distribute_parallel_for {
2113};
2114// Sets for target teams distribute parallel for simd
2115
2116static llvm::omp::Clauses allowedClauses_OMPD_target_teams_distribute_parallel_for_simd {
2117 Clause::OMPC_aligned,
2118 Clause::OMPC_allocate,
2119 Clause::OMPC_depend,
2120 Clause::OMPC_dyn_groupprivate,
2121 Clause::OMPC_firstprivate,
2122 Clause::OMPC_has_device_addr,
2123 Clause::OMPC_if,
2124 Clause::OMPC_is_device_ptr,
2125 Clause::OMPC_lastprivate,
2126 Clause::OMPC_linear,
2127 Clause::OMPC_map,
2128 Clause::OMPC_nontemporal,
2129 Clause::OMPC_ompx_attribute,
2130 Clause::OMPC_private,
2131 Clause::OMPC_reduction,
2132 Clause::OMPC_shared,
2133 Clause::OMPC_uses_allocators,
2134};
2135
2136static llvm::omp::Clauses allowedOnceClauses_OMPD_target_teams_distribute_parallel_for_simd {
2137 Clause::OMPC_collapse,
2138 Clause::OMPC_default,
2139 Clause::OMPC_defaultmap,
2140 Clause::OMPC_device,
2141 Clause::OMPC_dist_schedule,
2142 Clause::OMPC_message,
2143 Clause::OMPC_nowait,
2144 Clause::OMPC_num_teams,
2145 Clause::OMPC_num_threads,
2146 Clause::OMPC_ompx_dyn_cgroup_mem,
2147 Clause::OMPC_order,
2148 Clause::OMPC_proc_bind,
2149 Clause::OMPC_safelen,
2150 Clause::OMPC_schedule,
2151 Clause::OMPC_severity,
2152 Clause::OMPC_simdlen,
2153 Clause::OMPC_thread_limit,
2154};
2155
2156static llvm::omp::Clauses allowedExclusiveClauses_OMPD_target_teams_distribute_parallel_for_simd {
2157};
2158
2159static llvm::omp::Clauses requiredClauses_OMPD_target_teams_distribute_parallel_for_simd {
2160};
2161// Sets for target teams distribute simd
2162
2163static llvm::omp::Clauses allowedClauses_OMPD_target_teams_distribute_simd {
2164 Clause::OMPC_aligned,
2165 Clause::OMPC_allocate,
2166 Clause::OMPC_depend,
2167 Clause::OMPC_dyn_groupprivate,
2168 Clause::OMPC_firstprivate,
2169 Clause::OMPC_has_device_addr,
2170 Clause::OMPC_if,
2171 Clause::OMPC_is_device_ptr,
2172 Clause::OMPC_lastprivate,
2173 Clause::OMPC_linear,
2174 Clause::OMPC_map,
2175 Clause::OMPC_nontemporal,
2176 Clause::OMPC_ompx_attribute,
2177 Clause::OMPC_private,
2178 Clause::OMPC_reduction,
2179 Clause::OMPC_shared,
2180 Clause::OMPC_uses_allocators,
2181};
2182
2183static llvm::omp::Clauses allowedOnceClauses_OMPD_target_teams_distribute_simd {
2184 Clause::OMPC_collapse,
2185 Clause::OMPC_default,
2186 Clause::OMPC_defaultmap,
2187 Clause::OMPC_device,
2188 Clause::OMPC_dist_schedule,
2189 Clause::OMPC_nowait,
2190 Clause::OMPC_num_teams,
2191 Clause::OMPC_ompx_dyn_cgroup_mem,
2192 Clause::OMPC_order,
2193 Clause::OMPC_safelen,
2194 Clause::OMPC_simdlen,
2195 Clause::OMPC_thread_limit,
2196};
2197
2198static llvm::omp::Clauses allowedExclusiveClauses_OMPD_target_teams_distribute_simd {
2199};
2200
2201static llvm::omp::Clauses requiredClauses_OMPD_target_teams_distribute_simd {
2202};
2203// Sets for target teams workdistribute
2204
2205static llvm::omp::Clauses allowedClauses_OMPD_target_teams_workdistribute {
2206 Clause::OMPC_allocate,
2207 Clause::OMPC_depend,
2208 Clause::OMPC_firstprivate,
2209 Clause::OMPC_has_device_addr,
2210 Clause::OMPC_if,
2211 Clause::OMPC_is_device_ptr,
2212 Clause::OMPC_map,
2213 Clause::OMPC_ompx_attribute,
2214 Clause::OMPC_private,
2215 Clause::OMPC_reduction,
2216 Clause::OMPC_shared,
2217 Clause::OMPC_uses_allocators,
2218};
2219
2220static llvm::omp::Clauses allowedOnceClauses_OMPD_target_teams_workdistribute {
2221 Clause::OMPC_default,
2222 Clause::OMPC_defaultmap,
2223 Clause::OMPC_device,
2224 Clause::OMPC_nowait,
2225 Clause::OMPC_num_teams,
2226 Clause::OMPC_ompx_bare,
2227 Clause::OMPC_ompx_dyn_cgroup_mem,
2228 Clause::OMPC_thread_limit,
2229};
2230
2231static llvm::omp::Clauses allowedExclusiveClauses_OMPD_target_teams_workdistribute {
2232};
2233
2234static llvm::omp::Clauses requiredClauses_OMPD_target_teams_workdistribute {
2235};
2236// Sets for target update
2237
2238static llvm::omp::Clauses allowedClauses_OMPD_target_update {
2239 Clause::OMPC_depend,
2240 Clause::OMPC_from,
2241 Clause::OMPC_if,
2242 Clause::OMPC_to,
2243};
2244
2245static llvm::omp::Clauses allowedOnceClauses_OMPD_target_update {
2246 Clause::OMPC_device,
2247 Clause::OMPC_nowait,
2248 Clause::OMPC_replayable,
2249};
2250
2251static llvm::omp::Clauses allowedExclusiveClauses_OMPD_target_update {
2252};
2253
2254static llvm::omp::Clauses requiredClauses_OMPD_target_update {
2255};
2256// Sets for task
2257
2258static llvm::omp::Clauses allowedClauses_OMPD_task {
2259 Clause::OMPC_affinity,
2260 Clause::OMPC_allocate,
2261 Clause::OMPC_depend,
2262 Clause::OMPC_firstprivate,
2263 Clause::OMPC_if,
2264 Clause::OMPC_in_reduction,
2265 Clause::OMPC_private,
2266 Clause::OMPC_shared,
2267};
2268
2269static llvm::omp::Clauses allowedOnceClauses_OMPD_task {
2270 Clause::OMPC_default,
2271 Clause::OMPC_detach,
2272 Clause::OMPC_final,
2273 Clause::OMPC_mergeable,
2274 Clause::OMPC_priority,
2275 Clause::OMPC_replayable,
2276 Clause::OMPC_threadset,
2277 Clause::OMPC_transparent,
2278 Clause::OMPC_untied,
2279};
2280
2281static llvm::omp::Clauses allowedExclusiveClauses_OMPD_task {
2282};
2283
2284static llvm::omp::Clauses requiredClauses_OMPD_task {
2285};
2286// Sets for taskgroup
2287
2288static llvm::omp::Clauses allowedClauses_OMPD_taskgroup {
2289 Clause::OMPC_allocate,
2290 Clause::OMPC_task_reduction,
2291};
2292
2293static llvm::omp::Clauses allowedOnceClauses_OMPD_taskgroup {
2294};
2295
2296static llvm::omp::Clauses allowedExclusiveClauses_OMPD_taskgroup {
2297};
2298
2299static llvm::omp::Clauses requiredClauses_OMPD_taskgroup {
2300};
2301// Sets for task_iteration
2302
2303static llvm::omp::Clauses allowedClauses_OMPD_task_iteration {
2304 Clause::OMPC_affinity,
2305 Clause::OMPC_depend,
2306 Clause::OMPC_if,
2307};
2308
2309static llvm::omp::Clauses allowedOnceClauses_OMPD_task_iteration {
2310};
2311
2312static llvm::omp::Clauses allowedExclusiveClauses_OMPD_task_iteration {
2313};
2314
2315static llvm::omp::Clauses requiredClauses_OMPD_task_iteration {
2316};
2317// Sets for taskloop
2318
2319static llvm::omp::Clauses allowedClauses_OMPD_taskloop {
2320 Clause::OMPC_allocate,
2321 Clause::OMPC_firstprivate,
2322 Clause::OMPC_in_reduction,
2323 Clause::OMPC_if,
2324 Clause::OMPC_lastprivate,
2325 Clause::OMPC_private,
2326 Clause::OMPC_reduction,
2327 Clause::OMPC_shared,
2328};
2329
2330static llvm::omp::Clauses allowedOnceClauses_OMPD_taskloop {
2331 Clause::OMPC_collapse,
2332 Clause::OMPC_default,
2333 Clause::OMPC_final,
2334 Clause::OMPC_mergeable,
2335 Clause::OMPC_nogroup,
2336 Clause::OMPC_priority,
2337 Clause::OMPC_replayable,
2338 Clause::OMPC_threadset,
2339 Clause::OMPC_transparent,
2340 Clause::OMPC_untied,
2341};
2342
2343static llvm::omp::Clauses allowedExclusiveClauses_OMPD_taskloop {
2344 Clause::OMPC_grainsize,
2345 Clause::OMPC_num_tasks,
2346};
2347
2348static llvm::omp::Clauses requiredClauses_OMPD_taskloop {
2349};
2350// Sets for taskloop simd
2351
2352static llvm::omp::Clauses allowedClauses_OMPD_taskloop_simd {
2353 Clause::OMPC_aligned,
2354 Clause::OMPC_allocate,
2355 Clause::OMPC_firstprivate,
2356 Clause::OMPC_if,
2357 Clause::OMPC_in_reduction,
2358 Clause::OMPC_lastprivate,
2359 Clause::OMPC_linear,
2360 Clause::OMPC_nontemporal,
2361 Clause::OMPC_private,
2362 Clause::OMPC_reduction,
2363 Clause::OMPC_shared,
2364};
2365
2366static llvm::omp::Clauses allowedOnceClauses_OMPD_taskloop_simd {
2367 Clause::OMPC_collapse,
2368 Clause::OMPC_default,
2369 Clause::OMPC_final,
2370 Clause::OMPC_mergeable,
2371 Clause::OMPC_nogroup,
2372 Clause::OMPC_order,
2373 Clause::OMPC_priority,
2374 Clause::OMPC_safelen,
2375 Clause::OMPC_simdlen,
2376 Clause::OMPC_untied,
2377};
2378
2379static llvm::omp::Clauses allowedExclusiveClauses_OMPD_taskloop_simd {
2380 Clause::OMPC_grainsize,
2381 Clause::OMPC_num_tasks,
2382};
2383
2384static llvm::omp::Clauses requiredClauses_OMPD_taskloop_simd {
2385};
2386// Sets for taskwait
2387
2388static llvm::omp::Clauses allowedClauses_OMPD_taskwait {
2389 Clause::OMPC_depend,
2390};
2391
2392static llvm::omp::Clauses allowedOnceClauses_OMPD_taskwait {
2393 Clause::OMPC_nowait,
2394 Clause::OMPC_replayable,
2395};
2396
2397static llvm::omp::Clauses allowedExclusiveClauses_OMPD_taskwait {
2398};
2399
2400static llvm::omp::Clauses requiredClauses_OMPD_taskwait {
2401};
2402// Sets for taskyield
2403
2404static llvm::omp::Clauses allowedClauses_OMPD_taskyield {
2405};
2406
2407static llvm::omp::Clauses allowedOnceClauses_OMPD_taskyield {
2408};
2409
2410static llvm::omp::Clauses allowedExclusiveClauses_OMPD_taskyield {
2411};
2412
2413static llvm::omp::Clauses requiredClauses_OMPD_taskyield {
2414};
2415// Sets for taskgraph
2416
2417static llvm::omp::Clauses allowedClauses_OMPD_taskgraph {
2418 Clause::OMPC_if,
2419};
2420
2421static llvm::omp::Clauses allowedOnceClauses_OMPD_taskgraph {
2422 Clause::OMPC_graph_id,
2423 Clause::OMPC_graph_reset,
2424 Clause::OMPC_nogroup,
2425};
2426
2427static llvm::omp::Clauses allowedExclusiveClauses_OMPD_taskgraph {
2428};
2429
2430static llvm::omp::Clauses requiredClauses_OMPD_taskgraph {
2431};
2432// Sets for teams
2433
2434static llvm::omp::Clauses allowedClauses_OMPD_teams {
2435 Clause::OMPC_allocate,
2436 Clause::OMPC_dyn_groupprivate,
2437 Clause::OMPC_firstprivate,
2438 Clause::OMPC_if,
2439 Clause::OMPC_ompx_attribute,
2440 Clause::OMPC_private,
2441 Clause::OMPC_reduction,
2442 Clause::OMPC_shared,
2443};
2444
2445static llvm::omp::Clauses allowedOnceClauses_OMPD_teams {
2446 Clause::OMPC_default,
2447 Clause::OMPC_num_teams,
2448 Clause::OMPC_thread_limit,
2449};
2450
2451static llvm::omp::Clauses allowedExclusiveClauses_OMPD_teams {
2452};
2453
2454static llvm::omp::Clauses requiredClauses_OMPD_teams {
2455};
2456// Sets for teams distribute
2457
2458static llvm::omp::Clauses allowedClauses_OMPD_teams_distribute {
2459 Clause::OMPC_allocate,
2460 Clause::OMPC_dyn_groupprivate,
2461 Clause::OMPC_firstprivate,
2462 Clause::OMPC_if,
2463 Clause::OMPC_lastprivate,
2464 Clause::OMPC_ompx_attribute,
2465 Clause::OMPC_private,
2466 Clause::OMPC_reduction,
2467 Clause::OMPC_shared,
2468};
2469
2470static llvm::omp::Clauses allowedOnceClauses_OMPD_teams_distribute {
2471 Clause::OMPC_collapse,
2472 Clause::OMPC_default,
2473 Clause::OMPC_dist_schedule,
2474 Clause::OMPC_num_teams,
2475 Clause::OMPC_order,
2476 Clause::OMPC_thread_limit,
2477};
2478
2479static llvm::omp::Clauses allowedExclusiveClauses_OMPD_teams_distribute {
2480};
2481
2482static llvm::omp::Clauses requiredClauses_OMPD_teams_distribute {
2483};
2484// Sets for teams distribute parallel do
2485
2486static llvm::omp::Clauses allowedClauses_OMPD_teams_distribute_parallel_do {
2487 Clause::OMPC_allocate,
2488 Clause::OMPC_copyin,
2489 Clause::OMPC_dyn_groupprivate,
2490 Clause::OMPC_firstprivate,
2491 Clause::OMPC_if,
2492 Clause::OMPC_lastprivate,
2493 Clause::OMPC_linear,
2494 Clause::OMPC_private,
2495 Clause::OMPC_reduction,
2496 Clause::OMPC_shared,
2497};
2498
2499static llvm::omp::Clauses allowedOnceClauses_OMPD_teams_distribute_parallel_do {
2500 Clause::OMPC_collapse,
2501 Clause::OMPC_default,
2502 Clause::OMPC_dist_schedule,
2503 Clause::OMPC_message,
2504 Clause::OMPC_num_teams,
2505 Clause::OMPC_num_threads,
2506 Clause::OMPC_order,
2507 Clause::OMPC_proc_bind,
2508 Clause::OMPC_schedule,
2509 Clause::OMPC_severity,
2510 Clause::OMPC_thread_limit,
2511};
2512
2513static llvm::omp::Clauses allowedExclusiveClauses_OMPD_teams_distribute_parallel_do {
2514};
2515
2516static llvm::omp::Clauses requiredClauses_OMPD_teams_distribute_parallel_do {
2517};
2518// Sets for teams distribute parallel do simd
2519
2520static llvm::omp::Clauses allowedClauses_OMPD_teams_distribute_parallel_do_simd {
2521 Clause::OMPC_aligned,
2522 Clause::OMPC_allocate,
2523 Clause::OMPC_dyn_groupprivate,
2524 Clause::OMPC_firstprivate,
2525 Clause::OMPC_if,
2526 Clause::OMPC_lastprivate,
2527 Clause::OMPC_linear,
2528 Clause::OMPC_nontemporal,
2529 Clause::OMPC_private,
2530 Clause::OMPC_reduction,
2531 Clause::OMPC_shared,
2532};
2533
2534static llvm::omp::Clauses allowedOnceClauses_OMPD_teams_distribute_parallel_do_simd {
2535 Clause::OMPC_collapse,
2536 Clause::OMPC_default,
2537 Clause::OMPC_dist_schedule,
2538 Clause::OMPC_message,
2539 Clause::OMPC_num_teams,
2540 Clause::OMPC_num_threads,
2541 Clause::OMPC_order,
2542 Clause::OMPC_proc_bind,
2543 Clause::OMPC_safelen,
2544 Clause::OMPC_schedule,
2545 Clause::OMPC_severity,
2546 Clause::OMPC_simdlen,
2547 Clause::OMPC_thread_limit,
2548};
2549
2550static llvm::omp::Clauses allowedExclusiveClauses_OMPD_teams_distribute_parallel_do_simd {
2551};
2552
2553static llvm::omp::Clauses requiredClauses_OMPD_teams_distribute_parallel_do_simd {
2554};
2555// Sets for teams distribute parallel for
2556
2557static llvm::omp::Clauses allowedClauses_OMPD_teams_distribute_parallel_for {
2558 Clause::OMPC_allocate,
2559 Clause::OMPC_copyin,
2560 Clause::OMPC_dyn_groupprivate,
2561 Clause::OMPC_firstprivate,
2562 Clause::OMPC_if,
2563 Clause::OMPC_lastprivate,
2564 Clause::OMPC_ompx_attribute,
2565 Clause::OMPC_private,
2566 Clause::OMPC_reduction,
2567 Clause::OMPC_shared,
2568};
2569
2570static llvm::omp::Clauses allowedOnceClauses_OMPD_teams_distribute_parallel_for {
2571 Clause::OMPC_collapse,
2572 Clause::OMPC_default,
2573 Clause::OMPC_dist_schedule,
2574 Clause::OMPC_message,
2575 Clause::OMPC_num_teams,
2576 Clause::OMPC_num_threads,
2577 Clause::OMPC_order,
2578 Clause::OMPC_proc_bind,
2579 Clause::OMPC_schedule,
2580 Clause::OMPC_severity,
2581 Clause::OMPC_thread_limit,
2582};
2583
2584static llvm::omp::Clauses allowedExclusiveClauses_OMPD_teams_distribute_parallel_for {
2585};
2586
2587static llvm::omp::Clauses requiredClauses_OMPD_teams_distribute_parallel_for {
2588};
2589// Sets for teams distribute parallel for simd
2590
2591static llvm::omp::Clauses allowedClauses_OMPD_teams_distribute_parallel_for_simd {
2592 Clause::OMPC_aligned,
2593 Clause::OMPC_allocate,
2594 Clause::OMPC_dyn_groupprivate,
2595 Clause::OMPC_firstprivate,
2596 Clause::OMPC_lastprivate,
2597 Clause::OMPC_if,
2598 Clause::OMPC_linear,
2599 Clause::OMPC_nontemporal,
2600 Clause::OMPC_ompx_attribute,
2601 Clause::OMPC_private,
2602 Clause::OMPC_reduction,
2603 Clause::OMPC_shared,
2604};
2605
2606static llvm::omp::Clauses allowedOnceClauses_OMPD_teams_distribute_parallel_for_simd {
2607 Clause::OMPC_collapse,
2608 Clause::OMPC_default,
2609 Clause::OMPC_dist_schedule,
2610 Clause::OMPC_message,
2611 Clause::OMPC_num_teams,
2612 Clause::OMPC_num_threads,
2613 Clause::OMPC_order,
2614 Clause::OMPC_proc_bind,
2615 Clause::OMPC_safelen,
2616 Clause::OMPC_schedule,
2617 Clause::OMPC_severity,
2618 Clause::OMPC_simdlen,
2619 Clause::OMPC_thread_limit,
2620};
2621
2622static llvm::omp::Clauses allowedExclusiveClauses_OMPD_teams_distribute_parallel_for_simd {
2623};
2624
2625static llvm::omp::Clauses requiredClauses_OMPD_teams_distribute_parallel_for_simd {
2626};
2627// Sets for teams distribute simd
2628
2629static llvm::omp::Clauses allowedClauses_OMPD_teams_distribute_simd {
2630 Clause::OMPC_aligned,
2631 Clause::OMPC_allocate,
2632 Clause::OMPC_dyn_groupprivate,
2633 Clause::OMPC_firstprivate,
2634 Clause::OMPC_if,
2635 Clause::OMPC_lastprivate,
2636 Clause::OMPC_linear,
2637 Clause::OMPC_nontemporal,
2638 Clause::OMPC_ompx_attribute,
2639 Clause::OMPC_private,
2640 Clause::OMPC_reduction,
2641 Clause::OMPC_shared,
2642};
2643
2644static llvm::omp::Clauses allowedOnceClauses_OMPD_teams_distribute_simd {
2645 Clause::OMPC_collapse,
2646 Clause::OMPC_default,
2647 Clause::OMPC_dist_schedule,
2648 Clause::OMPC_num_teams,
2649 Clause::OMPC_order,
2650 Clause::OMPC_safelen,
2651 Clause::OMPC_simdlen,
2652 Clause::OMPC_thread_limit,
2653};
2654
2655static llvm::omp::Clauses allowedExclusiveClauses_OMPD_teams_distribute_simd {
2656};
2657
2658static llvm::omp::Clauses requiredClauses_OMPD_teams_distribute_simd {
2659};
2660// Sets for teams workdistribute
2661
2662static llvm::omp::Clauses allowedClauses_OMPD_teams_workdistribute {
2663 Clause::OMPC_allocate,
2664 Clause::OMPC_firstprivate,
2665 Clause::OMPC_if,
2666 Clause::OMPC_ompx_attribute,
2667 Clause::OMPC_private,
2668 Clause::OMPC_reduction,
2669 Clause::OMPC_shared,
2670};
2671
2672static llvm::omp::Clauses allowedOnceClauses_OMPD_teams_workdistribute {
2673 Clause::OMPC_default,
2674 Clause::OMPC_num_teams,
2675 Clause::OMPC_thread_limit,
2676};
2677
2678static llvm::omp::Clauses allowedExclusiveClauses_OMPD_teams_workdistribute {
2679};
2680
2681static llvm::omp::Clauses requiredClauses_OMPD_teams_workdistribute {
2682};
2683// Sets for threadprivate
2684
2685static llvm::omp::Clauses allowedClauses_OMPD_threadprivate {
2686};
2687
2688static llvm::omp::Clauses allowedOnceClauses_OMPD_threadprivate {
2689};
2690
2691static llvm::omp::Clauses allowedExclusiveClauses_OMPD_threadprivate {
2692};
2693
2694static llvm::omp::Clauses requiredClauses_OMPD_threadprivate {
2695};
2696// Sets for tile
2697
2698static llvm::omp::Clauses allowedClauses_OMPD_tile {
2699 Clause::OMPC_apply,
2700};
2701
2702static llvm::omp::Clauses allowedOnceClauses_OMPD_tile {
2703 Clause::OMPC_sizes,
2704};
2705
2706static llvm::omp::Clauses allowedExclusiveClauses_OMPD_tile {
2707};
2708
2709static llvm::omp::Clauses requiredClauses_OMPD_tile {
2710 Clause::OMPC_sizes,
2711};
2712// Sets for unknown
2713
2714static llvm::omp::Clauses allowedClauses_OMPD_unknown {
2715};
2716
2717static llvm::omp::Clauses allowedOnceClauses_OMPD_unknown {
2718};
2719
2720static llvm::omp::Clauses allowedExclusiveClauses_OMPD_unknown {
2721};
2722
2723static llvm::omp::Clauses requiredClauses_OMPD_unknown {
2724};
2725// Sets for unroll
2726
2727static llvm::omp::Clauses allowedClauses_OMPD_unroll {
2728 Clause::OMPC_apply,
2729};
2730
2731static llvm::omp::Clauses allowedOnceClauses_OMPD_unroll {
2732};
2733
2734static llvm::omp::Clauses allowedExclusiveClauses_OMPD_unroll {
2735 Clause::OMPC_full,
2736 Clause::OMPC_partial,
2737};
2738
2739static llvm::omp::Clauses requiredClauses_OMPD_unroll {
2740};
2741// Sets for workdistribute
2742
2743static llvm::omp::Clauses allowedClauses_OMPD_workdistribute {
2744};
2745
2746static llvm::omp::Clauses allowedOnceClauses_OMPD_workdistribute {
2747};
2748
2749static llvm::omp::Clauses allowedExclusiveClauses_OMPD_workdistribute {
2750};
2751
2752static llvm::omp::Clauses requiredClauses_OMPD_workdistribute {
2753};
2754// Sets for workshare
2755
2756static llvm::omp::Clauses allowedClauses_OMPD_workshare {
2757};
2758
2759static llvm::omp::Clauses allowedOnceClauses_OMPD_workshare {
2760 Clause::OMPC_nowait,
2761};
2762
2763static llvm::omp::Clauses allowedExclusiveClauses_OMPD_workshare {
2764};
2765
2766static llvm::omp::Clauses requiredClauses_OMPD_workshare {
2767};
2768// Sets for dispatch
2769
2770static llvm::omp::Clauses allowedClauses_OMPD_dispatch {
2771 Clause::OMPC_depend,
2772 Clause::OMPC_has_device_addr,
2773 Clause::OMPC_is_device_ptr,
2774};
2775
2776static llvm::omp::Clauses allowedOnceClauses_OMPD_dispatch {
2777 Clause::OMPC_device,
2778 Clause::OMPC_nocontext,
2779 Clause::OMPC_novariants,
2780 Clause::OMPC_nowait,
2781};
2782
2783static llvm::omp::Clauses allowedExclusiveClauses_OMPD_dispatch {
2784};
2785
2786static llvm::omp::Clauses requiredClauses_OMPD_dispatch {
2787};
2788// Sets for interop
2789
2790static llvm::omp::Clauses allowedClauses_OMPD_interop {
2791 Clause::OMPC_depend,
2792 Clause::OMPC_destroy,
2793 Clause::OMPC_init,
2794 Clause::OMPC_use,
2795};
2796
2797static llvm::omp::Clauses allowedOnceClauses_OMPD_interop {
2798 Clause::OMPC_device,
2799 Clause::OMPC_nowait,
2800};
2801
2802static llvm::omp::Clauses allowedExclusiveClauses_OMPD_interop {
2803};
2804
2805static llvm::omp::Clauses requiredClauses_OMPD_interop {
2806};
2807// Sets for loop
2808
2809static llvm::omp::Clauses allowedClauses_OMPD_loop {
2810 Clause::OMPC_lastprivate,
2811 Clause::OMPC_private,
2812 Clause::OMPC_reduction,
2813};
2814
2815static llvm::omp::Clauses allowedOnceClauses_OMPD_loop {
2816 Clause::OMPC_bind,
2817 Clause::OMPC_collapse,
2818 Clause::OMPC_order,
2819};
2820
2821static llvm::omp::Clauses allowedExclusiveClauses_OMPD_loop {
2822};
2823
2824static llvm::omp::Clauses requiredClauses_OMPD_loop {
2825};
2826// Sets for masked
2827
2828static llvm::omp::Clauses allowedClauses_OMPD_masked {
2829};
2830
2831static llvm::omp::Clauses allowedOnceClauses_OMPD_masked {
2832 Clause::OMPC_filter,
2833};
2834
2835static llvm::omp::Clauses allowedExclusiveClauses_OMPD_masked {
2836};
2837
2838static llvm::omp::Clauses requiredClauses_OMPD_masked {
2839};
2840// Sets for parallel loop
2841
2842static llvm::omp::Clauses allowedClauses_OMPD_parallel_loop {
2843 Clause::OMPC_allocate,
2844 Clause::OMPC_copyin,
2845 Clause::OMPC_firstprivate,
2846 Clause::OMPC_if,
2847 Clause::OMPC_lastprivate,
2848 Clause::OMPC_ompx_attribute,
2849 Clause::OMPC_private,
2850 Clause::OMPC_reduction,
2851 Clause::OMPC_shared,
2852};
2853
2854static llvm::omp::Clauses allowedOnceClauses_OMPD_parallel_loop {
2855 Clause::OMPC_bind,
2856 Clause::OMPC_collapse,
2857 Clause::OMPC_default,
2858 Clause::OMPC_message,
2859 Clause::OMPC_num_threads,
2860 Clause::OMPC_order,
2861 Clause::OMPC_proc_bind,
2862 Clause::OMPC_severity,
2863};
2864
2865static llvm::omp::Clauses allowedExclusiveClauses_OMPD_parallel_loop {
2866};
2867
2868static llvm::omp::Clauses requiredClauses_OMPD_parallel_loop {
2869};
2870// Sets for target loop
2871
2872static llvm::omp::Clauses allowedClauses_OMPD_target_loop {
2873 Clause::OMPC_allocate,
2874 Clause::OMPC_depend,
2875 Clause::OMPC_dyn_groupprivate,
2876 Clause::OMPC_firstprivate,
2877 Clause::OMPC_if,
2878 Clause::OMPC_is_device_ptr,
2879 Clause::OMPC_has_device_addr,
2880 Clause::OMPC_lastprivate,
2881 Clause::OMPC_map,
2882 Clause::OMPC_private,
2883 Clause::OMPC_reduction,
2884 Clause::OMPC_uses_allocators,
2885 Clause::OMPC_ompx_attribute,
2886 Clause::OMPC_in_reduction,
2887};
2888
2889static llvm::omp::Clauses allowedOnceClauses_OMPD_target_loop {
2890 Clause::OMPC_bind,
2891 Clause::OMPC_collapse,
2892 Clause::OMPC_defaultmap,
2893 Clause::OMPC_device,
2894 Clause::OMPC_nowait,
2895 Clause::OMPC_ompx_dyn_cgroup_mem,
2896 Clause::OMPC_order,
2897 Clause::OMPC_thread_limit,
2898};
2899
2900static llvm::omp::Clauses allowedExclusiveClauses_OMPD_target_loop {
2901};
2902
2903static llvm::omp::Clauses requiredClauses_OMPD_target_loop {
2904};
2905// Sets for target parallel loop
2906
2907static llvm::omp::Clauses allowedClauses_OMPD_target_parallel_loop {
2908 Clause::OMPC_allocate,
2909 Clause::OMPC_depend,
2910 Clause::OMPC_dyn_groupprivate,
2911 Clause::OMPC_firstprivate,
2912 Clause::OMPC_has_device_addr,
2913 Clause::OMPC_if,
2914 Clause::OMPC_is_device_ptr,
2915 Clause::OMPC_lastprivate,
2916 Clause::OMPC_map,
2917 Clause::OMPC_ompx_attribute,
2918 Clause::OMPC_private,
2919 Clause::OMPC_reduction,
2920 Clause::OMPC_shared,
2921 Clause::OMPC_uses_allocators,
2922};
2923
2924static llvm::omp::Clauses allowedOnceClauses_OMPD_target_parallel_loop {
2925 Clause::OMPC_bind,
2926 Clause::OMPC_collapse,
2927 Clause::OMPC_default,
2928 Clause::OMPC_defaultmap,
2929 Clause::OMPC_device,
2930 Clause::OMPC_message,
2931 Clause::OMPC_nowait,
2932 Clause::OMPC_num_threads,
2933 Clause::OMPC_ompx_dyn_cgroup_mem,
2934 Clause::OMPC_order,
2935 Clause::OMPC_proc_bind,
2936 Clause::OMPC_severity,
2937 Clause::OMPC_thread_limit,
2938};
2939
2940static llvm::omp::Clauses allowedExclusiveClauses_OMPD_target_parallel_loop {
2941};
2942
2943static llvm::omp::Clauses requiredClauses_OMPD_target_parallel_loop {
2944};
2945// Sets for target teams loop
2946
2947static llvm::omp::Clauses allowedClauses_OMPD_target_teams_loop {
2948 Clause::OMPC_allocate,
2949 Clause::OMPC_depend,
2950 Clause::OMPC_dyn_groupprivate,
2951 Clause::OMPC_firstprivate,
2952 Clause::OMPC_has_device_addr,
2953 Clause::OMPC_if,
2954 Clause::OMPC_is_device_ptr,
2955 Clause::OMPC_lastprivate,
2956 Clause::OMPC_map,
2957 Clause::OMPC_ompx_attribute,
2958 Clause::OMPC_private,
2959 Clause::OMPC_reduction,
2960 Clause::OMPC_shared,
2961 Clause::OMPC_uses_allocators,
2962};
2963
2964static llvm::omp::Clauses allowedOnceClauses_OMPD_target_teams_loop {
2965 Clause::OMPC_bind,
2966 Clause::OMPC_collapse,
2967 Clause::OMPC_default,
2968 Clause::OMPC_defaultmap,
2969 Clause::OMPC_device,
2970 Clause::OMPC_nowait,
2971 Clause::OMPC_num_teams,
2972 Clause::OMPC_ompx_dyn_cgroup_mem,
2973 Clause::OMPC_order,
2974 Clause::OMPC_thread_limit,
2975};
2976
2977static llvm::omp::Clauses allowedExclusiveClauses_OMPD_target_teams_loop {
2978};
2979
2980static llvm::omp::Clauses requiredClauses_OMPD_target_teams_loop {
2981};
2982// Sets for teams loop
2983
2984static llvm::omp::Clauses allowedClauses_OMPD_teams_loop {
2985 Clause::OMPC_allocate,
2986 Clause::OMPC_dyn_groupprivate,
2987 Clause::OMPC_firstprivate,
2988 Clause::OMPC_if,
2989 Clause::OMPC_lastprivate,
2990 Clause::OMPC_ompx_attribute,
2991 Clause::OMPC_private,
2992 Clause::OMPC_reduction,
2993 Clause::OMPC_shared,
2994};
2995
2996static llvm::omp::Clauses allowedOnceClauses_OMPD_teams_loop {
2997 Clause::OMPC_bind,
2998 Clause::OMPC_collapse,
2999 Clause::OMPC_default,
3000 Clause::OMPC_num_teams,
3001 Clause::OMPC_order,
3002 Clause::OMPC_thread_limit,
3003};
3004
3005static llvm::omp::Clauses allowedExclusiveClauses_OMPD_teams_loop {
3006};
3007
3008static llvm::omp::Clauses requiredClauses_OMPD_teams_loop {
3009};
3010
3011} // namespace llvm::omp
3012
3013#endif // GEN_FLANG_DIRECTIVE_CLAUSE_SETS
3014
3015#ifdef GEN_FLANG_DIRECTIVE_CLAUSE_MAP
3016#undef GEN_FLANG_DIRECTIVE_CLAUSE_MAP
3017
3018{
3019 {llvm::omp::Directive::OMPD_allocate,
3020 {
3021 llvm::omp::allowedClauses_OMPD_allocate,
3022 llvm::omp::allowedOnceClauses_OMPD_allocate,
3023 llvm::omp::allowedExclusiveClauses_OMPD_allocate,
3024 llvm::omp::requiredClauses_OMPD_allocate,
3025 }
3026 },
3027 {llvm::omp::Directive::OMPD_allocators,
3028 {
3029 llvm::omp::allowedClauses_OMPD_allocators,
3030 llvm::omp::allowedOnceClauses_OMPD_allocators,
3031 llvm::omp::allowedExclusiveClauses_OMPD_allocators,
3032 llvm::omp::requiredClauses_OMPD_allocators,
3033 }
3034 },
3035 {llvm::omp::Directive::OMPD_assume,
3036 {
3037 llvm::omp::allowedClauses_OMPD_assume,
3038 llvm::omp::allowedOnceClauses_OMPD_assume,
3039 llvm::omp::allowedExclusiveClauses_OMPD_assume,
3040 llvm::omp::requiredClauses_OMPD_assume,
3041 }
3042 },
3043 {llvm::omp::Directive::OMPD_assumes,
3044 {
3045 llvm::omp::allowedClauses_OMPD_assumes,
3046 llvm::omp::allowedOnceClauses_OMPD_assumes,
3047 llvm::omp::allowedExclusiveClauses_OMPD_assumes,
3048 llvm::omp::requiredClauses_OMPD_assumes,
3049 }
3050 },
3051 {llvm::omp::Directive::OMPD_atomic,
3052 {
3053 llvm::omp::allowedClauses_OMPD_atomic,
3054 llvm::omp::allowedOnceClauses_OMPD_atomic,
3055 llvm::omp::allowedExclusiveClauses_OMPD_atomic,
3056 llvm::omp::requiredClauses_OMPD_atomic,
3057 }
3058 },
3059 {llvm::omp::Directive::OMPD_barrier,
3060 {
3061 llvm::omp::allowedClauses_OMPD_barrier,
3062 llvm::omp::allowedOnceClauses_OMPD_barrier,
3063 llvm::omp::allowedExclusiveClauses_OMPD_barrier,
3064 llvm::omp::requiredClauses_OMPD_barrier,
3065 }
3066 },
3067 {llvm::omp::Directive::OMPD_begin_assumes,
3068 {
3069 llvm::omp::allowedClauses_OMPD_begin_assumes,
3070 llvm::omp::allowedOnceClauses_OMPD_begin_assumes,
3071 llvm::omp::allowedExclusiveClauses_OMPD_begin_assumes,
3072 llvm::omp::requiredClauses_OMPD_begin_assumes,
3073 }
3074 },
3075 {llvm::omp::Directive::OMPD_begin_declare_target,
3076 {
3077 llvm::omp::allowedClauses_OMPD_begin_declare_target,
3078 llvm::omp::allowedOnceClauses_OMPD_begin_declare_target,
3079 llvm::omp::allowedExclusiveClauses_OMPD_begin_declare_target,
3080 llvm::omp::requiredClauses_OMPD_begin_declare_target,
3081 }
3082 },
3083 {llvm::omp::Directive::OMPD_begin_declare_variant,
3084 {
3085 llvm::omp::allowedClauses_OMPD_begin_declare_variant,
3086 llvm::omp::allowedOnceClauses_OMPD_begin_declare_variant,
3087 llvm::omp::allowedExclusiveClauses_OMPD_begin_declare_variant,
3088 llvm::omp::requiredClauses_OMPD_begin_declare_variant,
3089 }
3090 },
3091 {llvm::omp::Directive::OMPD_begin_metadirective,
3092 {
3093 llvm::omp::allowedClauses_OMPD_begin_metadirective,
3094 llvm::omp::allowedOnceClauses_OMPD_begin_metadirective,
3095 llvm::omp::allowedExclusiveClauses_OMPD_begin_metadirective,
3096 llvm::omp::requiredClauses_OMPD_begin_metadirective,
3097 }
3098 },
3099 {llvm::omp::Directive::OMPD_cancel,
3100 {
3101 llvm::omp::allowedClauses_OMPD_cancel,
3102 llvm::omp::allowedOnceClauses_OMPD_cancel,
3103 llvm::omp::allowedExclusiveClauses_OMPD_cancel,
3104 llvm::omp::requiredClauses_OMPD_cancel,
3105 }
3106 },
3107 {llvm::omp::Directive::OMPD_cancellation_point,
3108 {
3109 llvm::omp::allowedClauses_OMPD_cancellation_point,
3110 llvm::omp::allowedOnceClauses_OMPD_cancellation_point,
3111 llvm::omp::allowedExclusiveClauses_OMPD_cancellation_point,
3112 llvm::omp::requiredClauses_OMPD_cancellation_point,
3113 }
3114 },
3115 {llvm::omp::Directive::OMPD_critical,
3116 {
3117 llvm::omp::allowedClauses_OMPD_critical,
3118 llvm::omp::allowedOnceClauses_OMPD_critical,
3119 llvm::omp::allowedExclusiveClauses_OMPD_critical,
3120 llvm::omp::requiredClauses_OMPD_critical,
3121 }
3122 },
3123 {llvm::omp::Directive::OMPD_declare_induction,
3124 {
3125 llvm::omp::allowedClauses_OMPD_declare_induction,
3126 llvm::omp::allowedOnceClauses_OMPD_declare_induction,
3127 llvm::omp::allowedExclusiveClauses_OMPD_declare_induction,
3128 llvm::omp::requiredClauses_OMPD_declare_induction,
3129 }
3130 },
3131 {llvm::omp::Directive::OMPD_declare_mapper,
3132 {
3133 llvm::omp::allowedClauses_OMPD_declare_mapper,
3134 llvm::omp::allowedOnceClauses_OMPD_declare_mapper,
3135 llvm::omp::allowedExclusiveClauses_OMPD_declare_mapper,
3136 llvm::omp::requiredClauses_OMPD_declare_mapper,
3137 }
3138 },
3139 {llvm::omp::Directive::OMPD_declare_reduction,
3140 {
3141 llvm::omp::allowedClauses_OMPD_declare_reduction,
3142 llvm::omp::allowedOnceClauses_OMPD_declare_reduction,
3143 llvm::omp::allowedExclusiveClauses_OMPD_declare_reduction,
3144 llvm::omp::requiredClauses_OMPD_declare_reduction,
3145 }
3146 },
3147 {llvm::omp::Directive::OMPD_declare_simd,
3148 {
3149 llvm::omp::allowedClauses_OMPD_declare_simd,
3150 llvm::omp::allowedOnceClauses_OMPD_declare_simd,
3151 llvm::omp::allowedExclusiveClauses_OMPD_declare_simd,
3152 llvm::omp::requiredClauses_OMPD_declare_simd,
3153 }
3154 },
3155 {llvm::omp::Directive::OMPD_declare_target,
3156 {
3157 llvm::omp::allowedClauses_OMPD_declare_target,
3158 llvm::omp::allowedOnceClauses_OMPD_declare_target,
3159 llvm::omp::allowedExclusiveClauses_OMPD_declare_target,
3160 llvm::omp::requiredClauses_OMPD_declare_target,
3161 }
3162 },
3163 {llvm::omp::Directive::OMPD_declare_variant,
3164 {
3165 llvm::omp::allowedClauses_OMPD_declare_variant,
3166 llvm::omp::allowedOnceClauses_OMPD_declare_variant,
3167 llvm::omp::allowedExclusiveClauses_OMPD_declare_variant,
3168 llvm::omp::requiredClauses_OMPD_declare_variant,
3169 }
3170 },
3171 {llvm::omp::Directive::OMPD_depobj,
3172 {
3173 llvm::omp::allowedClauses_OMPD_depobj,
3174 llvm::omp::allowedOnceClauses_OMPD_depobj,
3175 llvm::omp::allowedExclusiveClauses_OMPD_depobj,
3176 llvm::omp::requiredClauses_OMPD_depobj,
3177 }
3178 },
3179 {llvm::omp::Directive::OMPD_distribute,
3180 {
3181 llvm::omp::allowedClauses_OMPD_distribute,
3182 llvm::omp::allowedOnceClauses_OMPD_distribute,
3183 llvm::omp::allowedExclusiveClauses_OMPD_distribute,
3184 llvm::omp::requiredClauses_OMPD_distribute,
3185 }
3186 },
3187 {llvm::omp::Directive::OMPD_distribute_parallel_do,
3188 {
3189 llvm::omp::allowedClauses_OMPD_distribute_parallel_do,
3190 llvm::omp::allowedOnceClauses_OMPD_distribute_parallel_do,
3191 llvm::omp::allowedExclusiveClauses_OMPD_distribute_parallel_do,
3192 llvm::omp::requiredClauses_OMPD_distribute_parallel_do,
3193 }
3194 },
3195 {llvm::omp::Directive::OMPD_distribute_parallel_do_simd,
3196 {
3197 llvm::omp::allowedClauses_OMPD_distribute_parallel_do_simd,
3198 llvm::omp::allowedOnceClauses_OMPD_distribute_parallel_do_simd,
3199 llvm::omp::allowedExclusiveClauses_OMPD_distribute_parallel_do_simd,
3200 llvm::omp::requiredClauses_OMPD_distribute_parallel_do_simd,
3201 }
3202 },
3203 {llvm::omp::Directive::OMPD_distribute_parallel_for,
3204 {
3205 llvm::omp::allowedClauses_OMPD_distribute_parallel_for,
3206 llvm::omp::allowedOnceClauses_OMPD_distribute_parallel_for,
3207 llvm::omp::allowedExclusiveClauses_OMPD_distribute_parallel_for,
3208 llvm::omp::requiredClauses_OMPD_distribute_parallel_for,
3209 }
3210 },
3211 {llvm::omp::Directive::OMPD_distribute_parallel_for_simd,
3212 {
3213 llvm::omp::allowedClauses_OMPD_distribute_parallel_for_simd,
3214 llvm::omp::allowedOnceClauses_OMPD_distribute_parallel_for_simd,
3215 llvm::omp::allowedExclusiveClauses_OMPD_distribute_parallel_for_simd,
3216 llvm::omp::requiredClauses_OMPD_distribute_parallel_for_simd,
3217 }
3218 },
3219 {llvm::omp::Directive::OMPD_distribute_simd,
3220 {
3221 llvm::omp::allowedClauses_OMPD_distribute_simd,
3222 llvm::omp::allowedOnceClauses_OMPD_distribute_simd,
3223 llvm::omp::allowedExclusiveClauses_OMPD_distribute_simd,
3224 llvm::omp::requiredClauses_OMPD_distribute_simd,
3225 }
3226 },
3227 {llvm::omp::Directive::OMPD_do,
3228 {
3229 llvm::omp::allowedClauses_OMPD_do,
3230 llvm::omp::allowedOnceClauses_OMPD_do,
3231 llvm::omp::allowedExclusiveClauses_OMPD_do,
3232 llvm::omp::requiredClauses_OMPD_do,
3233 }
3234 },
3235 {llvm::omp::Directive::OMPD_do_simd,
3236 {
3237 llvm::omp::allowedClauses_OMPD_do_simd,
3238 llvm::omp::allowedOnceClauses_OMPD_do_simd,
3239 llvm::omp::allowedExclusiveClauses_OMPD_do_simd,
3240 llvm::omp::requiredClauses_OMPD_do_simd,
3241 }
3242 },
3243 {llvm::omp::Directive::OMPD_end_assumes,
3244 {
3245 llvm::omp::allowedClauses_OMPD_end_assumes,
3246 llvm::omp::allowedOnceClauses_OMPD_end_assumes,
3247 llvm::omp::allowedExclusiveClauses_OMPD_end_assumes,
3248 llvm::omp::requiredClauses_OMPD_end_assumes,
3249 }
3250 },
3251 {llvm::omp::Directive::OMPD_end_declare_target,
3252 {
3253 llvm::omp::allowedClauses_OMPD_end_declare_target,
3254 llvm::omp::allowedOnceClauses_OMPD_end_declare_target,
3255 llvm::omp::allowedExclusiveClauses_OMPD_end_declare_target,
3256 llvm::omp::requiredClauses_OMPD_end_declare_target,
3257 }
3258 },
3259 {llvm::omp::Directive::OMPD_end_declare_variant,
3260 {
3261 llvm::omp::allowedClauses_OMPD_end_declare_variant,
3262 llvm::omp::allowedOnceClauses_OMPD_end_declare_variant,
3263 llvm::omp::allowedExclusiveClauses_OMPD_end_declare_variant,
3264 llvm::omp::requiredClauses_OMPD_end_declare_variant,
3265 }
3266 },
3267 {llvm::omp::Directive::OMPD_end_metadirective,
3268 {
3269 llvm::omp::allowedClauses_OMPD_end_metadirective,
3270 llvm::omp::allowedOnceClauses_OMPD_end_metadirective,
3271 llvm::omp::allowedExclusiveClauses_OMPD_end_metadirective,
3272 llvm::omp::requiredClauses_OMPD_end_metadirective,
3273 }
3274 },
3275 {llvm::omp::Directive::OMPD_error,
3276 {
3277 llvm::omp::allowedClauses_OMPD_error,
3278 llvm::omp::allowedOnceClauses_OMPD_error,
3279 llvm::omp::allowedExclusiveClauses_OMPD_error,
3280 llvm::omp::requiredClauses_OMPD_error,
3281 }
3282 },
3283 {llvm::omp::Directive::OMPD_flatten,
3284 {
3285 llvm::omp::allowedClauses_OMPD_flatten,
3286 llvm::omp::allowedOnceClauses_OMPD_flatten,
3287 llvm::omp::allowedExclusiveClauses_OMPD_flatten,
3288 llvm::omp::requiredClauses_OMPD_flatten,
3289 }
3290 },
3291 {llvm::omp::Directive::OMPD_flush,
3292 {
3293 llvm::omp::allowedClauses_OMPD_flush,
3294 llvm::omp::allowedOnceClauses_OMPD_flush,
3295 llvm::omp::allowedExclusiveClauses_OMPD_flush,
3296 llvm::omp::requiredClauses_OMPD_flush,
3297 }
3298 },
3299 {llvm::omp::Directive::OMPD_for,
3300 {
3301 llvm::omp::allowedClauses_OMPD_for,
3302 llvm::omp::allowedOnceClauses_OMPD_for,
3303 llvm::omp::allowedExclusiveClauses_OMPD_for,
3304 llvm::omp::requiredClauses_OMPD_for,
3305 }
3306 },
3307 {llvm::omp::Directive::OMPD_for_simd,
3308 {
3309 llvm::omp::allowedClauses_OMPD_for_simd,
3310 llvm::omp::allowedOnceClauses_OMPD_for_simd,
3311 llvm::omp::allowedExclusiveClauses_OMPD_for_simd,
3312 llvm::omp::requiredClauses_OMPD_for_simd,
3313 }
3314 },
3315 {llvm::omp::Directive::OMPD_fuse,
3316 {
3317 llvm::omp::allowedClauses_OMPD_fuse,
3318 llvm::omp::allowedOnceClauses_OMPD_fuse,
3319 llvm::omp::allowedExclusiveClauses_OMPD_fuse,
3320 llvm::omp::requiredClauses_OMPD_fuse,
3321 }
3322 },
3323 {llvm::omp::Directive::OMPD_groupprivate,
3324 {
3325 llvm::omp::allowedClauses_OMPD_groupprivate,
3326 llvm::omp::allowedOnceClauses_OMPD_groupprivate,
3327 llvm::omp::allowedExclusiveClauses_OMPD_groupprivate,
3328 llvm::omp::requiredClauses_OMPD_groupprivate,
3329 }
3330 },
3331 {llvm::omp::Directive::OMPD_interchange,
3332 {
3333 llvm::omp::allowedClauses_OMPD_interchange,
3334 llvm::omp::allowedOnceClauses_OMPD_interchange,
3335 llvm::omp::allowedExclusiveClauses_OMPD_interchange,
3336 llvm::omp::requiredClauses_OMPD_interchange,
3337 }
3338 },
3339 {llvm::omp::Directive::OMPD_masked_taskloop,
3340 {
3341 llvm::omp::allowedClauses_OMPD_masked_taskloop,
3342 llvm::omp::allowedOnceClauses_OMPD_masked_taskloop,
3343 llvm::omp::allowedExclusiveClauses_OMPD_masked_taskloop,
3344 llvm::omp::requiredClauses_OMPD_masked_taskloop,
3345 }
3346 },
3347 {llvm::omp::Directive::OMPD_masked_taskloop_simd,
3348 {
3349 llvm::omp::allowedClauses_OMPD_masked_taskloop_simd,
3350 llvm::omp::allowedOnceClauses_OMPD_masked_taskloop_simd,
3351 llvm::omp::allowedExclusiveClauses_OMPD_masked_taskloop_simd,
3352 llvm::omp::requiredClauses_OMPD_masked_taskloop_simd,
3353 }
3354 },
3355 {llvm::omp::Directive::OMPD_master,
3356 {
3357 llvm::omp::allowedClauses_OMPD_master,
3358 llvm::omp::allowedOnceClauses_OMPD_master,
3359 llvm::omp::allowedExclusiveClauses_OMPD_master,
3360 llvm::omp::requiredClauses_OMPD_master,
3361 }
3362 },
3363 {llvm::omp::Directive::OMPD_master_taskloop,
3364 {
3365 llvm::omp::allowedClauses_OMPD_master_taskloop,
3366 llvm::omp::allowedOnceClauses_OMPD_master_taskloop,
3367 llvm::omp::allowedExclusiveClauses_OMPD_master_taskloop,
3368 llvm::omp::requiredClauses_OMPD_master_taskloop,
3369 }
3370 },
3371 {llvm::omp::Directive::OMPD_master_taskloop_simd,
3372 {
3373 llvm::omp::allowedClauses_OMPD_master_taskloop_simd,
3374 llvm::omp::allowedOnceClauses_OMPD_master_taskloop_simd,
3375 llvm::omp::allowedExclusiveClauses_OMPD_master_taskloop_simd,
3376 llvm::omp::requiredClauses_OMPD_master_taskloop_simd,
3377 }
3378 },
3379 {llvm::omp::Directive::OMPD_metadirective,
3380 {
3381 llvm::omp::allowedClauses_OMPD_metadirective,
3382 llvm::omp::allowedOnceClauses_OMPD_metadirective,
3383 llvm::omp::allowedExclusiveClauses_OMPD_metadirective,
3384 llvm::omp::requiredClauses_OMPD_metadirective,
3385 }
3386 },
3387 {llvm::omp::Directive::OMPD_nothing,
3388 {
3389 llvm::omp::allowedClauses_OMPD_nothing,
3390 llvm::omp::allowedOnceClauses_OMPD_nothing,
3391 llvm::omp::allowedExclusiveClauses_OMPD_nothing,
3392 llvm::omp::requiredClauses_OMPD_nothing,
3393 }
3394 },
3395 {llvm::omp::Directive::OMPD_ordered_blockassoc,
3396 {
3397 llvm::omp::allowedClauses_OMPD_ordered_blockassoc,
3398 llvm::omp::allowedOnceClauses_OMPD_ordered_blockassoc,
3399 llvm::omp::allowedExclusiveClauses_OMPD_ordered_blockassoc,
3400 llvm::omp::requiredClauses_OMPD_ordered_blockassoc,
3401 }
3402 },
3403 {llvm::omp::Directive::OMPD_ordered_standalone,
3404 {
3405 llvm::omp::allowedClauses_OMPD_ordered_standalone,
3406 llvm::omp::allowedOnceClauses_OMPD_ordered_standalone,
3407 llvm::omp::allowedExclusiveClauses_OMPD_ordered_standalone,
3408 llvm::omp::requiredClauses_OMPD_ordered_standalone,
3409 }
3410 },
3411 {llvm::omp::Directive::OMPD_parallel,
3412 {
3413 llvm::omp::allowedClauses_OMPD_parallel,
3414 llvm::omp::allowedOnceClauses_OMPD_parallel,
3415 llvm::omp::allowedExclusiveClauses_OMPD_parallel,
3416 llvm::omp::requiredClauses_OMPD_parallel,
3417 }
3418 },
3419 {llvm::omp::Directive::OMPD_parallel_do,
3420 {
3421 llvm::omp::allowedClauses_OMPD_parallel_do,
3422 llvm::omp::allowedOnceClauses_OMPD_parallel_do,
3423 llvm::omp::allowedExclusiveClauses_OMPD_parallel_do,
3424 llvm::omp::requiredClauses_OMPD_parallel_do,
3425 }
3426 },
3427 {llvm::omp::Directive::OMPD_parallel_do_simd,
3428 {
3429 llvm::omp::allowedClauses_OMPD_parallel_do_simd,
3430 llvm::omp::allowedOnceClauses_OMPD_parallel_do_simd,
3431 llvm::omp::allowedExclusiveClauses_OMPD_parallel_do_simd,
3432 llvm::omp::requiredClauses_OMPD_parallel_do_simd,
3433 }
3434 },
3435 {llvm::omp::Directive::OMPD_parallel_for,
3436 {
3437 llvm::omp::allowedClauses_OMPD_parallel_for,
3438 llvm::omp::allowedOnceClauses_OMPD_parallel_for,
3439 llvm::omp::allowedExclusiveClauses_OMPD_parallel_for,
3440 llvm::omp::requiredClauses_OMPD_parallel_for,
3441 }
3442 },
3443 {llvm::omp::Directive::OMPD_parallel_for_simd,
3444 {
3445 llvm::omp::allowedClauses_OMPD_parallel_for_simd,
3446 llvm::omp::allowedOnceClauses_OMPD_parallel_for_simd,
3447 llvm::omp::allowedExclusiveClauses_OMPD_parallel_for_simd,
3448 llvm::omp::requiredClauses_OMPD_parallel_for_simd,
3449 }
3450 },
3451 {llvm::omp::Directive::OMPD_parallel_masked,
3452 {
3453 llvm::omp::allowedClauses_OMPD_parallel_masked,
3454 llvm::omp::allowedOnceClauses_OMPD_parallel_masked,
3455 llvm::omp::allowedExclusiveClauses_OMPD_parallel_masked,
3456 llvm::omp::requiredClauses_OMPD_parallel_masked,
3457 }
3458 },
3459 {llvm::omp::Directive::OMPD_parallel_masked_taskloop,
3460 {
3461 llvm::omp::allowedClauses_OMPD_parallel_masked_taskloop,
3462 llvm::omp::allowedOnceClauses_OMPD_parallel_masked_taskloop,
3463 llvm::omp::allowedExclusiveClauses_OMPD_parallel_masked_taskloop,
3464 llvm::omp::requiredClauses_OMPD_parallel_masked_taskloop,
3465 }
3466 },
3467 {llvm::omp::Directive::OMPD_parallel_masked_taskloop_simd,
3468 {
3469 llvm::omp::allowedClauses_OMPD_parallel_masked_taskloop_simd,
3470 llvm::omp::allowedOnceClauses_OMPD_parallel_masked_taskloop_simd,
3471 llvm::omp::allowedExclusiveClauses_OMPD_parallel_masked_taskloop_simd,
3472 llvm::omp::requiredClauses_OMPD_parallel_masked_taskloop_simd,
3473 }
3474 },
3475 {llvm::omp::Directive::OMPD_parallel_master,
3476 {
3477 llvm::omp::allowedClauses_OMPD_parallel_master,
3478 llvm::omp::allowedOnceClauses_OMPD_parallel_master,
3479 llvm::omp::allowedExclusiveClauses_OMPD_parallel_master,
3480 llvm::omp::requiredClauses_OMPD_parallel_master,
3481 }
3482 },
3483 {llvm::omp::Directive::OMPD_parallel_master_taskloop,
3484 {
3485 llvm::omp::allowedClauses_OMPD_parallel_master_taskloop,
3486 llvm::omp::allowedOnceClauses_OMPD_parallel_master_taskloop,
3487 llvm::omp::allowedExclusiveClauses_OMPD_parallel_master_taskloop,
3488 llvm::omp::requiredClauses_OMPD_parallel_master_taskloop,
3489 }
3490 },
3491 {llvm::omp::Directive::OMPD_parallel_master_taskloop_simd,
3492 {
3493 llvm::omp::allowedClauses_OMPD_parallel_master_taskloop_simd,
3494 llvm::omp::allowedOnceClauses_OMPD_parallel_master_taskloop_simd,
3495 llvm::omp::allowedExclusiveClauses_OMPD_parallel_master_taskloop_simd,
3496 llvm::omp::requiredClauses_OMPD_parallel_master_taskloop_simd,
3497 }
3498 },
3499 {llvm::omp::Directive::OMPD_parallel_sections,
3500 {
3501 llvm::omp::allowedClauses_OMPD_parallel_sections,
3502 llvm::omp::allowedOnceClauses_OMPD_parallel_sections,
3503 llvm::omp::allowedExclusiveClauses_OMPD_parallel_sections,
3504 llvm::omp::requiredClauses_OMPD_parallel_sections,
3505 }
3506 },
3507 {llvm::omp::Directive::OMPD_parallel_workshare,
3508 {
3509 llvm::omp::allowedClauses_OMPD_parallel_workshare,
3510 llvm::omp::allowedOnceClauses_OMPD_parallel_workshare,
3511 llvm::omp::allowedExclusiveClauses_OMPD_parallel_workshare,
3512 llvm::omp::requiredClauses_OMPD_parallel_workshare,
3513 }
3514 },
3515 {llvm::omp::Directive::OMPD_requires,
3516 {
3517 llvm::omp::allowedClauses_OMPD_requires,
3518 llvm::omp::allowedOnceClauses_OMPD_requires,
3519 llvm::omp::allowedExclusiveClauses_OMPD_requires,
3520 llvm::omp::requiredClauses_OMPD_requires,
3521 }
3522 },
3523 {llvm::omp::Directive::OMPD_reverse,
3524 {
3525 llvm::omp::allowedClauses_OMPD_reverse,
3526 llvm::omp::allowedOnceClauses_OMPD_reverse,
3527 llvm::omp::allowedExclusiveClauses_OMPD_reverse,
3528 llvm::omp::requiredClauses_OMPD_reverse,
3529 }
3530 },
3531 {llvm::omp::Directive::OMPD_scan,
3532 {
3533 llvm::omp::allowedClauses_OMPD_scan,
3534 llvm::omp::allowedOnceClauses_OMPD_scan,
3535 llvm::omp::allowedExclusiveClauses_OMPD_scan,
3536 llvm::omp::requiredClauses_OMPD_scan,
3537 }
3538 },
3539 {llvm::omp::Directive::OMPD_scope,
3540 {
3541 llvm::omp::allowedClauses_OMPD_scope,
3542 llvm::omp::allowedOnceClauses_OMPD_scope,
3543 llvm::omp::allowedExclusiveClauses_OMPD_scope,
3544 llvm::omp::requiredClauses_OMPD_scope,
3545 }
3546 },
3547 {llvm::omp::Directive::OMPD_section,
3548 {
3549 llvm::omp::allowedClauses_OMPD_section,
3550 llvm::omp::allowedOnceClauses_OMPD_section,
3551 llvm::omp::allowedExclusiveClauses_OMPD_section,
3552 llvm::omp::requiredClauses_OMPD_section,
3553 }
3554 },
3555 {llvm::omp::Directive::OMPD_sections,
3556 {
3557 llvm::omp::allowedClauses_OMPD_sections,
3558 llvm::omp::allowedOnceClauses_OMPD_sections,
3559 llvm::omp::allowedExclusiveClauses_OMPD_sections,
3560 llvm::omp::requiredClauses_OMPD_sections,
3561 }
3562 },
3563 {llvm::omp::Directive::OMPD_simd,
3564 {
3565 llvm::omp::allowedClauses_OMPD_simd,
3566 llvm::omp::allowedOnceClauses_OMPD_simd,
3567 llvm::omp::allowedExclusiveClauses_OMPD_simd,
3568 llvm::omp::requiredClauses_OMPD_simd,
3569 }
3570 },
3571 {llvm::omp::Directive::OMPD_single,
3572 {
3573 llvm::omp::allowedClauses_OMPD_single,
3574 llvm::omp::allowedOnceClauses_OMPD_single,
3575 llvm::omp::allowedExclusiveClauses_OMPD_single,
3576 llvm::omp::requiredClauses_OMPD_single,
3577 }
3578 },
3579 {llvm::omp::Directive::OMPD_split,
3580 {
3581 llvm::omp::allowedClauses_OMPD_split,
3582 llvm::omp::allowedOnceClauses_OMPD_split,
3583 llvm::omp::allowedExclusiveClauses_OMPD_split,
3584 llvm::omp::requiredClauses_OMPD_split,
3585 }
3586 },
3587 {llvm::omp::Directive::OMPD_stripe,
3588 {
3589 llvm::omp::allowedClauses_OMPD_stripe,
3590 llvm::omp::allowedOnceClauses_OMPD_stripe,
3591 llvm::omp::allowedExclusiveClauses_OMPD_stripe,
3592 llvm::omp::requiredClauses_OMPD_stripe,
3593 }
3594 },
3595 {llvm::omp::Directive::OMPD_target,
3596 {
3597 llvm::omp::allowedClauses_OMPD_target,
3598 llvm::omp::allowedOnceClauses_OMPD_target,
3599 llvm::omp::allowedExclusiveClauses_OMPD_target,
3600 llvm::omp::requiredClauses_OMPD_target,
3601 }
3602 },
3603 {llvm::omp::Directive::OMPD_target_data,
3604 {
3605 llvm::omp::allowedClauses_OMPD_target_data,
3606 llvm::omp::allowedOnceClauses_OMPD_target_data,
3607 llvm::omp::allowedExclusiveClauses_OMPD_target_data,
3608 llvm::omp::requiredClauses_OMPD_target_data,
3609 }
3610 },
3611 {llvm::omp::Directive::OMPD_target_enter_data,
3612 {
3613 llvm::omp::allowedClauses_OMPD_target_enter_data,
3614 llvm::omp::allowedOnceClauses_OMPD_target_enter_data,
3615 llvm::omp::allowedExclusiveClauses_OMPD_target_enter_data,
3616 llvm::omp::requiredClauses_OMPD_target_enter_data,
3617 }
3618 },
3619 {llvm::omp::Directive::OMPD_target_exit_data,
3620 {
3621 llvm::omp::allowedClauses_OMPD_target_exit_data,
3622 llvm::omp::allowedOnceClauses_OMPD_target_exit_data,
3623 llvm::omp::allowedExclusiveClauses_OMPD_target_exit_data,
3624 llvm::omp::requiredClauses_OMPD_target_exit_data,
3625 }
3626 },
3627 {llvm::omp::Directive::OMPD_target_parallel,
3628 {
3629 llvm::omp::allowedClauses_OMPD_target_parallel,
3630 llvm::omp::allowedOnceClauses_OMPD_target_parallel,
3631 llvm::omp::allowedExclusiveClauses_OMPD_target_parallel,
3632 llvm::omp::requiredClauses_OMPD_target_parallel,
3633 }
3634 },
3635 {llvm::omp::Directive::OMPD_target_parallel_do,
3636 {
3637 llvm::omp::allowedClauses_OMPD_target_parallel_do,
3638 llvm::omp::allowedOnceClauses_OMPD_target_parallel_do,
3639 llvm::omp::allowedExclusiveClauses_OMPD_target_parallel_do,
3640 llvm::omp::requiredClauses_OMPD_target_parallel_do,
3641 }
3642 },
3643 {llvm::omp::Directive::OMPD_target_parallel_do_simd,
3644 {
3645 llvm::omp::allowedClauses_OMPD_target_parallel_do_simd,
3646 llvm::omp::allowedOnceClauses_OMPD_target_parallel_do_simd,
3647 llvm::omp::allowedExclusiveClauses_OMPD_target_parallel_do_simd,
3648 llvm::omp::requiredClauses_OMPD_target_parallel_do_simd,
3649 }
3650 },
3651 {llvm::omp::Directive::OMPD_target_parallel_for,
3652 {
3653 llvm::omp::allowedClauses_OMPD_target_parallel_for,
3654 llvm::omp::allowedOnceClauses_OMPD_target_parallel_for,
3655 llvm::omp::allowedExclusiveClauses_OMPD_target_parallel_for,
3656 llvm::omp::requiredClauses_OMPD_target_parallel_for,
3657 }
3658 },
3659 {llvm::omp::Directive::OMPD_target_parallel_for_simd,
3660 {
3661 llvm::omp::allowedClauses_OMPD_target_parallel_for_simd,
3662 llvm::omp::allowedOnceClauses_OMPD_target_parallel_for_simd,
3663 llvm::omp::allowedExclusiveClauses_OMPD_target_parallel_for_simd,
3664 llvm::omp::requiredClauses_OMPD_target_parallel_for_simd,
3665 }
3666 },
3667 {llvm::omp::Directive::OMPD_target_simd,
3668 {
3669 llvm::omp::allowedClauses_OMPD_target_simd,
3670 llvm::omp::allowedOnceClauses_OMPD_target_simd,
3671 llvm::omp::allowedExclusiveClauses_OMPD_target_simd,
3672 llvm::omp::requiredClauses_OMPD_target_simd,
3673 }
3674 },
3675 {llvm::omp::Directive::OMPD_target_teams,
3676 {
3677 llvm::omp::allowedClauses_OMPD_target_teams,
3678 llvm::omp::allowedOnceClauses_OMPD_target_teams,
3679 llvm::omp::allowedExclusiveClauses_OMPD_target_teams,
3680 llvm::omp::requiredClauses_OMPD_target_teams,
3681 }
3682 },
3683 {llvm::omp::Directive::OMPD_target_teams_distribute,
3684 {
3685 llvm::omp::allowedClauses_OMPD_target_teams_distribute,
3686 llvm::omp::allowedOnceClauses_OMPD_target_teams_distribute,
3687 llvm::omp::allowedExclusiveClauses_OMPD_target_teams_distribute,
3688 llvm::omp::requiredClauses_OMPD_target_teams_distribute,
3689 }
3690 },
3691 {llvm::omp::Directive::OMPD_target_teams_distribute_parallel_do,
3692 {
3693 llvm::omp::allowedClauses_OMPD_target_teams_distribute_parallel_do,
3694 llvm::omp::allowedOnceClauses_OMPD_target_teams_distribute_parallel_do,
3695 llvm::omp::allowedExclusiveClauses_OMPD_target_teams_distribute_parallel_do,
3696 llvm::omp::requiredClauses_OMPD_target_teams_distribute_parallel_do,
3697 }
3698 },
3699 {llvm::omp::Directive::OMPD_target_teams_distribute_parallel_do_simd,
3700 {
3701 llvm::omp::allowedClauses_OMPD_target_teams_distribute_parallel_do_simd,
3702 llvm::omp::allowedOnceClauses_OMPD_target_teams_distribute_parallel_do_simd,
3703 llvm::omp::allowedExclusiveClauses_OMPD_target_teams_distribute_parallel_do_simd,
3704 llvm::omp::requiredClauses_OMPD_target_teams_distribute_parallel_do_simd,
3705 }
3706 },
3707 {llvm::omp::Directive::OMPD_target_teams_distribute_parallel_for,
3708 {
3709 llvm::omp::allowedClauses_OMPD_target_teams_distribute_parallel_for,
3710 llvm::omp::allowedOnceClauses_OMPD_target_teams_distribute_parallel_for,
3711 llvm::omp::allowedExclusiveClauses_OMPD_target_teams_distribute_parallel_for,
3712 llvm::omp::requiredClauses_OMPD_target_teams_distribute_parallel_for,
3713 }
3714 },
3715 {llvm::omp::Directive::OMPD_target_teams_distribute_parallel_for_simd,
3716 {
3717 llvm::omp::allowedClauses_OMPD_target_teams_distribute_parallel_for_simd,
3718 llvm::omp::allowedOnceClauses_OMPD_target_teams_distribute_parallel_for_simd,
3719 llvm::omp::allowedExclusiveClauses_OMPD_target_teams_distribute_parallel_for_simd,
3720 llvm::omp::requiredClauses_OMPD_target_teams_distribute_parallel_for_simd,
3721 }
3722 },
3723 {llvm::omp::Directive::OMPD_target_teams_distribute_simd,
3724 {
3725 llvm::omp::allowedClauses_OMPD_target_teams_distribute_simd,
3726 llvm::omp::allowedOnceClauses_OMPD_target_teams_distribute_simd,
3727 llvm::omp::allowedExclusiveClauses_OMPD_target_teams_distribute_simd,
3728 llvm::omp::requiredClauses_OMPD_target_teams_distribute_simd,
3729 }
3730 },
3731 {llvm::omp::Directive::OMPD_target_teams_workdistribute,
3732 {
3733 llvm::omp::allowedClauses_OMPD_target_teams_workdistribute,
3734 llvm::omp::allowedOnceClauses_OMPD_target_teams_workdistribute,
3735 llvm::omp::allowedExclusiveClauses_OMPD_target_teams_workdistribute,
3736 llvm::omp::requiredClauses_OMPD_target_teams_workdistribute,
3737 }
3738 },
3739 {llvm::omp::Directive::OMPD_target_update,
3740 {
3741 llvm::omp::allowedClauses_OMPD_target_update,
3742 llvm::omp::allowedOnceClauses_OMPD_target_update,
3743 llvm::omp::allowedExclusiveClauses_OMPD_target_update,
3744 llvm::omp::requiredClauses_OMPD_target_update,
3745 }
3746 },
3747 {llvm::omp::Directive::OMPD_task,
3748 {
3749 llvm::omp::allowedClauses_OMPD_task,
3750 llvm::omp::allowedOnceClauses_OMPD_task,
3751 llvm::omp::allowedExclusiveClauses_OMPD_task,
3752 llvm::omp::requiredClauses_OMPD_task,
3753 }
3754 },
3755 {llvm::omp::Directive::OMPD_taskgroup,
3756 {
3757 llvm::omp::allowedClauses_OMPD_taskgroup,
3758 llvm::omp::allowedOnceClauses_OMPD_taskgroup,
3759 llvm::omp::allowedExclusiveClauses_OMPD_taskgroup,
3760 llvm::omp::requiredClauses_OMPD_taskgroup,
3761 }
3762 },
3763 {llvm::omp::Directive::OMPD_task_iteration,
3764 {
3765 llvm::omp::allowedClauses_OMPD_task_iteration,
3766 llvm::omp::allowedOnceClauses_OMPD_task_iteration,
3767 llvm::omp::allowedExclusiveClauses_OMPD_task_iteration,
3768 llvm::omp::requiredClauses_OMPD_task_iteration,
3769 }
3770 },
3771 {llvm::omp::Directive::OMPD_taskloop,
3772 {
3773 llvm::omp::allowedClauses_OMPD_taskloop,
3774 llvm::omp::allowedOnceClauses_OMPD_taskloop,
3775 llvm::omp::allowedExclusiveClauses_OMPD_taskloop,
3776 llvm::omp::requiredClauses_OMPD_taskloop,
3777 }
3778 },
3779 {llvm::omp::Directive::OMPD_taskloop_simd,
3780 {
3781 llvm::omp::allowedClauses_OMPD_taskloop_simd,
3782 llvm::omp::allowedOnceClauses_OMPD_taskloop_simd,
3783 llvm::omp::allowedExclusiveClauses_OMPD_taskloop_simd,
3784 llvm::omp::requiredClauses_OMPD_taskloop_simd,
3785 }
3786 },
3787 {llvm::omp::Directive::OMPD_taskwait,
3788 {
3789 llvm::omp::allowedClauses_OMPD_taskwait,
3790 llvm::omp::allowedOnceClauses_OMPD_taskwait,
3791 llvm::omp::allowedExclusiveClauses_OMPD_taskwait,
3792 llvm::omp::requiredClauses_OMPD_taskwait,
3793 }
3794 },
3795 {llvm::omp::Directive::OMPD_taskyield,
3796 {
3797 llvm::omp::allowedClauses_OMPD_taskyield,
3798 llvm::omp::allowedOnceClauses_OMPD_taskyield,
3799 llvm::omp::allowedExclusiveClauses_OMPD_taskyield,
3800 llvm::omp::requiredClauses_OMPD_taskyield,
3801 }
3802 },
3803 {llvm::omp::Directive::OMPD_taskgraph,
3804 {
3805 llvm::omp::allowedClauses_OMPD_taskgraph,
3806 llvm::omp::allowedOnceClauses_OMPD_taskgraph,
3807 llvm::omp::allowedExclusiveClauses_OMPD_taskgraph,
3808 llvm::omp::requiredClauses_OMPD_taskgraph,
3809 }
3810 },
3811 {llvm::omp::Directive::OMPD_teams,
3812 {
3813 llvm::omp::allowedClauses_OMPD_teams,
3814 llvm::omp::allowedOnceClauses_OMPD_teams,
3815 llvm::omp::allowedExclusiveClauses_OMPD_teams,
3816 llvm::omp::requiredClauses_OMPD_teams,
3817 }
3818 },
3819 {llvm::omp::Directive::OMPD_teams_distribute,
3820 {
3821 llvm::omp::allowedClauses_OMPD_teams_distribute,
3822 llvm::omp::allowedOnceClauses_OMPD_teams_distribute,
3823 llvm::omp::allowedExclusiveClauses_OMPD_teams_distribute,
3824 llvm::omp::requiredClauses_OMPD_teams_distribute,
3825 }
3826 },
3827 {llvm::omp::Directive::OMPD_teams_distribute_parallel_do,
3828 {
3829 llvm::omp::allowedClauses_OMPD_teams_distribute_parallel_do,
3830 llvm::omp::allowedOnceClauses_OMPD_teams_distribute_parallel_do,
3831 llvm::omp::allowedExclusiveClauses_OMPD_teams_distribute_parallel_do,
3832 llvm::omp::requiredClauses_OMPD_teams_distribute_parallel_do,
3833 }
3834 },
3835 {llvm::omp::Directive::OMPD_teams_distribute_parallel_do_simd,
3836 {
3837 llvm::omp::allowedClauses_OMPD_teams_distribute_parallel_do_simd,
3838 llvm::omp::allowedOnceClauses_OMPD_teams_distribute_parallel_do_simd,
3839 llvm::omp::allowedExclusiveClauses_OMPD_teams_distribute_parallel_do_simd,
3840 llvm::omp::requiredClauses_OMPD_teams_distribute_parallel_do_simd,
3841 }
3842 },
3843 {llvm::omp::Directive::OMPD_teams_distribute_parallel_for,
3844 {
3845 llvm::omp::allowedClauses_OMPD_teams_distribute_parallel_for,
3846 llvm::omp::allowedOnceClauses_OMPD_teams_distribute_parallel_for,
3847 llvm::omp::allowedExclusiveClauses_OMPD_teams_distribute_parallel_for,
3848 llvm::omp::requiredClauses_OMPD_teams_distribute_parallel_for,
3849 }
3850 },
3851 {llvm::omp::Directive::OMPD_teams_distribute_parallel_for_simd,
3852 {
3853 llvm::omp::allowedClauses_OMPD_teams_distribute_parallel_for_simd,
3854 llvm::omp::allowedOnceClauses_OMPD_teams_distribute_parallel_for_simd,
3855 llvm::omp::allowedExclusiveClauses_OMPD_teams_distribute_parallel_for_simd,
3856 llvm::omp::requiredClauses_OMPD_teams_distribute_parallel_for_simd,
3857 }
3858 },
3859 {llvm::omp::Directive::OMPD_teams_distribute_simd,
3860 {
3861 llvm::omp::allowedClauses_OMPD_teams_distribute_simd,
3862 llvm::omp::allowedOnceClauses_OMPD_teams_distribute_simd,
3863 llvm::omp::allowedExclusiveClauses_OMPD_teams_distribute_simd,
3864 llvm::omp::requiredClauses_OMPD_teams_distribute_simd,
3865 }
3866 },
3867 {llvm::omp::Directive::OMPD_teams_workdistribute,
3868 {
3869 llvm::omp::allowedClauses_OMPD_teams_workdistribute,
3870 llvm::omp::allowedOnceClauses_OMPD_teams_workdistribute,
3871 llvm::omp::allowedExclusiveClauses_OMPD_teams_workdistribute,
3872 llvm::omp::requiredClauses_OMPD_teams_workdistribute,
3873 }
3874 },
3875 {llvm::omp::Directive::OMPD_threadprivate,
3876 {
3877 llvm::omp::allowedClauses_OMPD_threadprivate,
3878 llvm::omp::allowedOnceClauses_OMPD_threadprivate,
3879 llvm::omp::allowedExclusiveClauses_OMPD_threadprivate,
3880 llvm::omp::requiredClauses_OMPD_threadprivate,
3881 }
3882 },
3883 {llvm::omp::Directive::OMPD_tile,
3884 {
3885 llvm::omp::allowedClauses_OMPD_tile,
3886 llvm::omp::allowedOnceClauses_OMPD_tile,
3887 llvm::omp::allowedExclusiveClauses_OMPD_tile,
3888 llvm::omp::requiredClauses_OMPD_tile,
3889 }
3890 },
3891 {llvm::omp::Directive::OMPD_unknown,
3892 {
3893 llvm::omp::allowedClauses_OMPD_unknown,
3894 llvm::omp::allowedOnceClauses_OMPD_unknown,
3895 llvm::omp::allowedExclusiveClauses_OMPD_unknown,
3896 llvm::omp::requiredClauses_OMPD_unknown,
3897 }
3898 },
3899 {llvm::omp::Directive::OMPD_unroll,
3900 {
3901 llvm::omp::allowedClauses_OMPD_unroll,
3902 llvm::omp::allowedOnceClauses_OMPD_unroll,
3903 llvm::omp::allowedExclusiveClauses_OMPD_unroll,
3904 llvm::omp::requiredClauses_OMPD_unroll,
3905 }
3906 },
3907 {llvm::omp::Directive::OMPD_workdistribute,
3908 {
3909 llvm::omp::allowedClauses_OMPD_workdistribute,
3910 llvm::omp::allowedOnceClauses_OMPD_workdistribute,
3911 llvm::omp::allowedExclusiveClauses_OMPD_workdistribute,
3912 llvm::omp::requiredClauses_OMPD_workdistribute,
3913 }
3914 },
3915 {llvm::omp::Directive::OMPD_workshare,
3916 {
3917 llvm::omp::allowedClauses_OMPD_workshare,
3918 llvm::omp::allowedOnceClauses_OMPD_workshare,
3919 llvm::omp::allowedExclusiveClauses_OMPD_workshare,
3920 llvm::omp::requiredClauses_OMPD_workshare,
3921 }
3922 },
3923 {llvm::omp::Directive::OMPD_dispatch,
3924 {
3925 llvm::omp::allowedClauses_OMPD_dispatch,
3926 llvm::omp::allowedOnceClauses_OMPD_dispatch,
3927 llvm::omp::allowedExclusiveClauses_OMPD_dispatch,
3928 llvm::omp::requiredClauses_OMPD_dispatch,
3929 }
3930 },
3931 {llvm::omp::Directive::OMPD_interop,
3932 {
3933 llvm::omp::allowedClauses_OMPD_interop,
3934 llvm::omp::allowedOnceClauses_OMPD_interop,
3935 llvm::omp::allowedExclusiveClauses_OMPD_interop,
3936 llvm::omp::requiredClauses_OMPD_interop,
3937 }
3938 },
3939 {llvm::omp::Directive::OMPD_loop,
3940 {
3941 llvm::omp::allowedClauses_OMPD_loop,
3942 llvm::omp::allowedOnceClauses_OMPD_loop,
3943 llvm::omp::allowedExclusiveClauses_OMPD_loop,
3944 llvm::omp::requiredClauses_OMPD_loop,
3945 }
3946 },
3947 {llvm::omp::Directive::OMPD_masked,
3948 {
3949 llvm::omp::allowedClauses_OMPD_masked,
3950 llvm::omp::allowedOnceClauses_OMPD_masked,
3951 llvm::omp::allowedExclusiveClauses_OMPD_masked,
3952 llvm::omp::requiredClauses_OMPD_masked,
3953 }
3954 },
3955 {llvm::omp::Directive::OMPD_parallel_loop,
3956 {
3957 llvm::omp::allowedClauses_OMPD_parallel_loop,
3958 llvm::omp::allowedOnceClauses_OMPD_parallel_loop,
3959 llvm::omp::allowedExclusiveClauses_OMPD_parallel_loop,
3960 llvm::omp::requiredClauses_OMPD_parallel_loop,
3961 }
3962 },
3963 {llvm::omp::Directive::OMPD_target_loop,
3964 {
3965 llvm::omp::allowedClauses_OMPD_target_loop,
3966 llvm::omp::allowedOnceClauses_OMPD_target_loop,
3967 llvm::omp::allowedExclusiveClauses_OMPD_target_loop,
3968 llvm::omp::requiredClauses_OMPD_target_loop,
3969 }
3970 },
3971 {llvm::omp::Directive::OMPD_target_parallel_loop,
3972 {
3973 llvm::omp::allowedClauses_OMPD_target_parallel_loop,
3974 llvm::omp::allowedOnceClauses_OMPD_target_parallel_loop,
3975 llvm::omp::allowedExclusiveClauses_OMPD_target_parallel_loop,
3976 llvm::omp::requiredClauses_OMPD_target_parallel_loop,
3977 }
3978 },
3979 {llvm::omp::Directive::OMPD_target_teams_loop,
3980 {
3981 llvm::omp::allowedClauses_OMPD_target_teams_loop,
3982 llvm::omp::allowedOnceClauses_OMPD_target_teams_loop,
3983 llvm::omp::allowedExclusiveClauses_OMPD_target_teams_loop,
3984 llvm::omp::requiredClauses_OMPD_target_teams_loop,
3985 }
3986 },
3987 {llvm::omp::Directive::OMPD_teams_loop,
3988 {
3989 llvm::omp::allowedClauses_OMPD_teams_loop,
3990 llvm::omp::allowedOnceClauses_OMPD_teams_loop,
3991 llvm::omp::allowedExclusiveClauses_OMPD_teams_loop,
3992 llvm::omp::requiredClauses_OMPD_teams_loop,
3993 }
3994 },
3995}
3996
3997#endif // GEN_FLANG_DIRECTIVE_CLAUSE_MAP
3998
3999#ifdef GEN_FLANG_CLAUSE_PARSER_CLASSES
4000#undef GEN_FLANG_CLAUSE_PARSER_CLASSES
4001
4002WRAPPER_CLASS(Absent, OmpAbsentClause);
4003EMPTY_CLASS(AcqRel);
4004EMPTY_CLASS(Acquire);
4005WRAPPER_CLASS(AdjustArgs, OmpAdjustArgsClause);
4006WRAPPER_CLASS(Affinity, OmpAffinityClause);
4007WRAPPER_CLASS(Align, OmpAlignClause);
4008WRAPPER_CLASS(Aligned, OmpAlignedClause);
4009WRAPPER_CLASS(Allocate, OmpAllocateClause);
4010WRAPPER_CLASS(Allocator, ScalarIntExpr);
4011WRAPPER_CLASS(AppendArgs, OmpAppendArgsClause);
4012WRAPPER_CLASS(Apply, OmpApplyClause);
4013WRAPPER_CLASS(At, OmpAtClause);
4014WRAPPER_CLASS(AtomicDefaultMemOrder, OmpAtomicDefaultMemOrderClause);
4015WRAPPER_CLASS(Bind, OmpBindClause);
4016WRAPPER_CLASS(CancellationConstructType, OmpCancellationConstructTypeClause);
4017EMPTY_CLASS(Capture);
4018WRAPPER_CLASS(Collapse, ScalarIntConstantExpr);
4019EMPTY_CLASS(Collector);
4020WRAPPER_CLASS(Combiner, OmpCombinerClause);
4021EMPTY_CLASS(Compare);
4022WRAPPER_CLASS(Contains, OmpContainsClause);
4023WRAPPER_CLASS(Copyprivate, OmpObjectList);
4024WRAPPER_CLASS(Copyin, OmpObjectList);
4025EMPTY_CLASS(Counts);
4026WRAPPER_CLASS(Default, OmpDefaultClause);
4027WRAPPER_CLASS(Defaultmap, OmpDefaultmapClause);
4028WRAPPER_CLASS(DefaultVariant, OmpDefaultVariantClause);
4029WRAPPER_CLASS(Depend, OmpDependClause);
4030EMPTY_CLASS(Depobj);
4031WRAPPER_CLASS(Depth, ScalarIntConstantExpr);
4032WRAPPER_CLASS(Destroy, std::optional<OmpDestroyClause>);
4033WRAPPER_CLASS(Detach, OmpDetachClause);
4034WRAPPER_CLASS(Device, OmpDeviceClause);
4035WRAPPER_CLASS(DeviceSafesync, std::optional<OmpDeviceSafesyncClause>);
4036WRAPPER_CLASS(DeviceType, OmpDeviceTypeClause);
4037WRAPPER_CLASS(DistSchedule, std::optional<ScalarIntExpr>);
4038WRAPPER_CLASS(Doacross, OmpDoacrossClause);
4039WRAPPER_CLASS(DynGroupprivate, OmpDynGroupprivateClause);
4040WRAPPER_CLASS(DynamicAllocators, std::optional<OmpDynamicAllocatorsClause>);
4041WRAPPER_CLASS(Enter, OmpEnterClause);
4042WRAPPER_CLASS(Exclusive, OmpObjectList);
4043WRAPPER_CLASS(Fail, OmpFailClause);
4044WRAPPER_CLASS(Filter, ScalarIntExpr);
4045WRAPPER_CLASS(Final, ScalarLogicalExpr);
4046WRAPPER_CLASS(Firstprivate, OmpObjectList);
4047EMPTY_CLASS(Flush);
4048WRAPPER_CLASS(From, OmpFromClause);
4049EMPTY_CLASS(Full);
4050WRAPPER_CLASS(Grainsize, OmpGrainsizeClause);
4051WRAPPER_CLASS(GraphId, OmpGraphIdClause);
4052WRAPPER_CLASS(GraphReset, std::optional<OmpGraphResetClause>);
4053EMPTY_CLASS(Groupprivate);
4054WRAPPER_CLASS(HasDeviceAddr, OmpObjectList);
4055WRAPPER_CLASS(Hint, OmpHintClause);
4056WRAPPER_CLASS(Holds, OmpHoldsClause);
4057WRAPPER_CLASS(If, OmpIfClause);
4058WRAPPER_CLASS(InReduction, OmpInReductionClause);
4059EMPTY_CLASS(Inbranch);
4060WRAPPER_CLASS(Inclusive, OmpObjectList);
4061WRAPPER_CLASS(Indirect, OmpIndirectClause);
4062EMPTY_CLASS(Induction);
4063EMPTY_CLASS(Inductor);
4064WRAPPER_CLASS(Init, OmpInitClause);
4065EMPTY_CLASS(InitComplete);
4066WRAPPER_CLASS(Initializer, OmpInitializerClause);
4067EMPTY_CLASS(Interop);
4068WRAPPER_CLASS(IsDevicePtr, OmpObjectList);
4069WRAPPER_CLASS(Lastprivate, OmpLastprivateClause);
4070WRAPPER_CLASS(Linear, OmpLinearClause);
4071WRAPPER_CLASS(Link, OmpObjectList);
4072EMPTY_CLASS(Local);
4073WRAPPER_CLASS(Looprange, OmpLooprangeClause);
4074WRAPPER_CLASS(Map, OmpMapClause);
4075WRAPPER_CLASS(Match, OmpMatchClause);
4076EMPTY_CLASS(MemoryOrder);
4077EMPTY_CLASS(Memscope);
4078EMPTY_CLASS(Mergeable);
4079WRAPPER_CLASS(Message, OmpMessageClause);
4080EMPTY_CLASS(Nogroup);
4081EMPTY_CLASS(NoOpenmp);
4082EMPTY_CLASS(NoOpenmpConstructs);
4083EMPTY_CLASS(NoOpenmpRoutines);
4084WRAPPER_CLASS(NoParallelism, std::optional<OmpNoParallelismClause>);
4085EMPTY_CLASS(Nowait);
4086WRAPPER_CLASS(Nocontext, ScalarLogicalExpr);
4087WRAPPER_CLASS(Nontemporal, OmpObjectList);
4088EMPTY_CLASS(Notinbranch);
4089WRAPPER_CLASS(Novariants, ScalarLogicalExpr);
4090WRAPPER_CLASS(NumTasks, OmpNumTasksClause);
4091WRAPPER_CLASS(NumTeams, OmpNumTeamsClause);
4092WRAPPER_CLASS(NumThreads, OmpNumThreadsClause);
4093EMPTY_CLASS(OmpxAttribute);
4094EMPTY_CLASS(OmpxBare);
4095WRAPPER_CLASS(OmpxDynCgroupMem, ScalarIntExpr);
4096WRAPPER_CLASS(Order, OmpOrderClause);
4097WRAPPER_CLASS(Ordered, std::optional<ScalarIntConstantExpr>);
4098WRAPPER_CLASS(Otherwise, std::optional<OmpOtherwiseClause>);
4099WRAPPER_CLASS(Partial, std::optional<ScalarIntConstantExpr>);
4100WRAPPER_CLASS(Permutation, std::list<ScalarIntConstantExpr>);
4101WRAPPER_CLASS(Priority, ScalarIntExpr);
4102WRAPPER_CLASS(Private, OmpObjectList);
4103WRAPPER_CLASS(ProcBind, OmpProcBindClause);
4104EMPTY_CLASS(Read);
4105WRAPPER_CLASS(Reduction, OmpReductionClause);
4106EMPTY_CLASS(ReductionKind);
4107EMPTY_CLASS(Relaxed);
4108EMPTY_CLASS(Release);
4109WRAPPER_CLASS(Replayable, std::optional<OmpReplayableClause>);
4110WRAPPER_CLASS(ReverseOffload, std::optional<OmpReverseOffloadClause>);
4111WRAPPER_CLASS(Safelen, ScalarIntConstantExpr);
4112EMPTY_CLASS(Safesync);
4113WRAPPER_CLASS(Schedule, OmpScheduleClause);
4114WRAPPER_CLASS(SelfMaps, std::optional<OmpSelfMapsClause>);
4115EMPTY_CLASS(SeqCst);
4116WRAPPER_CLASS(Severity, OmpSeverityClause);
4117WRAPPER_CLASS(Shared, OmpObjectList);
4118EMPTY_CLASS(Shift);
4119EMPTY_CLASS(Simd);
4120WRAPPER_CLASS(Simdlen, ScalarIntConstantExpr);
4121WRAPPER_CLASS(Sizes, std::list<ScalarIntExpr>);
4122WRAPPER_CLASS(TaskReduction, OmpTaskReductionClause);
4123WRAPPER_CLASS(ThreadLimit, OmpThreadLimitClause);
4124EMPTY_CLASS(Threadprivate);
4125EMPTY_CLASS(Threads);
4126WRAPPER_CLASS(Threadset, OmpThreadsetClause);
4127WRAPPER_CLASS(To, OmpToClause);
4128WRAPPER_CLASS(Transparent, std::optional<OmpTransparentClause>);
4129WRAPPER_CLASS(UnifiedAddress, std::optional<OmpUnifiedAddressClause>);
4130WRAPPER_CLASS(UnifiedSharedMemory, std::optional<OmpUnifiedSharedMemoryClause>);
4131WRAPPER_CLASS(Uniform, std::list<Name>);
4132EMPTY_CLASS(Unknown);
4133EMPTY_CLASS(Untied);
4134EMPTY_CLASS(Update);
4135WRAPPER_CLASS(UpdateDependObjects, OmpUpdateDependObjectsClause);
4136WRAPPER_CLASS(Use, OmpUseClause);
4137WRAPPER_CLASS(UseDeviceAddr, OmpObjectList);
4138WRAPPER_CLASS(UseDevicePtr, OmpObjectList);
4139WRAPPER_CLASS(UsesAllocators, OmpUsesAllocatorsClause);
4140EMPTY_CLASS(Weak);
4141WRAPPER_CLASS(When, OmpWhenClause);
4142EMPTY_CLASS(Write);
4143
4144#endif // GEN_FLANG_CLAUSE_PARSER_CLASSES
4145
4146#ifdef GEN_FLANG_CLAUSE_PARSER_CLASSES_LIST
4147#undef GEN_FLANG_CLAUSE_PARSER_CLASSES_LIST
4148
4149Absent
4150, AcqRel
4151, Acquire
4152, AdjustArgs
4153, Affinity
4154, Align
4155, Aligned
4156, Allocate
4157, Allocator
4158, AppendArgs
4159, Apply
4160, At
4161, AtomicDefaultMemOrder
4162, Bind
4163, CancellationConstructType
4164, Capture
4165, Collapse
4166, Collector
4167, Combiner
4168, Compare
4169, Contains
4170, Copyprivate
4171, Copyin
4172, Counts
4173, Default
4174, Defaultmap
4175, DefaultVariant
4176, Depend
4177, Depobj
4178, Depth
4179, Destroy
4180, Detach
4181, Device
4182, DeviceSafesync
4183, DeviceType
4184, DistSchedule
4185, Doacross
4186, DynGroupprivate
4187, DynamicAllocators
4188, Enter
4189, Exclusive
4190, Fail
4191, Filter
4192, Final
4193, Firstprivate
4194, Flush
4195, From
4196, Full
4197, Grainsize
4198, GraphId
4199, GraphReset
4200, Groupprivate
4201, HasDeviceAddr
4202, Hint
4203, Holds
4204, If
4205, InReduction
4206, Inbranch
4207, Inclusive
4208, Indirect
4209, Induction
4210, Inductor
4211, Init
4212, InitComplete
4213, Initializer
4214, Interop
4215, IsDevicePtr
4216, Lastprivate
4217, Linear
4218, Link
4219, Local
4220, Looprange
4221, Map
4222, Match
4223, MemoryOrder
4224, Memscope
4225, Mergeable
4226, Message
4227, Nogroup
4228, NoOpenmp
4229, NoOpenmpConstructs
4230, NoOpenmpRoutines
4231, NoParallelism
4232, Nowait
4233, Nocontext
4234, Nontemporal
4235, Notinbranch
4236, Novariants
4237, NumTasks
4238, NumTeams
4239, NumThreads
4240, OmpxAttribute
4241, OmpxBare
4242, OmpxDynCgroupMem
4243, Order
4244, Ordered
4245, Otherwise
4246, Partial
4247, Permutation
4248, Priority
4249, Private
4250, ProcBind
4251, Read
4252, Reduction
4253, ReductionKind
4254, Relaxed
4255, Release
4256, Replayable
4257, ReverseOffload
4258, Safelen
4259, Safesync
4260, Schedule
4261, SelfMaps
4262, SeqCst
4263, Severity
4264, Shared
4265, Shift
4266, Simd
4267, Simdlen
4268, Sizes
4269, TaskReduction
4270, ThreadLimit
4271, Threadprivate
4272, Threads
4273, Threadset
4274, To
4275, Transparent
4276, UnifiedAddress
4277, UnifiedSharedMemory
4278, Uniform
4279, Unknown
4280, Untied
4281, Update
4282, UpdateDependObjects
4283, Use
4284, UseDeviceAddr
4285, UseDevicePtr
4286, UsesAllocators
4287, Weak
4288, When
4289, Write
4290
4291#endif // GEN_FLANG_CLAUSE_PARSER_CLASSES_LIST
4292
4293#ifdef GEN_FLANG_DUMP_PARSE_TREE_CLAUSES
4294#undef GEN_FLANG_DUMP_PARSE_TREE_CLAUSES
4295
4296NODE(OmpClause, Absent)
4297NODE(OmpClause, AcqRel)
4298NODE(OmpClause, Acquire)
4299NODE(OmpClause, AdjustArgs)
4300NODE(OmpClause, Affinity)
4301NODE(OmpClause, Align)
4302NODE(OmpClause, Aligned)
4303NODE(OmpClause, Allocate)
4304NODE(OmpClause, Allocator)
4305NODE(OmpClause, AppendArgs)
4306NODE(OmpClause, Apply)
4307NODE(OmpClause, At)
4308NODE(OmpClause, AtomicDefaultMemOrder)
4309NODE(OmpClause, Bind)
4310NODE(OmpClause, CancellationConstructType)
4311NODE(OmpClause, Capture)
4312NODE(OmpClause, Collapse)
4313NODE(OmpClause, Collector)
4314NODE(OmpClause, Combiner)
4315NODE(OmpClause, Compare)
4316NODE(OmpClause, Contains)
4317NODE(OmpClause, Copyprivate)
4318NODE(OmpClause, Copyin)
4319NODE(OmpClause, Counts)
4320NODE(OmpClause, Default)
4321NODE(OmpClause, Defaultmap)
4322NODE(OmpClause, DefaultVariant)
4323NODE(OmpClause, Depend)
4324NODE(OmpClause, Depobj)
4325NODE(OmpClause, Depth)
4326NODE(OmpClause, Destroy)
4327NODE(OmpClause, Detach)
4328NODE(OmpClause, Device)
4329NODE(OmpClause, DeviceSafesync)
4330NODE(OmpClause, DeviceType)
4331NODE(OmpClause, DistSchedule)
4332NODE(OmpClause, Doacross)
4333NODE(OmpClause, DynGroupprivate)
4334NODE(OmpClause, DynamicAllocators)
4335NODE(OmpClause, Enter)
4336NODE(OmpClause, Exclusive)
4337NODE(OmpClause, Fail)
4338NODE(OmpClause, Filter)
4339NODE(OmpClause, Final)
4340NODE(OmpClause, Firstprivate)
4341NODE(OmpClause, Flush)
4342NODE(OmpClause, From)
4343NODE(OmpClause, Full)
4344NODE(OmpClause, Grainsize)
4345NODE(OmpClause, GraphId)
4346NODE(OmpClause, GraphReset)
4347NODE(OmpClause, Groupprivate)
4348NODE(OmpClause, HasDeviceAddr)
4349NODE(OmpClause, Hint)
4350NODE(OmpClause, Holds)
4351NODE(OmpClause, If)
4352NODE(OmpClause, InReduction)
4353NODE(OmpClause, Inbranch)
4354NODE(OmpClause, Inclusive)
4355NODE(OmpClause, Indirect)
4356NODE(OmpClause, Induction)
4357NODE(OmpClause, Inductor)
4358NODE(OmpClause, Init)
4359NODE(OmpClause, InitComplete)
4360NODE(OmpClause, Initializer)
4361NODE(OmpClause, Interop)
4362NODE(OmpClause, IsDevicePtr)
4363NODE(OmpClause, Lastprivate)
4364NODE(OmpClause, Linear)
4365NODE(OmpClause, Link)
4366NODE(OmpClause, Local)
4367NODE(OmpClause, Looprange)
4368NODE(OmpClause, Map)
4369NODE(OmpClause, Match)
4370NODE(OmpClause, MemoryOrder)
4371NODE(OmpClause, Memscope)
4372NODE(OmpClause, Mergeable)
4373NODE(OmpClause, Message)
4374NODE(OmpClause, Nogroup)
4375NODE(OmpClause, NoOpenmp)
4376NODE(OmpClause, NoOpenmpConstructs)
4377NODE(OmpClause, NoOpenmpRoutines)
4378NODE(OmpClause, NoParallelism)
4379NODE(OmpClause, Nowait)
4380NODE(OmpClause, Nocontext)
4381NODE(OmpClause, Nontemporal)
4382NODE(OmpClause, Notinbranch)
4383NODE(OmpClause, Novariants)
4384NODE(OmpClause, NumTasks)
4385NODE(OmpClause, NumTeams)
4386NODE(OmpClause, NumThreads)
4387NODE(OmpClause, OmpxAttribute)
4388NODE(OmpClause, OmpxBare)
4389NODE(OmpClause, OmpxDynCgroupMem)
4390NODE(OmpClause, Order)
4391NODE(OmpClause, Ordered)
4392NODE(OmpClause, Otherwise)
4393NODE(OmpClause, Partial)
4394NODE(OmpClause, Permutation)
4395NODE(OmpClause, Priority)
4396NODE(OmpClause, Private)
4397NODE(OmpClause, ProcBind)
4398NODE(OmpClause, Read)
4399NODE(OmpClause, Reduction)
4400NODE(OmpClause, ReductionKind)
4401NODE(OmpClause, Relaxed)
4402NODE(OmpClause, Release)
4403NODE(OmpClause, Replayable)
4404NODE(OmpClause, ReverseOffload)
4405NODE(OmpClause, Safelen)
4406NODE(OmpClause, Safesync)
4407NODE(OmpClause, Schedule)
4408NODE(OmpClause, SelfMaps)
4409NODE(OmpClause, SeqCst)
4410NODE(OmpClause, Severity)
4411NODE(OmpClause, Shared)
4412NODE(OmpClause, Shift)
4413NODE(OmpClause, Simd)
4414NODE(OmpClause, Simdlen)
4415NODE(OmpClause, Sizes)
4416NODE(OmpClause, TaskReduction)
4417NODE(OmpClause, ThreadLimit)
4418NODE(OmpClause, Threadprivate)
4419NODE(OmpClause, Threads)
4420NODE(OmpClause, Threadset)
4421NODE(OmpClause, To)
4422NODE(OmpClause, Transparent)
4423NODE(OmpClause, UnifiedAddress)
4424NODE(OmpClause, UnifiedSharedMemory)
4425NODE(OmpClause, Uniform)
4426NODE(OmpClause, Unknown)
4427NODE(OmpClause, Untied)
4428NODE(OmpClause, Update)
4429NODE(OmpClause, UpdateDependObjects)
4430NODE(OmpClause, Use)
4431NODE(OmpClause, UseDeviceAddr)
4432NODE(OmpClause, UseDevicePtr)
4433NODE(OmpClause, UsesAllocators)
4434NODE(OmpClause, Weak)
4435NODE(OmpClause, When)
4436NODE(OmpClause, Write)
4437
4438#endif // GEN_FLANG_DUMP_PARSE_TREE_CLAUSES
4439
4440#ifdef GEN_FLANG_CLAUSE_UNPARSE
4441#undef GEN_FLANG_CLAUSE_UNPARSE
4442
4443void Unparse(const OmpClause::Absent &x) {
4444 Word("ABSENT");
4445 Put("(");
4446 Walk(x.v);
4447 Put(")");
4448}
4449void Before(const OmpClause::AcqRel &) { Word("ACQ_REL"); }
4450void Before(const OmpClause::Acquire &) { Word("ACQUIRE"); }
4451void Unparse(const OmpClause::AdjustArgs &x) {
4452 Word("ADJUST_ARGS");
4453 Put("(");
4454 Walk(x.v);
4455 Put(")");
4456}
4457void Unparse(const OmpClause::Affinity &x) {
4458 Word("AFFINITY");
4459 Put("(");
4460 Walk(x.v);
4461 Put(")");
4462}
4463void Unparse(const OmpClause::Align &x) {
4464 Word("ALIGN");
4465 Put("(");
4466 Walk(x.v);
4467 Put(")");
4468}
4469void Unparse(const OmpClause::Aligned &x) {
4470 Word("ALIGNED");
4471 Put("(");
4472 Walk(x.v);
4473 Put(")");
4474}
4475void Unparse(const OmpClause::Allocate &x) {
4476 Word("ALLOCATE");
4477 Put("(");
4478 Walk(x.v);
4479 Put(")");
4480}
4481void Unparse(const OmpClause::Allocator &x) {
4482 Word("ALLOCATOR");
4483 Put("(");
4484 Walk(x.v);
4485 Put(")");
4486}
4487void Unparse(const OmpClause::AppendArgs &x) {
4488 Word("APPEND_ARGS");
4489 Put("(");
4490 Walk(x.v);
4491 Put(")");
4492}
4493void Unparse(const OmpClause::Apply &x) {
4494 Word("APPLY");
4495 Put("(");
4496 Walk(x.v);
4497 Put(")");
4498}
4499void Unparse(const OmpClause::At &x) {
4500 Word("AT");
4501 Put("(");
4502 Walk(x.v);
4503 Put(")");
4504}
4505void Unparse(const OmpClause::AtomicDefaultMemOrder &x) {
4506 Word("ATOMIC_DEFAULT_MEM_ORDER");
4507 Put("(");
4508 Walk(x.v);
4509 Put(")");
4510}
4511void Unparse(const OmpClause::Bind &x) {
4512 Word("BIND");
4513 Put("(");
4514 Walk(x.v);
4515 Put(")");
4516}
4517void Before(const OmpClause::Capture &) { Word("CAPTURE"); }
4518void Unparse(const OmpClause::Collapse &x) {
4519 Word("COLLAPSE");
4520 Put("(");
4521 Walk(x.v);
4522 Put(")");
4523}
4524void Before(const OmpClause::Collector &) { Word("COLLECTOR"); }
4525void Unparse(const OmpClause::Combiner &x) {
4526 Word("COMBINER");
4527 Put("(");
4528 Walk(x.v);
4529 Put(")");
4530}
4531void Before(const OmpClause::Compare &) { Word("COMPARE"); }
4532void Unparse(const OmpClause::Contains &x) {
4533 Word("CONTAINS");
4534 Put("(");
4535 Walk(x.v);
4536 Put(")");
4537}
4538void Unparse(const OmpClause::Copyprivate &x) {
4539 Word("COPYPRIVATE");
4540 Put("(");
4541 Walk(x.v);
4542 Put(")");
4543}
4544void Unparse(const OmpClause::Copyin &x) {
4545 Word("COPYIN");
4546 Put("(");
4547 Walk(x.v);
4548 Put(")");
4549}
4550void Before(const OmpClause::Counts &) { Word("COUNTS"); }
4551void Unparse(const OmpClause::Default &x) {
4552 Word("DEFAULT");
4553 Put("(");
4554 Walk(x.v);
4555 Put(")");
4556}
4557void Unparse(const OmpClause::Defaultmap &x) {
4558 Word("DEFAULTMAP");
4559 Put("(");
4560 Walk(x.v);
4561 Put(")");
4562}
4563void Unparse(const OmpClause::DefaultVariant &x) {
4564 Word("DEFAULT");
4565 Put("(");
4566 Walk(x.v);
4567 Put(")");
4568}
4569void Unparse(const OmpClause::Depend &x) {
4570 Word("DEPEND");
4571 Put("(");
4572 Walk(x.v);
4573 Put(")");
4574}
4575void Before(const OmpClause::Depobj &) { Word("DEPOBJ"); }
4576void Unparse(const OmpClause::Depth &x) {
4577 Word("DEPTH");
4578 Put("(");
4579 Walk(x.v);
4580 Put(")");
4581}
4582void Unparse(const OmpClause::Destroy &x) {
4583 Word("DESTROY");
4584 Walk("(", x.v, ")");
4585}
4586void Unparse(const OmpClause::Detach &x) {
4587 Word("DETACH");
4588 Put("(");
4589 Walk(x.v);
4590 Put(")");
4591}
4592void Unparse(const OmpClause::Device &x) {
4593 Word("DEVICE");
4594 Put("(");
4595 Walk(x.v);
4596 Put(")");
4597}
4598void Unparse(const OmpClause::DeviceSafesync &x) {
4599 Word("DEVICE_SAFESYNC");
4600 Walk("(", x.v, ")");
4601}
4602void Unparse(const OmpClause::DeviceType &x) {
4603 Word("DEVICE_TYPE");
4604 Put("(");
4605 Walk(x.v);
4606 Put(")");
4607}
4608void Unparse(const OmpClause::DistSchedule &x) {
4609 Word("DIST_SCHEDULE");
4610 Walk("(", x.v, ")");
4611}
4612void Unparse(const OmpClause::Doacross &x) {
4613 Word("DOACROSS");
4614 Put("(");
4615 Walk(x.v);
4616 Put(")");
4617}
4618void Unparse(const OmpClause::DynGroupprivate &x) {
4619 Word("DYN_GROUPPRIVATE");
4620 Put("(");
4621 Walk(x.v);
4622 Put(")");
4623}
4624void Unparse(const OmpClause::DynamicAllocators &x) {
4625 Word("DYNAMIC_ALLOCATORS");
4626 Walk("(", x.v, ")");
4627}
4628void Unparse(const OmpClause::Enter &x) {
4629 Word("ENTER");
4630 Put("(");
4631 Walk(x.v);
4632 Put(")");
4633}
4634void Unparse(const OmpClause::Exclusive &x) {
4635 Word("EXCLUSIVE");
4636 Put("(");
4637 Walk(x.v);
4638 Put(")");
4639}
4640void Unparse(const OmpClause::Fail &x) {
4641 Word("FAIL");
4642 Put("(");
4643 Walk(x.v);
4644 Put(")");
4645}
4646void Unparse(const OmpClause::Filter &x) {
4647 Word("FILTER");
4648 Put("(");
4649 Walk(x.v);
4650 Put(")");
4651}
4652void Unparse(const OmpClause::Final &x) {
4653 Word("FINAL");
4654 Put("(");
4655 Walk(x.v);
4656 Put(")");
4657}
4658void Unparse(const OmpClause::Firstprivate &x) {
4659 Word("FIRSTPRIVATE");
4660 Put("(");
4661 Walk(x.v);
4662 Put(")");
4663}
4664void Before(const OmpClause::Flush &) { Word("FLUSH"); }
4665void Unparse(const OmpClause::From &x) {
4666 Word("FROM");
4667 Put("(");
4668 Walk(x.v);
4669 Put(")");
4670}
4671void Before(const OmpClause::Full &) { Word("FULL"); }
4672void Unparse(const OmpClause::Grainsize &x) {
4673 Word("GRAINSIZE");
4674 Put("(");
4675 Walk(x.v);
4676 Put(")");
4677}
4678void Unparse(const OmpClause::GraphId &x) {
4679 Word("GRAPH_ID");
4680 Put("(");
4681 Walk(x.v);
4682 Put(")");
4683}
4684void Unparse(const OmpClause::GraphReset &x) {
4685 Word("GRAPH_RESET");
4686 Walk("(", x.v, ")");
4687}
4688void Before(const OmpClause::Groupprivate &) { Word("GROUPPRIVATE"); }
4689void Unparse(const OmpClause::HasDeviceAddr &x) {
4690 Word("HAS_DEVICE_ADDR");
4691 Put("(");
4692 Walk(x.v);
4693 Put(")");
4694}
4695void Unparse(const OmpClause::Hint &x) {
4696 Word("HINT");
4697 Put("(");
4698 Walk(x.v);
4699 Put(")");
4700}
4701void Unparse(const OmpClause::Holds &x) {
4702 Word("HOLDS");
4703 Put("(");
4704 Walk(x.v);
4705 Put(")");
4706}
4707void Unparse(const OmpClause::If &x) {
4708 Word("IF");
4709 Put("(");
4710 Walk(x.v);
4711 Put(")");
4712}
4713void Unparse(const OmpClause::InReduction &x) {
4714 Word("IN_REDUCTION");
4715 Put("(");
4716 Walk(x.v);
4717 Put(")");
4718}
4719void Before(const OmpClause::Inbranch &) { Word("INBRANCH"); }
4720void Unparse(const OmpClause::Inclusive &x) {
4721 Word("INCLUSIVE");
4722 Put("(");
4723 Walk(x.v);
4724 Put(")");
4725}
4726void Unparse(const OmpClause::Indirect &x) {
4727 Word("INDIRECT");
4728 Put("(");
4729 Walk(x.v);
4730 Put(")");
4731}
4732void Before(const OmpClause::Induction &) { Word("INDUCTION"); }
4733void Before(const OmpClause::Inductor &) { Word("INDUCTOR"); }
4734void Unparse(const OmpClause::Init &x) {
4735 Word("INIT");
4736 Put("(");
4737 Walk(x.v);
4738 Put(")");
4739}
4740void Before(const OmpClause::InitComplete &) { Word("INIT_COMPLETE"); }
4741void Unparse(const OmpClause::Initializer &x) {
4742 Word("INITIALIZER");
4743 Put("(");
4744 Walk(x.v);
4745 Put(")");
4746}
4747void Before(const OmpClause::Interop &) { Word("INTEROP"); }
4748void Unparse(const OmpClause::IsDevicePtr &x) {
4749 Word("IS_DEVICE_PTR");
4750 Put("(");
4751 Walk(x.v);
4752 Put(")");
4753}
4754void Unparse(const OmpClause::Lastprivate &x) {
4755 Word("LASTPRIVATE");
4756 Put("(");
4757 Walk(x.v);
4758 Put(")");
4759}
4760void Unparse(const OmpClause::Linear &x) {
4761 Word("LINEAR");
4762 Put("(");
4763 Walk(x.v);
4764 Put(")");
4765}
4766void Unparse(const OmpClause::Link &x) {
4767 Word("LINK");
4768 Put("(");
4769 Walk(x.v);
4770 Put(")");
4771}
4772void Before(const OmpClause::Local &) { Word("LOCAL"); }
4773void Unparse(const OmpClause::Looprange &x) {
4774 Word("LOOPRANGE");
4775 Put("(");
4776 Walk(x.v);
4777 Put(")");
4778}
4779void Unparse(const OmpClause::Map &x) {
4780 Word("MAP");
4781 Put("(");
4782 Walk(x.v);
4783 Put(")");
4784}
4785void Unparse(const OmpClause::Match &x) {
4786 Word("MATCH");
4787 Put("(");
4788 Walk(x.v);
4789 Put(")");
4790}
4791void Before(const OmpClause::MemoryOrder &) { Word("MEMORY_ORDER"); }
4792void Before(const OmpClause::Memscope &) { Word("MEMSCOPE"); }
4793void Before(const OmpClause::Mergeable &) { Word("MERGEABLE"); }
4794void Unparse(const OmpClause::Message &x) {
4795 Word("MESSAGE");
4796 Put("(");
4797 Walk(x.v);
4798 Put(")");
4799}
4800void Before(const OmpClause::Nogroup &) { Word("NOGROUP"); }
4801void Before(const OmpClause::NoOpenmp &) { Word("NO_OPENMP"); }
4802void Before(const OmpClause::NoOpenmpConstructs &) { Word("NO_OPENMP_CONSTRUCTS"); }
4803void Before(const OmpClause::NoOpenmpRoutines &) { Word("NO_OPENMP_ROUTINES"); }
4804void Unparse(const OmpClause::NoParallelism &x) {
4805 Word("NO_PARALLELISM");
4806 Walk("(", x.v, ")");
4807}
4808void Before(const OmpClause::Nowait &) { Word("NOWAIT"); }
4809void Unparse(const OmpClause::Nocontext &x) {
4810 Word("NOCONTEXT");
4811 Put("(");
4812 Walk(x.v);
4813 Put(")");
4814}
4815void Unparse(const OmpClause::Nontemporal &x) {
4816 Word("NONTEMPORAL");
4817 Put("(");
4818 Walk(x.v);
4819 Put(")");
4820}
4821void Before(const OmpClause::Notinbranch &) { Word("NOTINBRANCH"); }
4822void Unparse(const OmpClause::Novariants &x) {
4823 Word("NOVARIANTS");
4824 Put("(");
4825 Walk(x.v);
4826 Put(")");
4827}
4828void Unparse(const OmpClause::NumTasks &x) {
4829 Word("NUM_TASKS");
4830 Put("(");
4831 Walk(x.v);
4832 Put(")");
4833}
4834void Unparse(const OmpClause::NumTeams &x) {
4835 Word("NUM_TEAMS");
4836 Put("(");
4837 Walk(x.v);
4838 Put(")");
4839}
4840void Unparse(const OmpClause::NumThreads &x) {
4841 Word("NUM_THREADS");
4842 Put("(");
4843 Walk(x.v);
4844 Put(")");
4845}
4846void Before(const OmpClause::OmpxAttribute &) { Word("OMPX_ATTRIBUTE"); }
4847void Before(const OmpClause::OmpxBare &) { Word("OMPX_BARE"); }
4848void Unparse(const OmpClause::OmpxDynCgroupMem &x) {
4849 Word("OMPX_DYN_CGROUP_MEM");
4850 Put("(");
4851 Walk(x.v);
4852 Put(")");
4853}
4854void Unparse(const OmpClause::Order &x) {
4855 Word("ORDER");
4856 Put("(");
4857 Walk(x.v);
4858 Put(")");
4859}
4860void Unparse(const OmpClause::Ordered &x) {
4861 Word("ORDERED");
4862 Walk("(", x.v, ")");
4863}
4864void Unparse(const OmpClause::Otherwise &x) {
4865 Word("OTHERWISE");
4866 Walk("(", x.v, ")");
4867}
4868void Unparse(const OmpClause::Partial &x) {
4869 Word("PARTIAL");
4870 Walk("(", x.v, ")");
4871}
4872void Unparse(const OmpClause::Permutation &x) {
4873 Word("PERMUTATION");
4874 Put("(");
4875 Walk(x.v, ",");
4876 Put(")");
4877}
4878void Unparse(const OmpClause::Priority &x) {
4879 Word("PRIORITY");
4880 Put("(");
4881 Walk(x.v);
4882 Put(")");
4883}
4884void Unparse(const OmpClause::Private &x) {
4885 Word("PRIVATE");
4886 Put("(");
4887 Walk(x.v);
4888 Put(")");
4889}
4890void Unparse(const OmpClause::ProcBind &x) {
4891 Word("PROC_BIND");
4892 Put("(");
4893 Walk(x.v);
4894 Put(")");
4895}
4896void Before(const OmpClause::Read &) { Word("READ"); }
4897void Unparse(const OmpClause::Reduction &x) {
4898 Word("REDUCTION");
4899 Put("(");
4900 Walk(x.v);
4901 Put(")");
4902}
4903void Before(const OmpClause::ReductionKind &) { Word("REDUCTION_KIND"); }
4904void Before(const OmpClause::Relaxed &) { Word("RELAXED"); }
4905void Before(const OmpClause::Release &) { Word("RELEASE"); }
4906void Unparse(const OmpClause::Replayable &x) {
4907 Word("REPLAYABLE");
4908 Walk("(", x.v, ")");
4909}
4910void Unparse(const OmpClause::ReverseOffload &x) {
4911 Word("REVERSE_OFFLOAD");
4912 Walk("(", x.v, ")");
4913}
4914void Unparse(const OmpClause::Safelen &x) {
4915 Word("SAFELEN");
4916 Put("(");
4917 Walk(x.v);
4918 Put(")");
4919}
4920void Before(const OmpClause::Safesync &) { Word("SAFESYNC"); }
4921void Unparse(const OmpClause::Schedule &x) {
4922 Word("SCHEDULE");
4923 Put("(");
4924 Walk(x.v);
4925 Put(")");
4926}
4927void Unparse(const OmpClause::SelfMaps &x) {
4928 Word("SELF_MAPS");
4929 Walk("(", x.v, ")");
4930}
4931void Before(const OmpClause::SeqCst &) { Word("SEQ_CST"); }
4932void Unparse(const OmpClause::Severity &x) {
4933 Word("SEVERITY");
4934 Put("(");
4935 Walk(x.v);
4936 Put(")");
4937}
4938void Unparse(const OmpClause::Shared &x) {
4939 Word("SHARED");
4940 Put("(");
4941 Walk(x.v);
4942 Put(")");
4943}
4944void Before(const OmpClause::Shift &) { Word("SHIFT"); }
4945void Before(const OmpClause::Simd &) { Word("SIMD"); }
4946void Unparse(const OmpClause::Simdlen &x) {
4947 Word("SIMDLEN");
4948 Put("(");
4949 Walk(x.v);
4950 Put(")");
4951}
4952void Unparse(const OmpClause::Sizes &x) {
4953 Word("SIZES");
4954 Put("(");
4955 Walk(x.v, ",");
4956 Put(")");
4957}
4958void Unparse(const OmpClause::TaskReduction &x) {
4959 Word("TASK_REDUCTION");
4960 Put("(");
4961 Walk(x.v);
4962 Put(")");
4963}
4964void Unparse(const OmpClause::ThreadLimit &x) {
4965 Word("THREAD_LIMIT");
4966 Put("(");
4967 Walk(x.v);
4968 Put(")");
4969}
4970void Before(const OmpClause::Threadprivate &) { Word("THREADPRIVATE"); }
4971void Before(const OmpClause::Threads &) { Word("THREADS"); }
4972void Unparse(const OmpClause::Threadset &x) {
4973 Word("THREADSET");
4974 Put("(");
4975 Walk(x.v);
4976 Put(")");
4977}
4978void Unparse(const OmpClause::To &x) {
4979 Word("TO");
4980 Put("(");
4981 Walk(x.v);
4982 Put(")");
4983}
4984void Unparse(const OmpClause::Transparent &x) {
4985 Word("TRANSPARENT");
4986 Walk("(", x.v, ")");
4987}
4988void Unparse(const OmpClause::UnifiedAddress &x) {
4989 Word("UNIFIED_ADDRESS");
4990 Walk("(", x.v, ")");
4991}
4992void Unparse(const OmpClause::UnifiedSharedMemory &x) {
4993 Word("UNIFIED_SHARED_MEMORY");
4994 Walk("(", x.v, ")");
4995}
4996void Unparse(const OmpClause::Uniform &x) {
4997 Word("UNIFORM");
4998 Put("(");
4999 Walk(x.v, ",");
5000 Put(")");
5001}
5002void Before(const OmpClause::Unknown &) { Word("UNKNOWN"); }
5003void Before(const OmpClause::Untied &) { Word("UNTIED"); }
5004void Before(const OmpClause::Update &) { Word("UPDATE"); }
5005void Unparse(const OmpClause::UpdateDependObjects &x) {
5006 Word("UPDATE");
5007 Put("(");
5008 Walk(x.v);
5009 Put(")");
5010}
5011void Unparse(const OmpClause::Use &x) {
5012 Word("USE");
5013 Put("(");
5014 Walk(x.v);
5015 Put(")");
5016}
5017void Unparse(const OmpClause::UseDeviceAddr &x) {
5018 Word("USE_DEVICE_ADDR");
5019 Put("(");
5020 Walk(x.v);
5021 Put(")");
5022}
5023void Unparse(const OmpClause::UseDevicePtr &x) {
5024 Word("USE_DEVICE_PTR");
5025 Put("(");
5026 Walk(x.v);
5027 Put(")");
5028}
5029void Unparse(const OmpClause::UsesAllocators &x) {
5030 Word("USES_ALLOCATORS");
5031 Put("(");
5032 Walk(x.v);
5033 Put(")");
5034}
5035void Before(const OmpClause::Weak &) { Word("WEAK"); }
5036void Unparse(const OmpClause::When &x) {
5037 Word("WHEN");
5038 Put("(");
5039 Walk(x.v);
5040 Put(")");
5041}
5042void Before(const OmpClause::Write &) { Word("WRITE"); }
5043
5044#endif // GEN_FLANG_CLAUSE_UNPARSE
5045
5046#ifdef GEN_FLANG_CLAUSE_CHECK_ENTER
5047#undef GEN_FLANG_CLAUSE_CHECK_ENTER
5048
5049void Enter(const parser::OmpClause::Absent &);
5050void Enter(const parser::OmpClause::AcqRel &);
5051void Enter(const parser::OmpClause::Acquire &);
5052void Enter(const parser::OmpClause::AdjustArgs &);
5053void Enter(const parser::OmpClause::Affinity &);
5054void Enter(const parser::OmpClause::Align &);
5055void Enter(const parser::OmpClause::Aligned &);
5056void Enter(const parser::OmpClause::Allocate &);
5057void Enter(const parser::OmpClause::Allocator &);
5058void Enter(const parser::OmpClause::AppendArgs &);
5059void Enter(const parser::OmpClause::Apply &);
5060void Enter(const parser::OmpClause::At &);
5061void Enter(const parser::OmpClause::AtomicDefaultMemOrder &);
5062void Enter(const parser::OmpClause::Bind &);
5063void Enter(const parser::OmpClause::CancellationConstructType &);
5064void Enter(const parser::OmpClause::Capture &);
5065void Enter(const parser::OmpClause::Collapse &);
5066void Enter(const parser::OmpClause::Collector &);
5067void Enter(const parser::OmpClause::Combiner &);
5068void Enter(const parser::OmpClause::Compare &);
5069void Enter(const parser::OmpClause::Contains &);
5070void Enter(const parser::OmpClause::Copyprivate &);
5071void Enter(const parser::OmpClause::Copyin &);
5072void Enter(const parser::OmpClause::Counts &);
5073void Enter(const parser::OmpClause::Default &);
5074void Enter(const parser::OmpClause::Defaultmap &);
5075void Enter(const parser::OmpClause::DefaultVariant &);
5076void Enter(const parser::OmpClause::Depend &);
5077void Enter(const parser::OmpClause::Depobj &);
5078void Enter(const parser::OmpClause::Depth &);
5079void Enter(const parser::OmpClause::Destroy &);
5080void Enter(const parser::OmpClause::Detach &);
5081void Enter(const parser::OmpClause::Device &);
5082void Enter(const parser::OmpClause::DeviceSafesync &);
5083void Enter(const parser::OmpClause::DeviceType &);
5084void Enter(const parser::OmpClause::DistSchedule &);
5085void Enter(const parser::OmpClause::Doacross &);
5086void Enter(const parser::OmpClause::DynGroupprivate &);
5087void Enter(const parser::OmpClause::DynamicAllocators &);
5088void Enter(const parser::OmpClause::Enter &);
5089void Enter(const parser::OmpClause::Exclusive &);
5090void Enter(const parser::OmpClause::Fail &);
5091void Enter(const parser::OmpClause::Filter &);
5092void Enter(const parser::OmpClause::Final &);
5093void Enter(const parser::OmpClause::Firstprivate &);
5094void Enter(const parser::OmpClause::Flush &);
5095void Enter(const parser::OmpClause::From &);
5096void Enter(const parser::OmpClause::Full &);
5097void Enter(const parser::OmpClause::Grainsize &);
5098void Enter(const parser::OmpClause::GraphId &);
5099void Enter(const parser::OmpClause::GraphReset &);
5100void Enter(const parser::OmpClause::Groupprivate &);
5101void Enter(const parser::OmpClause::HasDeviceAddr &);
5102void Enter(const parser::OmpClause::Hint &);
5103void Enter(const parser::OmpClause::Holds &);
5104void Enter(const parser::OmpClause::If &);
5105void Enter(const parser::OmpClause::InReduction &);
5106void Enter(const parser::OmpClause::Inbranch &);
5107void Enter(const parser::OmpClause::Inclusive &);
5108void Enter(const parser::OmpClause::Indirect &);
5109void Enter(const parser::OmpClause::Induction &);
5110void Enter(const parser::OmpClause::Inductor &);
5111void Enter(const parser::OmpClause::Init &);
5112void Enter(const parser::OmpClause::InitComplete &);
5113void Enter(const parser::OmpClause::Initializer &);
5114void Enter(const parser::OmpClause::Interop &);
5115void Enter(const parser::OmpClause::IsDevicePtr &);
5116void Enter(const parser::OmpClause::Lastprivate &);
5117void Enter(const parser::OmpClause::Linear &);
5118void Enter(const parser::OmpClause::Link &);
5119void Enter(const parser::OmpClause::Local &);
5120void Enter(const parser::OmpClause::Looprange &);
5121void Enter(const parser::OmpClause::Map &);
5122void Enter(const parser::OmpClause::Match &);
5123void Enter(const parser::OmpClause::MemoryOrder &);
5124void Enter(const parser::OmpClause::Memscope &);
5125void Enter(const parser::OmpClause::Mergeable &);
5126void Enter(const parser::OmpClause::Message &);
5127void Enter(const parser::OmpClause::Nogroup &);
5128void Enter(const parser::OmpClause::NoOpenmp &);
5129void Enter(const parser::OmpClause::NoOpenmpConstructs &);
5130void Enter(const parser::OmpClause::NoOpenmpRoutines &);
5131void Enter(const parser::OmpClause::NoParallelism &);
5132void Enter(const parser::OmpClause::Nowait &);
5133void Enter(const parser::OmpClause::Nocontext &);
5134void Enter(const parser::OmpClause::Nontemporal &);
5135void Enter(const parser::OmpClause::Notinbranch &);
5136void Enter(const parser::OmpClause::Novariants &);
5137void Enter(const parser::OmpClause::NumTasks &);
5138void Enter(const parser::OmpClause::NumTeams &);
5139void Enter(const parser::OmpClause::NumThreads &);
5140void Enter(const parser::OmpClause::OmpxAttribute &);
5141void Enter(const parser::OmpClause::OmpxBare &);
5142void Enter(const parser::OmpClause::OmpxDynCgroupMem &);
5143void Enter(const parser::OmpClause::Order &);
5144void Enter(const parser::OmpClause::Ordered &);
5145void Enter(const parser::OmpClause::Otherwise &);
5146void Enter(const parser::OmpClause::Partial &);
5147void Enter(const parser::OmpClause::Permutation &);
5148void Enter(const parser::OmpClause::Priority &);
5149void Enter(const parser::OmpClause::Private &);
5150void Enter(const parser::OmpClause::ProcBind &);
5151void Enter(const parser::OmpClause::Read &);
5152void Enter(const parser::OmpClause::Reduction &);
5153void Enter(const parser::OmpClause::ReductionKind &);
5154void Enter(const parser::OmpClause::Relaxed &);
5155void Enter(const parser::OmpClause::Release &);
5156void Enter(const parser::OmpClause::Replayable &);
5157void Enter(const parser::OmpClause::ReverseOffload &);
5158void Enter(const parser::OmpClause::Safelen &);
5159void Enter(const parser::OmpClause::Safesync &);
5160void Enter(const parser::OmpClause::Schedule &);
5161void Enter(const parser::OmpClause::SelfMaps &);
5162void Enter(const parser::OmpClause::SeqCst &);
5163void Enter(const parser::OmpClause::Severity &);
5164void Enter(const parser::OmpClause::Shared &);
5165void Enter(const parser::OmpClause::Shift &);
5166void Enter(const parser::OmpClause::Simd &);
5167void Enter(const parser::OmpClause::Simdlen &);
5168void Enter(const parser::OmpClause::Sizes &);
5169void Enter(const parser::OmpClause::TaskReduction &);
5170void Enter(const parser::OmpClause::ThreadLimit &);
5171void Enter(const parser::OmpClause::Threadprivate &);
5172void Enter(const parser::OmpClause::Threads &);
5173void Enter(const parser::OmpClause::Threadset &);
5174void Enter(const parser::OmpClause::To &);
5175void Enter(const parser::OmpClause::Transparent &);
5176void Enter(const parser::OmpClause::UnifiedAddress &);
5177void Enter(const parser::OmpClause::UnifiedSharedMemory &);
5178void Enter(const parser::OmpClause::Uniform &);
5179void Enter(const parser::OmpClause::Unknown &);
5180void Enter(const parser::OmpClause::Untied &);
5181void Enter(const parser::OmpClause::Update &);
5182void Enter(const parser::OmpClause::UpdateDependObjects &);
5183void Enter(const parser::OmpClause::Use &);
5184void Enter(const parser::OmpClause::UseDeviceAddr &);
5185void Enter(const parser::OmpClause::UseDevicePtr &);
5186void Enter(const parser::OmpClause::UsesAllocators &);
5187void Enter(const parser::OmpClause::Weak &);
5188void Enter(const parser::OmpClause::When &);
5189void Enter(const parser::OmpClause::Write &);
5190
5191#endif // GEN_FLANG_CLAUSE_CHECK_ENTER
5192
5193#ifdef GEN_FLANG_CLAUSE_PARSER_KIND_MAP
5194#undef GEN_FLANG_CLAUSE_PARSER_KIND_MAP
5195
5196if constexpr (std::is_same_v<A, parser::OmpClause::Absent>)
5197 return llvm::omp::Clause::OMPC_absent;
5198if constexpr (std::is_same_v<A, parser::OmpClause::AcqRel>)
5199 return llvm::omp::Clause::OMPC_acq_rel;
5200if constexpr (std::is_same_v<A, parser::OmpClause::Acquire>)
5201 return llvm::omp::Clause::OMPC_acquire;
5202if constexpr (std::is_same_v<A, parser::OmpClause::AdjustArgs>)
5203 return llvm::omp::Clause::OMPC_adjust_args;
5204if constexpr (std::is_same_v<A, parser::OmpClause::Affinity>)
5205 return llvm::omp::Clause::OMPC_affinity;
5206if constexpr (std::is_same_v<A, parser::OmpClause::Align>)
5207 return llvm::omp::Clause::OMPC_align;
5208if constexpr (std::is_same_v<A, parser::OmpClause::Aligned>)
5209 return llvm::omp::Clause::OMPC_aligned;
5210if constexpr (std::is_same_v<A, parser::OmpClause::Allocate>)
5211 return llvm::omp::Clause::OMPC_allocate;
5212if constexpr (std::is_same_v<A, parser::OmpClause::Allocator>)
5213 return llvm::omp::Clause::OMPC_allocator;
5214if constexpr (std::is_same_v<A, parser::OmpClause::AppendArgs>)
5215 return llvm::omp::Clause::OMPC_append_args;
5216if constexpr (std::is_same_v<A, parser::OmpClause::Apply>)
5217 return llvm::omp::Clause::OMPC_apply;
5218if constexpr (std::is_same_v<A, parser::OmpClause::At>)
5219 return llvm::omp::Clause::OMPC_at;
5220if constexpr (std::is_same_v<A, parser::OmpClause::AtomicDefaultMemOrder>)
5221 return llvm::omp::Clause::OMPC_atomic_default_mem_order;
5222if constexpr (std::is_same_v<A, parser::OmpClause::Bind>)
5223 return llvm::omp::Clause::OMPC_bind;
5224if constexpr (std::is_same_v<A, parser::OmpClause::CancellationConstructType>)
5225 return llvm::omp::Clause::OMPC_cancellation_construct_type;
5226if constexpr (std::is_same_v<A, parser::OmpClause::Capture>)
5227 return llvm::omp::Clause::OMPC_capture;
5228if constexpr (std::is_same_v<A, parser::OmpClause::Collapse>)
5229 return llvm::omp::Clause::OMPC_collapse;
5230if constexpr (std::is_same_v<A, parser::OmpClause::Collector>)
5231 return llvm::omp::Clause::OMPC_collector;
5232if constexpr (std::is_same_v<A, parser::OmpClause::Combiner>)
5233 return llvm::omp::Clause::OMPC_combiner;
5234if constexpr (std::is_same_v<A, parser::OmpClause::Compare>)
5235 return llvm::omp::Clause::OMPC_compare;
5236if constexpr (std::is_same_v<A, parser::OmpClause::Contains>)
5237 return llvm::omp::Clause::OMPC_contains;
5238if constexpr (std::is_same_v<A, parser::OmpClause::Copyprivate>)
5239 return llvm::omp::Clause::OMPC_copyprivate;
5240if constexpr (std::is_same_v<A, parser::OmpClause::Copyin>)
5241 return llvm::omp::Clause::OMPC_copyin;
5242if constexpr (std::is_same_v<A, parser::OmpClause::Counts>)
5243 return llvm::omp::Clause::OMPC_counts;
5244if constexpr (std::is_same_v<A, parser::OmpClause::Default>)
5245 return llvm::omp::Clause::OMPC_default;
5246if constexpr (std::is_same_v<A, parser::OmpClause::Defaultmap>)
5247 return llvm::omp::Clause::OMPC_defaultmap;
5248if constexpr (std::is_same_v<A, parser::OmpClause::DefaultVariant>)
5249 return llvm::omp::Clause::OMPC_default_variant;
5250if constexpr (std::is_same_v<A, parser::OmpClause::Depend>)
5251 return llvm::omp::Clause::OMPC_depend;
5252if constexpr (std::is_same_v<A, parser::OmpClause::Depobj>)
5253 return llvm::omp::Clause::OMPC_depobj;
5254if constexpr (std::is_same_v<A, parser::OmpClause::Depth>)
5255 return llvm::omp::Clause::OMPC_depth;
5256if constexpr (std::is_same_v<A, parser::OmpClause::Destroy>)
5257 return llvm::omp::Clause::OMPC_destroy;
5258if constexpr (std::is_same_v<A, parser::OmpClause::Detach>)
5259 return llvm::omp::Clause::OMPC_detach;
5260if constexpr (std::is_same_v<A, parser::OmpClause::Device>)
5261 return llvm::omp::Clause::OMPC_device;
5262if constexpr (std::is_same_v<A, parser::OmpClause::DeviceSafesync>)
5263 return llvm::omp::Clause::OMPC_device_safesync;
5264if constexpr (std::is_same_v<A, parser::OmpClause::DeviceType>)
5265 return llvm::omp::Clause::OMPC_device_type;
5266if constexpr (std::is_same_v<A, parser::OmpClause::DistSchedule>)
5267 return llvm::omp::Clause::OMPC_dist_schedule;
5268if constexpr (std::is_same_v<A, parser::OmpClause::Doacross>)
5269 return llvm::omp::Clause::OMPC_doacross;
5270if constexpr (std::is_same_v<A, parser::OmpClause::DynGroupprivate>)
5271 return llvm::omp::Clause::OMPC_dyn_groupprivate;
5272if constexpr (std::is_same_v<A, parser::OmpClause::DynamicAllocators>)
5273 return llvm::omp::Clause::OMPC_dynamic_allocators;
5274if constexpr (std::is_same_v<A, parser::OmpClause::Enter>)
5275 return llvm::omp::Clause::OMPC_enter;
5276if constexpr (std::is_same_v<A, parser::OmpClause::Exclusive>)
5277 return llvm::omp::Clause::OMPC_exclusive;
5278if constexpr (std::is_same_v<A, parser::OmpClause::Fail>)
5279 return llvm::omp::Clause::OMPC_fail;
5280if constexpr (std::is_same_v<A, parser::OmpClause::Filter>)
5281 return llvm::omp::Clause::OMPC_filter;
5282if constexpr (std::is_same_v<A, parser::OmpClause::Final>)
5283 return llvm::omp::Clause::OMPC_final;
5284if constexpr (std::is_same_v<A, parser::OmpClause::Firstprivate>)
5285 return llvm::omp::Clause::OMPC_firstprivate;
5286if constexpr (std::is_same_v<A, parser::OmpClause::Flush>)
5287 return llvm::omp::Clause::OMPC_flush;
5288if constexpr (std::is_same_v<A, parser::OmpClause::From>)
5289 return llvm::omp::Clause::OMPC_from;
5290if constexpr (std::is_same_v<A, parser::OmpClause::Full>)
5291 return llvm::omp::Clause::OMPC_full;
5292if constexpr (std::is_same_v<A, parser::OmpClause::Grainsize>)
5293 return llvm::omp::Clause::OMPC_grainsize;
5294if constexpr (std::is_same_v<A, parser::OmpClause::GraphId>)
5295 return llvm::omp::Clause::OMPC_graph_id;
5296if constexpr (std::is_same_v<A, parser::OmpClause::GraphReset>)
5297 return llvm::omp::Clause::OMPC_graph_reset;
5298if constexpr (std::is_same_v<A, parser::OmpClause::Groupprivate>)
5299 return llvm::omp::Clause::OMPC_groupprivate;
5300if constexpr (std::is_same_v<A, parser::OmpClause::HasDeviceAddr>)
5301 return llvm::omp::Clause::OMPC_has_device_addr;
5302if constexpr (std::is_same_v<A, parser::OmpClause::Hint>)
5303 return llvm::omp::Clause::OMPC_hint;
5304if constexpr (std::is_same_v<A, parser::OmpClause::Holds>)
5305 return llvm::omp::Clause::OMPC_holds;
5306if constexpr (std::is_same_v<A, parser::OmpClause::If>)
5307 return llvm::omp::Clause::OMPC_if;
5308if constexpr (std::is_same_v<A, parser::OmpClause::InReduction>)
5309 return llvm::omp::Clause::OMPC_in_reduction;
5310if constexpr (std::is_same_v<A, parser::OmpClause::Inbranch>)
5311 return llvm::omp::Clause::OMPC_inbranch;
5312if constexpr (std::is_same_v<A, parser::OmpClause::Inclusive>)
5313 return llvm::omp::Clause::OMPC_inclusive;
5314if constexpr (std::is_same_v<A, parser::OmpClause::Indirect>)
5315 return llvm::omp::Clause::OMPC_indirect;
5316if constexpr (std::is_same_v<A, parser::OmpClause::Induction>)
5317 return llvm::omp::Clause::OMPC_induction;
5318if constexpr (std::is_same_v<A, parser::OmpClause::Inductor>)
5319 return llvm::omp::Clause::OMPC_inductor;
5320if constexpr (std::is_same_v<A, parser::OmpClause::Init>)
5321 return llvm::omp::Clause::OMPC_init;
5322if constexpr (std::is_same_v<A, parser::OmpClause::InitComplete>)
5323 return llvm::omp::Clause::OMPC_init_complete;
5324if constexpr (std::is_same_v<A, parser::OmpClause::Initializer>)
5325 return llvm::omp::Clause::OMPC_initializer;
5326if constexpr (std::is_same_v<A, parser::OmpClause::Interop>)
5327 return llvm::omp::Clause::OMPC_interop;
5328if constexpr (std::is_same_v<A, parser::OmpClause::IsDevicePtr>)
5329 return llvm::omp::Clause::OMPC_is_device_ptr;
5330if constexpr (std::is_same_v<A, parser::OmpClause::Lastprivate>)
5331 return llvm::omp::Clause::OMPC_lastprivate;
5332if constexpr (std::is_same_v<A, parser::OmpClause::Linear>)
5333 return llvm::omp::Clause::OMPC_linear;
5334if constexpr (std::is_same_v<A, parser::OmpClause::Link>)
5335 return llvm::omp::Clause::OMPC_link;
5336if constexpr (std::is_same_v<A, parser::OmpClause::Local>)
5337 return llvm::omp::Clause::OMPC_local;
5338if constexpr (std::is_same_v<A, parser::OmpClause::Looprange>)
5339 return llvm::omp::Clause::OMPC_looprange;
5340if constexpr (std::is_same_v<A, parser::OmpClause::Map>)
5341 return llvm::omp::Clause::OMPC_map;
5342if constexpr (std::is_same_v<A, parser::OmpClause::Match>)
5343 return llvm::omp::Clause::OMPC_match;
5344if constexpr (std::is_same_v<A, parser::OmpClause::MemoryOrder>)
5345 return llvm::omp::Clause::OMPC_memory_order;
5346if constexpr (std::is_same_v<A, parser::OmpClause::Memscope>)
5347 return llvm::omp::Clause::OMPC_memscope;
5348if constexpr (std::is_same_v<A, parser::OmpClause::Mergeable>)
5349 return llvm::omp::Clause::OMPC_mergeable;
5350if constexpr (std::is_same_v<A, parser::OmpClause::Message>)
5351 return llvm::omp::Clause::OMPC_message;
5352if constexpr (std::is_same_v<A, parser::OmpClause::Nogroup>)
5353 return llvm::omp::Clause::OMPC_nogroup;
5354if constexpr (std::is_same_v<A, parser::OmpClause::NoOpenmp>)
5355 return llvm::omp::Clause::OMPC_no_openmp;
5356if constexpr (std::is_same_v<A, parser::OmpClause::NoOpenmpConstructs>)
5357 return llvm::omp::Clause::OMPC_no_openmp_constructs;
5358if constexpr (std::is_same_v<A, parser::OmpClause::NoOpenmpRoutines>)
5359 return llvm::omp::Clause::OMPC_no_openmp_routines;
5360if constexpr (std::is_same_v<A, parser::OmpClause::NoParallelism>)
5361 return llvm::omp::Clause::OMPC_no_parallelism;
5362if constexpr (std::is_same_v<A, parser::OmpClause::Nowait>)
5363 return llvm::omp::Clause::OMPC_nowait;
5364if constexpr (std::is_same_v<A, parser::OmpClause::Nocontext>)
5365 return llvm::omp::Clause::OMPC_nocontext;
5366if constexpr (std::is_same_v<A, parser::OmpClause::Nontemporal>)
5367 return llvm::omp::Clause::OMPC_nontemporal;
5368if constexpr (std::is_same_v<A, parser::OmpClause::Notinbranch>)
5369 return llvm::omp::Clause::OMPC_notinbranch;
5370if constexpr (std::is_same_v<A, parser::OmpClause::Novariants>)
5371 return llvm::omp::Clause::OMPC_novariants;
5372if constexpr (std::is_same_v<A, parser::OmpClause::NumTasks>)
5373 return llvm::omp::Clause::OMPC_num_tasks;
5374if constexpr (std::is_same_v<A, parser::OmpClause::NumTeams>)
5375 return llvm::omp::Clause::OMPC_num_teams;
5376if constexpr (std::is_same_v<A, parser::OmpClause::NumThreads>)
5377 return llvm::omp::Clause::OMPC_num_threads;
5378if constexpr (std::is_same_v<A, parser::OmpClause::OmpxAttribute>)
5379 return llvm::omp::Clause::OMPC_ompx_attribute;
5380if constexpr (std::is_same_v<A, parser::OmpClause::OmpxBare>)
5381 return llvm::omp::Clause::OMPC_ompx_bare;
5382if constexpr (std::is_same_v<A, parser::OmpClause::OmpxDynCgroupMem>)
5383 return llvm::omp::Clause::OMPC_ompx_dyn_cgroup_mem;
5384if constexpr (std::is_same_v<A, parser::OmpClause::Order>)
5385 return llvm::omp::Clause::OMPC_order;
5386if constexpr (std::is_same_v<A, parser::OmpClause::Ordered>)
5387 return llvm::omp::Clause::OMPC_ordered;
5388if constexpr (std::is_same_v<A, parser::OmpClause::Otherwise>)
5389 return llvm::omp::Clause::OMPC_otherwise;
5390if constexpr (std::is_same_v<A, parser::OmpClause::Partial>)
5391 return llvm::omp::Clause::OMPC_partial;
5392if constexpr (std::is_same_v<A, parser::OmpClause::Permutation>)
5393 return llvm::omp::Clause::OMPC_permutation;
5394if constexpr (std::is_same_v<A, parser::OmpClause::Priority>)
5395 return llvm::omp::Clause::OMPC_priority;
5396if constexpr (std::is_same_v<A, parser::OmpClause::Private>)
5397 return llvm::omp::Clause::OMPC_private;
5398if constexpr (std::is_same_v<A, parser::OmpClause::ProcBind>)
5399 return llvm::omp::Clause::OMPC_proc_bind;
5400if constexpr (std::is_same_v<A, parser::OmpClause::Read>)
5401 return llvm::omp::Clause::OMPC_read;
5402if constexpr (std::is_same_v<A, parser::OmpClause::Reduction>)
5403 return llvm::omp::Clause::OMPC_reduction;
5404if constexpr (std::is_same_v<A, parser::OmpClause::ReductionKind>)
5405 return llvm::omp::Clause::OMPC_reduction_kind;
5406if constexpr (std::is_same_v<A, parser::OmpClause::Relaxed>)
5407 return llvm::omp::Clause::OMPC_relaxed;
5408if constexpr (std::is_same_v<A, parser::OmpClause::Release>)
5409 return llvm::omp::Clause::OMPC_release;
5410if constexpr (std::is_same_v<A, parser::OmpClause::Replayable>)
5411 return llvm::omp::Clause::OMPC_replayable;
5412if constexpr (std::is_same_v<A, parser::OmpClause::ReverseOffload>)
5413 return llvm::omp::Clause::OMPC_reverse_offload;
5414if constexpr (std::is_same_v<A, parser::OmpClause::Safelen>)
5415 return llvm::omp::Clause::OMPC_safelen;
5416if constexpr (std::is_same_v<A, parser::OmpClause::Safesync>)
5417 return llvm::omp::Clause::OMPC_safesync;
5418if constexpr (std::is_same_v<A, parser::OmpClause::Schedule>)
5419 return llvm::omp::Clause::OMPC_schedule;
5420if constexpr (std::is_same_v<A, parser::OmpClause::SelfMaps>)
5421 return llvm::omp::Clause::OMPC_self_maps;
5422if constexpr (std::is_same_v<A, parser::OmpClause::SeqCst>)
5423 return llvm::omp::Clause::OMPC_seq_cst;
5424if constexpr (std::is_same_v<A, parser::OmpClause::Severity>)
5425 return llvm::omp::Clause::OMPC_severity;
5426if constexpr (std::is_same_v<A, parser::OmpClause::Shared>)
5427 return llvm::omp::Clause::OMPC_shared;
5428if constexpr (std::is_same_v<A, parser::OmpClause::Shift>)
5429 return llvm::omp::Clause::OMPC_shift;
5430if constexpr (std::is_same_v<A, parser::OmpClause::Simd>)
5431 return llvm::omp::Clause::OMPC_simd;
5432if constexpr (std::is_same_v<A, parser::OmpClause::Simdlen>)
5433 return llvm::omp::Clause::OMPC_simdlen;
5434if constexpr (std::is_same_v<A, parser::OmpClause::Sizes>)
5435 return llvm::omp::Clause::OMPC_sizes;
5436if constexpr (std::is_same_v<A, parser::OmpClause::TaskReduction>)
5437 return llvm::omp::Clause::OMPC_task_reduction;
5438if constexpr (std::is_same_v<A, parser::OmpClause::ThreadLimit>)
5439 return llvm::omp::Clause::OMPC_thread_limit;
5440if constexpr (std::is_same_v<A, parser::OmpClause::Threadprivate>)
5441 return llvm::omp::Clause::OMPC_threadprivate;
5442if constexpr (std::is_same_v<A, parser::OmpClause::Threads>)
5443 return llvm::omp::Clause::OMPC_threads;
5444if constexpr (std::is_same_v<A, parser::OmpClause::Threadset>)
5445 return llvm::omp::Clause::OMPC_threadset;
5446if constexpr (std::is_same_v<A, parser::OmpClause::To>)
5447 return llvm::omp::Clause::OMPC_to;
5448if constexpr (std::is_same_v<A, parser::OmpClause::Transparent>)
5449 return llvm::omp::Clause::OMPC_transparent;
5450if constexpr (std::is_same_v<A, parser::OmpClause::UnifiedAddress>)
5451 return llvm::omp::Clause::OMPC_unified_address;
5452if constexpr (std::is_same_v<A, parser::OmpClause::UnifiedSharedMemory>)
5453 return llvm::omp::Clause::OMPC_unified_shared_memory;
5454if constexpr (std::is_same_v<A, parser::OmpClause::Uniform>)
5455 return llvm::omp::Clause::OMPC_uniform;
5456if constexpr (std::is_same_v<A, parser::OmpClause::Unknown>)
5457 return llvm::omp::Clause::OMPC_unknown;
5458if constexpr (std::is_same_v<A, parser::OmpClause::Untied>)
5459 return llvm::omp::Clause::OMPC_untied;
5460if constexpr (std::is_same_v<A, parser::OmpClause::Update>)
5461 return llvm::omp::Clause::OMPC_update;
5462if constexpr (std::is_same_v<A, parser::OmpClause::UpdateDependObjects>)
5463 return llvm::omp::Clause::OMPC_update_depend_objects;
5464if constexpr (std::is_same_v<A, parser::OmpClause::Use>)
5465 return llvm::omp::Clause::OMPC_use;
5466if constexpr (std::is_same_v<A, parser::OmpClause::UseDeviceAddr>)
5467 return llvm::omp::Clause::OMPC_use_device_addr;
5468if constexpr (std::is_same_v<A, parser::OmpClause::UseDevicePtr>)
5469 return llvm::omp::Clause::OMPC_use_device_ptr;
5470if constexpr (std::is_same_v<A, parser::OmpClause::UsesAllocators>)
5471 return llvm::omp::Clause::OMPC_uses_allocators;
5472if constexpr (std::is_same_v<A, parser::OmpClause::Weak>)
5473 return llvm::omp::Clause::OMPC_weak;
5474if constexpr (std::is_same_v<A, parser::OmpClause::When>)
5475 return llvm::omp::Clause::OMPC_when;
5476if constexpr (std::is_same_v<A, parser::OmpClause::Write>)
5477 return llvm::omp::Clause::OMPC_write;
5478llvm_unreachable("Invalid OpenMP Parser clause");
5479
5480#endif // GEN_FLANG_CLAUSE_PARSER_KIND_MAP
5481
5482#ifdef GEN_FLANG_CLAUSES_PARSER
5483#undef GEN_FLANG_CLAUSES_PARSER
5484
5485TYPE_PARSER(
5486 "write" >> construct<OmpClause>(construct<OmpClause::Write>()) ||
5487 "when" >> construct<OmpClause>(construct<OmpClause::When>(parenthesized(Parser<OmpWhenClause>{}))) ||
5488 "weak" >> construct<OmpClause>(construct<OmpClause::Weak>()) ||
5489 "uses_allocators" >> construct<OmpClause>(construct<OmpClause::UsesAllocators>(parenthesized(Parser<OmpUsesAllocatorsClause>{}))) ||
5490 "use_device_ptr" >> construct<OmpClause>(construct<OmpClause::UseDevicePtr>(parenthesized(Parser<OmpObjectList>{}))) ||
5491 "use_device_addr" >> construct<OmpClause>(construct<OmpClause::UseDeviceAddr>(parenthesized(Parser<OmpObjectList>{}))) ||
5492 "use" >> construct<OmpClause>(construct<OmpClause::Use>(parenthesized(Parser<OmpUseClause>{}))) ||
5493 "update" >> construct<OmpClause>(construct<OmpClause::UpdateDependObjects>(parenthesized(Parser<OmpUpdateDependObjectsClause>{}))) ||
5494 "update" >> construct<OmpClause>(construct<OmpClause::Update>()) ||
5495 "untied" >> construct<OmpClause>(construct<OmpClause::Untied>()) ||
5496 "unknown" >> construct<OmpClause>(construct<OmpClause::Unknown>()) ||
5497 "uniform" >> construct<OmpClause>(construct<OmpClause::Uniform>(parenthesized(nonemptyList(name)))) ||
5498 "unified_shared_memory" >> construct<OmpClause>(construct<OmpClause::UnifiedSharedMemory>(maybe(parenthesized(Parser<OmpUnifiedSharedMemoryClause>{})))) ||
5499 "unified_address" >> construct<OmpClause>(construct<OmpClause::UnifiedAddress>(maybe(parenthesized(Parser<OmpUnifiedAddressClause>{})))) ||
5500 "transparent" >> construct<OmpClause>(construct<OmpClause::Transparent>(maybe(parenthesized(Parser<OmpTransparentClause>{})))) ||
5501 "to" >> construct<OmpClause>(construct<OmpClause::To>(parenthesized(Parser<OmpToClause>{}))) ||
5502 "threadset" >> construct<OmpClause>(construct<OmpClause::Threadset>(parenthesized(Parser<OmpThreadsetClause>{}))) ||
5503 "threads" >> construct<OmpClause>(construct<OmpClause::Threads>()) ||
5504 "threadprivate" >> construct<OmpClause>(construct<OmpClause::Threadprivate>()) ||
5505 "thread_limit" >> construct<OmpClause>(construct<OmpClause::ThreadLimit>(parenthesized(Parser<OmpThreadLimitClause>{}))) ||
5506 "task_reduction" >> construct<OmpClause>(construct<OmpClause::TaskReduction>(parenthesized(Parser<OmpTaskReductionClause>{}))) ||
5507 "sizes" >> construct<OmpClause>(construct<OmpClause::Sizes>(parenthesized(nonemptyList(scalarIntExpr)))) ||
5508 "simdlen" >> construct<OmpClause>(construct<OmpClause::Simdlen>(parenthesized(scalarIntConstantExpr))) ||
5509 "simd" >> construct<OmpClause>(construct<OmpClause::Simd>()) ||
5510 "shift" >> construct<OmpClause>(construct<OmpClause::Shift>()) ||
5511 "shared" >> construct<OmpClause>(construct<OmpClause::Shared>(parenthesized(Parser<OmpObjectList>{}))) ||
5512 "severity" >> construct<OmpClause>(construct<OmpClause::Severity>(parenthesized(Parser<OmpSeverityClause>{}))) ||
5513 "seq_cst" >> construct<OmpClause>(construct<OmpClause::SeqCst>()) ||
5514 "self_maps" >> construct<OmpClause>(construct<OmpClause::SelfMaps>(maybe(parenthesized(Parser<OmpSelfMapsClause>{})))) ||
5515 "schedule" >> construct<OmpClause>(construct<OmpClause::Schedule>(parenthesized(Parser<OmpScheduleClause>{}))) ||
5516 "safesync" >> construct<OmpClause>(construct<OmpClause::Safesync>()) ||
5517 "safelen" >> construct<OmpClause>(construct<OmpClause::Safelen>(parenthesized(scalarIntConstantExpr))) ||
5518 "reverse_offload" >> construct<OmpClause>(construct<OmpClause::ReverseOffload>(maybe(parenthesized(Parser<OmpReverseOffloadClause>{})))) ||
5519 "replayable" >> construct<OmpClause>(construct<OmpClause::Replayable>(maybe(parenthesized(Parser<OmpReplayableClause>{})))) ||
5520 "release" >> construct<OmpClause>(construct<OmpClause::Release>()) ||
5521 "relaxed" >> construct<OmpClause>(construct<OmpClause::Relaxed>()) ||
5522 "reduction_kind" >> construct<OmpClause>(construct<OmpClause::ReductionKind>()) ||
5523 "reduction" >> construct<OmpClause>(construct<OmpClause::Reduction>(parenthesized(Parser<OmpReductionClause>{}))) ||
5524 "read" >> construct<OmpClause>(construct<OmpClause::Read>()) ||
5525 "proc_bind" >> construct<OmpClause>(construct<OmpClause::ProcBind>(parenthesized(Parser<OmpProcBindClause>{}))) ||
5526 "private" >> construct<OmpClause>(construct<OmpClause::Private>(parenthesized(Parser<OmpObjectList>{}))) ||
5527 "priority" >> construct<OmpClause>(construct<OmpClause::Priority>(parenthesized(scalarIntExpr))) ||
5528 "permutation" >> construct<OmpClause>(construct<OmpClause::Permutation>(parenthesized(nonemptyList(scalarIntConstantExpr)))) ||
5529 "partial" >> construct<OmpClause>(construct<OmpClause::Partial>(maybe(parenthesized(scalarIntConstantExpr)))) ||
5530 "otherwise" >> construct<OmpClause>(construct<OmpClause::Otherwise>(maybe(parenthesized(Parser<OmpOtherwiseClause>{})))) ||
5531 "ordered" >> construct<OmpClause>(construct<OmpClause::Ordered>(maybe(parenthesized(scalarIntConstantExpr)))) ||
5532 "order" >> construct<OmpClause>(construct<OmpClause::Order>(parenthesized(Parser<OmpOrderClause>{}))) ||
5533 "ompx_dyn_cgroup_mem" >> construct<OmpClause>(construct<OmpClause::OmpxDynCgroupMem>(parenthesized(scalarIntExpr))) ||
5534 "ompx_bare" >> construct<OmpClause>(construct<OmpClause::OmpxBare>()) ||
5535 "ompx_attribute" >> construct<OmpClause>(construct<OmpClause::OmpxAttribute>()) ||
5536 "num_threads" >> construct<OmpClause>(construct<OmpClause::NumThreads>(parenthesized(Parser<OmpNumThreadsClause>{}))) ||
5537 "num_teams" >> construct<OmpClause>(construct<OmpClause::NumTeams>(parenthesized(Parser<OmpNumTeamsClause>{}))) ||
5538 "num_tasks" >> construct<OmpClause>(construct<OmpClause::NumTasks>(parenthesized(Parser<OmpNumTasksClause>{}))) ||
5539 "nowait" >> construct<OmpClause>(construct<OmpClause::Nowait>()) ||
5540 "novariants" >> construct<OmpClause>(construct<OmpClause::Novariants>(parenthesized(scalarLogicalExpr))) ||
5541 "notinbranch" >> construct<OmpClause>(construct<OmpClause::Notinbranch>()) ||
5542 "nontemporal" >> construct<OmpClause>(construct<OmpClause::Nontemporal>(parenthesized(Parser<OmpObjectList>{}))) ||
5543 "nogroup" >> construct<OmpClause>(construct<OmpClause::Nogroup>()) ||
5544 "nocontext" >> construct<OmpClause>(construct<OmpClause::Nocontext>(parenthesized(scalarLogicalExpr))) ||
5545 "no_parallelism" >> construct<OmpClause>(construct<OmpClause::NoParallelism>(maybe(parenthesized(Parser<OmpNoParallelismClause>{})))) ||
5546 "no_openmp_routines" >> construct<OmpClause>(construct<OmpClause::NoOpenmpRoutines>()) ||
5547 "no_openmp_constructs" >> construct<OmpClause>(construct<OmpClause::NoOpenmpConstructs>()) ||
5548 "no_openmp" >> construct<OmpClause>(construct<OmpClause::NoOpenmp>()) ||
5549 "message" >> construct<OmpClause>(construct<OmpClause::Message>(parenthesized(Parser<OmpMessageClause>{}))) ||
5550 "mergeable" >> construct<OmpClause>(construct<OmpClause::Mergeable>()) ||
5551 "memscope" >> construct<OmpClause>(construct<OmpClause::Memscope>()) ||
5552 "memory_order" >> construct<OmpClause>(construct<OmpClause::MemoryOrder>()) ||
5553 "match" >> construct<OmpClause>(construct<OmpClause::Match>(parenthesized(Parser<OmpMatchClause>{}))) ||
5554 "map" >> construct<OmpClause>(construct<OmpClause::Map>(parenthesized(Parser<OmpMapClause>{}))) ||
5555 "looprange" >> construct<OmpClause>(construct<OmpClause::Looprange>(parenthesized(Parser<OmpLooprangeClause>{}))) ||
5556 "local" >> construct<OmpClause>(construct<OmpClause::Local>()) ||
5557 "link" >> construct<OmpClause>(construct<OmpClause::Link>(parenthesized(Parser<OmpObjectList>{}))) ||
5558 "linear" >> construct<OmpClause>(construct<OmpClause::Linear>(parenthesized(Parser<OmpLinearClause>{}))) ||
5559 "lastprivate" >> construct<OmpClause>(construct<OmpClause::Lastprivate>(parenthesized(Parser<OmpLastprivateClause>{}))) ||
5560 "is_device_ptr" >> construct<OmpClause>(construct<OmpClause::IsDevicePtr>(parenthesized(Parser<OmpObjectList>{}))) ||
5561 "interop" >> construct<OmpClause>(construct<OmpClause::Interop>()) ||
5562 "initializer" >> construct<OmpClause>(construct<OmpClause::Initializer>(parenthesized(Parser<OmpInitializerClause>{}))) ||
5563 "init_complete" >> construct<OmpClause>(construct<OmpClause::InitComplete>()) ||
5564 "init" >> construct<OmpClause>(construct<OmpClause::Init>(parenthesized(Parser<OmpInitClause>{}))) ||
5565 "inductor" >> construct<OmpClause>(construct<OmpClause::Inductor>()) ||
5566 "induction" >> construct<OmpClause>(construct<OmpClause::Induction>()) ||
5567 "indirect" >> construct<OmpClause>(construct<OmpClause::Indirect>(parenthesized(Parser<OmpIndirectClause>{}))) ||
5568 "inclusive" >> construct<OmpClause>(construct<OmpClause::Inclusive>(parenthesized(Parser<OmpObjectList>{}))) ||
5569 "inbranch" >> construct<OmpClause>(construct<OmpClause::Inbranch>()) ||
5570 "in_reduction" >> construct<OmpClause>(construct<OmpClause::InReduction>(parenthesized(Parser<OmpInReductionClause>{}))) ||
5571 "if" >> construct<OmpClause>(construct<OmpClause::If>(parenthesized(Parser<OmpIfClause>{}))) ||
5572 "holds" >> construct<OmpClause>(construct<OmpClause::Holds>(parenthesized(Parser<OmpHoldsClause>{}))) ||
5573 "hint" >> construct<OmpClause>(construct<OmpClause::Hint>(parenthesized(Parser<OmpHintClause>{}))) ||
5574 "has_device_addr" >> construct<OmpClause>(construct<OmpClause::HasDeviceAddr>(parenthesized(Parser<OmpObjectList>{}))) ||
5575 "groupprivate" >> construct<OmpClause>(construct<OmpClause::Groupprivate>()) ||
5576 "graph_reset" >> construct<OmpClause>(construct<OmpClause::GraphReset>(maybe(parenthesized(Parser<OmpGraphResetClause>{})))) ||
5577 "graph_id" >> construct<OmpClause>(construct<OmpClause::GraphId>(parenthesized(Parser<OmpGraphIdClause>{}))) ||
5578 "grainsize" >> construct<OmpClause>(construct<OmpClause::Grainsize>(parenthesized(Parser<OmpGrainsizeClause>{}))) ||
5579 "full" >> construct<OmpClause>(construct<OmpClause::Full>()) ||
5580 "from" >> construct<OmpClause>(construct<OmpClause::From>(parenthesized(Parser<OmpFromClause>{}))) ||
5581 "flush" >> construct<OmpClause>(construct<OmpClause::Flush>()) ||
5582 "firstprivate" >> construct<OmpClause>(construct<OmpClause::Firstprivate>(parenthesized(Parser<OmpObjectList>{}))) ||
5583 "final" >> construct<OmpClause>(construct<OmpClause::Final>(parenthesized(scalarLogicalExpr))) ||
5584 "filter" >> construct<OmpClause>(construct<OmpClause::Filter>(parenthesized(scalarIntExpr))) ||
5585 "fail" >> construct<OmpClause>(construct<OmpClause::Fail>(parenthesized(Parser<OmpFailClause>{}))) ||
5586 "exclusive" >> construct<OmpClause>(construct<OmpClause::Exclusive>(parenthesized(Parser<OmpObjectList>{}))) ||
5587 "enter" >> construct<OmpClause>(construct<OmpClause::Enter>(parenthesized(Parser<OmpEnterClause>{}))) ||
5588 "dynamic_allocators" >> construct<OmpClause>(construct<OmpClause::DynamicAllocators>(maybe(parenthesized(Parser<OmpDynamicAllocatorsClause>{})))) ||
5589 "dyn_groupprivate" >> construct<OmpClause>(construct<OmpClause::DynGroupprivate>(parenthesized(Parser<OmpDynGroupprivateClause>{}))) ||
5590 "doacross" >> construct<OmpClause>(construct<OmpClause::Doacross>(parenthesized(Parser<OmpDoacrossClause>{}))) ||
5591 "dist_schedule" >> construct<OmpClause>(construct<OmpClause::DistSchedule>(maybe(parenthesized(scalarIntExpr)))) ||
5592 "device_type" >> construct<OmpClause>(construct<OmpClause::DeviceType>(parenthesized(Parser<OmpDeviceTypeClause>{}))) ||
5593 "device_safesync" >> construct<OmpClause>(construct<OmpClause::DeviceSafesync>(maybe(parenthesized(Parser<OmpDeviceSafesyncClause>{})))) ||
5594 "device" >> construct<OmpClause>(construct<OmpClause::Device>(parenthesized(Parser<OmpDeviceClause>{}))) ||
5595 "detach" >> construct<OmpClause>(construct<OmpClause::Detach>(parenthesized(Parser<OmpDetachClause>{}))) ||
5596 "destroy" >> construct<OmpClause>(construct<OmpClause::Destroy>(maybe(parenthesized(Parser<OmpDestroyClause>{})))) ||
5597 "depth" >> construct<OmpClause>(construct<OmpClause::Depth>(parenthesized(scalarIntConstantExpr))) ||
5598 "depobj" >> construct<OmpClause>(construct<OmpClause::Depobj>()) ||
5599 "depend" >> construct<OmpClause>(construct<OmpClause::Depend>(parenthesized(Parser<OmpDependClause>{}))) ||
5600 "defaultmap" >> construct<OmpClause>(construct<OmpClause::Defaultmap>(parenthesized(Parser<OmpDefaultmapClause>{}))) ||
5601 "default" >> construct<OmpClause>(construct<OmpClause::DefaultVariant>(parenthesized(Parser<OmpDefaultVariantClause>{}))) ||
5602 "default" >> construct<OmpClause>(construct<OmpClause::Default>(parenthesized(Parser<OmpDefaultClause>{}))) ||
5603 "counts" >> construct<OmpClause>(construct<OmpClause::Counts>()) ||
5604 "copyprivate" >> construct<OmpClause>(construct<OmpClause::Copyprivate>(parenthesized(Parser<OmpObjectList>{}))) ||
5605 "copyin" >> construct<OmpClause>(construct<OmpClause::Copyin>(parenthesized(Parser<OmpObjectList>{}))) ||
5606 "contains" >> construct<OmpClause>(construct<OmpClause::Contains>(parenthesized(Parser<OmpContainsClause>{}))) ||
5607 "compare" >> construct<OmpClause>(construct<OmpClause::Compare>()) ||
5608 "combiner" >> construct<OmpClause>(construct<OmpClause::Combiner>(parenthesized(Parser<OmpCombinerClause>{}))) ||
5609 "collector" >> construct<OmpClause>(construct<OmpClause::Collector>()) ||
5610 "collapse" >> construct<OmpClause>(construct<OmpClause::Collapse>(parenthesized(scalarIntConstantExpr))) ||
5611 "capture" >> construct<OmpClause>(construct<OmpClause::Capture>()) ||
5612 "cancellation_construct_type" >> construct<OmpClause>(construct<OmpClause::CancellationConstructType>(parenthesized(Parser<OmpCancellationConstructTypeClause>{}))) ||
5613 "bind" >> construct<OmpClause>(construct<OmpClause::Bind>(parenthesized(Parser<OmpBindClause>{}))) ||
5614 "atomic_default_mem_order" >> construct<OmpClause>(construct<OmpClause::AtomicDefaultMemOrder>(parenthesized(Parser<OmpAtomicDefaultMemOrderClause>{}))) ||
5615 "at" >> construct<OmpClause>(construct<OmpClause::At>(parenthesized(Parser<OmpAtClause>{}))) ||
5616 "apply" >> construct<OmpClause>(construct<OmpClause::Apply>(parenthesized(Parser<OmpApplyClause>{}))) ||
5617 "append_args" >> construct<OmpClause>(construct<OmpClause::AppendArgs>(parenthesized(Parser<OmpAppendArgsClause>{}))) ||
5618 "allocator" >> construct<OmpClause>(construct<OmpClause::Allocator>(parenthesized(scalarIntExpr))) ||
5619 "allocate" >> construct<OmpClause>(construct<OmpClause::Allocate>(parenthesized(Parser<OmpAllocateClause>{}))) ||
5620 "aligned" >> construct<OmpClause>(construct<OmpClause::Aligned>(parenthesized(Parser<OmpAlignedClause>{}))) ||
5621 "align" >> construct<OmpClause>(construct<OmpClause::Align>(parenthesized(Parser<OmpAlignClause>{}))) ||
5622 "affinity" >> construct<OmpClause>(construct<OmpClause::Affinity>(parenthesized(Parser<OmpAffinityClause>{}))) ||
5623 "adjust_args" >> construct<OmpClause>(construct<OmpClause::AdjustArgs>(parenthesized(Parser<OmpAdjustArgsClause>{}))) ||
5624 "acquire" >> construct<OmpClause>(construct<OmpClause::Acquire>()) ||
5625 "acq_rel" >> construct<OmpClause>(construct<OmpClause::AcqRel>()) ||
5626 "absent" >> construct<OmpClause>(construct<OmpClause::Absent>(parenthesized(Parser<OmpAbsentClause>{})))
5627)
5628
5629#endif // GEN_FLANG_CLAUSES_PARSER
5630
5631#ifdef GEN_CLANG_CLAUSE_CLASS
5632#undef GEN_CLANG_CLAUSE_CLASS
5633
5634#ifndef CLAUSE
5635#define CLAUSE(Enum, Str, Implicit)
5636#endif
5637#ifndef CLAUSE_CLASS
5638#define CLAUSE_CLASS(Enum, Str, Class)
5639#endif
5640#ifndef CLAUSE_NO_CLASS
5641#define CLAUSE_NO_CLASS(Enum, Str)
5642#endif
5643
5644#define __CLAUSE(Name, Class) \
5645 CLAUSE(OMPC_##Name, #Name, /* Implicit */ false) \
5646 CLAUSE_CLASS(OMPC_##Name, #Name, Class)
5647#define __CLAUSE_NO_CLASS(Name) \
5648 CLAUSE(OMPC_##Name, #Name, /* Implicit */ false) \
5649 CLAUSE_NO_CLASS(OMPC_##Name, #Name)
5650#define __IMPLICIT_CLAUSE_CLASS(Name, Str, Class) \
5651 CLAUSE(OMPC_##Name, Str, /* Implicit */ true) \
5652 CLAUSE_CLASS(OMPC_##Name, Str, Class)
5653#define __IMPLICIT_CLAUSE_NO_CLASS(Name, Str) \
5654 CLAUSE(OMPC_##Name, Str, /* Implicit */ true) \
5655 CLAUSE_NO_CLASS(OMPC_##Name, Str)
5656
5657__CLAUSE(absent, OMPAbsentClause)
5658__CLAUSE(acq_rel, OMPAcqRelClause)
5659__CLAUSE(acquire, OMPAcquireClause)
5660__CLAUSE_NO_CLASS(adjust_args)
5661__CLAUSE(affinity, OMPAffinityClause)
5662__CLAUSE(align, OMPAlignClause)
5663__CLAUSE(aligned, OMPAlignedClause)
5664__CLAUSE(allocate, OMPAllocateClause)
5665__CLAUSE(allocator, OMPAllocatorClause)
5666__CLAUSE_NO_CLASS(append_args)
5667__CLAUSE_NO_CLASS(apply)
5668__CLAUSE(at, OMPAtClause)
5669__CLAUSE(atomic_default_mem_order, OMPAtomicDefaultMemOrderClause)
5670__CLAUSE(bind, OMPBindClause)
5671__CLAUSE_NO_CLASS(cancellation_construct_type)
5672__CLAUSE(capture, OMPCaptureClause)
5673__CLAUSE(collapse, OMPCollapseClause)
5674__CLAUSE_NO_CLASS(collector)
5675__CLAUSE_NO_CLASS(combiner)
5676__CLAUSE(compare, OMPCompareClause)
5677__CLAUSE(contains, OMPContainsClause)
5678__CLAUSE(copyprivate, OMPCopyprivateClause)
5679__CLAUSE(copyin, OMPCopyinClause)
5680__CLAUSE(counts, OMPCountsClause)
5681__CLAUSE(default, OMPDefaultClause)
5682__CLAUSE(defaultmap, OMPDefaultmapClause)
5683__CLAUSE_NO_CLASS(default_variant)
5684__CLAUSE(depend, OMPDependClause)
5685__IMPLICIT_CLAUSE_CLASS(depobj, "depobj", OMPDepobjClause)
5686__CLAUSE(depth, OMPDepthClause)
5687__CLAUSE(destroy, OMPDestroyClause)
5688__CLAUSE(detach, OMPDetachClause)
5689__CLAUSE(device, OMPDeviceClause)
5690__CLAUSE_NO_CLASS(device_safesync)
5691__CLAUSE_NO_CLASS(device_type)
5692__CLAUSE(dist_schedule, OMPDistScheduleClause)
5693__CLAUSE(doacross, OMPDoacrossClause)
5694__CLAUSE(dyn_groupprivate, OMPDynGroupprivateClause)
5695__CLAUSE(dynamic_allocators, OMPDynamicAllocatorsClause)
5696__CLAUSE_NO_CLASS(enter)
5697__CLAUSE(exclusive, OMPExclusiveClause)
5698__CLAUSE(fail, OMPFailClause)
5699__CLAUSE(filter, OMPFilterClause)
5700__CLAUSE(final, OMPFinalClause)
5701__CLAUSE(firstprivate, OMPFirstprivateClause)
5702__IMPLICIT_CLAUSE_CLASS(flush, "flush", OMPFlushClause)
5703__CLAUSE(from, OMPFromClause)
5704__CLAUSE(full, OMPFullClause)
5705__CLAUSE(grainsize, OMPGrainsizeClause)
5706__CLAUSE_NO_CLASS(graph_id)
5707__CLAUSE_NO_CLASS(graph_reset)
5708__IMPLICIT_CLAUSE_NO_CLASS(groupprivate, "groupprivate")
5709__CLAUSE(has_device_addr, OMPHasDeviceAddrClause)
5710__CLAUSE(hint, OMPHintClause)
5711__CLAUSE(holds, OMPHoldsClause)
5712__CLAUSE(if, OMPIfClause)
5713__CLAUSE(in_reduction, OMPInReductionClause)
5714__CLAUSE_NO_CLASS(inbranch)
5715__CLAUSE(inclusive, OMPInclusiveClause)
5716__CLAUSE_NO_CLASS(indirect)
5717__CLAUSE_NO_CLASS(induction)
5718__CLAUSE_NO_CLASS(inductor)
5719__CLAUSE(init, OMPInitClause)
5720__CLAUSE_NO_CLASS(init_complete)
5721__CLAUSE_NO_CLASS(initializer)
5722__CLAUSE_NO_CLASS(interop)
5723__CLAUSE(is_device_ptr, OMPIsDevicePtrClause)
5724__CLAUSE(lastprivate, OMPLastprivateClause)
5725__CLAUSE(linear, OMPLinearClause)
5726__CLAUSE_NO_CLASS(link)
5727__CLAUSE_NO_CLASS(local)
5728__CLAUSE(looprange, OMPLoopRangeClause)
5729__CLAUSE(map, OMPMapClause)
5730__CLAUSE_NO_CLASS(match)
5731__CLAUSE_NO_CLASS(memory_order)
5732__CLAUSE_NO_CLASS(memscope)
5733__CLAUSE(mergeable, OMPMergeableClause)
5734__CLAUSE(message, OMPMessageClause)
5735__CLAUSE(nogroup, OMPNogroupClause)
5736__CLAUSE(no_openmp, OMPNoOpenMPClause)
5737__CLAUSE(no_openmp_constructs, OMPNoOpenMPConstructsClause)
5738__CLAUSE(no_openmp_routines, OMPNoOpenMPRoutinesClause)
5739__CLAUSE(no_parallelism, OMPNoParallelismClause)
5740__CLAUSE(nowait, OMPNowaitClause)
5741__CLAUSE(nocontext, OMPNocontextClause)
5742__CLAUSE(nontemporal, OMPNontemporalClause)
5743__CLAUSE_NO_CLASS(notinbranch)
5744__CLAUSE(novariants, OMPNovariantsClause)
5745__CLAUSE(num_tasks, OMPNumTasksClause)
5746__CLAUSE(num_teams, OMPNumTeamsClause)
5747__CLAUSE(num_threads, OMPNumThreadsClause)
5748__CLAUSE(ompx_attribute, OMPXAttributeClause)
5749__CLAUSE(ompx_bare, OMPXBareClause)
5750__CLAUSE(ompx_dyn_cgroup_mem, OMPXDynCGroupMemClause)
5751__CLAUSE(order, OMPOrderClause)
5752__CLAUSE(ordered, OMPOrderedClause)
5753__CLAUSE_NO_CLASS(otherwise)
5754__CLAUSE(partial, OMPPartialClause)
5755__CLAUSE(permutation, OMPPermutationClause)
5756__CLAUSE(priority, OMPPriorityClause)
5757__CLAUSE(private, OMPPrivateClause)
5758__CLAUSE(proc_bind, OMPProcBindClause)
5759__CLAUSE(read, OMPReadClause)
5760__CLAUSE(reduction, OMPReductionClause)
5761__CLAUSE_NO_CLASS(reduction_kind)
5762__CLAUSE(relaxed, OMPRelaxedClause)
5763__CLAUSE(release, OMPReleaseClause)
5764__CLAUSE_NO_CLASS(replayable)
5765__CLAUSE(reverse_offload, OMPReverseOffloadClause)
5766__CLAUSE(safelen, OMPSafelenClause)
5767__CLAUSE_NO_CLASS(safesync)
5768__CLAUSE(schedule, OMPScheduleClause)
5769__CLAUSE(self_maps, OMPSelfMapsClause)
5770__CLAUSE(seq_cst, OMPSeqCstClause)
5771__CLAUSE(severity, OMPSeverityClause)
5772__CLAUSE(shared, OMPSharedClause)
5773__CLAUSE_NO_CLASS(shift)
5774__CLAUSE(simd, OMPSIMDClause)
5775__CLAUSE(simdlen, OMPSimdlenClause)
5776__CLAUSE(sizes, OMPSizesClause)
5777__CLAUSE(task_reduction, OMPTaskReductionClause)
5778__CLAUSE(thread_limit, OMPThreadLimitClause)
5779__IMPLICIT_CLAUSE_NO_CLASS(threadprivate, "threadprivate")
5780__CLAUSE(threads, OMPThreadsClause)
5781__CLAUSE(threadset, OMPThreadsetClause)
5782__CLAUSE(to, OMPToClause)
5783__CLAUSE(transparent, OMPTransparentClause)
5784__CLAUSE(unified_address, OMPUnifiedAddressClause)
5785__CLAUSE(unified_shared_memory, OMPUnifiedSharedMemoryClause)
5786__CLAUSE_NO_CLASS(uniform)
5787__IMPLICIT_CLAUSE_NO_CLASS(unknown, "unknown")
5788__CLAUSE(untied, OMPUntiedClause)
5789__CLAUSE(update, OMPUpdateClause)
5790__CLAUSE(update_depend_objects, OMPUpdateDependObjectsClause)
5791__CLAUSE(use, OMPUseClause)
5792__CLAUSE(use_device_addr, OMPUseDeviceAddrClause)
5793__CLAUSE(use_device_ptr, OMPUseDevicePtrClause)
5794__CLAUSE(uses_allocators, OMPUsesAllocatorsClause)
5795__CLAUSE(weak, OMPWeakClause)
5796__CLAUSE_NO_CLASS(when)
5797__CLAUSE(write, OMPWriteClause)
5798
5799#undef __IMPLICIT_CLAUSE_NO_CLASS
5800#undef __IMPLICIT_CLAUSE_CLASS
5801#undef __CLAUSE_NO_CLASS
5802#undef __CLAUSE
5803#undef CLAUSE_NO_CLASS
5804#undef CLAUSE_CLASS
5805#undef CLAUSE
5806
5807#endif // GEN_CLANG_CLAUSE_CLASS
5808
5809#ifdef GEN_DIRECTIVES_IMPL
5810#undef GEN_DIRECTIVES_IMPL
5811
5812#include "llvm/Frontend/Directive/Spelling.h"
5813#include "llvm/Frontend/Directive/Version.h"
5814#include "llvm/Support/ErrorHandling.h"
5815#include <utility>
5816
5817std::pair<llvm::omp::Directive, llvm::directive::VersionRange> llvm::omp::getOpenMPDirectiveKindAndVersions(llvm::StringRef Str) {
5818 directive::VersionRange All; // Default-initialized to "all versions"
5819 return StringSwitch<std::pair<Directive, directive::VersionRange>>(Str)
5820 .Case("allocate", {OMPD_allocate, All})
5821 .Case("allocators", {OMPD_allocators, All})
5822 .Case("assume", {OMPD_assume, All})
5823 .Case("assumes", {OMPD_assumes, All})
5824 .Case("atomic", {OMPD_atomic, All})
5825 .Case("barrier", {OMPD_barrier, All})
5826 .Case("begin assumes", {OMPD_begin_assumes, All})
5827 .Case("begin declare target", {OMPD_begin_declare_target, {directive::Version(1), directive::Version(52)}})
5828 .Case("begin declare_target", {OMPD_begin_declare_target, {directive::Version(60), directive::Version(2147483647)}})
5829 .Case("begin declare variant", {OMPD_begin_declare_variant, {directive::Version(1), directive::Version(52)}})
5830 .Case("begin declare_variant", {OMPD_begin_declare_variant, {directive::Version(60), directive::Version(2147483647)}})
5831 .Case("begin metadirective", {OMPD_begin_metadirective, All})
5832 .Case("cancel", {OMPD_cancel, All})
5833 .Case("cancellation point", {OMPD_cancellation_point, {directive::Version(1), directive::Version(52)}})
5834 .Case("cancellation_point", {OMPD_cancellation_point, {directive::Version(60), directive::Version(2147483647)}})
5835 .Case("critical", {OMPD_critical, All})
5836 .Case("declare_induction", {OMPD_declare_induction, All})
5837 .Case("declare mapper", {OMPD_declare_mapper, {directive::Version(1), directive::Version(52)}})
5838 .Case("declare_mapper", {OMPD_declare_mapper, {directive::Version(60), directive::Version(2147483647)}})
5839 .Case("declare reduction", {OMPD_declare_reduction, {directive::Version(1), directive::Version(52)}})
5840 .Case("declare_reduction", {OMPD_declare_reduction, {directive::Version(60), directive::Version(2147483647)}})
5841 .Case("declare simd", {OMPD_declare_simd, {directive::Version(1), directive::Version(52)}})
5842 .Case("declare_simd", {OMPD_declare_simd, {directive::Version(60), directive::Version(2147483647)}})
5843 .Case("declare target", {OMPD_declare_target, {directive::Version(1), directive::Version(52)}})
5844 .Case("declare_target", {OMPD_declare_target, {directive::Version(60), directive::Version(2147483647)}})
5845 .Case("declare variant", {OMPD_declare_variant, {directive::Version(1), directive::Version(52)}})
5846 .Case("declare_variant", {OMPD_declare_variant, {directive::Version(60), directive::Version(2147483647)}})
5847 .Case("depobj", {OMPD_depobj, All})
5848 .Case("distribute", {OMPD_distribute, All})
5849 .Case("distribute parallel do", {OMPD_distribute_parallel_do, All})
5850 .Case("distribute parallel do simd", {OMPD_distribute_parallel_do_simd, All})
5851 .Case("distribute parallel for", {OMPD_distribute_parallel_for, All})
5852 .Case("distribute parallel for simd", {OMPD_distribute_parallel_for_simd, All})
5853 .Case("distribute simd", {OMPD_distribute_simd, All})
5854 .Case("do", {OMPD_do, All})
5855 .Case("do simd", {OMPD_do_simd, All})
5856 .Case("end assumes", {OMPD_end_assumes, All})
5857 .Case("end declare target", {OMPD_end_declare_target, {directive::Version(1), directive::Version(52)}})
5858 .Case("end declare_target", {OMPD_end_declare_target, {directive::Version(60), directive::Version(2147483647)}})
5859 .Case("end declare variant", {OMPD_end_declare_variant, {directive::Version(1), directive::Version(52)}})
5860 .Case("end declare_variant", {OMPD_end_declare_variant, {directive::Version(60), directive::Version(2147483647)}})
5861 .Case("end metadirective", {OMPD_end_metadirective, All})
5862 .Case("error", {OMPD_error, All})
5863 .Case("flatten", {OMPD_flatten, All})
5864 .Case("flush", {OMPD_flush, All})
5865 .Case("for", {OMPD_for, All})
5866 .Case("for simd", {OMPD_for_simd, All})
5867 .Case("fuse", {OMPD_fuse, All})
5868 .Case("groupprivate", {OMPD_groupprivate, All})
5869 .Case("interchange", {OMPD_interchange, All})
5870 .Case("masked taskloop", {OMPD_masked_taskloop, All})
5871 .Case("masked taskloop simd", {OMPD_masked_taskloop_simd, All})
5872 .Case("master", {OMPD_master, All})
5873 .Case("master taskloop", {OMPD_master_taskloop, All})
5874 .Case("master taskloop simd", {OMPD_master_taskloop_simd, All})
5875 .Case("metadirective", {OMPD_metadirective, All})
5876 .Case("nothing", {OMPD_nothing, All})
5877 .Case("ordered", {OMPD_ordered_blockassoc, All})
5878 .Case("ordered", {OMPD_ordered_standalone, All})
5879 .Case("parallel", {OMPD_parallel, All})
5880 .Case("parallel do", {OMPD_parallel_do, All})
5881 .Case("parallel do simd", {OMPD_parallel_do_simd, All})
5882 .Case("parallel for", {OMPD_parallel_for, All})
5883 .Case("parallel for simd", {OMPD_parallel_for_simd, All})
5884 .Case("parallel masked", {OMPD_parallel_masked, All})
5885 .Case("parallel masked taskloop", {OMPD_parallel_masked_taskloop, All})
5886 .Case("parallel masked taskloop simd", {OMPD_parallel_masked_taskloop_simd, All})
5887 .Case("parallel master", {OMPD_parallel_master, All})
5888 .Case("parallel master taskloop", {OMPD_parallel_master_taskloop, All})
5889 .Case("parallel master taskloop simd", {OMPD_parallel_master_taskloop_simd, All})
5890 .Case("parallel sections", {OMPD_parallel_sections, All})
5891 .Case("parallel workshare", {OMPD_parallel_workshare, All})
5892 .Case("requires", {OMPD_requires, All})
5893 .Case("reverse", {OMPD_reverse, All})
5894 .Case("scan", {OMPD_scan, All})
5895 .Case("scope", {OMPD_scope, All})
5896 .Case("section", {OMPD_section, All})
5897 .Case("sections", {OMPD_sections, All})
5898 .Case("simd", {OMPD_simd, All})
5899 .Case("single", {OMPD_single, All})
5900 .Case("split", {OMPD_split, All})
5901 .Case("stripe", {OMPD_stripe, All})
5902 .Case("target", {OMPD_target, All})
5903 .Case("target data", {OMPD_target_data, {directive::Version(1), directive::Version(52)}})
5904 .Case("target_data", {OMPD_target_data, {directive::Version(60), directive::Version(2147483647)}})
5905 .Case("target enter data", {OMPD_target_enter_data, {directive::Version(1), directive::Version(52)}})
5906 .Case("target_enter_data", {OMPD_target_enter_data, {directive::Version(60), directive::Version(2147483647)}})
5907 .Case("target exit data", {OMPD_target_exit_data, {directive::Version(1), directive::Version(52)}})
5908 .Case("target_exit_data", {OMPD_target_exit_data, {directive::Version(60), directive::Version(2147483647)}})
5909 .Case("target parallel", {OMPD_target_parallel, All})
5910 .Case("target parallel do", {OMPD_target_parallel_do, All})
5911 .Case("target parallel do simd", {OMPD_target_parallel_do_simd, All})
5912 .Case("target parallel for", {OMPD_target_parallel_for, All})
5913 .Case("target parallel for simd", {OMPD_target_parallel_for_simd, All})
5914 .Case("target simd", {OMPD_target_simd, All})
5915 .Case("target teams", {OMPD_target_teams, All})
5916 .Case("target teams distribute", {OMPD_target_teams_distribute, All})
5917 .Case("target teams distribute parallel do", {OMPD_target_teams_distribute_parallel_do, All})
5918 .Case("target teams distribute parallel do simd", {OMPD_target_teams_distribute_parallel_do_simd, All})
5919 .Case("target teams distribute parallel for", {OMPD_target_teams_distribute_parallel_for, All})
5920 .Case("target teams distribute parallel for simd", {OMPD_target_teams_distribute_parallel_for_simd, All})
5921 .Case("target teams distribute simd", {OMPD_target_teams_distribute_simd, All})
5922 .Case("target teams workdistribute", {OMPD_target_teams_workdistribute, All})
5923 .Case("target update", {OMPD_target_update, {directive::Version(1), directive::Version(52)}})
5924 .Case("target_update", {OMPD_target_update, {directive::Version(60), directive::Version(2147483647)}})
5925 .Case("task", {OMPD_task, All})
5926 .Case("taskgroup", {OMPD_taskgroup, All})
5927 .Case("task_iteration", {OMPD_task_iteration, All})
5928 .Case("taskloop", {OMPD_taskloop, All})
5929 .Case("taskloop simd", {OMPD_taskloop_simd, All})
5930 .Case("taskwait", {OMPD_taskwait, All})
5931 .Case("taskyield", {OMPD_taskyield, All})
5932 .Case("taskgraph", {OMPD_taskgraph, All})
5933 .Case("teams", {OMPD_teams, All})
5934 .Case("teams distribute", {OMPD_teams_distribute, All})
5935 .Case("teams distribute parallel do", {OMPD_teams_distribute_parallel_do, All})
5936 .Case("teams distribute parallel do simd", {OMPD_teams_distribute_parallel_do_simd, All})
5937 .Case("teams distribute parallel for", {OMPD_teams_distribute_parallel_for, All})
5938 .Case("teams distribute parallel for simd", {OMPD_teams_distribute_parallel_for_simd, All})
5939 .Case("teams distribute simd", {OMPD_teams_distribute_simd, All})
5940 .Case("teams workdistribute", {OMPD_teams_workdistribute, All})
5941 .Case("threadprivate", {OMPD_threadprivate, All})
5942 .Case("tile", {OMPD_tile, All})
5943 .Case("unknown", {OMPD_unknown, All})
5944 .Case("unroll", {OMPD_unroll, All})
5945 .Case("workdistribute", {OMPD_workdistribute, All})
5946 .Case("workshare", {OMPD_workshare, All})
5947 .Case("dispatch", {OMPD_dispatch, All})
5948 .Case("interop", {OMPD_interop, All})
5949 .Case("loop", {OMPD_loop, All})
5950 .Case("masked", {OMPD_masked, All})
5951 .Case("parallel loop", {OMPD_parallel_loop, All})
5952 .Case("target loop", {OMPD_target_loop, All})
5953 .Case("target parallel loop", {OMPD_target_parallel_loop, All})
5954 .Case("target teams loop", {OMPD_target_teams_loop, All})
5955 .Case("teams loop", {OMPD_teams_loop, All})
5956 .Default({OMPD_unknown, All});
5957}
5958
5959llvm::StringRef llvm::omp::getOpenMPDirectiveName(llvm::omp::Directive Kind, llvm::directive::Version V) {
5960 switch (Kind) {
5961 case OMPD_allocate:
5962 return "allocate";
5963 case OMPD_allocators:
5964 return "allocators";
5965 case OMPD_assume:
5966 return "assume";
5967 case OMPD_assumes:
5968 return "assumes";
5969 case OMPD_atomic:
5970 return "atomic";
5971 case OMPD_barrier:
5972 return "barrier";
5973 case OMPD_begin_assumes:
5974 return "begin assumes";
5975 case OMPD_begin_declare_target: {
5976 static constexpr llvm::directive::Spelling OMPD_begin_declare_target_spellings[] = {
5977 {"begin declare target", {directive::Version(1), directive::Version(52)}},
5978 {"begin declare_target", {directive::Version(60), directive::Version(2147483647)}},
5979 };
5980 return llvm::directive::FindName(OMPD_begin_declare_target_spellings, V);
5981 }
5982 case OMPD_begin_declare_variant: {
5983 static constexpr llvm::directive::Spelling OMPD_begin_declare_variant_spellings[] = {
5984 {"begin declare variant", {directive::Version(1), directive::Version(52)}},
5985 {"begin declare_variant", {directive::Version(60), directive::Version(2147483647)}},
5986 };
5987 return llvm::directive::FindName(OMPD_begin_declare_variant_spellings, V);
5988 }
5989 case OMPD_begin_metadirective:
5990 return "begin metadirective";
5991 case OMPD_cancel:
5992 return "cancel";
5993 case OMPD_cancellation_point: {
5994 static constexpr llvm::directive::Spelling OMPD_cancellation_point_spellings[] = {
5995 {"cancellation point", {directive::Version(1), directive::Version(52)}},
5996 {"cancellation_point", {directive::Version(60), directive::Version(2147483647)}},
5997 };
5998 return llvm::directive::FindName(OMPD_cancellation_point_spellings, V);
5999 }
6000 case OMPD_critical:
6001 return "critical";
6002 case OMPD_declare_induction:
6003 return "declare_induction";
6004 case OMPD_declare_mapper: {
6005 static constexpr llvm::directive::Spelling OMPD_declare_mapper_spellings[] = {
6006 {"declare mapper", {directive::Version(1), directive::Version(52)}},
6007 {"declare_mapper", {directive::Version(60), directive::Version(2147483647)}},
6008 };
6009 return llvm::directive::FindName(OMPD_declare_mapper_spellings, V);
6010 }
6011 case OMPD_declare_reduction: {
6012 static constexpr llvm::directive::Spelling OMPD_declare_reduction_spellings[] = {
6013 {"declare reduction", {directive::Version(1), directive::Version(52)}},
6014 {"declare_reduction", {directive::Version(60), directive::Version(2147483647)}},
6015 };
6016 return llvm::directive::FindName(OMPD_declare_reduction_spellings, V);
6017 }
6018 case OMPD_declare_simd: {
6019 static constexpr llvm::directive::Spelling OMPD_declare_simd_spellings[] = {
6020 {"declare simd", {directive::Version(1), directive::Version(52)}},
6021 {"declare_simd", {directive::Version(60), directive::Version(2147483647)}},
6022 };
6023 return llvm::directive::FindName(OMPD_declare_simd_spellings, V);
6024 }
6025 case OMPD_declare_target: {
6026 static constexpr llvm::directive::Spelling OMPD_declare_target_spellings[] = {
6027 {"declare target", {directive::Version(1), directive::Version(52)}},
6028 {"declare_target", {directive::Version(60), directive::Version(2147483647)}},
6029 };
6030 return llvm::directive::FindName(OMPD_declare_target_spellings, V);
6031 }
6032 case OMPD_declare_variant: {
6033 static constexpr llvm::directive::Spelling OMPD_declare_variant_spellings[] = {
6034 {"declare variant", {directive::Version(1), directive::Version(52)}},
6035 {"declare_variant", {directive::Version(60), directive::Version(2147483647)}},
6036 };
6037 return llvm::directive::FindName(OMPD_declare_variant_spellings, V);
6038 }
6039 case OMPD_depobj:
6040 return "depobj";
6041 case OMPD_distribute:
6042 return "distribute";
6043 case OMPD_distribute_parallel_do:
6044 return "distribute parallel do";
6045 case OMPD_distribute_parallel_do_simd:
6046 return "distribute parallel do simd";
6047 case OMPD_distribute_parallel_for:
6048 return "distribute parallel for";
6049 case OMPD_distribute_parallel_for_simd:
6050 return "distribute parallel for simd";
6051 case OMPD_distribute_simd:
6052 return "distribute simd";
6053 case OMPD_do:
6054 return "do";
6055 case OMPD_do_simd:
6056 return "do simd";
6057 case OMPD_end_assumes:
6058 return "end assumes";
6059 case OMPD_end_declare_target: {
6060 static constexpr llvm::directive::Spelling OMPD_end_declare_target_spellings[] = {
6061 {"end declare target", {directive::Version(1), directive::Version(52)}},
6062 {"end declare_target", {directive::Version(60), directive::Version(2147483647)}},
6063 };
6064 return llvm::directive::FindName(OMPD_end_declare_target_spellings, V);
6065 }
6066 case OMPD_end_declare_variant: {
6067 static constexpr llvm::directive::Spelling OMPD_end_declare_variant_spellings[] = {
6068 {"end declare variant", {directive::Version(1), directive::Version(52)}},
6069 {"end declare_variant", {directive::Version(60), directive::Version(2147483647)}},
6070 };
6071 return llvm::directive::FindName(OMPD_end_declare_variant_spellings, V);
6072 }
6073 case OMPD_end_metadirective:
6074 return "end metadirective";
6075 case OMPD_error:
6076 return "error";
6077 case OMPD_flatten:
6078 return "flatten";
6079 case OMPD_flush:
6080 return "flush";
6081 case OMPD_for:
6082 return "for";
6083 case OMPD_for_simd:
6084 return "for simd";
6085 case OMPD_fuse:
6086 return "fuse";
6087 case OMPD_groupprivate:
6088 return "groupprivate";
6089 case OMPD_interchange:
6090 return "interchange";
6091 case OMPD_masked_taskloop:
6092 return "masked taskloop";
6093 case OMPD_masked_taskloop_simd:
6094 return "masked taskloop simd";
6095 case OMPD_master:
6096 return "master";
6097 case OMPD_master_taskloop:
6098 return "master taskloop";
6099 case OMPD_master_taskloop_simd:
6100 return "master taskloop simd";
6101 case OMPD_metadirective:
6102 return "metadirective";
6103 case OMPD_nothing:
6104 return "nothing";
6105 case OMPD_ordered_blockassoc:
6106 return "ordered";
6107 case OMPD_ordered_standalone:
6108 return "ordered";
6109 case OMPD_parallel:
6110 return "parallel";
6111 case OMPD_parallel_do:
6112 return "parallel do";
6113 case OMPD_parallel_do_simd:
6114 return "parallel do simd";
6115 case OMPD_parallel_for:
6116 return "parallel for";
6117 case OMPD_parallel_for_simd:
6118 return "parallel for simd";
6119 case OMPD_parallel_masked:
6120 return "parallel masked";
6121 case OMPD_parallel_masked_taskloop:
6122 return "parallel masked taskloop";
6123 case OMPD_parallel_masked_taskloop_simd:
6124 return "parallel masked taskloop simd";
6125 case OMPD_parallel_master:
6126 return "parallel master";
6127 case OMPD_parallel_master_taskloop:
6128 return "parallel master taskloop";
6129 case OMPD_parallel_master_taskloop_simd:
6130 return "parallel master taskloop simd";
6131 case OMPD_parallel_sections:
6132 return "parallel sections";
6133 case OMPD_parallel_workshare:
6134 return "parallel workshare";
6135 case OMPD_requires:
6136 return "requires";
6137 case OMPD_reverse:
6138 return "reverse";
6139 case OMPD_scan:
6140 return "scan";
6141 case OMPD_scope:
6142 return "scope";
6143 case OMPD_section:
6144 return "section";
6145 case OMPD_sections:
6146 return "sections";
6147 case OMPD_simd:
6148 return "simd";
6149 case OMPD_single:
6150 return "single";
6151 case OMPD_split:
6152 return "split";
6153 case OMPD_stripe:
6154 return "stripe";
6155 case OMPD_target:
6156 return "target";
6157 case OMPD_target_data: {
6158 static constexpr llvm::directive::Spelling OMPD_target_data_spellings[] = {
6159 {"target data", {directive::Version(1), directive::Version(52)}},
6160 {"target_data", {directive::Version(60), directive::Version(2147483647)}},
6161 };
6162 return llvm::directive::FindName(OMPD_target_data_spellings, V);
6163 }
6164 case OMPD_target_enter_data: {
6165 static constexpr llvm::directive::Spelling OMPD_target_enter_data_spellings[] = {
6166 {"target enter data", {directive::Version(1), directive::Version(52)}},
6167 {"target_enter_data", {directive::Version(60), directive::Version(2147483647)}},
6168 };
6169 return llvm::directive::FindName(OMPD_target_enter_data_spellings, V);
6170 }
6171 case OMPD_target_exit_data: {
6172 static constexpr llvm::directive::Spelling OMPD_target_exit_data_spellings[] = {
6173 {"target exit data", {directive::Version(1), directive::Version(52)}},
6174 {"target_exit_data", {directive::Version(60), directive::Version(2147483647)}},
6175 };
6176 return llvm::directive::FindName(OMPD_target_exit_data_spellings, V);
6177 }
6178 case OMPD_target_parallel:
6179 return "target parallel";
6180 case OMPD_target_parallel_do:
6181 return "target parallel do";
6182 case OMPD_target_parallel_do_simd:
6183 return "target parallel do simd";
6184 case OMPD_target_parallel_for:
6185 return "target parallel for";
6186 case OMPD_target_parallel_for_simd:
6187 return "target parallel for simd";
6188 case OMPD_target_simd:
6189 return "target simd";
6190 case OMPD_target_teams:
6191 return "target teams";
6192 case OMPD_target_teams_distribute:
6193 return "target teams distribute";
6194 case OMPD_target_teams_distribute_parallel_do:
6195 return "target teams distribute parallel do";
6196 case OMPD_target_teams_distribute_parallel_do_simd:
6197 return "target teams distribute parallel do simd";
6198 case OMPD_target_teams_distribute_parallel_for:
6199 return "target teams distribute parallel for";
6200 case OMPD_target_teams_distribute_parallel_for_simd:
6201 return "target teams distribute parallel for simd";
6202 case OMPD_target_teams_distribute_simd:
6203 return "target teams distribute simd";
6204 case OMPD_target_teams_workdistribute:
6205 return "target teams workdistribute";
6206 case OMPD_target_update: {
6207 static constexpr llvm::directive::Spelling OMPD_target_update_spellings[] = {
6208 {"target update", {directive::Version(1), directive::Version(52)}},
6209 {"target_update", {directive::Version(60), directive::Version(2147483647)}},
6210 };
6211 return llvm::directive::FindName(OMPD_target_update_spellings, V);
6212 }
6213 case OMPD_task:
6214 return "task";
6215 case OMPD_taskgroup:
6216 return "taskgroup";
6217 case OMPD_task_iteration:
6218 return "task_iteration";
6219 case OMPD_taskloop:
6220 return "taskloop";
6221 case OMPD_taskloop_simd:
6222 return "taskloop simd";
6223 case OMPD_taskwait:
6224 return "taskwait";
6225 case OMPD_taskyield:
6226 return "taskyield";
6227 case OMPD_taskgraph:
6228 return "taskgraph";
6229 case OMPD_teams:
6230 return "teams";
6231 case OMPD_teams_distribute:
6232 return "teams distribute";
6233 case OMPD_teams_distribute_parallel_do:
6234 return "teams distribute parallel do";
6235 case OMPD_teams_distribute_parallel_do_simd:
6236 return "teams distribute parallel do simd";
6237 case OMPD_teams_distribute_parallel_for:
6238 return "teams distribute parallel for";
6239 case OMPD_teams_distribute_parallel_for_simd:
6240 return "teams distribute parallel for simd";
6241 case OMPD_teams_distribute_simd:
6242 return "teams distribute simd";
6243 case OMPD_teams_workdistribute:
6244 return "teams workdistribute";
6245 case OMPD_threadprivate:
6246 return "threadprivate";
6247 case OMPD_tile:
6248 return "tile";
6249 case OMPD_unknown:
6250 return "unknown";
6251 case OMPD_unroll:
6252 return "unroll";
6253 case OMPD_workdistribute:
6254 return "workdistribute";
6255 case OMPD_workshare:
6256 return "workshare";
6257 case OMPD_dispatch:
6258 return "dispatch";
6259 case OMPD_interop:
6260 return "interop";
6261 case OMPD_loop:
6262 return "loop";
6263 case OMPD_masked:
6264 return "masked";
6265 case OMPD_parallel_loop:
6266 return "parallel loop";
6267 case OMPD_target_loop:
6268 return "target loop";
6269 case OMPD_target_parallel_loop:
6270 return "target parallel loop";
6271 case OMPD_target_teams_loop:
6272 return "target teams loop";
6273 case OMPD_teams_loop:
6274 return "teams loop";
6275 }
6276 llvm_unreachable("Invalid OpenMP Directive kind");
6277}
6278
6279std::pair<llvm::omp::Clause, llvm::directive::VersionRange> llvm::omp::getOpenMPClauseKindAndVersions(llvm::StringRef Str) {
6280 directive::VersionRange All; // Default-initialized to "all versions"
6281 return StringSwitch<std::pair<Clause, directive::VersionRange>>(Str)
6282 .Case("absent", {OMPC_absent, All})
6283 .Case("acq_rel", {OMPC_acq_rel, All})
6284 .Case("acquire", {OMPC_acquire, All})
6285 .Case("adjust_args", {OMPC_adjust_args, All})
6286 .Case("affinity", {OMPC_affinity, All})
6287 .Case("align", {OMPC_align, All})
6288 .Case("aligned", {OMPC_aligned, All})
6289 .Case("allocate", {OMPC_allocate, All})
6290 .Case("allocator", {OMPC_allocator, All})
6291 .Case("append_args", {OMPC_append_args, All})
6292 .Case("apply", {OMPC_apply, All})
6293 .Case("at", {OMPC_at, All})
6294 .Case("atomic_default_mem_order", {OMPC_atomic_default_mem_order, All})
6295 .Case("bind", {OMPC_bind, All})
6296 .Case("cancellation_construct_type", {OMPC_cancellation_construct_type, All})
6297 .Case("capture", {OMPC_capture, All})
6298 .Case("collapse", {OMPC_collapse, All})
6299 .Case("collector", {OMPC_collector, All})
6300 .Case("combiner", {OMPC_combiner, All})
6301 .Case("compare", {OMPC_compare, All})
6302 .Case("contains", {OMPC_contains, All})
6303 .Case("copyprivate", {OMPC_copyprivate, All})
6304 .Case("copyin", {OMPC_copyin, All})
6305 .Case("counts", {OMPC_counts, All})
6306 .Case("default", {OMPC_default, All})
6307 .Case("defaultmap", {OMPC_defaultmap, All})
6308 .Case("default", {OMPC_default_variant, All})
6309 .Case("depend", {OMPC_depend, All})
6310 .Case("depobj", {OMPC_unknown, All})
6311 .Case("depth", {OMPC_depth, All})
6312 .Case("destroy", {OMPC_destroy, All})
6313 .Case("detach", {OMPC_detach, All})
6314 .Case("device", {OMPC_device, All})
6315 .Case("device_safesync", {OMPC_device_safesync, All})
6316 .Case("device_type", {OMPC_device_type, All})
6317 .Case("dist_schedule", {OMPC_dist_schedule, All})
6318 .Case("doacross", {OMPC_doacross, All})
6319 .Case("dyn_groupprivate", {OMPC_dyn_groupprivate, All})
6320 .Case("dynamic_allocators", {OMPC_dynamic_allocators, All})
6321 .Case("enter", {OMPC_enter, All})
6322 .Case("exclusive", {OMPC_exclusive, All})
6323 .Case("fail", {OMPC_fail, All})
6324 .Case("filter", {OMPC_filter, All})
6325 .Case("final", {OMPC_final, All})
6326 .Case("firstprivate", {OMPC_firstprivate, All})
6327 .Case("flush", {OMPC_unknown, All})
6328 .Case("from", {OMPC_from, All})
6329 .Case("full", {OMPC_full, All})
6330 .Case("grainsize", {OMPC_grainsize, All})
6331 .Case("graph_id", {OMPC_graph_id, All})
6332 .Case("graph_reset", {OMPC_graph_reset, All})
6333 .Case("groupprivate", {OMPC_unknown, All})
6334 .Case("has_device_addr", {OMPC_has_device_addr, All})
6335 .Case("hint", {OMPC_hint, All})
6336 .Case("holds", {OMPC_holds, All})
6337 .Case("if", {OMPC_if, All})
6338 .Case("in_reduction", {OMPC_in_reduction, All})
6339 .Case("inbranch", {OMPC_inbranch, All})
6340 .Case("inclusive", {OMPC_inclusive, All})
6341 .Case("indirect", {OMPC_indirect, All})
6342 .Case("induction", {OMPC_induction, All})
6343 .Case("inductor", {OMPC_inductor, All})
6344 .Case("init", {OMPC_init, All})
6345 .Case("init_complete", {OMPC_init_complete, All})
6346 .Case("initializer", {OMPC_initializer, All})
6347 .Case("interop", {OMPC_interop, All})
6348 .Case("is_device_ptr", {OMPC_is_device_ptr, All})
6349 .Case("lastprivate", {OMPC_lastprivate, All})
6350 .Case("linear", {OMPC_linear, All})
6351 .Case("link", {OMPC_link, All})
6352 .Case("local", {OMPC_local, All})
6353 .Case("looprange", {OMPC_looprange, All})
6354 .Case("map", {OMPC_map, All})
6355 .Case("match", {OMPC_match, All})
6356 .Case("memory_order", {OMPC_memory_order, All})
6357 .Case("memscope", {OMPC_memscope, All})
6358 .Case("mergeable", {OMPC_mergeable, All})
6359 .Case("message", {OMPC_message, All})
6360 .Case("nogroup", {OMPC_nogroup, All})
6361 .Case("no_openmp", {OMPC_no_openmp, All})
6362 .Case("no_openmp_constructs", {OMPC_no_openmp_constructs, All})
6363 .Case("no_openmp_routines", {OMPC_no_openmp_routines, All})
6364 .Case("no_parallelism", {OMPC_no_parallelism, All})
6365 .Case("nowait", {OMPC_nowait, All})
6366 .Case("nocontext", {OMPC_nocontext, All})
6367 .Case("nontemporal", {OMPC_nontemporal, All})
6368 .Case("notinbranch", {OMPC_notinbranch, All})
6369 .Case("novariants", {OMPC_novariants, All})
6370 .Case("num_tasks", {OMPC_num_tasks, All})
6371 .Case("num_teams", {OMPC_num_teams, All})
6372 .Case("num_threads", {OMPC_num_threads, All})
6373 .Case("ompx_attribute", {OMPC_ompx_attribute, All})
6374 .Case("ompx_bare", {OMPC_ompx_bare, All})
6375 .Case("ompx_dyn_cgroup_mem", {OMPC_ompx_dyn_cgroup_mem, All})
6376 .Case("order", {OMPC_order, All})
6377 .Case("ordered", {OMPC_ordered, All})
6378 .Case("otherwise", {OMPC_otherwise, All})
6379 .Case("partial", {OMPC_partial, All})
6380 .Case("permutation", {OMPC_permutation, All})
6381 .Case("priority", {OMPC_priority, All})
6382 .Case("private", {OMPC_private, All})
6383 .Case("proc_bind", {OMPC_proc_bind, All})
6384 .Case("read", {OMPC_read, All})
6385 .Case("reduction", {OMPC_reduction, All})
6386 .Case("reduction_kind", {OMPC_reduction_kind, All})
6387 .Case("relaxed", {OMPC_relaxed, All})
6388 .Case("release", {OMPC_release, All})
6389 .Case("replayable", {OMPC_replayable, All})
6390 .Case("reverse_offload", {OMPC_reverse_offload, All})
6391 .Case("safelen", {OMPC_safelen, All})
6392 .Case("safesync", {OMPC_safesync, All})
6393 .Case("schedule", {OMPC_schedule, All})
6394 .Case("self_maps", {OMPC_self_maps, All})
6395 .Case("seq_cst", {OMPC_seq_cst, All})
6396 .Case("severity", {OMPC_severity, All})
6397 .Case("shared", {OMPC_shared, All})
6398 .Case("shift", {OMPC_shift, All})
6399 .Case("simd", {OMPC_simd, All})
6400 .Case("simdlen", {OMPC_simdlen, All})
6401 .Case("sizes", {OMPC_sizes, All})
6402 .Case("task_reduction", {OMPC_task_reduction, All})
6403 .Case("thread_limit", {OMPC_thread_limit, All})
6404 .Case("threadprivate", {OMPC_unknown, All})
6405 .Case("threads", {OMPC_threads, All})
6406 .Case("threadset", {OMPC_threadset, All})
6407 .Case("to", {OMPC_to, All})
6408 .Case("transparent", {OMPC_transparent, All})
6409 .Case("unified_address", {OMPC_unified_address, All})
6410 .Case("unified_shared_memory", {OMPC_unified_shared_memory, All})
6411 .Case("uniform", {OMPC_uniform, All})
6412 .Case("unknown", {OMPC_unknown, All})
6413 .Case("untied", {OMPC_untied, All})
6414 .Case("update", {OMPC_update, All})
6415 .Case("update", {OMPC_update_depend_objects, All})
6416 .Case("use", {OMPC_use, All})
6417 .Case("use_device_addr", {OMPC_use_device_addr, All})
6418 .Case("use_device_ptr", {OMPC_use_device_ptr, All})
6419 .Case("uses_allocators", {OMPC_uses_allocators, All})
6420 .Case("weak", {OMPC_weak, All})
6421 .Case("when", {OMPC_when, All})
6422 .Case("write", {OMPC_write, All})
6423 .Default({OMPC_unknown, All});
6424}
6425
6426llvm::StringRef llvm::omp::getOpenMPClauseName(llvm::omp::Clause Kind, llvm::directive::Version V) {
6427 switch (Kind) {
6428 case OMPC_absent:
6429 return "absent";
6430 case OMPC_acq_rel:
6431 return "acq_rel";
6432 case OMPC_acquire:
6433 return "acquire";
6434 case OMPC_adjust_args:
6435 return "adjust_args";
6436 case OMPC_affinity:
6437 return "affinity";
6438 case OMPC_align:
6439 return "align";
6440 case OMPC_aligned:
6441 return "aligned";
6442 case OMPC_allocate:
6443 return "allocate";
6444 case OMPC_allocator:
6445 return "allocator";
6446 case OMPC_append_args:
6447 return "append_args";
6448 case OMPC_apply:
6449 return "apply";
6450 case OMPC_at:
6451 return "at";
6452 case OMPC_atomic_default_mem_order:
6453 return "atomic_default_mem_order";
6454 case OMPC_bind:
6455 return "bind";
6456 case OMPC_cancellation_construct_type:
6457 return "cancellation_construct_type";
6458 case OMPC_capture:
6459 return "capture";
6460 case OMPC_collapse:
6461 return "collapse";
6462 case OMPC_collector:
6463 return "collector";
6464 case OMPC_combiner:
6465 return "combiner";
6466 case OMPC_compare:
6467 return "compare";
6468 case OMPC_contains:
6469 return "contains";
6470 case OMPC_copyprivate:
6471 return "copyprivate";
6472 case OMPC_copyin:
6473 return "copyin";
6474 case OMPC_counts:
6475 return "counts";
6476 case OMPC_default:
6477 return "default";
6478 case OMPC_defaultmap:
6479 return "defaultmap";
6480 case OMPC_default_variant:
6481 return "default";
6482 case OMPC_depend:
6483 return "depend";
6484 case OMPC_depobj:
6485 return "depobj";
6486 case OMPC_depth:
6487 return "depth";
6488 case OMPC_destroy:
6489 return "destroy";
6490 case OMPC_detach:
6491 return "detach";
6492 case OMPC_device:
6493 return "device";
6494 case OMPC_device_safesync:
6495 return "device_safesync";
6496 case OMPC_device_type:
6497 return "device_type";
6498 case OMPC_dist_schedule:
6499 return "dist_schedule";
6500 case OMPC_doacross:
6501 return "doacross";
6502 case OMPC_dyn_groupprivate:
6503 return "dyn_groupprivate";
6504 case OMPC_dynamic_allocators:
6505 return "dynamic_allocators";
6506 case OMPC_enter:
6507 return "enter";
6508 case OMPC_exclusive:
6509 return "exclusive";
6510 case OMPC_fail:
6511 return "fail";
6512 case OMPC_filter:
6513 return "filter";
6514 case OMPC_final:
6515 return "final";
6516 case OMPC_firstprivate:
6517 return "firstprivate";
6518 case OMPC_flush:
6519 return "flush";
6520 case OMPC_from:
6521 return "from";
6522 case OMPC_full:
6523 return "full";
6524 case OMPC_grainsize:
6525 return "grainsize";
6526 case OMPC_graph_id:
6527 return "graph_id";
6528 case OMPC_graph_reset:
6529 return "graph_reset";
6530 case OMPC_groupprivate:
6531 return "groupprivate";
6532 case OMPC_has_device_addr:
6533 return "has_device_addr";
6534 case OMPC_hint:
6535 return "hint";
6536 case OMPC_holds:
6537 return "holds";
6538 case OMPC_if:
6539 return "if";
6540 case OMPC_in_reduction:
6541 return "in_reduction";
6542 case OMPC_inbranch:
6543 return "inbranch";
6544 case OMPC_inclusive:
6545 return "inclusive";
6546 case OMPC_indirect:
6547 return "indirect";
6548 case OMPC_induction:
6549 return "induction";
6550 case OMPC_inductor:
6551 return "inductor";
6552 case OMPC_init:
6553 return "init";
6554 case OMPC_init_complete:
6555 return "init_complete";
6556 case OMPC_initializer:
6557 return "initializer";
6558 case OMPC_interop:
6559 return "interop";
6560 case OMPC_is_device_ptr:
6561 return "is_device_ptr";
6562 case OMPC_lastprivate:
6563 return "lastprivate";
6564 case OMPC_linear:
6565 return "linear";
6566 case OMPC_link:
6567 return "link";
6568 case OMPC_local:
6569 return "local";
6570 case OMPC_looprange:
6571 return "looprange";
6572 case OMPC_map:
6573 return "map";
6574 case OMPC_match:
6575 return "match";
6576 case OMPC_memory_order:
6577 return "memory_order";
6578 case OMPC_memscope:
6579 return "memscope";
6580 case OMPC_mergeable:
6581 return "mergeable";
6582 case OMPC_message:
6583 return "message";
6584 case OMPC_nogroup:
6585 return "nogroup";
6586 case OMPC_no_openmp:
6587 return "no_openmp";
6588 case OMPC_no_openmp_constructs:
6589 return "no_openmp_constructs";
6590 case OMPC_no_openmp_routines:
6591 return "no_openmp_routines";
6592 case OMPC_no_parallelism:
6593 return "no_parallelism";
6594 case OMPC_nowait:
6595 return "nowait";
6596 case OMPC_nocontext:
6597 return "nocontext";
6598 case OMPC_nontemporal:
6599 return "nontemporal";
6600 case OMPC_notinbranch:
6601 return "notinbranch";
6602 case OMPC_novariants:
6603 return "novariants";
6604 case OMPC_num_tasks:
6605 return "num_tasks";
6606 case OMPC_num_teams:
6607 return "num_teams";
6608 case OMPC_num_threads:
6609 return "num_threads";
6610 case OMPC_ompx_attribute:
6611 return "ompx_attribute";
6612 case OMPC_ompx_bare:
6613 return "ompx_bare";
6614 case OMPC_ompx_dyn_cgroup_mem:
6615 return "ompx_dyn_cgroup_mem";
6616 case OMPC_order:
6617 return "order";
6618 case OMPC_ordered:
6619 return "ordered";
6620 case OMPC_otherwise:
6621 return "otherwise";
6622 case OMPC_partial:
6623 return "partial";
6624 case OMPC_permutation:
6625 return "permutation";
6626 case OMPC_priority:
6627 return "priority";
6628 case OMPC_private:
6629 return "private";
6630 case OMPC_proc_bind:
6631 return "proc_bind";
6632 case OMPC_read:
6633 return "read";
6634 case OMPC_reduction:
6635 return "reduction";
6636 case OMPC_reduction_kind:
6637 return "reduction_kind";
6638 case OMPC_relaxed:
6639 return "relaxed";
6640 case OMPC_release:
6641 return "release";
6642 case OMPC_replayable:
6643 return "replayable";
6644 case OMPC_reverse_offload:
6645 return "reverse_offload";
6646 case OMPC_safelen:
6647 return "safelen";
6648 case OMPC_safesync:
6649 return "safesync";
6650 case OMPC_schedule:
6651 return "schedule";
6652 case OMPC_self_maps:
6653 return "self_maps";
6654 case OMPC_seq_cst:
6655 return "seq_cst";
6656 case OMPC_severity:
6657 return "severity";
6658 case OMPC_shared:
6659 return "shared";
6660 case OMPC_shift:
6661 return "shift";
6662 case OMPC_simd:
6663 return "simd";
6664 case OMPC_simdlen:
6665 return "simdlen";
6666 case OMPC_sizes:
6667 return "sizes";
6668 case OMPC_task_reduction:
6669 return "task_reduction";
6670 case OMPC_thread_limit:
6671 return "thread_limit";
6672 case OMPC_threadprivate:
6673 return "threadprivate";
6674 case OMPC_threads:
6675 return "threads";
6676 case OMPC_threadset:
6677 return "threadset";
6678 case OMPC_to:
6679 return "to";
6680 case OMPC_transparent:
6681 return "transparent";
6682 case OMPC_unified_address:
6683 return "unified_address";
6684 case OMPC_unified_shared_memory:
6685 return "unified_shared_memory";
6686 case OMPC_uniform:
6687 return "uniform";
6688 case OMPC_unknown:
6689 return "unknown";
6690 case OMPC_untied:
6691 return "untied";
6692 case OMPC_update:
6693 return "update";
6694 case OMPC_update_depend_objects:
6695 return "update";
6696 case OMPC_use:
6697 return "use";
6698 case OMPC_use_device_addr:
6699 return "use_device_addr";
6700 case OMPC_use_device_ptr:
6701 return "use_device_ptr";
6702 case OMPC_uses_allocators:
6703 return "uses_allocators";
6704 case OMPC_weak:
6705 return "weak";
6706 case OMPC_when:
6707 return "when";
6708 case OMPC_write:
6709 return "write";
6710 }
6711 llvm_unreachable("Invalid OpenMP Clause kind");
6712}
6713
6714llvm::omp::BindKind llvm::omp::getBindKind(llvm::StringRef Str) {
6715 return StringSwitch<BindKind>(Str)
6716 .Case("parallel",OMP_BIND_parallel)
6717 .Case("teams",OMP_BIND_teams)
6718 .Case("thread",OMP_BIND_thread)
6719 .Default(OMP_BIND_thread);
6720}
6721
6722llvm::StringRef llvm::omp::getOpenMPBindKindName(llvm::omp::BindKind x) {
6723 switch (x) {
6724 case OMP_BIND_parallel:
6725 return "parallel";
6726 case OMP_BIND_teams:
6727 return "teams";
6728 case OMP_BIND_thread:
6729 return "thread";
6730 }
6731 llvm_unreachable("Invalid OpenMP BindKind kind");
6732}
6733
6734llvm::omp::CancellationConstructType llvm::omp::getCancellationConstructType(llvm::StringRef Str) {
6735 return StringSwitch<CancellationConstructType>(Str)
6736 .Case("parallel",OMP_CANCELLATION_CONSTRUCT_Parallel)
6737 .Case("loop",OMP_CANCELLATION_CONSTRUCT_Loop)
6738 .Case("sections",OMP_CANCELLATION_CONSTRUCT_Sections)
6739 .Case("taskgroup",OMP_CANCELLATION_CONSTRUCT_Taskgroup)
6740 .Case("none",OMP_CANCELLATION_CONSTRUCT_None)
6741 .Default(OMP_CANCELLATION_CONSTRUCT_None);
6742}
6743
6744llvm::StringRef llvm::omp::getOpenMPCancellationConstructTypeName(llvm::omp::CancellationConstructType x) {
6745 switch (x) {
6746 case OMP_CANCELLATION_CONSTRUCT_Parallel:
6747 return "parallel";
6748 case OMP_CANCELLATION_CONSTRUCT_Loop:
6749 return "loop";
6750 case OMP_CANCELLATION_CONSTRUCT_Sections:
6751 return "sections";
6752 case OMP_CANCELLATION_CONSTRUCT_Taskgroup:
6753 return "taskgroup";
6754 case OMP_CANCELLATION_CONSTRUCT_None:
6755 return "none";
6756 }
6757 llvm_unreachable("Invalid OpenMP CancellationConstructType kind");
6758}
6759
6760llvm::omp::GrainsizeType llvm::omp::getGrainsizeType(llvm::StringRef Str) {
6761 return StringSwitch<GrainsizeType>(Str)
6762 .Case("strict",OMP_GRAINSIZE_Strict)
6763 .Case("unknown",OMP_GRAINSIZE_Unknown)
6764 .Default(OMP_GRAINSIZE_Unknown);
6765}
6766
6767llvm::StringRef llvm::omp::getOpenMPGrainsizeTypeName(llvm::omp::GrainsizeType x) {
6768 switch (x) {
6769 case OMP_GRAINSIZE_Strict:
6770 return "strict";
6771 case OMP_GRAINSIZE_Unknown:
6772 return "unknown";
6773 }
6774 llvm_unreachable("Invalid OpenMP GrainsizeType kind");
6775}
6776
6777llvm::omp::MemoryOrderKind llvm::omp::getMemoryOrderKind(llvm::StringRef Str) {
6778 return StringSwitch<MemoryOrderKind>(Str)
6779 .Case("seq_cst",OMP_MEMORY_ORDER_SeqCst)
6780 .Case("acq_rel",OMP_MEMORY_ORDER_AcqRel)
6781 .Case("acquire",OMP_MEMORY_ORDER_Acquire)
6782 .Case("release",OMP_MEMORY_ORDER_Release)
6783 .Case("relaxed",OMP_MEMORY_ORDER_Relaxed)
6784 .Case("default",OMP_MEMORY_ORDER_Default)
6785 .Default(OMP_MEMORY_ORDER_Default);
6786}
6787
6788llvm::StringRef llvm::omp::getOpenMPMemoryOrderKindName(llvm::omp::MemoryOrderKind x) {
6789 switch (x) {
6790 case OMP_MEMORY_ORDER_SeqCst:
6791 return "seq_cst";
6792 case OMP_MEMORY_ORDER_AcqRel:
6793 return "acq_rel";
6794 case OMP_MEMORY_ORDER_Acquire:
6795 return "acquire";
6796 case OMP_MEMORY_ORDER_Release:
6797 return "release";
6798 case OMP_MEMORY_ORDER_Relaxed:
6799 return "relaxed";
6800 case OMP_MEMORY_ORDER_Default:
6801 return "default";
6802 }
6803 llvm_unreachable("Invalid OpenMP MemoryOrderKind kind");
6804}
6805
6806llvm::omp::NumTasksType llvm::omp::getNumTasksType(llvm::StringRef Str) {
6807 return StringSwitch<NumTasksType>(Str)
6808 .Case("strict",OMP_NUMTASKS_Strict)
6809 .Case("unknown",OMP_NUMTASKS_Unknown)
6810 .Default(OMP_NUMTASKS_Unknown);
6811}
6812
6813llvm::StringRef llvm::omp::getOpenMPNumTasksTypeName(llvm::omp::NumTasksType x) {
6814 switch (x) {
6815 case OMP_NUMTASKS_Strict:
6816 return "strict";
6817 case OMP_NUMTASKS_Unknown:
6818 return "unknown";
6819 }
6820 llvm_unreachable("Invalid OpenMP NumTasksType kind");
6821}
6822
6823llvm::omp::NumThreadsType llvm::omp::getNumThreadsType(llvm::StringRef Str) {
6824 return StringSwitch<NumThreadsType>(Str)
6825 .Case("strict",OMP_NUMTHREADS_Strict)
6826 .Case("unknown",OMP_NUMTHREADS_Unknown)
6827 .Default(OMP_NUMTHREADS_Unknown);
6828}
6829
6830llvm::StringRef llvm::omp::getOpenMPNumThreadsTypeName(llvm::omp::NumThreadsType x) {
6831 switch (x) {
6832 case OMP_NUMTHREADS_Strict:
6833 return "strict";
6834 case OMP_NUMTHREADS_Unknown:
6835 return "unknown";
6836 }
6837 llvm_unreachable("Invalid OpenMP NumThreadsType kind");
6838}
6839
6840llvm::omp::OrderKind llvm::omp::getOrderKind(llvm::StringRef Str) {
6841 return StringSwitch<OrderKind>(Str)
6842 .Case("unknown",OMP_ORDER_unknown)
6843 .Case("concurrent",OMP_ORDER_concurrent)
6844 .Default(OMP_ORDER_unknown);
6845}
6846
6847llvm::StringRef llvm::omp::getOpenMPOrderKindName(llvm::omp::OrderKind x) {
6848 switch (x) {
6849 case OMP_ORDER_unknown:
6850 return "unknown";
6851 case OMP_ORDER_concurrent:
6852 return "concurrent";
6853 }
6854 llvm_unreachable("Invalid OpenMP OrderKind kind");
6855}
6856
6857llvm::omp::ProcBindKind llvm::omp::getProcBindKind(llvm::StringRef Str) {
6858 return StringSwitch<ProcBindKind>(Str)
6859 .Case("primary",OMP_PROC_BIND_primary)
6860 .Case("master",OMP_PROC_BIND_master)
6861 .Case("close",OMP_PROC_BIND_close)
6862 .Case("spread",OMP_PROC_BIND_spread)
6863 .Case("default",OMP_PROC_BIND_default)
6864 .Case("unknown",OMP_PROC_BIND_unknown)
6865 .Default(OMP_PROC_BIND_unknown);
6866}
6867
6868llvm::StringRef llvm::omp::getOpenMPProcBindKindName(llvm::omp::ProcBindKind x) {
6869 switch (x) {
6870 case OMP_PROC_BIND_primary:
6871 return "primary";
6872 case OMP_PROC_BIND_master:
6873 return "master";
6874 case OMP_PROC_BIND_close:
6875 return "close";
6876 case OMP_PROC_BIND_spread:
6877 return "spread";
6878 case OMP_PROC_BIND_default:
6879 return "default";
6880 case OMP_PROC_BIND_unknown:
6881 return "unknown";
6882 }
6883 llvm_unreachable("Invalid OpenMP ProcBindKind kind");
6884}
6885
6886llvm::omp::ScheduleKind llvm::omp::getScheduleKind(llvm::StringRef Str) {
6887 return StringSwitch<ScheduleKind>(Str)
6888 .Case("static",OMP_SCHEDULE_Static)
6889 .Case("dynamic",OMP_SCHEDULE_Dynamic)
6890 .Case("guided",OMP_SCHEDULE_Guided)
6891 .Case("auto",OMP_SCHEDULE_Auto)
6892 .Case("runtime",OMP_SCHEDULE_Runtime)
6893 .Case("distribute",OMP_SCHEDULE_Distribute)
6894 .Case("default",OMP_SCHEDULE_Default)
6895 .Default(OMP_SCHEDULE_Default);
6896}
6897
6898llvm::StringRef llvm::omp::getOpenMPScheduleKindName(llvm::omp::ScheduleKind x) {
6899 switch (x) {
6900 case OMP_SCHEDULE_Static:
6901 return "static";
6902 case OMP_SCHEDULE_Dynamic:
6903 return "dynamic";
6904 case OMP_SCHEDULE_Guided:
6905 return "guided";
6906 case OMP_SCHEDULE_Auto:
6907 return "auto";
6908 case OMP_SCHEDULE_Runtime:
6909 return "runtime";
6910 case OMP_SCHEDULE_Distribute:
6911 return "distribute";
6912 case OMP_SCHEDULE_Default:
6913 return "default";
6914 }
6915 llvm_unreachable("Invalid OpenMP ScheduleKind kind");
6916}
6917
6918bool llvm::omp::isAllowedClauseForDirective(llvm::omp::Directive D, llvm::omp::Clause C, llvm::directive::Version V) {
6919 assert(unsigned(D) <= Directive_enumSize);
6920 assert(unsigned(C) <= Clause_enumSize);
6921 switch (D) {
6922 case OMPD_allocate:
6923 switch (C) {
6924 case OMPC_align:
6925 return V >= 51 && V <= 2147483647;
6926 case OMPC_allocator:
6927 return V >= 1 && V <= 2147483647;
6928 default:
6929 return false;
6930 }
6931 break;
6932 case OMPD_allocators:
6933 switch (C) {
6934 case OMPC_allocate:
6935 return V >= 50 && V <= 2147483647;
6936 default:
6937 return false;
6938 }
6939 break;
6940 case OMPD_assume:
6941 switch (C) {
6942 case OMPC_absent:
6943 return V >= 51 && V <= 2147483647;
6944 case OMPC_contains:
6945 return V >= 51 && V <= 2147483647;
6946 case OMPC_holds:
6947 return V >= 51 && V <= 2147483647;
6948 case OMPC_no_openmp:
6949 return V >= 51 && V <= 2147483647;
6950 case OMPC_no_openmp_constructs:
6951 return V >= 60 && V <= 2147483647;
6952 case OMPC_no_openmp_routines:
6953 return V >= 51 && V <= 2147483647;
6954 case OMPC_no_parallelism:
6955 return V >= 51 && V <= 2147483647;
6956 default:
6957 return false;
6958 }
6959 break;
6960 case OMPD_assumes:
6961 switch (C) {
6962 case OMPC_absent:
6963 return V >= 51 && V <= 2147483647;
6964 case OMPC_contains:
6965 return V >= 51 && V <= 2147483647;
6966 case OMPC_holds:
6967 return V >= 51 && V <= 2147483647;
6968 case OMPC_no_openmp:
6969 return V >= 51 && V <= 2147483647;
6970 case OMPC_no_openmp_routines:
6971 return V >= 51 && V <= 2147483647;
6972 case OMPC_no_parallelism:
6973 return V >= 51 && V <= 2147483647;
6974 default:
6975 return false;
6976 }
6977 break;
6978 case OMPD_atomic:
6979 switch (C) {
6980 case OMPC_acq_rel:
6981 return V >= 50 && V <= 2147483647;
6982 case OMPC_acquire:
6983 return V >= 50 && V <= 2147483647;
6984 case OMPC_capture:
6985 return V >= 1 && V <= 2147483647;
6986 case OMPC_compare:
6987 return V >= 51 && V <= 2147483647;
6988 case OMPC_fail:
6989 return V >= 51 && V <= 2147483647;
6990 case OMPC_hint:
6991 return V >= 50 && V <= 2147483647;
6992 case OMPC_read:
6993 return V >= 1 && V <= 2147483647;
6994 case OMPC_relaxed:
6995 return V >= 50 && V <= 2147483647;
6996 case OMPC_release:
6997 return V >= 50 && V <= 2147483647;
6998 case OMPC_seq_cst:
6999 return V >= 1 && V <= 2147483647;
7000 case OMPC_update:
7001 return V >= 1 && V <= 2147483647;
7002 case OMPC_weak:
7003 return V >= 51 && V <= 2147483647;
7004 case OMPC_write:
7005 return V >= 1 && V <= 2147483647;
7006 default:
7007 return false;
7008 }
7009 break;
7010 case OMPD_barrier:
7011 return false;
7012 break;
7013 case OMPD_begin_assumes:
7014 switch (C) {
7015 case OMPC_absent:
7016 return V >= 51 && V <= 2147483647;
7017 case OMPC_contains:
7018 return V >= 51 && V <= 2147483647;
7019 case OMPC_holds:
7020 return V >= 51 && V <= 2147483647;
7021 case OMPC_no_openmp:
7022 return V >= 51 && V <= 2147483647;
7023 case OMPC_no_openmp_routines:
7024 return V >= 51 && V <= 2147483647;
7025 case OMPC_no_parallelism:
7026 return V >= 51 && V <= 2147483647;
7027 default:
7028 return false;
7029 }
7030 break;
7031 case OMPD_begin_declare_target:
7032 switch (C) {
7033 case OMPC_link:
7034 return V >= 1 && V <= 2147483647;
7035 case OMPC_to:
7036 return V >= 1 && V <= 2147483647;
7037 case OMPC_device_type:
7038 return V >= 1 && V <= 2147483647;
7039 case OMPC_indirect:
7040 return V >= 51 && V <= 2147483647;
7041 default:
7042 return false;
7043 }
7044 break;
7045 case OMPD_begin_declare_variant:
7046 return false;
7047 break;
7048 case OMPD_begin_metadirective:
7049 switch (C) {
7050 case OMPC_when:
7051 return V >= 1 && V <= 2147483647;
7052 case OMPC_default_variant:
7053 return V >= 50 && V <= 51;
7054 case OMPC_otherwise:
7055 return V >= 52 && V <= 2147483647;
7056 default:
7057 return false;
7058 }
7059 break;
7060 case OMPD_cancel:
7061 switch (C) {
7062 case OMPC_if:
7063 return V >= 1 && V <= 2147483647;
7064 case OMPC_cancellation_construct_type:
7065 return V >= 1 && V <= 2147483647;
7066 default:
7067 return false;
7068 }
7069 break;
7070 case OMPD_cancellation_point:
7071 switch (C) {
7072 case OMPC_cancellation_construct_type:
7073 return V >= 1 && V <= 2147483647;
7074 default:
7075 return false;
7076 }
7077 break;
7078 case OMPD_critical:
7079 switch (C) {
7080 case OMPC_hint:
7081 return V >= 1 && V <= 2147483647;
7082 default:
7083 return false;
7084 }
7085 break;
7086 case OMPD_declare_induction:
7087 switch (C) {
7088 case OMPC_collector:
7089 return V >= 60 && V <= 2147483647;
7090 case OMPC_inductor:
7091 return V >= 60 && V <= 2147483647;
7092 default:
7093 return false;
7094 }
7095 break;
7096 case OMPD_declare_mapper:
7097 switch (C) {
7098 case OMPC_map:
7099 return V >= 45 && V <= 2147483647;
7100 default:
7101 return false;
7102 }
7103 break;
7104 case OMPD_declare_reduction:
7105 switch (C) {
7106 case OMPC_combiner:
7107 return V >= 60 && V <= 2147483647;
7108 case OMPC_initializer:
7109 return V >= 1 && V <= 2147483647;
7110 default:
7111 return false;
7112 }
7113 break;
7114 case OMPD_declare_simd:
7115 switch (C) {
7116 case OMPC_aligned:
7117 return V >= 1 && V <= 2147483647;
7118 case OMPC_linear:
7119 return V >= 1 && V <= 2147483647;
7120 case OMPC_uniform:
7121 return V >= 1 && V <= 2147483647;
7122 case OMPC_simdlen:
7123 return V >= 1 && V <= 2147483647;
7124 case OMPC_inbranch:
7125 return V >= 1 && V <= 2147483647;
7126 case OMPC_notinbranch:
7127 return V >= 1 && V <= 2147483647;
7128 default:
7129 return false;
7130 }
7131 break;
7132 case OMPD_declare_target:
7133 switch (C) {
7134 case OMPC_enter:
7135 return V >= 52 && V <= 2147483647;
7136 case OMPC_link:
7137 return V >= 1 && V <= 2147483647;
7138 case OMPC_local:
7139 return V >= 60 && V <= 2147483647;
7140 case OMPC_to:
7141 return V >= 1 && V <= 2147483647;
7142 case OMPC_device_type:
7143 return V >= 50 && V <= 2147483647;
7144 case OMPC_indirect:
7145 return V >= 51 && V <= 2147483647;
7146 default:
7147 return false;
7148 }
7149 break;
7150 case OMPD_declare_variant:
7151 switch (C) {
7152 case OMPC_adjust_args:
7153 return V >= 51 && V <= 2147483647;
7154 case OMPC_append_args:
7155 return V >= 51 && V <= 2147483647;
7156 case OMPC_match:
7157 return V >= 1 && V <= 2147483647;
7158 default:
7159 return false;
7160 }
7161 break;
7162 case OMPD_depobj:
7163 switch (C) {
7164 case OMPC_depend:
7165 return V >= 50 && V <= 2147483647;
7166 case OMPC_depobj:
7167 return V >= 50 && V <= 2147483647;
7168 case OMPC_destroy:
7169 return V >= 50 && V <= 2147483647;
7170 case OMPC_init:
7171 return V >= 60 && V <= 2147483647;
7172 case OMPC_update_depend_objects:
7173 return V >= 50 && V <= 2147483647;
7174 default:
7175 return false;
7176 }
7177 break;
7178 case OMPD_distribute:
7179 switch (C) {
7180 case OMPC_allocate:
7181 return V >= 50 && V <= 2147483647;
7182 case OMPC_firstprivate:
7183 return V >= 1 && V <= 2147483647;
7184 case OMPC_lastprivate:
7185 return V >= 1 && V <= 2147483647;
7186 case OMPC_private:
7187 return V >= 1 && V <= 2147483647;
7188 case OMPC_collapse:
7189 return V >= 1 && V <= 2147483647;
7190 case OMPC_dist_schedule:
7191 return V >= 1 && V <= 2147483647;
7192 case OMPC_order:
7193 return V >= 50 && V <= 2147483647;
7194 default:
7195 return false;
7196 }
7197 break;
7198 case OMPD_distribute_parallel_do:
7199 switch (C) {
7200 case OMPC_allocate:
7201 return V >= 50 && V <= 2147483647;
7202 case OMPC_copyin:
7203 return V >= 1 && V <= 2147483647;
7204 case OMPC_firstprivate:
7205 return V >= 1 && V <= 2147483647;
7206 case OMPC_if:
7207 return V >= 1 && V <= 2147483647;
7208 case OMPC_lastprivate:
7209 return V >= 1 && V <= 2147483647;
7210 case OMPC_linear:
7211 return V >= 1 && V <= 2147483647;
7212 case OMPC_private:
7213 return V >= 1 && V <= 2147483647;
7214 case OMPC_reduction:
7215 return V >= 1 && V <= 2147483647;
7216 case OMPC_shared:
7217 return V >= 1 && V <= 2147483647;
7218 case OMPC_collapse:
7219 return V >= 1 && V <= 2147483647;
7220 case OMPC_default:
7221 return V >= 1 && V <= 2147483647;
7222 case OMPC_dist_schedule:
7223 return V >= 1 && V <= 2147483647;
7224 case OMPC_message:
7225 return V >= 60 && V <= 2147483647;
7226 case OMPC_num_threads:
7227 return V >= 1 && V <= 2147483647;
7228 case OMPC_order:
7229 return V >= 50 && V <= 2147483647;
7230 case OMPC_proc_bind:
7231 return V >= 1 && V <= 2147483647;
7232 case OMPC_schedule:
7233 return V >= 1 && V <= 2147483647;
7234 case OMPC_severity:
7235 return V >= 60 && V <= 2147483647;
7236 default:
7237 return false;
7238 }
7239 break;
7240 case OMPD_distribute_parallel_do_simd:
7241 switch (C) {
7242 case OMPC_aligned:
7243 return V >= 1 && V <= 2147483647;
7244 case OMPC_allocate:
7245 return V >= 50 && V <= 2147483647;
7246 case OMPC_copyin:
7247 return V >= 1 && V <= 2147483647;
7248 case OMPC_firstprivate:
7249 return V >= 1 && V <= 2147483647;
7250 case OMPC_if:
7251 return V >= 1 && V <= 2147483647;
7252 case OMPC_lastprivate:
7253 return V >= 1 && V <= 2147483647;
7254 case OMPC_linear:
7255 return V >= 1 && V <= 2147483647;
7256 case OMPC_nontemporal:
7257 return V >= 1 && V <= 2147483647;
7258 case OMPC_private:
7259 return V >= 1 && V <= 2147483647;
7260 case OMPC_reduction:
7261 return V >= 1 && V <= 2147483647;
7262 case OMPC_shared:
7263 return V >= 1 && V <= 2147483647;
7264 case OMPC_collapse:
7265 return V >= 1 && V <= 2147483647;
7266 case OMPC_default:
7267 return V >= 1 && V <= 2147483647;
7268 case OMPC_dist_schedule:
7269 return V >= 1 && V <= 2147483647;
7270 case OMPC_message:
7271 return V >= 60 && V <= 2147483647;
7272 case OMPC_num_threads:
7273 return V >= 1 && V <= 2147483647;
7274 case OMPC_order:
7275 return V >= 50 && V <= 2147483647;
7276 case OMPC_proc_bind:
7277 return V >= 1 && V <= 2147483647;
7278 case OMPC_safelen:
7279 return V >= 1 && V <= 2147483647;
7280 case OMPC_schedule:
7281 return V >= 1 && V <= 2147483647;
7282 case OMPC_severity:
7283 return V >= 60 && V <= 2147483647;
7284 case OMPC_simdlen:
7285 return V >= 1 && V <= 2147483647;
7286 default:
7287 return false;
7288 }
7289 break;
7290 case OMPD_distribute_parallel_for:
7291 switch (C) {
7292 case OMPC_allocate:
7293 return V >= 50 && V <= 2147483647;
7294 case OMPC_copyin:
7295 return V >= 1 && V <= 2147483647;
7296 case OMPC_firstprivate:
7297 return V >= 1 && V <= 2147483647;
7298 case OMPC_if:
7299 return V >= 1 && V <= 2147483647;
7300 case OMPC_lastprivate:
7301 return V >= 1 && V <= 2147483647;
7302 case OMPC_ompx_attribute:
7303 return V >= 1 && V <= 2147483647;
7304 case OMPC_private:
7305 return V >= 1 && V <= 2147483647;
7306 case OMPC_reduction:
7307 return V >= 1 && V <= 2147483647;
7308 case OMPC_shared:
7309 return V >= 1 && V <= 2147483647;
7310 case OMPC_collapse:
7311 return V >= 1 && V <= 2147483647;
7312 case OMPC_default:
7313 return V >= 1 && V <= 2147483647;
7314 case OMPC_dist_schedule:
7315 return V >= 1 && V <= 2147483647;
7316 case OMPC_message:
7317 return V >= 60 && V <= 2147483647;
7318 case OMPC_num_threads:
7319 return V >= 1 && V <= 2147483647;
7320 case OMPC_order:
7321 return V >= 50 && V <= 2147483647;
7322 case OMPC_proc_bind:
7323 return V >= 1 && V <= 2147483647;
7324 case OMPC_schedule:
7325 return V >= 1 && V <= 2147483647;
7326 case OMPC_severity:
7327 return V >= 60 && V <= 2147483647;
7328 default:
7329 return false;
7330 }
7331 break;
7332 case OMPD_distribute_parallel_for_simd:
7333 switch (C) {
7334 case OMPC_aligned:
7335 return V >= 1 && V <= 2147483647;
7336 case OMPC_allocate:
7337 return V >= 50 && V <= 2147483647;
7338 case OMPC_copyin:
7339 return V >= 1 && V <= 2147483647;
7340 case OMPC_firstprivate:
7341 return V >= 1 && V <= 2147483647;
7342 case OMPC_if:
7343 return V >= 1 && V <= 2147483647;
7344 case OMPC_lastprivate:
7345 return V >= 1 && V <= 2147483647;
7346 case OMPC_linear:
7347 return V >= 1 && V <= 2147483647;
7348 case OMPC_nontemporal:
7349 return V >= 50 && V <= 2147483647;
7350 case OMPC_ompx_attribute:
7351 return V >= 1 && V <= 2147483647;
7352 case OMPC_private:
7353 return V >= 1 && V <= 2147483647;
7354 case OMPC_reduction:
7355 return V >= 1 && V <= 2147483647;
7356 case OMPC_shared:
7357 return V >= 1 && V <= 2147483647;
7358 case OMPC_collapse:
7359 return V >= 1 && V <= 2147483647;
7360 case OMPC_default:
7361 return V >= 1 && V <= 2147483647;
7362 case OMPC_dist_schedule:
7363 return V >= 1 && V <= 2147483647;
7364 case OMPC_message:
7365 return V >= 60 && V <= 2147483647;
7366 case OMPC_num_threads:
7367 return V >= 1 && V <= 2147483647;
7368 case OMPC_order:
7369 return V >= 50 && V <= 2147483647;
7370 case OMPC_proc_bind:
7371 return V >= 1 && V <= 2147483647;
7372 case OMPC_safelen:
7373 return V >= 1 && V <= 2147483647;
7374 case OMPC_schedule:
7375 return V >= 1 && V <= 2147483647;
7376 case OMPC_severity:
7377 return V >= 60 && V <= 2147483647;
7378 case OMPC_simdlen:
7379 return V >= 1 && V <= 2147483647;
7380 default:
7381 return false;
7382 }
7383 break;
7384 case OMPD_distribute_simd:
7385 switch (C) {
7386 case OMPC_aligned:
7387 return V >= 1 && V <= 2147483647;
7388 case OMPC_allocate:
7389 return V >= 50 && V <= 2147483647;
7390 case OMPC_copyin:
7391 return V >= 1 && V <= 2147483647;
7392 case OMPC_firstprivate:
7393 return V >= 1 && V <= 2147483647;
7394 case OMPC_if:
7395 return V >= 50 && V <= 2147483647;
7396 case OMPC_lastprivate:
7397 return V >= 1 && V <= 2147483647;
7398 case OMPC_linear:
7399 return V >= 1 && V <= 2147483647;
7400 case OMPC_nontemporal:
7401 return V >= 50 && V <= 2147483647;
7402 case OMPC_private:
7403 return V >= 1 && V <= 2147483647;
7404 case OMPC_reduction:
7405 return V >= 1 && V <= 2147483647;
7406 case OMPC_collapse:
7407 return V >= 1 && V <= 2147483647;
7408 case OMPC_default:
7409 return V >= 1 && V <= 2147483647;
7410 case OMPC_dist_schedule:
7411 return V >= 1 && V <= 2147483647;
7412 case OMPC_message:
7413 return V >= 60 && V <= 2147483647;
7414 case OMPC_num_threads:
7415 return V >= 1 && V <= 2147483647;
7416 case OMPC_order:
7417 return V >= 50 && V <= 2147483647;
7418 case OMPC_proc_bind:
7419 return V >= 1 && V <= 2147483647;
7420 case OMPC_safelen:
7421 return V >= 1 && V <= 2147483647;
7422 case OMPC_schedule:
7423 return V >= 1 && V <= 2147483647;
7424 case OMPC_severity:
7425 return V >= 60 && V <= 2147483647;
7426 case OMPC_simdlen:
7427 return V >= 1 && V <= 2147483647;
7428 default:
7429 return false;
7430 }
7431 break;
7432 case OMPD_do:
7433 switch (C) {
7434 case OMPC_allocate:
7435 return V >= 50 && V <= 2147483647;
7436 case OMPC_firstprivate:
7437 return V >= 1 && V <= 2147483647;
7438 case OMPC_lastprivate:
7439 return V >= 1 && V <= 2147483647;
7440 case OMPC_linear:
7441 return V >= 1 && V <= 2147483647;
7442 case OMPC_private:
7443 return V >= 1 && V <= 2147483647;
7444 case OMPC_reduction:
7445 return V >= 1 && V <= 2147483647;
7446 case OMPC_collapse:
7447 return V >= 1 && V <= 2147483647;
7448 case OMPC_nowait:
7449 return V >= 1 && V <= 2147483647;
7450 case OMPC_order:
7451 return V >= 50 && V <= 2147483647;
7452 case OMPC_ordered:
7453 return V >= 1 && V <= 2147483647;
7454 case OMPC_schedule:
7455 return V >= 1 && V <= 2147483647;
7456 default:
7457 return false;
7458 }
7459 break;
7460 case OMPD_do_simd:
7461 switch (C) {
7462 case OMPC_aligned:
7463 return V >= 1 && V <= 2147483647;
7464 case OMPC_firstprivate:
7465 return V >= 1 && V <= 2147483647;
7466 case OMPC_if:
7467 return V >= 50 && V <= 2147483647;
7468 case OMPC_lastprivate:
7469 return V >= 1 && V <= 2147483647;
7470 case OMPC_linear:
7471 return V >= 1 && V <= 2147483647;
7472 case OMPC_nontemporal:
7473 return V >= 50 && V <= 2147483647;
7474 case OMPC_private:
7475 return V >= 1 && V <= 2147483647;
7476 case OMPC_reduction:
7477 return V >= 1 && V <= 2147483647;
7478 case OMPC_collapse:
7479 return V >= 1 && V <= 2147483647;
7480 case OMPC_nowait:
7481 return V >= 1 && V <= 2147483647;
7482 case OMPC_order:
7483 return V >= 50 && V <= 2147483647;
7484 case OMPC_ordered:
7485 return V >= 1 && V <= 2147483647;
7486 case OMPC_safelen:
7487 return V >= 1 && V <= 2147483647;
7488 case OMPC_schedule:
7489 return V >= 1 && V <= 2147483647;
7490 case OMPC_simdlen:
7491 return V >= 1 && V <= 2147483647;
7492 default:
7493 return false;
7494 }
7495 break;
7496 case OMPD_end_assumes:
7497 return false;
7498 break;
7499 case OMPD_end_declare_target:
7500 return false;
7501 break;
7502 case OMPD_end_declare_variant:
7503 return false;
7504 break;
7505 case OMPD_end_metadirective:
7506 return false;
7507 break;
7508 case OMPD_error:
7509 switch (C) {
7510 case OMPC_at:
7511 return V >= 51 && V <= 2147483647;
7512 case OMPC_message:
7513 return V >= 51 && V <= 2147483647;
7514 case OMPC_severity:
7515 return V >= 51 && V <= 2147483647;
7516 default:
7517 return false;
7518 }
7519 break;
7520 case OMPD_flatten:
7521 switch (C) {
7522 case OMPC_apply:
7523 return V >= 60 && V <= 2147483647;
7524 case OMPC_depth:
7525 return V >= 61 && V <= 2147483647;
7526 default:
7527 return false;
7528 }
7529 break;
7530 case OMPD_flush:
7531 switch (C) {
7532 case OMPC_acq_rel:
7533 return V >= 50 && V <= 2147483647;
7534 case OMPC_acquire:
7535 return V >= 50 && V <= 2147483647;
7536 case OMPC_flush:
7537 return V >= 1 && V <= 2147483647;
7538 case OMPC_release:
7539 return V >= 50 && V <= 2147483647;
7540 case OMPC_seq_cst:
7541 return V >= 51 && V <= 2147483647;
7542 default:
7543 return false;
7544 }
7545 break;
7546 case OMPD_for:
7547 switch (C) {
7548 case OMPC_allocate:
7549 return V >= 50 && V <= 2147483647;
7550 case OMPC_firstprivate:
7551 return V >= 1 && V <= 2147483647;
7552 case OMPC_lastprivate:
7553 return V >= 1 && V <= 2147483647;
7554 case OMPC_linear:
7555 return V >= 1 && V <= 2147483647;
7556 case OMPC_private:
7557 return V >= 1 && V <= 2147483647;
7558 case OMPC_reduction:
7559 return V >= 1 && V <= 2147483647;
7560 case OMPC_collapse:
7561 return V >= 1 && V <= 2147483647;
7562 case OMPC_nowait:
7563 return V >= 1 && V <= 2147483647;
7564 case OMPC_order:
7565 return V >= 50 && V <= 2147483647;
7566 case OMPC_ordered:
7567 return V >= 1 && V <= 2147483647;
7568 case OMPC_schedule:
7569 return V >= 1 && V <= 2147483647;
7570 default:
7571 return false;
7572 }
7573 break;
7574 case OMPD_for_simd:
7575 switch (C) {
7576 case OMPC_aligned:
7577 return V >= 1 && V <= 2147483647;
7578 case OMPC_allocate:
7579 return V >= 50 && V <= 2147483647;
7580 case OMPC_firstprivate:
7581 return V >= 1 && V <= 2147483647;
7582 case OMPC_if:
7583 return V >= 50 && V <= 2147483647;
7584 case OMPC_lastprivate:
7585 return V >= 1 && V <= 2147483647;
7586 case OMPC_linear:
7587 return V >= 1 && V <= 2147483647;
7588 case OMPC_nontemporal:
7589 return V >= 50 && V <= 2147483647;
7590 case OMPC_private:
7591 return V >= 1 && V <= 2147483647;
7592 case OMPC_reduction:
7593 return V >= 1 && V <= 2147483647;
7594 case OMPC_collapse:
7595 return V >= 1 && V <= 2147483647;
7596 case OMPC_nowait:
7597 return V >= 1 && V <= 2147483647;
7598 case OMPC_order:
7599 return V >= 50 && V <= 2147483647;
7600 case OMPC_ordered:
7601 return V >= 1 && V <= 2147483647;
7602 case OMPC_safelen:
7603 return V >= 1 && V <= 2147483647;
7604 case OMPC_schedule:
7605 return V >= 1 && V <= 2147483647;
7606 case OMPC_simdlen:
7607 return V >= 1 && V <= 2147483647;
7608 default:
7609 return false;
7610 }
7611 break;
7612 case OMPD_fuse:
7613 switch (C) {
7614 case OMPC_apply:
7615 return V >= 60 && V <= 2147483647;
7616 case OMPC_depth:
7617 return V >= 61 && V <= 2147483647;
7618 case OMPC_looprange:
7619 return V >= 60 && V <= 2147483647;
7620 default:
7621 return false;
7622 }
7623 break;
7624 case OMPD_groupprivate:
7625 switch (C) {
7626 case OMPC_device_type:
7627 return V >= 1 && V <= 2147483647;
7628 default:
7629 return false;
7630 }
7631 break;
7632 case OMPD_interchange:
7633 switch (C) {
7634 case OMPC_apply:
7635 return V >= 60 && V <= 2147483647;
7636 case OMPC_permutation:
7637 return V >= 1 && V <= 2147483647;
7638 default:
7639 return false;
7640 }
7641 break;
7642 case OMPD_masked_taskloop:
7643 switch (C) {
7644 case OMPC_allocate:
7645 return V >= 50 && V <= 2147483647;
7646 case OMPC_firstprivate:
7647 return V >= 1 && V <= 2147483647;
7648 case OMPC_if:
7649 return V >= 1 && V <= 2147483647;
7650 case OMPC_in_reduction:
7651 return V >= 1 && V <= 2147483647;
7652 case OMPC_lastprivate:
7653 return V >= 1 && V <= 2147483647;
7654 case OMPC_private:
7655 return V >= 1 && V <= 2147483647;
7656 case OMPC_reduction:
7657 return V >= 1 && V <= 2147483647;
7658 case OMPC_shared:
7659 return V >= 1 && V <= 2147483647;
7660 case OMPC_collapse:
7661 return V >= 1 && V <= 2147483647;
7662 case OMPC_default:
7663 return V >= 1 && V <= 2147483647;
7664 case OMPC_filter:
7665 return V >= 1 && V <= 2147483647;
7666 case OMPC_final:
7667 return V >= 1 && V <= 2147483647;
7668 case OMPC_grainsize:
7669 return V >= 1 && V <= 2147483647;
7670 case OMPC_mergeable:
7671 return V >= 1 && V <= 2147483647;
7672 case OMPC_nogroup:
7673 return V >= 1 && V <= 2147483647;
7674 case OMPC_num_tasks:
7675 return V >= 1 && V <= 2147483647;
7676 case OMPC_priority:
7677 return V >= 1 && V <= 2147483647;
7678 case OMPC_untied:
7679 return V >= 1 && V <= 2147483647;
7680 default:
7681 return false;
7682 }
7683 break;
7684 case OMPD_masked_taskloop_simd:
7685 switch (C) {
7686 case OMPC_aligned:
7687 return V >= 1 && V <= 2147483647;
7688 case OMPC_allocate:
7689 return V >= 50 && V <= 2147483647;
7690 case OMPC_firstprivate:
7691 return V >= 1 && V <= 2147483647;
7692 case OMPC_if:
7693 return V >= 1 && V <= 2147483647;
7694 case OMPC_in_reduction:
7695 return V >= 1 && V <= 2147483647;
7696 case OMPC_lastprivate:
7697 return V >= 1 && V <= 2147483647;
7698 case OMPC_linear:
7699 return V >= 1 && V <= 2147483647;
7700 case OMPC_nontemporal:
7701 return V >= 50 && V <= 2147483647;
7702 case OMPC_private:
7703 return V >= 1 && V <= 2147483647;
7704 case OMPC_reduction:
7705 return V >= 1 && V <= 2147483647;
7706 case OMPC_shared:
7707 return V >= 1 && V <= 2147483647;
7708 case OMPC_collapse:
7709 return V >= 1 && V <= 2147483647;
7710 case OMPC_default:
7711 return V >= 1 && V <= 2147483647;
7712 case OMPC_filter:
7713 return V >= 1 && V <= 2147483647;
7714 case OMPC_final:
7715 return V >= 1 && V <= 2147483647;
7716 case OMPC_grainsize:
7717 return V >= 1 && V <= 2147483647;
7718 case OMPC_mergeable:
7719 return V >= 1 && V <= 2147483647;
7720 case OMPC_nogroup:
7721 return V >= 1 && V <= 2147483647;
7722 case OMPC_num_tasks:
7723 return V >= 1 && V <= 2147483647;
7724 case OMPC_order:
7725 return V >= 50 && V <= 2147483647;
7726 case OMPC_priority:
7727 return V >= 1 && V <= 2147483647;
7728 case OMPC_safelen:
7729 return V >= 1 && V <= 2147483647;
7730 case OMPC_simdlen:
7731 return V >= 1 && V <= 2147483647;
7732 case OMPC_untied:
7733 return V >= 1 && V <= 2147483647;
7734 default:
7735 return false;
7736 }
7737 break;
7738 case OMPD_master:
7739 return false;
7740 break;
7741 case OMPD_master_taskloop:
7742 switch (C) {
7743 case OMPC_allocate:
7744 return V >= 50 && V <= 2147483647;
7745 case OMPC_firstprivate:
7746 return V >= 1 && V <= 2147483647;
7747 case OMPC_if:
7748 return V >= 1 && V <= 2147483647;
7749 case OMPC_in_reduction:
7750 return V >= 1 && V <= 2147483647;
7751 case OMPC_lastprivate:
7752 return V >= 1 && V <= 2147483647;
7753 case OMPC_private:
7754 return V >= 1 && V <= 2147483647;
7755 case OMPC_reduction:
7756 return V >= 1 && V <= 2147483647;
7757 case OMPC_shared:
7758 return V >= 1 && V <= 2147483647;
7759 case OMPC_collapse:
7760 return V >= 1 && V <= 2147483647;
7761 case OMPC_default:
7762 return V >= 1 && V <= 2147483647;
7763 case OMPC_final:
7764 return V >= 1 && V <= 2147483647;
7765 case OMPC_grainsize:
7766 return V >= 1 && V <= 2147483647;
7767 case OMPC_mergeable:
7768 return V >= 1 && V <= 2147483647;
7769 case OMPC_nogroup:
7770 return V >= 1 && V <= 2147483647;
7771 case OMPC_num_tasks:
7772 return V >= 1 && V <= 2147483647;
7773 case OMPC_priority:
7774 return V >= 1 && V <= 2147483647;
7775 case OMPC_untied:
7776 return V >= 1 && V <= 2147483647;
7777 default:
7778 return false;
7779 }
7780 break;
7781 case OMPD_master_taskloop_simd:
7782 switch (C) {
7783 case OMPC_aligned:
7784 return V >= 1 && V <= 2147483647;
7785 case OMPC_allocate:
7786 return V >= 50 && V <= 2147483647;
7787 case OMPC_firstprivate:
7788 return V >= 1 && V <= 2147483647;
7789 case OMPC_if:
7790 return V >= 1 && V <= 2147483647;
7791 case OMPC_in_reduction:
7792 return V >= 1 && V <= 2147483647;
7793 case OMPC_lastprivate:
7794 return V >= 1 && V <= 2147483647;
7795 case OMPC_linear:
7796 return V >= 1 && V <= 2147483647;
7797 case OMPC_nontemporal:
7798 return V >= 50 && V <= 2147483647;
7799 case OMPC_private:
7800 return V >= 1 && V <= 2147483647;
7801 case OMPC_reduction:
7802 return V >= 1 && V <= 2147483647;
7803 case OMPC_shared:
7804 return V >= 1 && V <= 2147483647;
7805 case OMPC_collapse:
7806 return V >= 1 && V <= 2147483647;
7807 case OMPC_default:
7808 return V >= 1 && V <= 2147483647;
7809 case OMPC_final:
7810 return V >= 1 && V <= 2147483647;
7811 case OMPC_grainsize:
7812 return V >= 1 && V <= 2147483647;
7813 case OMPC_mergeable:
7814 return V >= 1 && V <= 2147483647;
7815 case OMPC_nogroup:
7816 return V >= 1 && V <= 2147483647;
7817 case OMPC_num_tasks:
7818 return V >= 1 && V <= 2147483647;
7819 case OMPC_order:
7820 return V >= 50 && V <= 2147483647;
7821 case OMPC_priority:
7822 return V >= 1 && V <= 2147483647;
7823 case OMPC_safelen:
7824 return V >= 1 && V <= 2147483647;
7825 case OMPC_simdlen:
7826 return V >= 1 && V <= 2147483647;
7827 case OMPC_untied:
7828 return V >= 1 && V <= 2147483647;
7829 default:
7830 return false;
7831 }
7832 break;
7833 case OMPD_metadirective:
7834 switch (C) {
7835 case OMPC_when:
7836 return V >= 1 && V <= 2147483647;
7837 case OMPC_default_variant:
7838 return V >= 50 && V <= 51;
7839 case OMPC_otherwise:
7840 return V >= 52 && V <= 2147483647;
7841 default:
7842 return false;
7843 }
7844 break;
7845 case OMPD_nothing:
7846 switch (C) {
7847 case OMPC_apply:
7848 return V >= 60 && V <= 2147483647;
7849 default:
7850 return false;
7851 }
7852 break;
7853 case OMPD_ordered_blockassoc:
7854 switch (C) {
7855 case OMPC_simd:
7856 return V >= 1 && V <= 2147483647;
7857 case OMPC_threads:
7858 return V >= 1 && V <= 2147483647;
7859 default:
7860 return false;
7861 }
7862 break;
7863 case OMPD_ordered_standalone:
7864 switch (C) {
7865 case OMPC_depend:
7866 return V >= 1 && V <= 2147483647;
7867 case OMPC_doacross:
7868 return V >= 52 && V <= 2147483647;
7869 default:
7870 return false;
7871 }
7872 break;
7873 case OMPD_parallel:
7874 switch (C) {
7875 case OMPC_allocate:
7876 return V >= 50 && V <= 2147483647;
7877 case OMPC_copyin:
7878 return V >= 1 && V <= 2147483647;
7879 case OMPC_firstprivate:
7880 return V >= 1 && V <= 2147483647;
7881 case OMPC_if:
7882 return V >= 1 && V <= 2147483647;
7883 case OMPC_ompx_attribute:
7884 return V >= 1 && V <= 2147483647;
7885 case OMPC_private:
7886 return V >= 1 && V <= 2147483647;
7887 case OMPC_reduction:
7888 return V >= 1 && V <= 2147483647;
7889 case OMPC_shared:
7890 return V >= 1 && V <= 2147483647;
7891 case OMPC_default:
7892 return V >= 1 && V <= 2147483647;
7893 case OMPC_message:
7894 return V >= 60 && V <= 2147483647;
7895 case OMPC_num_threads:
7896 return V >= 1 && V <= 2147483647;
7897 case OMPC_proc_bind:
7898 return V >= 1 && V <= 2147483647;
7899 case OMPC_severity:
7900 return V >= 60 && V <= 2147483647;
7901 default:
7902 return false;
7903 }
7904 break;
7905 case OMPD_parallel_do:
7906 switch (C) {
7907 case OMPC_allocate:
7908 return V >= 50 && V <= 2147483647;
7909 case OMPC_copyin:
7910 return V >= 1 && V <= 2147483647;
7911 case OMPC_firstprivate:
7912 return V >= 1 && V <= 2147483647;
7913 case OMPC_if:
7914 return V >= 1 && V <= 2147483647;
7915 case OMPC_lastprivate:
7916 return V >= 1 && V <= 2147483647;
7917 case OMPC_linear:
7918 return V >= 1 && V <= 2147483647;
7919 case OMPC_private:
7920 return V >= 1 && V <= 2147483647;
7921 case OMPC_reduction:
7922 return V >= 1 && V <= 2147483647;
7923 case OMPC_shared:
7924 return V >= 1 && V <= 2147483647;
7925 case OMPC_collapse:
7926 return V >= 1 && V <= 2147483647;
7927 case OMPC_default:
7928 return V >= 1 && V <= 2147483647;
7929 case OMPC_message:
7930 return V >= 60 && V <= 2147483647;
7931 case OMPC_num_threads:
7932 return V >= 1 && V <= 2147483647;
7933 case OMPC_order:
7934 return V >= 50 && V <= 2147483647;
7935 case OMPC_ordered:
7936 return V >= 1 && V <= 2147483647;
7937 case OMPC_proc_bind:
7938 return V >= 1 && V <= 2147483647;
7939 case OMPC_schedule:
7940 return V >= 1 && V <= 2147483647;
7941 case OMPC_severity:
7942 return V >= 60 && V <= 2147483647;
7943 default:
7944 return false;
7945 }
7946 break;
7947 case OMPD_parallel_do_simd:
7948 switch (C) {
7949 case OMPC_aligned:
7950 return V >= 1 && V <= 2147483647;
7951 case OMPC_allocate:
7952 return V >= 50 && V <= 2147483647;
7953 case OMPC_copyin:
7954 return V >= 1 && V <= 2147483647;
7955 case OMPC_firstprivate:
7956 return V >= 1 && V <= 2147483647;
7957 case OMPC_if:
7958 return V >= 1 && V <= 2147483647;
7959 case OMPC_lastprivate:
7960 return V >= 1 && V <= 2147483647;
7961 case OMPC_linear:
7962 return V >= 1 && V <= 2147483647;
7963 case OMPC_nontemporal:
7964 return V >= 1 && V <= 2147483647;
7965 case OMPC_private:
7966 return V >= 1 && V <= 2147483647;
7967 case OMPC_reduction:
7968 return V >= 1 && V <= 2147483647;
7969 case OMPC_shared:
7970 return V >= 1 && V <= 2147483647;
7971 case OMPC_collapse:
7972 return V >= 1 && V <= 2147483647;
7973 case OMPC_default:
7974 return V >= 1 && V <= 2147483647;
7975 case OMPC_message:
7976 return V >= 60 && V <= 2147483647;
7977 case OMPC_num_threads:
7978 return V >= 1 && V <= 2147483647;
7979 case OMPC_order:
7980 return V >= 50 && V <= 2147483647;
7981 case OMPC_ordered:
7982 return V >= 1 && V <= 2147483647;
7983 case OMPC_proc_bind:
7984 return V >= 1 && V <= 2147483647;
7985 case OMPC_safelen:
7986 return V >= 1 && V <= 2147483647;
7987 case OMPC_schedule:
7988 return V >= 1 && V <= 2147483647;
7989 case OMPC_severity:
7990 return V >= 60 && V <= 2147483647;
7991 case OMPC_simdlen:
7992 return V >= 1 && V <= 2147483647;
7993 default:
7994 return false;
7995 }
7996 break;
7997 case OMPD_parallel_for:
7998 switch (C) {
7999 case OMPC_allocate:
8000 return V >= 50 && V <= 2147483647;
8001 case OMPC_copyin:
8002 return V >= 1 && V <= 2147483647;
8003 case OMPC_firstprivate:
8004 return V >= 1 && V <= 2147483647;
8005 case OMPC_if:
8006 return V >= 1 && V <= 2147483647;
8007 case OMPC_lastprivate:
8008 return V >= 1 && V <= 2147483647;
8009 case OMPC_linear:
8010 return V >= 1 && V <= 2147483647;
8011 case OMPC_ompx_attribute:
8012 return V >= 1 && V <= 2147483647;
8013 case OMPC_private:
8014 return V >= 1 && V <= 2147483647;
8015 case OMPC_reduction:
8016 return V >= 1 && V <= 2147483647;
8017 case OMPC_shared:
8018 return V >= 1 && V <= 2147483647;
8019 case OMPC_collapse:
8020 return V >= 1 && V <= 2147483647;
8021 case OMPC_default:
8022 return V >= 1 && V <= 2147483647;
8023 case OMPC_message:
8024 return V >= 60 && V <= 2147483647;
8025 case OMPC_num_threads:
8026 return V >= 1 && V <= 2147483647;
8027 case OMPC_order:
8028 return V >= 50 && V <= 2147483647;
8029 case OMPC_ordered:
8030 return V >= 1 && V <= 2147483647;
8031 case OMPC_proc_bind:
8032 return V >= 1 && V <= 2147483647;
8033 case OMPC_schedule:
8034 return V >= 1 && V <= 2147483647;
8035 case OMPC_severity:
8036 return V >= 60 && V <= 2147483647;
8037 default:
8038 return false;
8039 }
8040 break;
8041 case OMPD_parallel_for_simd:
8042 switch (C) {
8043 case OMPC_aligned:
8044 return V >= 1 && V <= 2147483647;
8045 case OMPC_allocate:
8046 return V >= 50 && V <= 2147483647;
8047 case OMPC_copyin:
8048 return V >= 1 && V <= 2147483647;
8049 case OMPC_firstprivate:
8050 return V >= 1 && V <= 2147483647;
8051 case OMPC_if:
8052 return V >= 1 && V <= 2147483647;
8053 case OMPC_lastprivate:
8054 return V >= 1 && V <= 2147483647;
8055 case OMPC_linear:
8056 return V >= 1 && V <= 2147483647;
8057 case OMPC_nontemporal:
8058 return V >= 50 && V <= 2147483647;
8059 case OMPC_ompx_attribute:
8060 return V >= 1 && V <= 2147483647;
8061 case OMPC_private:
8062 return V >= 1 && V <= 2147483647;
8063 case OMPC_reduction:
8064 return V >= 1 && V <= 2147483647;
8065 case OMPC_shared:
8066 return V >= 1 && V <= 2147483647;
8067 case OMPC_collapse:
8068 return V >= 1 && V <= 2147483647;
8069 case OMPC_default:
8070 return V >= 1 && V <= 2147483647;
8071 case OMPC_message:
8072 return V >= 60 && V <= 2147483647;
8073 case OMPC_num_threads:
8074 return V >= 1 && V <= 2147483647;
8075 case OMPC_order:
8076 return V >= 50 && V <= 2147483647;
8077 case OMPC_ordered:
8078 return V >= 1 && V <= 2147483647;
8079 case OMPC_proc_bind:
8080 return V >= 1 && V <= 2147483647;
8081 case OMPC_safelen:
8082 return V >= 1 && V <= 2147483647;
8083 case OMPC_schedule:
8084 return V >= 1 && V <= 2147483647;
8085 case OMPC_severity:
8086 return V >= 60 && V <= 2147483647;
8087 case OMPC_simdlen:
8088 return V >= 1 && V <= 2147483647;
8089 default:
8090 return false;
8091 }
8092 break;
8093 case OMPD_parallel_masked:
8094 switch (C) {
8095 case OMPC_allocate:
8096 return V >= 50 && V <= 2147483647;
8097 case OMPC_copyin:
8098 return V >= 1 && V <= 2147483647;
8099 case OMPC_firstprivate:
8100 return V >= 1 && V <= 2147483647;
8101 case OMPC_if:
8102 return V >= 1 && V <= 2147483647;
8103 case OMPC_ompx_attribute:
8104 return V >= 1 && V <= 2147483647;
8105 case OMPC_private:
8106 return V >= 1 && V <= 2147483647;
8107 case OMPC_reduction:
8108 return V >= 1 && V <= 2147483647;
8109 case OMPC_shared:
8110 return V >= 1 && V <= 2147483647;
8111 case OMPC_default:
8112 return V >= 1 && V <= 2147483647;
8113 case OMPC_filter:
8114 return V >= 1 && V <= 2147483647;
8115 case OMPC_message:
8116 return V >= 60 && V <= 2147483647;
8117 case OMPC_num_threads:
8118 return V >= 1 && V <= 2147483647;
8119 case OMPC_proc_bind:
8120 return V >= 1 && V <= 2147483647;
8121 case OMPC_severity:
8122 return V >= 60 && V <= 2147483647;
8123 default:
8124 return false;
8125 }
8126 break;
8127 case OMPD_parallel_masked_taskloop:
8128 switch (C) {
8129 case OMPC_allocate:
8130 return V >= 50 && V <= 2147483647;
8131 case OMPC_copyin:
8132 return V >= 1 && V <= 2147483647;
8133 case OMPC_firstprivate:
8134 return V >= 1 && V <= 2147483647;
8135 case OMPC_if:
8136 return V >= 1 && V <= 2147483647;
8137 case OMPC_lastprivate:
8138 return V >= 1 && V <= 2147483647;
8139 case OMPC_ompx_attribute:
8140 return V >= 1 && V <= 2147483647;
8141 case OMPC_private:
8142 return V >= 1 && V <= 2147483647;
8143 case OMPC_reduction:
8144 return V >= 1 && V <= 2147483647;
8145 case OMPC_shared:
8146 return V >= 1 && V <= 2147483647;
8147 case OMPC_collapse:
8148 return V >= 1 && V <= 2147483647;
8149 case OMPC_default:
8150 return V >= 1 && V <= 2147483647;
8151 case OMPC_filter:
8152 return V >= 1 && V <= 2147483647;
8153 case OMPC_final:
8154 return V >= 1 && V <= 2147483647;
8155 case OMPC_grainsize:
8156 return V >= 1 && V <= 2147483647;
8157 case OMPC_mergeable:
8158 return V >= 1 && V <= 2147483647;
8159 case OMPC_message:
8160 return V >= 60 && V <= 2147483647;
8161 case OMPC_nogroup:
8162 return V >= 1 && V <= 2147483647;
8163 case OMPC_num_tasks:
8164 return V >= 1 && V <= 2147483647;
8165 case OMPC_num_threads:
8166 return V >= 1 && V <= 2147483647;
8167 case OMPC_priority:
8168 return V >= 1 && V <= 2147483647;
8169 case OMPC_proc_bind:
8170 return V >= 1 && V <= 2147483647;
8171 case OMPC_severity:
8172 return V >= 60 && V <= 2147483647;
8173 case OMPC_untied:
8174 return V >= 1 && V <= 2147483647;
8175 default:
8176 return false;
8177 }
8178 break;
8179 case OMPD_parallel_masked_taskloop_simd:
8180 switch (C) {
8181 case OMPC_aligned:
8182 return V >= 1 && V <= 2147483647;
8183 case OMPC_allocate:
8184 return V >= 50 && V <= 2147483647;
8185 case OMPC_copyin:
8186 return V >= 1 && V <= 2147483647;
8187 case OMPC_firstprivate:
8188 return V >= 1 && V <= 2147483647;
8189 case OMPC_if:
8190 return V >= 1 && V <= 2147483647;
8191 case OMPC_lastprivate:
8192 return V >= 1 && V <= 2147483647;
8193 case OMPC_linear:
8194 return V >= 1 && V <= 2147483647;
8195 case OMPC_nontemporal:
8196 return V >= 50 && V <= 2147483647;
8197 case OMPC_ompx_attribute:
8198 return V >= 1 && V <= 2147483647;
8199 case OMPC_private:
8200 return V >= 1 && V <= 2147483647;
8201 case OMPC_reduction:
8202 return V >= 1 && V <= 2147483647;
8203 case OMPC_shared:
8204 return V >= 1 && V <= 2147483647;
8205 case OMPC_collapse:
8206 return V >= 1 && V <= 2147483647;
8207 case OMPC_default:
8208 return V >= 1 && V <= 2147483647;
8209 case OMPC_filter:
8210 return V >= 1 && V <= 2147483647;
8211 case OMPC_final:
8212 return V >= 1 && V <= 2147483647;
8213 case OMPC_grainsize:
8214 return V >= 1 && V <= 2147483647;
8215 case OMPC_mergeable:
8216 return V >= 1 && V <= 2147483647;
8217 case OMPC_message:
8218 return V >= 60 && V <= 2147483647;
8219 case OMPC_nogroup:
8220 return V >= 1 && V <= 2147483647;
8221 case OMPC_num_tasks:
8222 return V >= 1 && V <= 2147483647;
8223 case OMPC_num_threads:
8224 return V >= 1 && V <= 2147483647;
8225 case OMPC_order:
8226 return V >= 50 && V <= 2147483647;
8227 case OMPC_priority:
8228 return V >= 1 && V <= 2147483647;
8229 case OMPC_proc_bind:
8230 return V >= 1 && V <= 2147483647;
8231 case OMPC_safelen:
8232 return V >= 1 && V <= 2147483647;
8233 case OMPC_severity:
8234 return V >= 60 && V <= 2147483647;
8235 case OMPC_simdlen:
8236 return V >= 1 && V <= 2147483647;
8237 case OMPC_untied:
8238 return V >= 1 && V <= 2147483647;
8239 default:
8240 return false;
8241 }
8242 break;
8243 case OMPD_parallel_master:
8244 switch (C) {
8245 case OMPC_allocate:
8246 return V >= 50 && V <= 2147483647;
8247 case OMPC_copyin:
8248 return V >= 1 && V <= 2147483647;
8249 case OMPC_firstprivate:
8250 return V >= 1 && V <= 2147483647;
8251 case OMPC_if:
8252 return V >= 1 && V <= 2147483647;
8253 case OMPC_ompx_attribute:
8254 return V >= 1 && V <= 2147483647;
8255 case OMPC_private:
8256 return V >= 1 && V <= 2147483647;
8257 case OMPC_reduction:
8258 return V >= 1 && V <= 2147483647;
8259 case OMPC_shared:
8260 return V >= 1 && V <= 2147483647;
8261 case OMPC_default:
8262 return V >= 1 && V <= 2147483647;
8263 case OMPC_message:
8264 return V >= 60 && V <= 2147483647;
8265 case OMPC_num_threads:
8266 return V >= 1 && V <= 2147483647;
8267 case OMPC_proc_bind:
8268 return V >= 1 && V <= 2147483647;
8269 case OMPC_severity:
8270 return V >= 60 && V <= 2147483647;
8271 default:
8272 return false;
8273 }
8274 break;
8275 case OMPD_parallel_master_taskloop:
8276 switch (C) {
8277 case OMPC_allocate:
8278 return V >= 50 && V <= 2147483647;
8279 case OMPC_copyin:
8280 return V >= 1 && V <= 2147483647;
8281 case OMPC_firstprivate:
8282 return V >= 1 && V <= 2147483647;
8283 case OMPC_if:
8284 return V >= 1 && V <= 2147483647;
8285 case OMPC_lastprivate:
8286 return V >= 1 && V <= 2147483647;
8287 case OMPC_ompx_attribute:
8288 return V >= 1 && V <= 2147483647;
8289 case OMPC_private:
8290 return V >= 1 && V <= 2147483647;
8291 case OMPC_reduction:
8292 return V >= 1 && V <= 2147483647;
8293 case OMPC_shared:
8294 return V >= 1 && V <= 2147483647;
8295 case OMPC_collapse:
8296 return V >= 1 && V <= 2147483647;
8297 case OMPC_default:
8298 return V >= 1 && V <= 2147483647;
8299 case OMPC_final:
8300 return V >= 1 && V <= 2147483647;
8301 case OMPC_grainsize:
8302 return V >= 1 && V <= 2147483647;
8303 case OMPC_mergeable:
8304 return V >= 1 && V <= 2147483647;
8305 case OMPC_message:
8306 return V >= 60 && V <= 2147483647;
8307 case OMPC_nogroup:
8308 return V >= 1 && V <= 2147483647;
8309 case OMPC_num_tasks:
8310 return V >= 1 && V <= 2147483647;
8311 case OMPC_num_threads:
8312 return V >= 1 && V <= 2147483647;
8313 case OMPC_priority:
8314 return V >= 1 && V <= 2147483647;
8315 case OMPC_proc_bind:
8316 return V >= 1 && V <= 2147483647;
8317 case OMPC_severity:
8318 return V >= 60 && V <= 2147483647;
8319 case OMPC_untied:
8320 return V >= 1 && V <= 2147483647;
8321 default:
8322 return false;
8323 }
8324 break;
8325 case OMPD_parallel_master_taskloop_simd:
8326 switch (C) {
8327 case OMPC_aligned:
8328 return V >= 1 && V <= 2147483647;
8329 case OMPC_allocate:
8330 return V >= 50 && V <= 2147483647;
8331 case OMPC_copyin:
8332 return V >= 1 && V <= 2147483647;
8333 case OMPC_firstprivate:
8334 return V >= 1 && V <= 2147483647;
8335 case OMPC_if:
8336 return V >= 1 && V <= 2147483647;
8337 case OMPC_lastprivate:
8338 return V >= 1 && V <= 2147483647;
8339 case OMPC_linear:
8340 return V >= 1 && V <= 2147483647;
8341 case OMPC_nontemporal:
8342 return V >= 50 && V <= 2147483647;
8343 case OMPC_ompx_attribute:
8344 return V >= 1 && V <= 2147483647;
8345 case OMPC_private:
8346 return V >= 1 && V <= 2147483647;
8347 case OMPC_reduction:
8348 return V >= 1 && V <= 2147483647;
8349 case OMPC_shared:
8350 return V >= 1 && V <= 2147483647;
8351 case OMPC_collapse:
8352 return V >= 1 && V <= 2147483647;
8353 case OMPC_default:
8354 return V >= 1 && V <= 2147483647;
8355 case OMPC_final:
8356 return V >= 1 && V <= 2147483647;
8357 case OMPC_grainsize:
8358 return V >= 1 && V <= 2147483647;
8359 case OMPC_mergeable:
8360 return V >= 1 && V <= 2147483647;
8361 case OMPC_message:
8362 return V >= 60 && V <= 2147483647;
8363 case OMPC_nogroup:
8364 return V >= 1 && V <= 2147483647;
8365 case OMPC_num_tasks:
8366 return V >= 1 && V <= 2147483647;
8367 case OMPC_num_threads:
8368 return V >= 1 && V <= 2147483647;
8369 case OMPC_order:
8370 return V >= 50 && V <= 2147483647;
8371 case OMPC_priority:
8372 return V >= 1 && V <= 2147483647;
8373 case OMPC_proc_bind:
8374 return V >= 1 && V <= 2147483647;
8375 case OMPC_safelen:
8376 return V >= 1 && V <= 2147483647;
8377 case OMPC_severity:
8378 return V >= 60 && V <= 2147483647;
8379 case OMPC_simdlen:
8380 return V >= 1 && V <= 2147483647;
8381 case OMPC_untied:
8382 return V >= 1 && V <= 2147483647;
8383 default:
8384 return false;
8385 }
8386 break;
8387 case OMPD_parallel_sections:
8388 switch (C) {
8389 case OMPC_allocate:
8390 return V >= 50 && V <= 2147483647;
8391 case OMPC_copyin:
8392 return V >= 1 && V <= 2147483647;
8393 case OMPC_firstprivate:
8394 return V >= 1 && V <= 2147483647;
8395 case OMPC_if:
8396 return V >= 1 && V <= 2147483647;
8397 case OMPC_lastprivate:
8398 return V >= 1 && V <= 2147483647;
8399 case OMPC_ompx_attribute:
8400 return V >= 1 && V <= 2147483647;
8401 case OMPC_private:
8402 return V >= 1 && V <= 2147483647;
8403 case OMPC_reduction:
8404 return V >= 1 && V <= 2147483647;
8405 case OMPC_shared:
8406 return V >= 1 && V <= 2147483647;
8407 case OMPC_default:
8408 return V >= 1 && V <= 2147483647;
8409 case OMPC_message:
8410 return V >= 60 && V <= 2147483647;
8411 case OMPC_num_threads:
8412 return V >= 1 && V <= 2147483647;
8413 case OMPC_proc_bind:
8414 return V >= 1 && V <= 2147483647;
8415 case OMPC_severity:
8416 return V >= 60 && V <= 2147483647;
8417 default:
8418 return false;
8419 }
8420 break;
8421 case OMPD_parallel_workshare:
8422 switch (C) {
8423 case OMPC_allocate:
8424 return V >= 50 && V <= 2147483647;
8425 case OMPC_copyin:
8426 return V >= 1 && V <= 2147483647;
8427 case OMPC_firstprivate:
8428 return V >= 1 && V <= 2147483647;
8429 case OMPC_if:
8430 return V >= 1 && V <= 2147483647;
8431 case OMPC_private:
8432 return V >= 1 && V <= 2147483647;
8433 case OMPC_reduction:
8434 return V >= 1 && V <= 2147483647;
8435 case OMPC_shared:
8436 return V >= 1 && V <= 2147483647;
8437 case OMPC_default:
8438 return V >= 1 && V <= 2147483647;
8439 case OMPC_message:
8440 return V >= 60 && V <= 2147483647;
8441 case OMPC_num_threads:
8442 return V >= 1 && V <= 2147483647;
8443 case OMPC_proc_bind:
8444 return V >= 1 && V <= 2147483647;
8445 case OMPC_severity:
8446 return V >= 60 && V <= 2147483647;
8447 default:
8448 return false;
8449 }
8450 break;
8451 case OMPD_requires:
8452 switch (C) {
8453 case OMPC_atomic_default_mem_order:
8454 return V >= 1 && V <= 2147483647;
8455 case OMPC_device_safesync:
8456 return V >= 60 && V <= 2147483647;
8457 case OMPC_dynamic_allocators:
8458 return V >= 1 && V <= 2147483647;
8459 case OMPC_reverse_offload:
8460 return V >= 1 && V <= 2147483647;
8461 case OMPC_self_maps:
8462 return V >= 1 && V <= 2147483647;
8463 case OMPC_unified_address:
8464 return V >= 1 && V <= 2147483647;
8465 case OMPC_unified_shared_memory:
8466 return V >= 1 && V <= 2147483647;
8467 default:
8468 return false;
8469 }
8470 break;
8471 case OMPD_reverse:
8472 switch (C) {
8473 case OMPC_apply:
8474 return V >= 60 && V <= 2147483647;
8475 default:
8476 return false;
8477 }
8478 break;
8479 case OMPD_scan:
8480 switch (C) {
8481 case OMPC_exclusive:
8482 return V >= 1 && V <= 2147483647;
8483 case OMPC_inclusive:
8484 return V >= 1 && V <= 2147483647;
8485 default:
8486 return false;
8487 }
8488 break;
8489 case OMPD_scope:
8490 switch (C) {
8491 case OMPC_private:
8492 return V >= 51 && V <= 2147483647;
8493 case OMPC_reduction:
8494 return V >= 51 && V <= 2147483647;
8495 case OMPC_firstprivate:
8496 return V >= 52 && V <= 2147483647;
8497 case OMPC_allocate:
8498 return V >= 52 && V <= 2147483647;
8499 case OMPC_nowait:
8500 return V >= 51 && V <= 2147483647;
8501 default:
8502 return false;
8503 }
8504 break;
8505 case OMPD_section:
8506 return false;
8507 break;
8508 case OMPD_sections:
8509 switch (C) {
8510 case OMPC_allocate:
8511 return V >= 50 && V <= 2147483647;
8512 case OMPC_firstprivate:
8513 return V >= 1 && V <= 2147483647;
8514 case OMPC_lastprivate:
8515 return V >= 1 && V <= 2147483647;
8516 case OMPC_private:
8517 return V >= 1 && V <= 2147483647;
8518 case OMPC_reduction:
8519 return V >= 1 && V <= 2147483647;
8520 case OMPC_nowait:
8521 return V >= 1 && V <= 2147483647;
8522 default:
8523 return false;
8524 }
8525 break;
8526 case OMPD_simd:
8527 switch (C) {
8528 case OMPC_aligned:
8529 return V >= 1 && V <= 2147483647;
8530 case OMPC_allocate:
8531 return V >= 50 && V <= 2147483647;
8532 case OMPC_if:
8533 return V >= 50 && V <= 2147483647;
8534 case OMPC_lastprivate:
8535 return V >= 1 && V <= 2147483647;
8536 case OMPC_linear:
8537 return V >= 1 && V <= 2147483647;
8538 case OMPC_nontemporal:
8539 return V >= 50 && V <= 2147483647;
8540 case OMPC_private:
8541 return V >= 1 && V <= 2147483647;
8542 case OMPC_reduction:
8543 return V >= 1 && V <= 2147483647;
8544 case OMPC_collapse:
8545 return V >= 1 && V <= 2147483647;
8546 case OMPC_order:
8547 return V >= 50 && V <= 2147483647;
8548 case OMPC_safelen:
8549 return V >= 1 && V <= 2147483647;
8550 case OMPC_simdlen:
8551 return V >= 1 && V <= 2147483647;
8552 default:
8553 return false;
8554 }
8555 break;
8556 case OMPD_single:
8557 switch (C) {
8558 case OMPC_allocate:
8559 return V >= 50 && V <= 2147483647;
8560 case OMPC_copyprivate:
8561 return V >= 1 && V <= 2147483647;
8562 case OMPC_firstprivate:
8563 return V >= 1 && V <= 2147483647;
8564 case OMPC_private:
8565 return V >= 1 && V <= 2147483647;
8566 case OMPC_nowait:
8567 return V >= 1 && V <= 2147483647;
8568 default:
8569 return false;
8570 }
8571 break;
8572 case OMPD_split:
8573 switch (C) {
8574 case OMPC_apply:
8575 return V >= 60 && V <= 2147483647;
8576 case OMPC_counts:
8577 return V >= 60 && V <= 2147483647;
8578 default:
8579 return false;
8580 }
8581 break;
8582 case OMPD_stripe:
8583 switch (C) {
8584 case OMPC_apply:
8585 return V >= 60 && V <= 2147483647;
8586 case OMPC_sizes:
8587 return V >= 60 && V <= 2147483647;
8588 default:
8589 return false;
8590 }
8591 break;
8592 case OMPD_target:
8593 switch (C) {
8594 case OMPC_allocate:
8595 return V >= 50 && V <= 2147483647;
8596 case OMPC_depend:
8597 return V >= 1 && V <= 2147483647;
8598 case OMPC_dyn_groupprivate:
8599 return V >= 61 && V <= 2147483647;
8600 case OMPC_firstprivate:
8601 return V >= 1 && V <= 2147483647;
8602 case OMPC_if:
8603 return V >= 1 && V <= 2147483647;
8604 case OMPC_has_device_addr:
8605 return V >= 51 && V <= 2147483647;
8606 case OMPC_in_reduction:
8607 return V >= 50 && V <= 2147483647;
8608 case OMPC_is_device_ptr:
8609 return V >= 1 && V <= 2147483647;
8610 case OMPC_map:
8611 return V >= 1 && V <= 2147483647;
8612 case OMPC_ompx_attribute:
8613 return V >= 1 && V <= 2147483647;
8614 case OMPC_private:
8615 return V >= 1 && V <= 2147483647;
8616 case OMPC_uses_allocators:
8617 return V >= 50 && V <= 2147483647;
8618 case OMPC_default:
8619 return V >= 60 && V <= 2147483647;
8620 case OMPC_defaultmap:
8621 return V >= 1 && V <= 2147483647;
8622 case OMPC_device:
8623 return V >= 1 && V <= 2147483647;
8624 case OMPC_nowait:
8625 return V >= 1 && V <= 2147483647;
8626 case OMPC_ompx_bare:
8627 return V >= 1 && V <= 2147483647;
8628 case OMPC_ompx_dyn_cgroup_mem:
8629 return V >= 1 && V <= 2147483647;
8630 case OMPC_replayable:
8631 return V >= 60 && V <= 2147483647;
8632 case OMPC_thread_limit:
8633 return V >= 51 && V <= 2147483647;
8634 default:
8635 return false;
8636 }
8637 break;
8638 case OMPD_target_data:
8639 switch (C) {
8640 case OMPC_if:
8641 return V >= 1 && V <= 2147483647;
8642 case OMPC_default:
8643 return V >= 60 && V <= 2147483647;
8644 case OMPC_device:
8645 return V >= 1 && V <= 2147483647;
8646 case OMPC_transparent:
8647 return V >= 60 && V <= 2147483647;
8648 case OMPC_map:
8649 return V >= 1 && V <= 2147483647;
8650 case OMPC_use_device_addr:
8651 return V >= 50 && V <= 2147483647;
8652 case OMPC_use_device_ptr:
8653 return V >= 1 && V <= 2147483647;
8654 default:
8655 return false;
8656 }
8657 break;
8658 case OMPD_target_enter_data:
8659 switch (C) {
8660 case OMPC_depend:
8661 return V >= 1 && V <= 2147483647;
8662 case OMPC_if:
8663 return V >= 1 && V <= 2147483647;
8664 case OMPC_device:
8665 return V >= 1 && V <= 2147483647;
8666 case OMPC_nowait:
8667 return V >= 1 && V <= 2147483647;
8668 case OMPC_replayable:
8669 return V >= 60 && V <= 2147483647;
8670 case OMPC_map:
8671 return V >= 1 && V <= 2147483647;
8672 default:
8673 return false;
8674 }
8675 break;
8676 case OMPD_target_exit_data:
8677 switch (C) {
8678 case OMPC_depend:
8679 return V >= 1 && V <= 2147483647;
8680 case OMPC_if:
8681 return V >= 1 && V <= 2147483647;
8682 case OMPC_device:
8683 return V >= 1 && V <= 2147483647;
8684 case OMPC_nowait:
8685 return V >= 1 && V <= 2147483647;
8686 case OMPC_replayable:
8687 return V >= 60 && V <= 2147483647;
8688 case OMPC_map:
8689 return V >= 1 && V <= 2147483647;
8690 default:
8691 return false;
8692 }
8693 break;
8694 case OMPD_target_parallel:
8695 switch (C) {
8696 case OMPC_allocate:
8697 return V >= 50 && V <= 2147483647;
8698 case OMPC_depend:
8699 return V >= 1 && V <= 2147483647;
8700 case OMPC_dyn_groupprivate:
8701 return V >= 61 && V <= 2147483647;
8702 case OMPC_firstprivate:
8703 return V >= 1 && V <= 2147483647;
8704 case OMPC_has_device_addr:
8705 return V >= 51 && V <= 2147483647;
8706 case OMPC_if:
8707 return V >= 1 && V <= 2147483647;
8708 case OMPC_is_device_ptr:
8709 return V >= 1 && V <= 2147483647;
8710 case OMPC_map:
8711 return V >= 1 && V <= 2147483647;
8712 case OMPC_ompx_attribute:
8713 return V >= 1 && V <= 2147483647;
8714 case OMPC_private:
8715 return V >= 1 && V <= 2147483647;
8716 case OMPC_reduction:
8717 return V >= 1 && V <= 2147483647;
8718 case OMPC_shared:
8719 return V >= 1 && V <= 2147483647;
8720 case OMPC_uses_allocators:
8721 return V >= 50 && V <= 2147483647;
8722 case OMPC_default:
8723 return V >= 1 && V <= 2147483647;
8724 case OMPC_defaultmap:
8725 return V >= 1 && V <= 2147483647;
8726 case OMPC_device:
8727 return V >= 1 && V <= 2147483647;
8728 case OMPC_message:
8729 return V >= 60 && V <= 2147483647;
8730 case OMPC_nowait:
8731 return V >= 1 && V <= 2147483647;
8732 case OMPC_num_threads:
8733 return V >= 1 && V <= 2147483647;
8734 case OMPC_ompx_dyn_cgroup_mem:
8735 return V >= 1 && V <= 2147483647;
8736 case OMPC_proc_bind:
8737 return V >= 1 && V <= 2147483647;
8738 case OMPC_severity:
8739 return V >= 60 && V <= 2147483647;
8740 case OMPC_thread_limit:
8741 return V >= 51 && V <= 2147483647;
8742 default:
8743 return false;
8744 }
8745 break;
8746 case OMPD_target_parallel_do:
8747 switch (C) {
8748 case OMPC_depend:
8749 return V >= 1 && V <= 2147483647;
8750 case OMPC_dyn_groupprivate:
8751 return V >= 61 && V <= 2147483647;
8752 case OMPC_firstprivate:
8753 return V >= 1 && V <= 2147483647;
8754 case OMPC_has_device_addr:
8755 return V >= 51 && V <= 2147483647;
8756 case OMPC_if:
8757 return V >= 1 && V <= 2147483647;
8758 case OMPC_is_device_ptr:
8759 return V >= 1 && V <= 2147483647;
8760 case OMPC_lastprivate:
8761 return V >= 1 && V <= 2147483647;
8762 case OMPC_linear:
8763 return V >= 1 && V <= 2147483647;
8764 case OMPC_map:
8765 return V >= 1 && V <= 2147483647;
8766 case OMPC_private:
8767 return V >= 1 && V <= 2147483647;
8768 case OMPC_reduction:
8769 return V >= 1 && V <= 2147483647;
8770 case OMPC_shared:
8771 return V >= 1 && V <= 2147483647;
8772 case OMPC_uses_allocators:
8773 return V >= 1 && V <= 2147483647;
8774 case OMPC_allocator:
8775 return V >= 1 && V <= 2147483647;
8776 case OMPC_collapse:
8777 return V >= 1 && V <= 2147483647;
8778 case OMPC_default:
8779 return V >= 1 && V <= 2147483647;
8780 case OMPC_defaultmap:
8781 return V >= 1 && V <= 2147483647;
8782 case OMPC_device:
8783 return V >= 1 && V <= 2147483647;
8784 case OMPC_message:
8785 return V >= 60 && V <= 2147483647;
8786 case OMPC_nowait:
8787 return V >= 1 && V <= 2147483647;
8788 case OMPC_num_threads:
8789 return V >= 1 && V <= 2147483647;
8790 case OMPC_order:
8791 return V >= 50 && V <= 2147483647;
8792 case OMPC_ordered:
8793 return V >= 1 && V <= 2147483647;
8794 case OMPC_proc_bind:
8795 return V >= 1 && V <= 2147483647;
8796 case OMPC_schedule:
8797 return V >= 1 && V <= 2147483647;
8798 case OMPC_severity:
8799 return V >= 60 && V <= 2147483647;
8800 default:
8801 return false;
8802 }
8803 break;
8804 case OMPD_target_parallel_do_simd:
8805 switch (C) {
8806 case OMPC_aligned:
8807 return V >= 1 && V <= 2147483647;
8808 case OMPC_allocate:
8809 return V >= 50 && V <= 2147483647;
8810 case OMPC_depend:
8811 return V >= 1 && V <= 2147483647;
8812 case OMPC_dyn_groupprivate:
8813 return V >= 61 && V <= 2147483647;
8814 case OMPC_firstprivate:
8815 return V >= 1 && V <= 2147483647;
8816 case OMPC_has_device_addr:
8817 return V >= 51 && V <= 2147483647;
8818 case OMPC_if:
8819 return V >= 1 && V <= 2147483647;
8820 case OMPC_is_device_ptr:
8821 return V >= 1 && V <= 2147483647;
8822 case OMPC_lastprivate:
8823 return V >= 1 && V <= 2147483647;
8824 case OMPC_linear:
8825 return V >= 1 && V <= 2147483647;
8826 case OMPC_map:
8827 return V >= 1 && V <= 2147483647;
8828 case OMPC_nontemporal:
8829 return V >= 1 && V <= 2147483647;
8830 case OMPC_private:
8831 return V >= 1 && V <= 2147483647;
8832 case OMPC_reduction:
8833 return V >= 1 && V <= 2147483647;
8834 case OMPC_shared:
8835 return V >= 1 && V <= 2147483647;
8836 case OMPC_uses_allocators:
8837 return V >= 1 && V <= 2147483647;
8838 case OMPC_collapse:
8839 return V >= 1 && V <= 2147483647;
8840 case OMPC_default:
8841 return V >= 1 && V <= 2147483647;
8842 case OMPC_defaultmap:
8843 return V >= 1 && V <= 2147483647;
8844 case OMPC_device:
8845 return V >= 1 && V <= 2147483647;
8846 case OMPC_message:
8847 return V >= 60 && V <= 2147483647;
8848 case OMPC_nowait:
8849 return V >= 1 && V <= 2147483647;
8850 case OMPC_num_threads:
8851 return V >= 1 && V <= 2147483647;
8852 case OMPC_order:
8853 return V >= 50 && V <= 2147483647;
8854 case OMPC_ordered:
8855 return V >= 1 && V <= 2147483647;
8856 case OMPC_proc_bind:
8857 return V >= 1 && V <= 2147483647;
8858 case OMPC_safelen:
8859 return V >= 1 && V <= 2147483647;
8860 case OMPC_schedule:
8861 return V >= 1 && V <= 2147483647;
8862 case OMPC_severity:
8863 return V >= 60 && V <= 2147483647;
8864 case OMPC_simdlen:
8865 return V >= 1 && V <= 2147483647;
8866 default:
8867 return false;
8868 }
8869 break;
8870 case OMPD_target_parallel_for:
8871 switch (C) {
8872 case OMPC_allocate:
8873 return V >= 50 && V <= 2147483647;
8874 case OMPC_depend:
8875 return V >= 1 && V <= 2147483647;
8876 case OMPC_dyn_groupprivate:
8877 return V >= 61 && V <= 2147483647;
8878 case OMPC_firstprivate:
8879 return V >= 1 && V <= 2147483647;
8880 case OMPC_has_device_addr:
8881 return V >= 51 && V <= 2147483647;
8882 case OMPC_if:
8883 return V >= 1 && V <= 2147483647;
8884 case OMPC_is_device_ptr:
8885 return V >= 1 && V <= 2147483647;
8886 case OMPC_lastprivate:
8887 return V >= 1 && V <= 2147483647;
8888 case OMPC_linear:
8889 return V >= 1 && V <= 2147483647;
8890 case OMPC_map:
8891 return V >= 1 && V <= 2147483647;
8892 case OMPC_ompx_attribute:
8893 return V >= 1 && V <= 2147483647;
8894 case OMPC_private:
8895 return V >= 1 && V <= 2147483647;
8896 case OMPC_reduction:
8897 return V >= 1 && V <= 2147483647;
8898 case OMPC_shared:
8899 return V >= 1 && V <= 2147483647;
8900 case OMPC_uses_allocators:
8901 return V >= 50 && V <= 2147483647;
8902 case OMPC_collapse:
8903 return V >= 1 && V <= 2147483647;
8904 case OMPC_default:
8905 return V >= 1 && V <= 2147483647;
8906 case OMPC_defaultmap:
8907 return V >= 1 && V <= 2147483647;
8908 case OMPC_device:
8909 return V >= 1 && V <= 2147483647;
8910 case OMPC_message:
8911 return V >= 60 && V <= 2147483647;
8912 case OMPC_nowait:
8913 return V >= 1 && V <= 2147483647;
8914 case OMPC_num_threads:
8915 return V >= 1 && V <= 2147483647;
8916 case OMPC_ompx_dyn_cgroup_mem:
8917 return V >= 1 && V <= 2147483647;
8918 case OMPC_order:
8919 return V >= 50 && V <= 2147483647;
8920 case OMPC_ordered:
8921 return V >= 1 && V <= 2147483647;
8922 case OMPC_proc_bind:
8923 return V >= 1 && V <= 2147483647;
8924 case OMPC_schedule:
8925 return V >= 1 && V <= 2147483647;
8926 case OMPC_severity:
8927 return V >= 60 && V <= 2147483647;
8928 case OMPC_thread_limit:
8929 return V >= 51 && V <= 2147483647;
8930 default:
8931 return false;
8932 }
8933 break;
8934 case OMPD_target_parallel_for_simd:
8935 switch (C) {
8936 case OMPC_aligned:
8937 return V >= 1 && V <= 2147483647;
8938 case OMPC_allocate:
8939 return V >= 50 && V <= 2147483647;
8940 case OMPC_depend:
8941 return V >= 1 && V <= 2147483647;
8942 case OMPC_dyn_groupprivate:
8943 return V >= 61 && V <= 2147483647;
8944 case OMPC_firstprivate:
8945 return V >= 1 && V <= 2147483647;
8946 case OMPC_has_device_addr:
8947 return V >= 51 && V <= 2147483647;
8948 case OMPC_if:
8949 return V >= 1 && V <= 2147483647;
8950 case OMPC_is_device_ptr:
8951 return V >= 1 && V <= 2147483647;
8952 case OMPC_lastprivate:
8953 return V >= 1 && V <= 2147483647;
8954 case OMPC_linear:
8955 return V >= 1 && V <= 2147483647;
8956 case OMPC_map:
8957 return V >= 1 && V <= 2147483647;
8958 case OMPC_nontemporal:
8959 return V >= 50 && V <= 2147483647;
8960 case OMPC_ompx_attribute:
8961 return V >= 1 && V <= 2147483647;
8962 case OMPC_private:
8963 return V >= 1 && V <= 2147483647;
8964 case OMPC_reduction:
8965 return V >= 1 && V <= 2147483647;
8966 case OMPC_shared:
8967 return V >= 1 && V <= 2147483647;
8968 case OMPC_uses_allocators:
8969 return V >= 50 && V <= 2147483647;
8970 case OMPC_collapse:
8971 return V >= 1 && V <= 2147483647;
8972 case OMPC_default:
8973 return V >= 1 && V <= 2147483647;
8974 case OMPC_defaultmap:
8975 return V >= 1 && V <= 2147483647;
8976 case OMPC_device:
8977 return V >= 1 && V <= 2147483647;
8978 case OMPC_message:
8979 return V >= 60 && V <= 2147483647;
8980 case OMPC_nowait:
8981 return V >= 1 && V <= 2147483647;
8982 case OMPC_num_threads:
8983 return V >= 1 && V <= 2147483647;
8984 case OMPC_ompx_dyn_cgroup_mem:
8985 return V >= 1 && V <= 2147483647;
8986 case OMPC_order:
8987 return V >= 50 && V <= 2147483647;
8988 case OMPC_ordered:
8989 return V >= 1 && V <= 2147483647;
8990 case OMPC_proc_bind:
8991 return V >= 1 && V <= 2147483647;
8992 case OMPC_safelen:
8993 return V >= 1 && V <= 2147483647;
8994 case OMPC_schedule:
8995 return V >= 1 && V <= 2147483647;
8996 case OMPC_severity:
8997 return V >= 60 && V <= 2147483647;
8998 case OMPC_simdlen:
8999 return V >= 1 && V <= 2147483647;
9000 case OMPC_thread_limit:
9001 return V >= 51 && V <= 2147483647;
9002 default:
9003 return false;
9004 }
9005 break;
9006 case OMPD_target_simd:
9007 switch (C) {
9008 case OMPC_aligned:
9009 return V >= 1 && V <= 2147483647;
9010 case OMPC_allocate:
9011 return V >= 50 && V <= 2147483647;
9012 case OMPC_depend:
9013 return V >= 1 && V <= 2147483647;
9014 case OMPC_dyn_groupprivate:
9015 return V >= 61 && V <= 2147483647;
9016 case OMPC_firstprivate:
9017 return V >= 1 && V <= 2147483647;
9018 case OMPC_has_device_addr:
9019 return V >= 51 && V <= 2147483647;
9020 case OMPC_if:
9021 return V >= 1 && V <= 2147483647;
9022 case OMPC_is_device_ptr:
9023 return V >= 1 && V <= 2147483647;
9024 case OMPC_lastprivate:
9025 return V >= 1 && V <= 2147483647;
9026 case OMPC_linear:
9027 return V >= 1 && V <= 2147483647;
9028 case OMPC_map:
9029 return V >= 1 && V <= 2147483647;
9030 case OMPC_nontemporal:
9031 return V >= 50 && V <= 2147483647;
9032 case OMPC_ompx_attribute:
9033 return V >= 1 && V <= 2147483647;
9034 case OMPC_private:
9035 return V >= 1 && V <= 2147483647;
9036 case OMPC_reduction:
9037 return V >= 1 && V <= 2147483647;
9038 case OMPC_shared:
9039 return V >= 1 && V <= 2147483647;
9040 case OMPC_uses_allocators:
9041 return V >= 50 && V <= 2147483647;
9042 case OMPC_collapse:
9043 return V >= 1 && V <= 2147483647;
9044 case OMPC_defaultmap:
9045 return V >= 1 && V <= 2147483647;
9046 case OMPC_device:
9047 return V >= 1 && V <= 2147483647;
9048 case OMPC_message:
9049 return V >= 60 && V <= 2147483647;
9050 case OMPC_nowait:
9051 return V >= 1 && V <= 2147483647;
9052 case OMPC_num_threads:
9053 return V >= 1 && V <= 2147483647;
9054 case OMPC_ompx_dyn_cgroup_mem:
9055 return V >= 1 && V <= 2147483647;
9056 case OMPC_order:
9057 return V >= 50 && V <= 2147483647;
9058 case OMPC_proc_bind:
9059 return V >= 1 && V <= 2147483647;
9060 case OMPC_safelen:
9061 return V >= 1 && V <= 2147483647;
9062 case OMPC_schedule:
9063 return V >= 1 && V <= 2147483647;
9064 case OMPC_severity:
9065 return V >= 60 && V <= 2147483647;
9066 case OMPC_simdlen:
9067 return V >= 1 && V <= 2147483647;
9068 case OMPC_thread_limit:
9069 return V >= 51 && V <= 2147483647;
9070 default:
9071 return false;
9072 }
9073 break;
9074 case OMPD_target_teams:
9075 switch (C) {
9076 case OMPC_allocate:
9077 return V >= 50 && V <= 2147483647;
9078 case OMPC_depend:
9079 return V >= 1 && V <= 2147483647;
9080 case OMPC_dyn_groupprivate:
9081 return V >= 61 && V <= 2147483647;
9082 case OMPC_firstprivate:
9083 return V >= 1 && V <= 2147483647;
9084 case OMPC_has_device_addr:
9085 return V >= 51 && V <= 2147483647;
9086 case OMPC_if:
9087 return V >= 1 && V <= 2147483647;
9088 case OMPC_is_device_ptr:
9089 return V >= 1 && V <= 2147483647;
9090 case OMPC_map:
9091 return V >= 1 && V <= 2147483647;
9092 case OMPC_ompx_attribute:
9093 return V >= 1 && V <= 2147483647;
9094 case OMPC_private:
9095 return V >= 1 && V <= 2147483647;
9096 case OMPC_reduction:
9097 return V >= 1 && V <= 2147483647;
9098 case OMPC_shared:
9099 return V >= 1 && V <= 2147483647;
9100 case OMPC_uses_allocators:
9101 return V >= 50 && V <= 2147483647;
9102 case OMPC_default:
9103 return V >= 1 && V <= 2147483647;
9104 case OMPC_defaultmap:
9105 return V >= 1 && V <= 2147483647;
9106 case OMPC_device:
9107 return V >= 1 && V <= 2147483647;
9108 case OMPC_nowait:
9109 return V >= 1 && V <= 2147483647;
9110 case OMPC_num_teams:
9111 return V >= 1 && V <= 2147483647;
9112 case OMPC_ompx_bare:
9113 return V >= 1 && V <= 2147483647;
9114 case OMPC_ompx_dyn_cgroup_mem:
9115 return V >= 1 && V <= 2147483647;
9116 case OMPC_thread_limit:
9117 return V >= 1 && V <= 2147483647;
9118 default:
9119 return false;
9120 }
9121 break;
9122 case OMPD_target_teams_distribute:
9123 switch (C) {
9124 case OMPC_allocate:
9125 return V >= 50 && V <= 2147483647;
9126 case OMPC_depend:
9127 return V >= 1 && V <= 2147483647;
9128 case OMPC_dyn_groupprivate:
9129 return V >= 61 && V <= 2147483647;
9130 case OMPC_firstprivate:
9131 return V >= 1 && V <= 2147483647;
9132 case OMPC_has_device_addr:
9133 return V >= 51 && V <= 2147483647;
9134 case OMPC_if:
9135 return V >= 1 && V <= 2147483647;
9136 case OMPC_is_device_ptr:
9137 return V >= 1 && V <= 2147483647;
9138 case OMPC_lastprivate:
9139 return V >= 1 && V <= 2147483647;
9140 case OMPC_map:
9141 return V >= 1 && V <= 2147483647;
9142 case OMPC_ompx_attribute:
9143 return V >= 1 && V <= 2147483647;
9144 case OMPC_private:
9145 return V >= 1 && V <= 2147483647;
9146 case OMPC_reduction:
9147 return V >= 1 && V <= 2147483647;
9148 case OMPC_shared:
9149 return V >= 1 && V <= 2147483647;
9150 case OMPC_uses_allocators:
9151 return V >= 50 && V <= 2147483647;
9152 case OMPC_collapse:
9153 return V >= 1 && V <= 2147483647;
9154 case OMPC_default:
9155 return V >= 1 && V <= 2147483647;
9156 case OMPC_defaultmap:
9157 return V >= 1 && V <= 2147483647;
9158 case OMPC_device:
9159 return V >= 1 && V <= 2147483647;
9160 case OMPC_dist_schedule:
9161 return V >= 1 && V <= 2147483647;
9162 case OMPC_nowait:
9163 return V >= 1 && V <= 2147483647;
9164 case OMPC_num_teams:
9165 return V >= 1 && V <= 2147483647;
9166 case OMPC_ompx_dyn_cgroup_mem:
9167 return V >= 1 && V <= 2147483647;
9168 case OMPC_order:
9169 return V >= 50 && V <= 2147483647;
9170 case OMPC_thread_limit:
9171 return V >= 1 && V <= 2147483647;
9172 default:
9173 return false;
9174 }
9175 break;
9176 case OMPD_target_teams_distribute_parallel_do:
9177 switch (C) {
9178 case OMPC_allocate:
9179 return V >= 50 && V <= 2147483647;
9180 case OMPC_depend:
9181 return V >= 1 && V <= 2147483647;
9182 case OMPC_dyn_groupprivate:
9183 return V >= 61 && V <= 2147483647;
9184 case OMPC_firstprivate:
9185 return V >= 1 && V <= 2147483647;
9186 case OMPC_has_device_addr:
9187 return V >= 51 && V <= 2147483647;
9188 case OMPC_if:
9189 return V >= 1 && V <= 2147483647;
9190 case OMPC_is_device_ptr:
9191 return V >= 1 && V <= 2147483647;
9192 case OMPC_lastprivate:
9193 return V >= 1 && V <= 2147483647;
9194 case OMPC_linear:
9195 return V >= 1 && V <= 2147483647;
9196 case OMPC_map:
9197 return V >= 1 && V <= 2147483647;
9198 case OMPC_private:
9199 return V >= 1 && V <= 2147483647;
9200 case OMPC_reduction:
9201 return V >= 1 && V <= 2147483647;
9202 case OMPC_shared:
9203 return V >= 1 && V <= 2147483647;
9204 case OMPC_uses_allocators:
9205 return V >= 1 && V <= 2147483647;
9206 case OMPC_collapse:
9207 return V >= 1 && V <= 2147483647;
9208 case OMPC_default:
9209 return V >= 1 && V <= 2147483647;
9210 case OMPC_defaultmap:
9211 return V >= 1 && V <= 2147483647;
9212 case OMPC_device:
9213 return V >= 1 && V <= 2147483647;
9214 case OMPC_dist_schedule:
9215 return V >= 1 && V <= 2147483647;
9216 case OMPC_message:
9217 return V >= 60 && V <= 2147483647;
9218 case OMPC_nowait:
9219 return V >= 1 && V <= 2147483647;
9220 case OMPC_num_teams:
9221 return V >= 1 && V <= 2147483647;
9222 case OMPC_num_threads:
9223 return V >= 1 && V <= 2147483647;
9224 case OMPC_order:
9225 return V >= 50 && V <= 2147483647;
9226 case OMPC_proc_bind:
9227 return V >= 1 && V <= 2147483647;
9228 case OMPC_schedule:
9229 return V >= 1 && V <= 2147483647;
9230 case OMPC_severity:
9231 return V >= 60 && V <= 2147483647;
9232 case OMPC_thread_limit:
9233 return V >= 1 && V <= 2147483647;
9234 default:
9235 return false;
9236 }
9237 break;
9238 case OMPD_target_teams_distribute_parallel_do_simd:
9239 switch (C) {
9240 case OMPC_aligned:
9241 return V >= 1 && V <= 2147483647;
9242 case OMPC_allocate:
9243 return V >= 50 && V <= 2147483647;
9244 case OMPC_depend:
9245 return V >= 1 && V <= 2147483647;
9246 case OMPC_dyn_groupprivate:
9247 return V >= 61 && V <= 2147483647;
9248 case OMPC_firstprivate:
9249 return V >= 1 && V <= 2147483647;
9250 case OMPC_has_device_addr:
9251 return V >= 51 && V <= 2147483647;
9252 case OMPC_if:
9253 return V >= 1 && V <= 2147483647;
9254 case OMPC_is_device_ptr:
9255 return V >= 1 && V <= 2147483647;
9256 case OMPC_lastprivate:
9257 return V >= 1 && V <= 2147483647;
9258 case OMPC_linear:
9259 return V >= 1 && V <= 2147483647;
9260 case OMPC_map:
9261 return V >= 1 && V <= 2147483647;
9262 case OMPC_nontemporal:
9263 return V >= 1 && V <= 2147483647;
9264 case OMPC_private:
9265 return V >= 1 && V <= 2147483647;
9266 case OMPC_reduction:
9267 return V >= 1 && V <= 2147483647;
9268 case OMPC_shared:
9269 return V >= 1 && V <= 2147483647;
9270 case OMPC_uses_allocators:
9271 return V >= 1 && V <= 2147483647;
9272 case OMPC_collapse:
9273 return V >= 1 && V <= 2147483647;
9274 case OMPC_default:
9275 return V >= 1 && V <= 2147483647;
9276 case OMPC_defaultmap:
9277 return V >= 1 && V <= 2147483647;
9278 case OMPC_device:
9279 return V >= 1 && V <= 2147483647;
9280 case OMPC_dist_schedule:
9281 return V >= 1 && V <= 2147483647;
9282 case OMPC_message:
9283 return V >= 60 && V <= 2147483647;
9284 case OMPC_nowait:
9285 return V >= 1 && V <= 2147483647;
9286 case OMPC_num_teams:
9287 return V >= 1 && V <= 2147483647;
9288 case OMPC_num_threads:
9289 return V >= 1 && V <= 2147483647;
9290 case OMPC_order:
9291 return V >= 50 && V <= 2147483647;
9292 case OMPC_proc_bind:
9293 return V >= 1 && V <= 2147483647;
9294 case OMPC_safelen:
9295 return V >= 1 && V <= 2147483647;
9296 case OMPC_schedule:
9297 return V >= 1 && V <= 2147483647;
9298 case OMPC_severity:
9299 return V >= 60 && V <= 2147483647;
9300 case OMPC_simdlen:
9301 return V >= 1 && V <= 2147483647;
9302 case OMPC_thread_limit:
9303 return V >= 1 && V <= 2147483647;
9304 default:
9305 return false;
9306 }
9307 break;
9308 case OMPD_target_teams_distribute_parallel_for:
9309 switch (C) {
9310 case OMPC_allocate:
9311 return V >= 50 && V <= 2147483647;
9312 case OMPC_depend:
9313 return V >= 1 && V <= 2147483647;
9314 case OMPC_dyn_groupprivate:
9315 return V >= 61 && V <= 2147483647;
9316 case OMPC_firstprivate:
9317 return V >= 1 && V <= 2147483647;
9318 case OMPC_has_device_addr:
9319 return V >= 51 && V <= 2147483647;
9320 case OMPC_if:
9321 return V >= 1 && V <= 2147483647;
9322 case OMPC_is_device_ptr:
9323 return V >= 1 && V <= 2147483647;
9324 case OMPC_lastprivate:
9325 return V >= 1 && V <= 2147483647;
9326 case OMPC_map:
9327 return V >= 1 && V <= 2147483647;
9328 case OMPC_ompx_attribute:
9329 return V >= 1 && V <= 2147483647;
9330 case OMPC_private:
9331 return V >= 1 && V <= 2147483647;
9332 case OMPC_reduction:
9333 return V >= 1 && V <= 2147483647;
9334 case OMPC_shared:
9335 return V >= 1 && V <= 2147483647;
9336 case OMPC_uses_allocators:
9337 return V >= 50 && V <= 2147483647;
9338 case OMPC_collapse:
9339 return V >= 1 && V <= 2147483647;
9340 case OMPC_default:
9341 return V >= 1 && V <= 2147483647;
9342 case OMPC_defaultmap:
9343 return V >= 1 && V <= 2147483647;
9344 case OMPC_device:
9345 return V >= 1 && V <= 2147483647;
9346 case OMPC_dist_schedule:
9347 return V >= 1 && V <= 2147483647;
9348 case OMPC_message:
9349 return V >= 60 && V <= 2147483647;
9350 case OMPC_nowait:
9351 return V >= 1 && V <= 2147483647;
9352 case OMPC_num_teams:
9353 return V >= 1 && V <= 2147483647;
9354 case OMPC_num_threads:
9355 return V >= 1 && V <= 2147483647;
9356 case OMPC_ompx_dyn_cgroup_mem:
9357 return V >= 1 && V <= 2147483647;
9358 case OMPC_order:
9359 return V >= 50 && V <= 2147483647;
9360 case OMPC_proc_bind:
9361 return V >= 1 && V <= 2147483647;
9362 case OMPC_schedule:
9363 return V >= 1 && V <= 2147483647;
9364 case OMPC_severity:
9365 return V >= 60 && V <= 2147483647;
9366 case OMPC_thread_limit:
9367 return V >= 1 && V <= 2147483647;
9368 default:
9369 return false;
9370 }
9371 break;
9372 case OMPD_target_teams_distribute_parallel_for_simd:
9373 switch (C) {
9374 case OMPC_aligned:
9375 return V >= 1 && V <= 2147483647;
9376 case OMPC_allocate:
9377 return V >= 50 && V <= 2147483647;
9378 case OMPC_depend:
9379 return V >= 1 && V <= 2147483647;
9380 case OMPC_dyn_groupprivate:
9381 return V >= 61 && V <= 2147483647;
9382 case OMPC_firstprivate:
9383 return V >= 1 && V <= 2147483647;
9384 case OMPC_has_device_addr:
9385 return V >= 51 && V <= 2147483647;
9386 case OMPC_if:
9387 return V >= 1 && V <= 2147483647;
9388 case OMPC_is_device_ptr:
9389 return V >= 1 && V <= 2147483647;
9390 case OMPC_lastprivate:
9391 return V >= 1 && V <= 2147483647;
9392 case OMPC_linear:
9393 return V >= 1 && V <= 2147483647;
9394 case OMPC_map:
9395 return V >= 1 && V <= 2147483647;
9396 case OMPC_nontemporal:
9397 return V >= 50 && V <= 2147483647;
9398 case OMPC_ompx_attribute:
9399 return V >= 1 && V <= 2147483647;
9400 case OMPC_private:
9401 return V >= 1 && V <= 2147483647;
9402 case OMPC_reduction:
9403 return V >= 1 && V <= 2147483647;
9404 case OMPC_shared:
9405 return V >= 1 && V <= 2147483647;
9406 case OMPC_uses_allocators:
9407 return V >= 50 && V <= 2147483647;
9408 case OMPC_collapse:
9409 return V >= 1 && V <= 2147483647;
9410 case OMPC_default:
9411 return V >= 1 && V <= 2147483647;
9412 case OMPC_defaultmap:
9413 return V >= 1 && V <= 2147483647;
9414 case OMPC_device:
9415 return V >= 1 && V <= 2147483647;
9416 case OMPC_dist_schedule:
9417 return V >= 1 && V <= 2147483647;
9418 case OMPC_message:
9419 return V >= 60 && V <= 2147483647;
9420 case OMPC_nowait:
9421 return V >= 1 && V <= 2147483647;
9422 case OMPC_num_teams:
9423 return V >= 1 && V <= 2147483647;
9424 case OMPC_num_threads:
9425 return V >= 1 && V <= 2147483647;
9426 case OMPC_ompx_dyn_cgroup_mem:
9427 return V >= 1 && V <= 2147483647;
9428 case OMPC_order:
9429 return V >= 50 && V <= 2147483647;
9430 case OMPC_proc_bind:
9431 return V >= 1 && V <= 2147483647;
9432 case OMPC_safelen:
9433 return V >= 1 && V <= 2147483647;
9434 case OMPC_schedule:
9435 return V >= 1 && V <= 2147483647;
9436 case OMPC_severity:
9437 return V >= 60 && V <= 2147483647;
9438 case OMPC_simdlen:
9439 return V >= 1 && V <= 2147483647;
9440 case OMPC_thread_limit:
9441 return V >= 1 && V <= 2147483647;
9442 default:
9443 return false;
9444 }
9445 break;
9446 case OMPD_target_teams_distribute_simd:
9447 switch (C) {
9448 case OMPC_aligned:
9449 return V >= 1 && V <= 2147483647;
9450 case OMPC_allocate:
9451 return V >= 50 && V <= 2147483647;
9452 case OMPC_depend:
9453 return V >= 1 && V <= 2147483647;
9454 case OMPC_dyn_groupprivate:
9455 return V >= 61 && V <= 2147483647;
9456 case OMPC_firstprivate:
9457 return V >= 1 && V <= 2147483647;
9458 case OMPC_has_device_addr:
9459 return V >= 51 && V <= 2147483647;
9460 case OMPC_if:
9461 return V >= 1 && V <= 2147483647;
9462 case OMPC_is_device_ptr:
9463 return V >= 1 && V <= 2147483647;
9464 case OMPC_lastprivate:
9465 return V >= 1 && V <= 2147483647;
9466 case OMPC_linear:
9467 return V >= 1 && V <= 2147483647;
9468 case OMPC_map:
9469 return V >= 1 && V <= 2147483647;
9470 case OMPC_nontemporal:
9471 return V >= 50 && V <= 2147483647;
9472 case OMPC_ompx_attribute:
9473 return V >= 1 && V <= 2147483647;
9474 case OMPC_private:
9475 return V >= 1 && V <= 2147483647;
9476 case OMPC_reduction:
9477 return V >= 1 && V <= 2147483647;
9478 case OMPC_shared:
9479 return V >= 1 && V <= 2147483647;
9480 case OMPC_uses_allocators:
9481 return V >= 50 && V <= 2147483647;
9482 case OMPC_collapse:
9483 return V >= 1 && V <= 2147483647;
9484 case OMPC_default:
9485 return V >= 60 && V <= 2147483647;
9486 case OMPC_defaultmap:
9487 return V >= 1 && V <= 2147483647;
9488 case OMPC_device:
9489 return V >= 1 && V <= 2147483647;
9490 case OMPC_dist_schedule:
9491 return V >= 1 && V <= 2147483647;
9492 case OMPC_nowait:
9493 return V >= 1 && V <= 2147483647;
9494 case OMPC_num_teams:
9495 return V >= 1 && V <= 2147483647;
9496 case OMPC_ompx_dyn_cgroup_mem:
9497 return V >= 1 && V <= 2147483647;
9498 case OMPC_order:
9499 return V >= 50 && V <= 2147483647;
9500 case OMPC_safelen:
9501 return V >= 1 && V <= 2147483647;
9502 case OMPC_simdlen:
9503 return V >= 1 && V <= 2147483647;
9504 case OMPC_thread_limit:
9505 return V >= 1 && V <= 2147483647;
9506 default:
9507 return false;
9508 }
9509 break;
9510 case OMPD_target_teams_workdistribute:
9511 switch (C) {
9512 case OMPC_allocate:
9513 return V >= 50 && V <= 2147483647;
9514 case OMPC_depend:
9515 return V >= 1 && V <= 2147483647;
9516 case OMPC_firstprivate:
9517 return V >= 1 && V <= 2147483647;
9518 case OMPC_has_device_addr:
9519 return V >= 51 && V <= 2147483647;
9520 case OMPC_if:
9521 return V >= 1 && V <= 2147483647;
9522 case OMPC_is_device_ptr:
9523 return V >= 1 && V <= 2147483647;
9524 case OMPC_map:
9525 return V >= 1 && V <= 2147483647;
9526 case OMPC_ompx_attribute:
9527 return V >= 1 && V <= 2147483647;
9528 case OMPC_private:
9529 return V >= 1 && V <= 2147483647;
9530 case OMPC_reduction:
9531 return V >= 1 && V <= 2147483647;
9532 case OMPC_shared:
9533 return V >= 1 && V <= 2147483647;
9534 case OMPC_uses_allocators:
9535 return V >= 50 && V <= 2147483647;
9536 case OMPC_default:
9537 return V >= 1 && V <= 2147483647;
9538 case OMPC_defaultmap:
9539 return V >= 1 && V <= 2147483647;
9540 case OMPC_device:
9541 return V >= 1 && V <= 2147483647;
9542 case OMPC_nowait:
9543 return V >= 1 && V <= 2147483647;
9544 case OMPC_num_teams:
9545 return V >= 1 && V <= 2147483647;
9546 case OMPC_ompx_bare:
9547 return V >= 1 && V <= 2147483647;
9548 case OMPC_ompx_dyn_cgroup_mem:
9549 return V >= 1 && V <= 2147483647;
9550 case OMPC_thread_limit:
9551 return V >= 1 && V <= 2147483647;
9552 default:
9553 return false;
9554 }
9555 break;
9556 case OMPD_target_update:
9557 switch (C) {
9558 case OMPC_depend:
9559 return V >= 1 && V <= 2147483647;
9560 case OMPC_from:
9561 return V >= 1 && V <= 2147483647;
9562 case OMPC_if:
9563 return V >= 1 && V <= 2147483647;
9564 case OMPC_to:
9565 return V >= 1 && V <= 2147483647;
9566 case OMPC_device:
9567 return V >= 1 && V <= 2147483647;
9568 case OMPC_nowait:
9569 return V >= 1 && V <= 2147483647;
9570 case OMPC_replayable:
9571 return V >= 60 && V <= 2147483647;
9572 default:
9573 return false;
9574 }
9575 break;
9576 case OMPD_task:
9577 switch (C) {
9578 case OMPC_affinity:
9579 return V >= 50 && V <= 2147483647;
9580 case OMPC_allocate:
9581 return V >= 50 && V <= 2147483647;
9582 case OMPC_depend:
9583 return V >= 1 && V <= 2147483647;
9584 case OMPC_firstprivate:
9585 return V >= 1 && V <= 2147483647;
9586 case OMPC_if:
9587 return V >= 1 && V <= 2147483647;
9588 case OMPC_in_reduction:
9589 return V >= 1 && V <= 2147483647;
9590 case OMPC_private:
9591 return V >= 1 && V <= 2147483647;
9592 case OMPC_shared:
9593 return V >= 1 && V <= 2147483647;
9594 case OMPC_default:
9595 return V >= 1 && V <= 2147483647;
9596 case OMPC_detach:
9597 return V >= 50 && V <= 2147483647;
9598 case OMPC_final:
9599 return V >= 1 && V <= 2147483647;
9600 case OMPC_mergeable:
9601 return V >= 1 && V <= 2147483647;
9602 case OMPC_priority:
9603 return V >= 1 && V <= 2147483647;
9604 case OMPC_replayable:
9605 return V >= 60 && V <= 2147483647;
9606 case OMPC_threadset:
9607 return V >= 60 && V <= 2147483647;
9608 case OMPC_transparent:
9609 return V >= 60 && V <= 2147483647;
9610 case OMPC_untied:
9611 return V >= 1 && V <= 2147483647;
9612 default:
9613 return false;
9614 }
9615 break;
9616 case OMPD_taskgroup:
9617 switch (C) {
9618 case OMPC_allocate:
9619 return V >= 50 && V <= 2147483647;
9620 case OMPC_task_reduction:
9621 return V >= 50 && V <= 2147483647;
9622 default:
9623 return false;
9624 }
9625 break;
9626 case OMPD_task_iteration:
9627 switch (C) {
9628 case OMPC_affinity:
9629 return V >= 60 && V <= 2147483647;
9630 case OMPC_depend:
9631 return V >= 60 && V <= 2147483647;
9632 case OMPC_if:
9633 return V >= 60 && V <= 2147483647;
9634 default:
9635 return false;
9636 }
9637 break;
9638 case OMPD_taskloop:
9639 switch (C) {
9640 case OMPC_allocate:
9641 return V >= 50 && V <= 2147483647;
9642 case OMPC_firstprivate:
9643 return V >= 1 && V <= 2147483647;
9644 case OMPC_in_reduction:
9645 return V >= 1 && V <= 2147483647;
9646 case OMPC_if:
9647 return V >= 1 && V <= 2147483647;
9648 case OMPC_lastprivate:
9649 return V >= 1 && V <= 2147483647;
9650 case OMPC_private:
9651 return V >= 1 && V <= 2147483647;
9652 case OMPC_reduction:
9653 return V >= 1 && V <= 2147483647;
9654 case OMPC_shared:
9655 return V >= 1 && V <= 2147483647;
9656 case OMPC_collapse:
9657 return V >= 1 && V <= 2147483647;
9658 case OMPC_default:
9659 return V >= 1 && V <= 2147483647;
9660 case OMPC_final:
9661 return V >= 1 && V <= 2147483647;
9662 case OMPC_mergeable:
9663 return V >= 1 && V <= 2147483647;
9664 case OMPC_nogroup:
9665 return V >= 1 && V <= 2147483647;
9666 case OMPC_priority:
9667 return V >= 1 && V <= 2147483647;
9668 case OMPC_replayable:
9669 return V >= 60 && V <= 2147483647;
9670 case OMPC_threadset:
9671 return V >= 60 && V <= 2147483647;
9672 case OMPC_transparent:
9673 return V >= 60 && V <= 2147483647;
9674 case OMPC_untied:
9675 return V >= 1 && V <= 2147483647;
9676 case OMPC_grainsize:
9677 return V >= 1 && V <= 2147483647;
9678 case OMPC_num_tasks:
9679 return V >= 1 && V <= 2147483647;
9680 default:
9681 return false;
9682 }
9683 break;
9684 case OMPD_taskloop_simd:
9685 switch (C) {
9686 case OMPC_aligned:
9687 return V >= 1 && V <= 2147483647;
9688 case OMPC_allocate:
9689 return V >= 50 && V <= 2147483647;
9690 case OMPC_firstprivate:
9691 return V >= 1 && V <= 2147483647;
9692 case OMPC_if:
9693 return V >= 1 && V <= 2147483647;
9694 case OMPC_in_reduction:
9695 return V >= 1 && V <= 2147483647;
9696 case OMPC_lastprivate:
9697 return V >= 1 && V <= 2147483647;
9698 case OMPC_linear:
9699 return V >= 1 && V <= 2147483647;
9700 case OMPC_nontemporal:
9701 return V >= 50 && V <= 2147483647;
9702 case OMPC_private:
9703 return V >= 1 && V <= 2147483647;
9704 case OMPC_reduction:
9705 return V >= 1 && V <= 2147483647;
9706 case OMPC_shared:
9707 return V >= 1 && V <= 2147483647;
9708 case OMPC_collapse:
9709 return V >= 1 && V <= 2147483647;
9710 case OMPC_default:
9711 return V >= 1 && V <= 2147483647;
9712 case OMPC_final:
9713 return V >= 1 && V <= 2147483647;
9714 case OMPC_mergeable:
9715 return V >= 1 && V <= 2147483647;
9716 case OMPC_nogroup:
9717 return V >= 1 && V <= 2147483647;
9718 case OMPC_order:
9719 return V >= 50 && V <= 2147483647;
9720 case OMPC_priority:
9721 return V >= 1 && V <= 2147483647;
9722 case OMPC_safelen:
9723 return V >= 1 && V <= 2147483647;
9724 case OMPC_simdlen:
9725 return V >= 1 && V <= 2147483647;
9726 case OMPC_untied:
9727 return V >= 1 && V <= 2147483647;
9728 case OMPC_grainsize:
9729 return V >= 1 && V <= 2147483647;
9730 case OMPC_num_tasks:
9731 return V >= 1 && V <= 2147483647;
9732 default:
9733 return false;
9734 }
9735 break;
9736 case OMPD_taskwait:
9737 switch (C) {
9738 case OMPC_depend:
9739 return V >= 50 && V <= 2147483647;
9740 case OMPC_nowait:
9741 return V >= 51 && V <= 2147483647;
9742 case OMPC_replayable:
9743 return V >= 60 && V <= 2147483647;
9744 default:
9745 return false;
9746 }
9747 break;
9748 case OMPD_taskyield:
9749 return false;
9750 break;
9751 case OMPD_taskgraph:
9752 switch (C) {
9753 case OMPC_if:
9754 return V >= 1 && V <= 2147483647;
9755 case OMPC_graph_id:
9756 return V >= 60 && V <= 2147483647;
9757 case OMPC_graph_reset:
9758 return V >= 60 && V <= 2147483647;
9759 case OMPC_nogroup:
9760 return V >= 1 && V <= 2147483647;
9761 default:
9762 return false;
9763 }
9764 break;
9765 case OMPD_teams:
9766 switch (C) {
9767 case OMPC_allocate:
9768 return V >= 50 && V <= 2147483647;
9769 case OMPC_dyn_groupprivate:
9770 return V >= 61 && V <= 2147483647;
9771 case OMPC_firstprivate:
9772 return V >= 1 && V <= 2147483647;
9773 case OMPC_if:
9774 return V >= 52 && V <= 2147483647;
9775 case OMPC_ompx_attribute:
9776 return V >= 1 && V <= 2147483647;
9777 case OMPC_private:
9778 return V >= 1 && V <= 2147483647;
9779 case OMPC_reduction:
9780 return V >= 1 && V <= 2147483647;
9781 case OMPC_shared:
9782 return V >= 1 && V <= 2147483647;
9783 case OMPC_default:
9784 return V >= 1 && V <= 2147483647;
9785 case OMPC_num_teams:
9786 return V >= 1 && V <= 2147483647;
9787 case OMPC_thread_limit:
9788 return V >= 1 && V <= 2147483647;
9789 default:
9790 return false;
9791 }
9792 break;
9793 case OMPD_teams_distribute:
9794 switch (C) {
9795 case OMPC_allocate:
9796 return V >= 50 && V <= 2147483647;
9797 case OMPC_dyn_groupprivate:
9798 return V >= 61 && V <= 2147483647;
9799 case OMPC_firstprivate:
9800 return V >= 1 && V <= 2147483647;
9801 case OMPC_if:
9802 return V >= 1 && V <= 2147483647;
9803 case OMPC_lastprivate:
9804 return V >= 1 && V <= 2147483647;
9805 case OMPC_ompx_attribute:
9806 return V >= 1 && V <= 2147483647;
9807 case OMPC_private:
9808 return V >= 1 && V <= 2147483647;
9809 case OMPC_reduction:
9810 return V >= 1 && V <= 2147483647;
9811 case OMPC_shared:
9812 return V >= 1 && V <= 2147483647;
9813 case OMPC_collapse:
9814 return V >= 1 && V <= 2147483647;
9815 case OMPC_default:
9816 return V >= 1 && V <= 2147483647;
9817 case OMPC_dist_schedule:
9818 return V >= 1 && V <= 2147483647;
9819 case OMPC_num_teams:
9820 return V >= 1 && V <= 2147483647;
9821 case OMPC_order:
9822 return V >= 50 && V <= 2147483647;
9823 case OMPC_thread_limit:
9824 return V >= 1 && V <= 2147483647;
9825 default:
9826 return false;
9827 }
9828 break;
9829 case OMPD_teams_distribute_parallel_do:
9830 switch (C) {
9831 case OMPC_allocate:
9832 return V >= 50 && V <= 2147483647;
9833 case OMPC_copyin:
9834 return V >= 1 && V <= 2147483647;
9835 case OMPC_dyn_groupprivate:
9836 return V >= 61 && V <= 2147483647;
9837 case OMPC_firstprivate:
9838 return V >= 1 && V <= 2147483647;
9839 case OMPC_if:
9840 return V >= 1 && V <= 2147483647;
9841 case OMPC_lastprivate:
9842 return V >= 1 && V <= 2147483647;
9843 case OMPC_linear:
9844 return V >= 1 && V <= 2147483647;
9845 case OMPC_private:
9846 return V >= 1 && V <= 2147483647;
9847 case OMPC_reduction:
9848 return V >= 1 && V <= 2147483647;
9849 case OMPC_shared:
9850 return V >= 1 && V <= 2147483647;
9851 case OMPC_collapse:
9852 return V >= 1 && V <= 2147483647;
9853 case OMPC_default:
9854 return V >= 1 && V <= 2147483647;
9855 case OMPC_dist_schedule:
9856 return V >= 1 && V <= 2147483647;
9857 case OMPC_message:
9858 return V >= 60 && V <= 2147483647;
9859 case OMPC_num_teams:
9860 return V >= 1 && V <= 2147483647;
9861 case OMPC_num_threads:
9862 return V >= 1 && V <= 2147483647;
9863 case OMPC_order:
9864 return V >= 50 && V <= 2147483647;
9865 case OMPC_proc_bind:
9866 return V >= 1 && V <= 2147483647;
9867 case OMPC_schedule:
9868 return V >= 1 && V <= 2147483647;
9869 case OMPC_severity:
9870 return V >= 60 && V <= 2147483647;
9871 case OMPC_thread_limit:
9872 return V >= 1 && V <= 2147483647;
9873 default:
9874 return false;
9875 }
9876 break;
9877 case OMPD_teams_distribute_parallel_do_simd:
9878 switch (C) {
9879 case OMPC_aligned:
9880 return V >= 1 && V <= 2147483647;
9881 case OMPC_allocate:
9882 return V >= 50 && V <= 2147483647;
9883 case OMPC_dyn_groupprivate:
9884 return V >= 61 && V <= 2147483647;
9885 case OMPC_firstprivate:
9886 return V >= 1 && V <= 2147483647;
9887 case OMPC_if:
9888 return V >= 1 && V <= 2147483647;
9889 case OMPC_lastprivate:
9890 return V >= 1 && V <= 2147483647;
9891 case OMPC_linear:
9892 return V >= 1 && V <= 2147483647;
9893 case OMPC_nontemporal:
9894 return V >= 1 && V <= 2147483647;
9895 case OMPC_private:
9896 return V >= 1 && V <= 2147483647;
9897 case OMPC_reduction:
9898 return V >= 1 && V <= 2147483647;
9899 case OMPC_shared:
9900 return V >= 1 && V <= 2147483647;
9901 case OMPC_collapse:
9902 return V >= 1 && V <= 2147483647;
9903 case OMPC_default:
9904 return V >= 1 && V <= 2147483647;
9905 case OMPC_dist_schedule:
9906 return V >= 1 && V <= 2147483647;
9907 case OMPC_message:
9908 return V >= 60 && V <= 2147483647;
9909 case OMPC_num_teams:
9910 return V >= 1 && V <= 2147483647;
9911 case OMPC_num_threads:
9912 return V >= 1 && V <= 2147483647;
9913 case OMPC_order:
9914 return V >= 50 && V <= 2147483647;
9915 case OMPC_proc_bind:
9916 return V >= 1 && V <= 2147483647;
9917 case OMPC_safelen:
9918 return V >= 1 && V <= 2147483647;
9919 case OMPC_schedule:
9920 return V >= 1 && V <= 2147483647;
9921 case OMPC_severity:
9922 return V >= 60 && V <= 2147483647;
9923 case OMPC_simdlen:
9924 return V >= 1 && V <= 2147483647;
9925 case OMPC_thread_limit:
9926 return V >= 1 && V <= 2147483647;
9927 default:
9928 return false;
9929 }
9930 break;
9931 case OMPD_teams_distribute_parallel_for:
9932 switch (C) {
9933 case OMPC_allocate:
9934 return V >= 50 && V <= 2147483647;
9935 case OMPC_copyin:
9936 return V >= 1 && V <= 2147483647;
9937 case OMPC_dyn_groupprivate:
9938 return V >= 61 && V <= 2147483647;
9939 case OMPC_firstprivate:
9940 return V >= 1 && V <= 2147483647;
9941 case OMPC_if:
9942 return V >= 1 && V <= 2147483647;
9943 case OMPC_lastprivate:
9944 return V >= 1 && V <= 2147483647;
9945 case OMPC_ompx_attribute:
9946 return V >= 1 && V <= 2147483647;
9947 case OMPC_private:
9948 return V >= 1 && V <= 2147483647;
9949 case OMPC_reduction:
9950 return V >= 1 && V <= 2147483647;
9951 case OMPC_shared:
9952 return V >= 1 && V <= 2147483647;
9953 case OMPC_collapse:
9954 return V >= 1 && V <= 2147483647;
9955 case OMPC_default:
9956 return V >= 1 && V <= 2147483647;
9957 case OMPC_dist_schedule:
9958 return V >= 1 && V <= 2147483647;
9959 case OMPC_message:
9960 return V >= 60 && V <= 2147483647;
9961 case OMPC_num_teams:
9962 return V >= 1 && V <= 2147483647;
9963 case OMPC_num_threads:
9964 return V >= 1 && V <= 2147483647;
9965 case OMPC_order:
9966 return V >= 50 && V <= 2147483647;
9967 case OMPC_proc_bind:
9968 return V >= 1 && V <= 2147483647;
9969 case OMPC_schedule:
9970 return V >= 1 && V <= 2147483647;
9971 case OMPC_severity:
9972 return V >= 60 && V <= 2147483647;
9973 case OMPC_thread_limit:
9974 return V >= 1 && V <= 2147483647;
9975 default:
9976 return false;
9977 }
9978 break;
9979 case OMPD_teams_distribute_parallel_for_simd:
9980 switch (C) {
9981 case OMPC_aligned:
9982 return V >= 1 && V <= 2147483647;
9983 case OMPC_allocate:
9984 return V >= 50 && V <= 2147483647;
9985 case OMPC_dyn_groupprivate:
9986 return V >= 61 && V <= 2147483647;
9987 case OMPC_firstprivate:
9988 return V >= 1 && V <= 2147483647;
9989 case OMPC_lastprivate:
9990 return V >= 1 && V <= 2147483647;
9991 case OMPC_if:
9992 return V >= 1 && V <= 2147483647;
9993 case OMPC_linear:
9994 return V >= 1 && V <= 2147483647;
9995 case OMPC_nontemporal:
9996 return V >= 50 && V <= 2147483647;
9997 case OMPC_ompx_attribute:
9998 return V >= 1 && V <= 2147483647;
9999 case OMPC_private:
10000 return V >= 1 && V <= 2147483647;
10001 case OMPC_reduction:
10002 return V >= 1 && V <= 2147483647;
10003 case OMPC_shared:
10004 return V >= 1 && V <= 2147483647;
10005 case OMPC_collapse:
10006 return V >= 1 && V <= 2147483647;
10007 case OMPC_default:
10008 return V >= 1 && V <= 2147483647;
10009 case OMPC_dist_schedule:
10010 return V >= 1 && V <= 2147483647;
10011 case OMPC_message:
10012 return V >= 60 && V <= 2147483647;
10013 case OMPC_num_teams:
10014 return V >= 1 && V <= 2147483647;
10015 case OMPC_num_threads:
10016 return V >= 1 && V <= 2147483647;
10017 case OMPC_order:
10018 return V >= 50 && V <= 2147483647;
10019 case OMPC_proc_bind:
10020 return V >= 1 && V <= 2147483647;
10021 case OMPC_safelen:
10022 return V >= 1 && V <= 2147483647;
10023 case OMPC_schedule:
10024 return V >= 1 && V <= 2147483647;
10025 case OMPC_severity:
10026 return V >= 60 && V <= 2147483647;
10027 case OMPC_simdlen:
10028 return V >= 1 && V <= 2147483647;
10029 case OMPC_thread_limit:
10030 return V >= 1 && V <= 2147483647;
10031 default:
10032 return false;
10033 }
10034 break;
10035 case OMPD_teams_distribute_simd:
10036 switch (C) {
10037 case OMPC_aligned:
10038 return V >= 1 && V <= 2147483647;
10039 case OMPC_allocate:
10040 return V >= 50 && V <= 2147483647;
10041 case OMPC_dyn_groupprivate:
10042 return V >= 61 && V <= 2147483647;
10043 case OMPC_firstprivate:
10044 return V >= 1 && V <= 2147483647;
10045 case OMPC_if:
10046 return V >= 50 && V <= 2147483647;
10047 case OMPC_lastprivate:
10048 return V >= 1 && V <= 2147483647;
10049 case OMPC_linear:
10050 return V >= 1 && V <= 2147483647;
10051 case OMPC_nontemporal:
10052 return V >= 50 && V <= 2147483647;
10053 case OMPC_ompx_attribute:
10054 return V >= 1 && V <= 2147483647;
10055 case OMPC_private:
10056 return V >= 1 && V <= 2147483647;
10057 case OMPC_reduction:
10058 return V >= 1 && V <= 2147483647;
10059 case OMPC_shared:
10060 return V >= 1 && V <= 2147483647;
10061 case OMPC_collapse:
10062 return V >= 1 && V <= 2147483647;
10063 case OMPC_default:
10064 return V >= 1 && V <= 2147483647;
10065 case OMPC_dist_schedule:
10066 return V >= 1 && V <= 2147483647;
10067 case OMPC_num_teams:
10068 return V >= 1 && V <= 2147483647;
10069 case OMPC_order:
10070 return V >= 50 && V <= 2147483647;
10071 case OMPC_safelen:
10072 return V >= 1 && V <= 2147483647;
10073 case OMPC_simdlen:
10074 return V >= 1 && V <= 2147483647;
10075 case OMPC_thread_limit:
10076 return V >= 1 && V <= 2147483647;
10077 default:
10078 return false;
10079 }
10080 break;
10081 case OMPD_teams_workdistribute:
10082 switch (C) {
10083 case OMPC_allocate:
10084 return V >= 50 && V <= 2147483647;
10085 case OMPC_firstprivate:
10086 return V >= 1 && V <= 2147483647;
10087 case OMPC_if:
10088 return V >= 52 && V <= 2147483647;
10089 case OMPC_ompx_attribute:
10090 return V >= 1 && V <= 2147483647;
10091 case OMPC_private:
10092 return V >= 1 && V <= 2147483647;
10093 case OMPC_reduction:
10094 return V >= 1 && V <= 2147483647;
10095 case OMPC_shared:
10096 return V >= 1 && V <= 2147483647;
10097 case OMPC_default:
10098 return V >= 1 && V <= 2147483647;
10099 case OMPC_num_teams:
10100 return V >= 1 && V <= 2147483647;
10101 case OMPC_thread_limit:
10102 return V >= 1 && V <= 2147483647;
10103 default:
10104 return false;
10105 }
10106 break;
10107 case OMPD_threadprivate:
10108 return false;
10109 break;
10110 case OMPD_tile:
10111 switch (C) {
10112 case OMPC_apply:
10113 return V >= 60 && V <= 2147483647;
10114 case OMPC_sizes:
10115 return V >= 51 && V <= 2147483647;
10116 default:
10117 return false;
10118 }
10119 break;
10120 case OMPD_unknown:
10121 return false;
10122 break;
10123 case OMPD_unroll:
10124 switch (C) {
10125 case OMPC_apply:
10126 return V >= 60 && V <= 2147483647;
10127 case OMPC_full:
10128 return V >= 51 && V <= 2147483647;
10129 case OMPC_partial:
10130 return V >= 51 && V <= 2147483647;
10131 default:
10132 return false;
10133 }
10134 break;
10135 case OMPD_workdistribute:
10136 return false;
10137 break;
10138 case OMPD_workshare:
10139 switch (C) {
10140 case OMPC_nowait:
10141 return V >= 1 && V <= 2147483647;
10142 default:
10143 return false;
10144 }
10145 break;
10146 case OMPD_dispatch:
10147 switch (C) {
10148 case OMPC_depend:
10149 return V >= 1 && V <= 2147483647;
10150 case OMPC_has_device_addr:
10151 return V >= 51 && V <= 2147483647;
10152 case OMPC_is_device_ptr:
10153 return V >= 1 && V <= 2147483647;
10154 case OMPC_device:
10155 return V >= 1 && V <= 2147483647;
10156 case OMPC_nocontext:
10157 return V >= 1 && V <= 2147483647;
10158 case OMPC_novariants:
10159 return V >= 1 && V <= 2147483647;
10160 case OMPC_nowait:
10161 return V >= 1 && V <= 2147483647;
10162 default:
10163 return false;
10164 }
10165 break;
10166 case OMPD_interop:
10167 switch (C) {
10168 case OMPC_depend:
10169 return V >= 1 && V <= 2147483647;
10170 case OMPC_destroy:
10171 return V >= 1 && V <= 2147483647;
10172 case OMPC_init:
10173 return V >= 1 && V <= 2147483647;
10174 case OMPC_use:
10175 return V >= 1 && V <= 2147483647;
10176 case OMPC_device:
10177 return V >= 1 && V <= 2147483647;
10178 case OMPC_nowait:
10179 return V >= 1 && V <= 2147483647;
10180 default:
10181 return false;
10182 }
10183 break;
10184 case OMPD_loop:
10185 switch (C) {
10186 case OMPC_lastprivate:
10187 return V >= 1 && V <= 2147483647;
10188 case OMPC_private:
10189 return V >= 1 && V <= 2147483647;
10190 case OMPC_reduction:
10191 return V >= 1 && V <= 2147483647;
10192 case OMPC_bind:
10193 return V >= 50 && V <= 2147483647;
10194 case OMPC_collapse:
10195 return V >= 1 && V <= 2147483647;
10196 case OMPC_order:
10197 return V >= 50 && V <= 2147483647;
10198 default:
10199 return false;
10200 }
10201 break;
10202 case OMPD_masked:
10203 switch (C) {
10204 case OMPC_filter:
10205 return V >= 1 && V <= 2147483647;
10206 default:
10207 return false;
10208 }
10209 break;
10210 case OMPD_parallel_loop:
10211 switch (C) {
10212 case OMPC_allocate:
10213 return V >= 50 && V <= 2147483647;
10214 case OMPC_copyin:
10215 return V >= 1 && V <= 2147483647;
10216 case OMPC_firstprivate:
10217 return V >= 1 && V <= 2147483647;
10218 case OMPC_if:
10219 return V >= 1 && V <= 2147483647;
10220 case OMPC_lastprivate:
10221 return V >= 1 && V <= 2147483647;
10222 case OMPC_ompx_attribute:
10223 return V >= 1 && V <= 2147483647;
10224 case OMPC_private:
10225 return V >= 1 && V <= 2147483647;
10226 case OMPC_reduction:
10227 return V >= 1 && V <= 2147483647;
10228 case OMPC_shared:
10229 return V >= 1 && V <= 2147483647;
10230 case OMPC_bind:
10231 return V >= 50 && V <= 2147483647;
10232 case OMPC_collapse:
10233 return V >= 1 && V <= 2147483647;
10234 case OMPC_default:
10235 return V >= 1 && V <= 2147483647;
10236 case OMPC_message:
10237 return V >= 60 && V <= 2147483647;
10238 case OMPC_num_threads:
10239 return V >= 1 && V <= 2147483647;
10240 case OMPC_order:
10241 return V >= 1 && V <= 2147483647;
10242 case OMPC_proc_bind:
10243 return V >= 1 && V <= 2147483647;
10244 case OMPC_severity:
10245 return V >= 60 && V <= 2147483647;
10246 default:
10247 return false;
10248 }
10249 break;
10250 case OMPD_target_loop:
10251 switch (C) {
10252 case OMPC_allocate:
10253 return V >= 50 && V <= 2147483647;
10254 case OMPC_depend:
10255 return V >= 1 && V <= 2147483647;
10256 case OMPC_dyn_groupprivate:
10257 return V >= 61 && V <= 2147483647;
10258 case OMPC_firstprivate:
10259 return V >= 1 && V <= 2147483647;
10260 case OMPC_if:
10261 return V >= 1 && V <= 2147483647;
10262 case OMPC_is_device_ptr:
10263 return V >= 1 && V <= 2147483647;
10264 case OMPC_has_device_addr:
10265 return V >= 51 && V <= 2147483647;
10266 case OMPC_lastprivate:
10267 return V >= 1 && V <= 2147483647;
10268 case OMPC_map:
10269 return V >= 1 && V <= 2147483647;
10270 case OMPC_private:
10271 return V >= 1 && V <= 2147483647;
10272 case OMPC_reduction:
10273 return V >= 1 && V <= 2147483647;
10274 case OMPC_uses_allocators:
10275 return V >= 50 && V <= 2147483647;
10276 case OMPC_ompx_attribute:
10277 return V >= 1 && V <= 2147483647;
10278 case OMPC_in_reduction:
10279 return V >= 50 && V <= 2147483647;
10280 case OMPC_bind:
10281 return V >= 50 && V <= 2147483647;
10282 case OMPC_collapse:
10283 return V >= 1 && V <= 2147483647;
10284 case OMPC_defaultmap:
10285 return V >= 1 && V <= 2147483647;
10286 case OMPC_device:
10287 return V >= 1 && V <= 2147483647;
10288 case OMPC_nowait:
10289 return V >= 1 && V <= 2147483647;
10290 case OMPC_ompx_dyn_cgroup_mem:
10291 return V >= 1 && V <= 2147483647;
10292 case OMPC_order:
10293 return V >= 1 && V <= 2147483647;
10294 case OMPC_thread_limit:
10295 return V >= 1 && V <= 2147483647;
10296 default:
10297 return false;
10298 }
10299 break;
10300 case OMPD_target_parallel_loop:
10301 switch (C) {
10302 case OMPC_allocate:
10303 return V >= 50 && V <= 2147483647;
10304 case OMPC_depend:
10305 return V >= 1 && V <= 2147483647;
10306 case OMPC_dyn_groupprivate:
10307 return V >= 61 && V <= 2147483647;
10308 case OMPC_firstprivate:
10309 return V >= 1 && V <= 2147483647;
10310 case OMPC_has_device_addr:
10311 return V >= 51 && V <= 2147483647;
10312 case OMPC_if:
10313 return V >= 1 && V <= 2147483647;
10314 case OMPC_is_device_ptr:
10315 return V >= 1 && V <= 2147483647;
10316 case OMPC_lastprivate:
10317 return V >= 1 && V <= 2147483647;
10318 case OMPC_map:
10319 return V >= 1 && V <= 2147483647;
10320 case OMPC_ompx_attribute:
10321 return V >= 1 && V <= 2147483647;
10322 case OMPC_private:
10323 return V >= 1 && V <= 2147483647;
10324 case OMPC_reduction:
10325 return V >= 1 && V <= 2147483647;
10326 case OMPC_shared:
10327 return V >= 1 && V <= 2147483647;
10328 case OMPC_uses_allocators:
10329 return V >= 50 && V <= 2147483647;
10330 case OMPC_bind:
10331 return V >= 50 && V <= 2147483647;
10332 case OMPC_collapse:
10333 return V >= 1 && V <= 2147483647;
10334 case OMPC_default:
10335 return V >= 1 && V <= 2147483647;
10336 case OMPC_defaultmap:
10337 return V >= 1 && V <= 2147483647;
10338 case OMPC_device:
10339 return V >= 1 && V <= 2147483647;
10340 case OMPC_message:
10341 return V >= 60 && V <= 2147483647;
10342 case OMPC_nowait:
10343 return V >= 1 && V <= 2147483647;
10344 case OMPC_num_threads:
10345 return V >= 1 && V <= 2147483647;
10346 case OMPC_ompx_dyn_cgroup_mem:
10347 return V >= 1 && V <= 2147483647;
10348 case OMPC_order:
10349 return V >= 1 && V <= 2147483647;
10350 case OMPC_proc_bind:
10351 return V >= 1 && V <= 2147483647;
10352 case OMPC_severity:
10353 return V >= 60 && V <= 2147483647;
10354 case OMPC_thread_limit:
10355 return V >= 51 && V <= 2147483647;
10356 default:
10357 return false;
10358 }
10359 break;
10360 case OMPD_target_teams_loop:
10361 switch (C) {
10362 case OMPC_allocate:
10363 return V >= 50 && V <= 2147483647;
10364 case OMPC_depend:
10365 return V >= 1 && V <= 2147483647;
10366 case OMPC_dyn_groupprivate:
10367 return V >= 61 && V <= 2147483647;
10368 case OMPC_firstprivate:
10369 return V >= 1 && V <= 2147483647;
10370 case OMPC_has_device_addr:
10371 return V >= 51 && V <= 2147483647;
10372 case OMPC_if:
10373 return V >= 1 && V <= 2147483647;
10374 case OMPC_is_device_ptr:
10375 return V >= 1 && V <= 2147483647;
10376 case OMPC_lastprivate:
10377 return V >= 1 && V <= 2147483647;
10378 case OMPC_map:
10379 return V >= 1 && V <= 2147483647;
10380 case OMPC_ompx_attribute:
10381 return V >= 1 && V <= 2147483647;
10382 case OMPC_private:
10383 return V >= 1 && V <= 2147483647;
10384 case OMPC_reduction:
10385 return V >= 1 && V <= 2147483647;
10386 case OMPC_shared:
10387 return V >= 1 && V <= 2147483647;
10388 case OMPC_uses_allocators:
10389 return V >= 50 && V <= 2147483647;
10390 case OMPC_bind:
10391 return V >= 50 && V <= 2147483647;
10392 case OMPC_collapse:
10393 return V >= 1 && V <= 2147483647;
10394 case OMPC_default:
10395 return V >= 1 && V <= 2147483647;
10396 case OMPC_defaultmap:
10397 return V >= 1 && V <= 2147483647;
10398 case OMPC_device:
10399 return V >= 1 && V <= 2147483647;
10400 case OMPC_nowait:
10401 return V >= 1 && V <= 2147483647;
10402 case OMPC_num_teams:
10403 return V >= 1 && V <= 2147483647;
10404 case OMPC_ompx_dyn_cgroup_mem:
10405 return V >= 1 && V <= 2147483647;
10406 case OMPC_order:
10407 return V >= 1 && V <= 2147483647;
10408 case OMPC_thread_limit:
10409 return V >= 1 && V <= 2147483647;
10410 default:
10411 return false;
10412 }
10413 break;
10414 case OMPD_teams_loop:
10415 switch (C) {
10416 case OMPC_allocate:
10417 return V >= 50 && V <= 2147483647;
10418 case OMPC_dyn_groupprivate:
10419 return V >= 61 && V <= 2147483647;
10420 case OMPC_firstprivate:
10421 return V >= 1 && V <= 2147483647;
10422 case OMPC_if:
10423 return V >= 52 && V <= 2147483647;
10424 case OMPC_lastprivate:
10425 return V >= 1 && V <= 2147483647;
10426 case OMPC_ompx_attribute:
10427 return V >= 1 && V <= 2147483647;
10428 case OMPC_private:
10429 return V >= 1 && V <= 2147483647;
10430 case OMPC_reduction:
10431 return V >= 1 && V <= 2147483647;
10432 case OMPC_shared:
10433 return V >= 1 && V <= 2147483647;
10434 case OMPC_bind:
10435 return V >= 50 && V <= 2147483647;
10436 case OMPC_collapse:
10437 return V >= 1 && V <= 2147483647;
10438 case OMPC_default:
10439 return V >= 1 && V <= 2147483647;
10440 case OMPC_num_teams:
10441 return V >= 1 && V <= 2147483647;
10442 case OMPC_order:
10443 return V >= 1 && V <= 2147483647;
10444 case OMPC_thread_limit:
10445 return V >= 1 && V <= 2147483647;
10446 default:
10447 return false;
10448 }
10449 break;
10450 }
10451 llvm_unreachable("Invalid OpenMP Directive kind");
10452}
10453
10454bool llvm::omp::isAllowedLoopModifier(llvm::omp::Directive D, llvm::omp::LoopModifier LM) {
10455 assert(unsigned(D) <= Directive_enumSize);
10456 switch (D) {
10457 case OMPD_allocate:
10458 return false;
10459 break;
10460 case OMPD_allocators:
10461 return false;
10462 break;
10463 case OMPD_assume:
10464 return false;
10465 break;
10466 case OMPD_assumes:
10467 return false;
10468 break;
10469 case OMPD_atomic:
10470 return false;
10471 break;
10472 case OMPD_barrier:
10473 return false;
10474 break;
10475 case OMPD_begin_assumes:
10476 return false;
10477 break;
10478 case OMPD_begin_declare_target:
10479 return false;
10480 break;
10481 case OMPD_begin_declare_variant:
10482 return false;
10483 break;
10484 case OMPD_begin_metadirective:
10485 return false;
10486 break;
10487 case OMPD_cancel:
10488 return false;
10489 break;
10490 case OMPD_cancellation_point:
10491 return false;
10492 break;
10493 case OMPD_critical:
10494 return false;
10495 break;
10496 case OMPD_declare_induction:
10497 return false;
10498 break;
10499 case OMPD_declare_mapper:
10500 return false;
10501 break;
10502 case OMPD_declare_reduction:
10503 return false;
10504 break;
10505 case OMPD_declare_simd:
10506 return false;
10507 break;
10508 case OMPD_declare_target:
10509 return false;
10510 break;
10511 case OMPD_declare_variant:
10512 return false;
10513 break;
10514 case OMPD_depobj:
10515 return false;
10516 break;
10517 case OMPD_distribute:
10518 return false;
10519 break;
10520 case OMPD_distribute_parallel_do:
10521 return false;
10522 break;
10523 case OMPD_distribute_parallel_do_simd:
10524 return false;
10525 break;
10526 case OMPD_distribute_parallel_for:
10527 return false;
10528 break;
10529 case OMPD_distribute_parallel_for_simd:
10530 return false;
10531 break;
10532 case OMPD_distribute_simd:
10533 return false;
10534 break;
10535 case OMPD_do:
10536 return false;
10537 break;
10538 case OMPD_do_simd:
10539 return false;
10540 break;
10541 case OMPD_end_assumes:
10542 return false;
10543 break;
10544 case OMPD_end_declare_target:
10545 return false;
10546 break;
10547 case OMPD_end_declare_variant:
10548 return false;
10549 break;
10550 case OMPD_end_metadirective:
10551 return false;
10552 break;
10553 case OMPD_error:
10554 return false;
10555 break;
10556 case OMPD_flatten:
10557 switch (LM) {
10558 case LoopModifier::OMPLM_flattened:
10559 return true;
10560 default:
10561 return false;
10562 }
10563 break;
10564 case OMPD_flush:
10565 return false;
10566 break;
10567 case OMPD_for:
10568 return false;
10569 break;
10570 case OMPD_for_simd:
10571 return false;
10572 break;
10573 case OMPD_fuse:
10574 switch (LM) {
10575 case LoopModifier::OMPLM_fused:
10576 return true;
10577 default:
10578 return false;
10579 }
10580 break;
10581 case OMPD_groupprivate:
10582 return false;
10583 break;
10584 case OMPD_interchange:
10585 switch (LM) {
10586 case LoopModifier::OMPLM_interchanged:
10587 return true;
10588 default:
10589 return false;
10590 }
10591 break;
10592 case OMPD_masked_taskloop:
10593 return false;
10594 break;
10595 case OMPD_masked_taskloop_simd:
10596 return false;
10597 break;
10598 case OMPD_master:
10599 return false;
10600 break;
10601 case OMPD_master_taskloop:
10602 return false;
10603 break;
10604 case OMPD_master_taskloop_simd:
10605 return false;
10606 break;
10607 case OMPD_metadirective:
10608 return false;
10609 break;
10610 case OMPD_nothing:
10611 switch (LM) {
10612 case LoopModifier::OMPLM_identity:
10613 return true;
10614 default:
10615 return false;
10616 }
10617 break;
10618 case OMPD_ordered_blockassoc:
10619 return false;
10620 break;
10621 case OMPD_ordered_standalone:
10622 return false;
10623 break;
10624 case OMPD_parallel:
10625 return false;
10626 break;
10627 case OMPD_parallel_do:
10628 return false;
10629 break;
10630 case OMPD_parallel_do_simd:
10631 return false;
10632 break;
10633 case OMPD_parallel_for:
10634 return false;
10635 break;
10636 case OMPD_parallel_for_simd:
10637 return false;
10638 break;
10639 case OMPD_parallel_masked:
10640 return false;
10641 break;
10642 case OMPD_parallel_masked_taskloop:
10643 return false;
10644 break;
10645 case OMPD_parallel_masked_taskloop_simd:
10646 return false;
10647 break;
10648 case OMPD_parallel_master:
10649 return false;
10650 break;
10651 case OMPD_parallel_master_taskloop:
10652 return false;
10653 break;
10654 case OMPD_parallel_master_taskloop_simd:
10655 return false;
10656 break;
10657 case OMPD_parallel_sections:
10658 return false;
10659 break;
10660 case OMPD_parallel_workshare:
10661 return false;
10662 break;
10663 case OMPD_requires:
10664 return false;
10665 break;
10666 case OMPD_reverse:
10667 switch (LM) {
10668 case LoopModifier::OMPLM_reversed:
10669 return true;
10670 default:
10671 return false;
10672 }
10673 break;
10674 case OMPD_scan:
10675 return false;
10676 break;
10677 case OMPD_scope:
10678 return false;
10679 break;
10680 case OMPD_section:
10681 return false;
10682 break;
10683 case OMPD_sections:
10684 return false;
10685 break;
10686 case OMPD_simd:
10687 return false;
10688 break;
10689 case OMPD_single:
10690 return false;
10691 break;
10692 case OMPD_split:
10693 switch (LM) {
10694 case LoopModifier::OMPLM_split:
10695 return true;
10696 default:
10697 return false;
10698 }
10699 break;
10700 case OMPD_stripe:
10701 switch (LM) {
10702 case LoopModifier::OMPLM_grid:
10703 return true;
10704 case LoopModifier::OMPLM_offsets:
10705 return true;
10706 default:
10707 return false;
10708 }
10709 break;
10710 case OMPD_target:
10711 return false;
10712 break;
10713 case OMPD_target_data:
10714 return false;
10715 break;
10716 case OMPD_target_enter_data:
10717 return false;
10718 break;
10719 case OMPD_target_exit_data:
10720 return false;
10721 break;
10722 case OMPD_target_parallel:
10723 return false;
10724 break;
10725 case OMPD_target_parallel_do:
10726 return false;
10727 break;
10728 case OMPD_target_parallel_do_simd:
10729 return false;
10730 break;
10731 case OMPD_target_parallel_for:
10732 return false;
10733 break;
10734 case OMPD_target_parallel_for_simd:
10735 return false;
10736 break;
10737 case OMPD_target_simd:
10738 return false;
10739 break;
10740 case OMPD_target_teams:
10741 return false;
10742 break;
10743 case OMPD_target_teams_distribute:
10744 return false;
10745 break;
10746 case OMPD_target_teams_distribute_parallel_do:
10747 return false;
10748 break;
10749 case OMPD_target_teams_distribute_parallel_do_simd:
10750 return false;
10751 break;
10752 case OMPD_target_teams_distribute_parallel_for:
10753 return false;
10754 break;
10755 case OMPD_target_teams_distribute_parallel_for_simd:
10756 return false;
10757 break;
10758 case OMPD_target_teams_distribute_simd:
10759 return false;
10760 break;
10761 case OMPD_target_teams_workdistribute:
10762 return false;
10763 break;
10764 case OMPD_target_update:
10765 return false;
10766 break;
10767 case OMPD_task:
10768 return false;
10769 break;
10770 case OMPD_taskgroup:
10771 return false;
10772 break;
10773 case OMPD_task_iteration:
10774 return false;
10775 break;
10776 case OMPD_taskloop:
10777 return false;
10778 break;
10779 case OMPD_taskloop_simd:
10780 return false;
10781 break;
10782 case OMPD_taskwait:
10783 return false;
10784 break;
10785 case OMPD_taskyield:
10786 return false;
10787 break;
10788 case OMPD_taskgraph:
10789 return false;
10790 break;
10791 case OMPD_teams:
10792 return false;
10793 break;
10794 case OMPD_teams_distribute:
10795 return false;
10796 break;
10797 case OMPD_teams_distribute_parallel_do:
10798 return false;
10799 break;
10800 case OMPD_teams_distribute_parallel_do_simd:
10801 return false;
10802 break;
10803 case OMPD_teams_distribute_parallel_for:
10804 return false;
10805 break;
10806 case OMPD_teams_distribute_parallel_for_simd:
10807 return false;
10808 break;
10809 case OMPD_teams_distribute_simd:
10810 return false;
10811 break;
10812 case OMPD_teams_workdistribute:
10813 return false;
10814 break;
10815 case OMPD_threadprivate:
10816 return false;
10817 break;
10818 case OMPD_tile:
10819 switch (LM) {
10820 case LoopModifier::OMPLM_grid:
10821 return true;
10822 case LoopModifier::OMPLM_intratile:
10823 return true;
10824 default:
10825 return false;
10826 }
10827 break;
10828 case OMPD_unknown:
10829 return false;
10830 break;
10831 case OMPD_unroll:
10832 switch (LM) {
10833 case LoopModifier::OMPLM_unrolled:
10834 return true;
10835 default:
10836 return false;
10837 }
10838 break;
10839 case OMPD_workdistribute:
10840 return false;
10841 break;
10842 case OMPD_workshare:
10843 return false;
10844 break;
10845 case OMPD_dispatch:
10846 return false;
10847 break;
10848 case OMPD_interop:
10849 return false;
10850 break;
10851 case OMPD_loop:
10852 return false;
10853 break;
10854 case OMPD_masked:
10855 return false;
10856 break;
10857 case OMPD_parallel_loop:
10858 return false;
10859 break;
10860 case OMPD_target_loop:
10861 return false;
10862 break;
10863 case OMPD_target_parallel_loop:
10864 return false;
10865 break;
10866 case OMPD_target_teams_loop:
10867 return false;
10868 break;
10869 case OMPD_teams_loop:
10870 return false;
10871 break;
10872 }
10873 llvm_unreachable("Invalid OpenMP Directive kind");
10874}
10875
10876llvm::StringRef llvm::omp::getLoopModifierName(llvm::omp::LoopModifier Kind, llvm::directive::Version V) {
10877 switch (Kind) {
10878 case OMPLM_flattened:
10879 return "flattened";
10880 case OMPLM_fused:
10881 return "fused";
10882 case OMPLM_grid:
10883 return "grid";
10884 case OMPLM_identity:
10885 return "identity";
10886 case OMPLM_interchanged:
10887 return "interchanged";
10888 case OMPLM_intratile:
10889 return "intratile";
10890 case OMPLM_offsets:
10891 return "offsets";
10892 case OMPLM_reversed:
10893 return "reversed";
10894 case OMPLM_split:
10895 return "split";
10896 case OMPLM_unrolled:
10897 return "unrolled";
10898 }
10899 llvm_unreachable("Invalid LoopModifier kind");
10900}
10901
10902static_assert(sizeof(llvm::omp::Directive) == sizeof(int));
10903[[maybe_unused]] static const llvm::omp::Directive LeafConstructTable[][8] = {
10904 {llvm::omp::OMPD_allocate, static_cast<llvm::omp::Directive>(0), static_cast<llvm::omp::Directive>(-1), static_cast<llvm::omp::Directive>(-1), static_cast<llvm::omp::Directive>(-1), static_cast<llvm::omp::Directive>(-1), static_cast<llvm::omp::Directive>(-1), static_cast<llvm::omp::Directive>(-1),},
10905 {llvm::omp::OMPD_allocators, static_cast<llvm::omp::Directive>(0), static_cast<llvm::omp::Directive>(-1), static_cast<llvm::omp::Directive>(-1), static_cast<llvm::omp::Directive>(-1), static_cast<llvm::omp::Directive>(-1), static_cast<llvm::omp::Directive>(-1), static_cast<llvm::omp::Directive>(-1),},
10906 {llvm::omp::OMPD_assume, static_cast<llvm::omp::Directive>(0), static_cast<llvm::omp::Directive>(-1), static_cast<llvm::omp::Directive>(-1), static_cast<llvm::omp::Directive>(-1), static_cast<llvm::omp::Directive>(-1), static_cast<llvm::omp::Directive>(-1), static_cast<llvm::omp::Directive>(-1),},
10907 {llvm::omp::OMPD_assumes, static_cast<llvm::omp::Directive>(0), static_cast<llvm::omp::Directive>(-1), static_cast<llvm::omp::Directive>(-1), static_cast<llvm::omp::Directive>(-1), static_cast<llvm::omp::Directive>(-1), static_cast<llvm::omp::Directive>(-1), static_cast<llvm::omp::Directive>(-1),},
10908 {llvm::omp::OMPD_atomic, static_cast<llvm::omp::Directive>(0), static_cast<llvm::omp::Directive>(-1), static_cast<llvm::omp::Directive>(-1), static_cast<llvm::omp::Directive>(-1), static_cast<llvm::omp::Directive>(-1), static_cast<llvm::omp::Directive>(-1), static_cast<llvm::omp::Directive>(-1),},
10909 {llvm::omp::OMPD_barrier, static_cast<llvm::omp::Directive>(0), static_cast<llvm::omp::Directive>(-1), static_cast<llvm::omp::Directive>(-1), static_cast<llvm::omp::Directive>(-1), static_cast<llvm::omp::Directive>(-1), static_cast<llvm::omp::Directive>(-1), static_cast<llvm::omp::Directive>(-1),},
10910 {llvm::omp::OMPD_begin_assumes, static_cast<llvm::omp::Directive>(0), static_cast<llvm::omp::Directive>(-1), static_cast<llvm::omp::Directive>(-1), static_cast<llvm::omp::Directive>(-1), static_cast<llvm::omp::Directive>(-1), static_cast<llvm::omp::Directive>(-1), static_cast<llvm::omp::Directive>(-1),},
10911 {llvm::omp::OMPD_begin_declare_target, static_cast<llvm::omp::Directive>(0), static_cast<llvm::omp::Directive>(-1), static_cast<llvm::omp::Directive>(-1), static_cast<llvm::omp::Directive>(-1), static_cast<llvm::omp::Directive>(-1), static_cast<llvm::omp::Directive>(-1), static_cast<llvm::omp::Directive>(-1),},
10912 {llvm::omp::OMPD_begin_declare_variant, static_cast<llvm::omp::Directive>(0), static_cast<llvm::omp::Directive>(-1), static_cast<llvm::omp::Directive>(-1), static_cast<llvm::omp::Directive>(-1), static_cast<llvm::omp::Directive>(-1), static_cast<llvm::omp::Directive>(-1), static_cast<llvm::omp::Directive>(-1),},
10913 {llvm::omp::OMPD_begin_metadirective, static_cast<llvm::omp::Directive>(0), static_cast<llvm::omp::Directive>(-1), static_cast<llvm::omp::Directive>(-1), static_cast<llvm::omp::Directive>(-1), static_cast<llvm::omp::Directive>(-1), static_cast<llvm::omp::Directive>(-1), static_cast<llvm::omp::Directive>(-1),},
10914 {llvm::omp::OMPD_cancel, static_cast<llvm::omp::Directive>(0), static_cast<llvm::omp::Directive>(-1), static_cast<llvm::omp::Directive>(-1), static_cast<llvm::omp::Directive>(-1), static_cast<llvm::omp::Directive>(-1), static_cast<llvm::omp::Directive>(-1), static_cast<llvm::omp::Directive>(-1),},
10915 {llvm::omp::OMPD_cancellation_point, static_cast<llvm::omp::Directive>(0), static_cast<llvm::omp::Directive>(-1), static_cast<llvm::omp::Directive>(-1), static_cast<llvm::omp::Directive>(-1), static_cast<llvm::omp::Directive>(-1), static_cast<llvm::omp::Directive>(-1), static_cast<llvm::omp::Directive>(-1),},
10916 {llvm::omp::OMPD_critical, static_cast<llvm::omp::Directive>(0), static_cast<llvm::omp::Directive>(-1), static_cast<llvm::omp::Directive>(-1), static_cast<llvm::omp::Directive>(-1), static_cast<llvm::omp::Directive>(-1), static_cast<llvm::omp::Directive>(-1), static_cast<llvm::omp::Directive>(-1),},
10917 {llvm::omp::OMPD_declare_induction, static_cast<llvm::omp::Directive>(0), static_cast<llvm::omp::Directive>(-1), static_cast<llvm::omp::Directive>(-1), static_cast<llvm::omp::Directive>(-1), static_cast<llvm::omp::Directive>(-1), static_cast<llvm::omp::Directive>(-1), static_cast<llvm::omp::Directive>(-1),},
10918 {llvm::omp::OMPD_declare_mapper, static_cast<llvm::omp::Directive>(0), static_cast<llvm::omp::Directive>(-1), static_cast<llvm::omp::Directive>(-1), static_cast<llvm::omp::Directive>(-1), static_cast<llvm::omp::Directive>(-1), static_cast<llvm::omp::Directive>(-1), static_cast<llvm::omp::Directive>(-1),},
10919 {llvm::omp::OMPD_declare_reduction, static_cast<llvm::omp::Directive>(0), static_cast<llvm::omp::Directive>(-1), static_cast<llvm::omp::Directive>(-1), static_cast<llvm::omp::Directive>(-1), static_cast<llvm::omp::Directive>(-1), static_cast<llvm::omp::Directive>(-1), static_cast<llvm::omp::Directive>(-1),},
10920 {llvm::omp::OMPD_declare_simd, static_cast<llvm::omp::Directive>(0), static_cast<llvm::omp::Directive>(-1), static_cast<llvm::omp::Directive>(-1), static_cast<llvm::omp::Directive>(-1), static_cast<llvm::omp::Directive>(-1), static_cast<llvm::omp::Directive>(-1), static_cast<llvm::omp::Directive>(-1),},
10921 {llvm::omp::OMPD_declare_target, static_cast<llvm::omp::Directive>(0), static_cast<llvm::omp::Directive>(-1), static_cast<llvm::omp::Directive>(-1), static_cast<llvm::omp::Directive>(-1), static_cast<llvm::omp::Directive>(-1), static_cast<llvm::omp::Directive>(-1), static_cast<llvm::omp::Directive>(-1),},
10922 {llvm::omp::OMPD_declare_variant, static_cast<llvm::omp::Directive>(0), static_cast<llvm::omp::Directive>(-1), static_cast<llvm::omp::Directive>(-1), static_cast<llvm::omp::Directive>(-1), static_cast<llvm::omp::Directive>(-1), static_cast<llvm::omp::Directive>(-1), static_cast<llvm::omp::Directive>(-1),},
10923 {llvm::omp::OMPD_depobj, static_cast<llvm::omp::Directive>(0), static_cast<llvm::omp::Directive>(-1), static_cast<llvm::omp::Directive>(-1), static_cast<llvm::omp::Directive>(-1), static_cast<llvm::omp::Directive>(-1), static_cast<llvm::omp::Directive>(-1), static_cast<llvm::omp::Directive>(-1),},
10924 {llvm::omp::OMPD_distribute, static_cast<llvm::omp::Directive>(0), static_cast<llvm::omp::Directive>(-1), static_cast<llvm::omp::Directive>(-1), static_cast<llvm::omp::Directive>(-1), static_cast<llvm::omp::Directive>(-1), static_cast<llvm::omp::Directive>(-1), static_cast<llvm::omp::Directive>(-1),},
10925 {llvm::omp::OMPD_do, static_cast<llvm::omp::Directive>(0), static_cast<llvm::omp::Directive>(-1), static_cast<llvm::omp::Directive>(-1), static_cast<llvm::omp::Directive>(-1), static_cast<llvm::omp::Directive>(-1), static_cast<llvm::omp::Directive>(-1), static_cast<llvm::omp::Directive>(-1),},
10926 {llvm::omp::OMPD_error, static_cast<llvm::omp::Directive>(0), static_cast<llvm::omp::Directive>(-1), static_cast<llvm::omp::Directive>(-1), static_cast<llvm::omp::Directive>(-1), static_cast<llvm::omp::Directive>(-1), static_cast<llvm::omp::Directive>(-1), static_cast<llvm::omp::Directive>(-1),},
10927 {llvm::omp::OMPD_flatten, static_cast<llvm::omp::Directive>(0), static_cast<llvm::omp::Directive>(-1), static_cast<llvm::omp::Directive>(-1), static_cast<llvm::omp::Directive>(-1), static_cast<llvm::omp::Directive>(-1), static_cast<llvm::omp::Directive>(-1), static_cast<llvm::omp::Directive>(-1),},
10928 {llvm::omp::OMPD_flush, static_cast<llvm::omp::Directive>(0), static_cast<llvm::omp::Directive>(-1), static_cast<llvm::omp::Directive>(-1), static_cast<llvm::omp::Directive>(-1), static_cast<llvm::omp::Directive>(-1), static_cast<llvm::omp::Directive>(-1), static_cast<llvm::omp::Directive>(-1),},
10929 {llvm::omp::OMPD_for, static_cast<llvm::omp::Directive>(0), static_cast<llvm::omp::Directive>(-1), static_cast<llvm::omp::Directive>(-1), static_cast<llvm::omp::Directive>(-1), static_cast<llvm::omp::Directive>(-1), static_cast<llvm::omp::Directive>(-1), static_cast<llvm::omp::Directive>(-1),},
10930 {llvm::omp::OMPD_fuse, static_cast<llvm::omp::Directive>(0), static_cast<llvm::omp::Directive>(-1), static_cast<llvm::omp::Directive>(-1), static_cast<llvm::omp::Directive>(-1), static_cast<llvm::omp::Directive>(-1), static_cast<llvm::omp::Directive>(-1), static_cast<llvm::omp::Directive>(-1),},
10931 {llvm::omp::OMPD_groupprivate, static_cast<llvm::omp::Directive>(0), static_cast<llvm::omp::Directive>(-1), static_cast<llvm::omp::Directive>(-1), static_cast<llvm::omp::Directive>(-1), static_cast<llvm::omp::Directive>(-1), static_cast<llvm::omp::Directive>(-1), static_cast<llvm::omp::Directive>(-1),},
10932 {llvm::omp::OMPD_interchange, static_cast<llvm::omp::Directive>(0), static_cast<llvm::omp::Directive>(-1), static_cast<llvm::omp::Directive>(-1), static_cast<llvm::omp::Directive>(-1), static_cast<llvm::omp::Directive>(-1), static_cast<llvm::omp::Directive>(-1), static_cast<llvm::omp::Directive>(-1),},
10933 {llvm::omp::OMPD_master, static_cast<llvm::omp::Directive>(0), static_cast<llvm::omp::Directive>(-1), static_cast<llvm::omp::Directive>(-1), static_cast<llvm::omp::Directive>(-1), static_cast<llvm::omp::Directive>(-1), static_cast<llvm::omp::Directive>(-1), static_cast<llvm::omp::Directive>(-1),},
10934 {llvm::omp::OMPD_metadirective, static_cast<llvm::omp::Directive>(0), static_cast<llvm::omp::Directive>(-1), static_cast<llvm::omp::Directive>(-1), static_cast<llvm::omp::Directive>(-1), static_cast<llvm::omp::Directive>(-1), static_cast<llvm::omp::Directive>(-1), static_cast<llvm::omp::Directive>(-1),},
10935 {llvm::omp::OMPD_nothing, static_cast<llvm::omp::Directive>(0), static_cast<llvm::omp::Directive>(-1), static_cast<llvm::omp::Directive>(-1), static_cast<llvm::omp::Directive>(-1), static_cast<llvm::omp::Directive>(-1), static_cast<llvm::omp::Directive>(-1), static_cast<llvm::omp::Directive>(-1),},
10936 {llvm::omp::OMPD_ordered_blockassoc, static_cast<llvm::omp::Directive>(0), static_cast<llvm::omp::Directive>(-1), static_cast<llvm::omp::Directive>(-1), static_cast<llvm::omp::Directive>(-1), static_cast<llvm::omp::Directive>(-1), static_cast<llvm::omp::Directive>(-1), static_cast<llvm::omp::Directive>(-1),},
10937 {llvm::omp::OMPD_ordered_standalone, static_cast<llvm::omp::Directive>(0), static_cast<llvm::omp::Directive>(-1), static_cast<llvm::omp::Directive>(-1), static_cast<llvm::omp::Directive>(-1), static_cast<llvm::omp::Directive>(-1), static_cast<llvm::omp::Directive>(-1), static_cast<llvm::omp::Directive>(-1),},
10938 {llvm::omp::OMPD_parallel, static_cast<llvm::omp::Directive>(0), static_cast<llvm::omp::Directive>(-1), static_cast<llvm::omp::Directive>(-1), static_cast<llvm::omp::Directive>(-1), static_cast<llvm::omp::Directive>(-1), static_cast<llvm::omp::Directive>(-1), static_cast<llvm::omp::Directive>(-1),},
10939 {llvm::omp::OMPD_requires, static_cast<llvm::omp::Directive>(0), static_cast<llvm::omp::Directive>(-1), static_cast<llvm::omp::Directive>(-1), static_cast<llvm::omp::Directive>(-1), static_cast<llvm::omp::Directive>(-1), static_cast<llvm::omp::Directive>(-1), static_cast<llvm::omp::Directive>(-1),},
10940 {llvm::omp::OMPD_reverse, static_cast<llvm::omp::Directive>(0), static_cast<llvm::omp::Directive>(-1), static_cast<llvm::omp::Directive>(-1), static_cast<llvm::omp::Directive>(-1), static_cast<llvm::omp::Directive>(-1), static_cast<llvm::omp::Directive>(-1), static_cast<llvm::omp::Directive>(-1),},
10941 {llvm::omp::OMPD_scan, static_cast<llvm::omp::Directive>(0), static_cast<llvm::omp::Directive>(-1), static_cast<llvm::omp::Directive>(-1), static_cast<llvm::omp::Directive>(-1), static_cast<llvm::omp::Directive>(-1), static_cast<llvm::omp::Directive>(-1), static_cast<llvm::omp::Directive>(-1),},
10942 {llvm::omp::OMPD_scope, static_cast<llvm::omp::Directive>(0), static_cast<llvm::omp::Directive>(-1), static_cast<llvm::omp::Directive>(-1), static_cast<llvm::omp::Directive>(-1), static_cast<llvm::omp::Directive>(-1), static_cast<llvm::omp::Directive>(-1), static_cast<llvm::omp::Directive>(-1),},
10943 {llvm::omp::OMPD_section, static_cast<llvm::omp::Directive>(0), static_cast<llvm::omp::Directive>(-1), static_cast<llvm::omp::Directive>(-1), static_cast<llvm::omp::Directive>(-1), static_cast<llvm::omp::Directive>(-1), static_cast<llvm::omp::Directive>(-1), static_cast<llvm::omp::Directive>(-1),},
10944 {llvm::omp::OMPD_sections, static_cast<llvm::omp::Directive>(0), static_cast<llvm::omp::Directive>(-1), static_cast<llvm::omp::Directive>(-1), static_cast<llvm::omp::Directive>(-1), static_cast<llvm::omp::Directive>(-1), static_cast<llvm::omp::Directive>(-1), static_cast<llvm::omp::Directive>(-1),},
10945 {llvm::omp::OMPD_simd, static_cast<llvm::omp::Directive>(0), static_cast<llvm::omp::Directive>(-1), static_cast<llvm::omp::Directive>(-1), static_cast<llvm::omp::Directive>(-1), static_cast<llvm::omp::Directive>(-1), static_cast<llvm::omp::Directive>(-1), static_cast<llvm::omp::Directive>(-1),},
10946 {llvm::omp::OMPD_single, static_cast<llvm::omp::Directive>(0), static_cast<llvm::omp::Directive>(-1), static_cast<llvm::omp::Directive>(-1), static_cast<llvm::omp::Directive>(-1), static_cast<llvm::omp::Directive>(-1), static_cast<llvm::omp::Directive>(-1), static_cast<llvm::omp::Directive>(-1),},
10947 {llvm::omp::OMPD_split, static_cast<llvm::omp::Directive>(0), static_cast<llvm::omp::Directive>(-1), static_cast<llvm::omp::Directive>(-1), static_cast<llvm::omp::Directive>(-1), static_cast<llvm::omp::Directive>(-1), static_cast<llvm::omp::Directive>(-1), static_cast<llvm::omp::Directive>(-1),},
10948 {llvm::omp::OMPD_stripe, static_cast<llvm::omp::Directive>(0), static_cast<llvm::omp::Directive>(-1), static_cast<llvm::omp::Directive>(-1), static_cast<llvm::omp::Directive>(-1), static_cast<llvm::omp::Directive>(-1), static_cast<llvm::omp::Directive>(-1), static_cast<llvm::omp::Directive>(-1),},
10949 {llvm::omp::OMPD_target, static_cast<llvm::omp::Directive>(0), static_cast<llvm::omp::Directive>(-1), static_cast<llvm::omp::Directive>(-1), static_cast<llvm::omp::Directive>(-1), static_cast<llvm::omp::Directive>(-1), static_cast<llvm::omp::Directive>(-1), static_cast<llvm::omp::Directive>(-1),},
10950 {llvm::omp::OMPD_target_data, static_cast<llvm::omp::Directive>(0), static_cast<llvm::omp::Directive>(-1), static_cast<llvm::omp::Directive>(-1), static_cast<llvm::omp::Directive>(-1), static_cast<llvm::omp::Directive>(-1), static_cast<llvm::omp::Directive>(-1), static_cast<llvm::omp::Directive>(-1),},
10951 {llvm::omp::OMPD_target_enter_data, static_cast<llvm::omp::Directive>(0), static_cast<llvm::omp::Directive>(-1), static_cast<llvm::omp::Directive>(-1), static_cast<llvm::omp::Directive>(-1), static_cast<llvm::omp::Directive>(-1), static_cast<llvm::omp::Directive>(-1), static_cast<llvm::omp::Directive>(-1),},
10952 {llvm::omp::OMPD_target_exit_data, static_cast<llvm::omp::Directive>(0), static_cast<llvm::omp::Directive>(-1), static_cast<llvm::omp::Directive>(-1), static_cast<llvm::omp::Directive>(-1), static_cast<llvm::omp::Directive>(-1), static_cast<llvm::omp::Directive>(-1), static_cast<llvm::omp::Directive>(-1),},
10953 {llvm::omp::OMPD_target_update, static_cast<llvm::omp::Directive>(0), static_cast<llvm::omp::Directive>(-1), static_cast<llvm::omp::Directive>(-1), static_cast<llvm::omp::Directive>(-1), static_cast<llvm::omp::Directive>(-1), static_cast<llvm::omp::Directive>(-1), static_cast<llvm::omp::Directive>(-1),},
10954 {llvm::omp::OMPD_task, static_cast<llvm::omp::Directive>(0), static_cast<llvm::omp::Directive>(-1), static_cast<llvm::omp::Directive>(-1), static_cast<llvm::omp::Directive>(-1), static_cast<llvm::omp::Directive>(-1), static_cast<llvm::omp::Directive>(-1), static_cast<llvm::omp::Directive>(-1),},
10955 {llvm::omp::OMPD_taskgroup, static_cast<llvm::omp::Directive>(0), static_cast<llvm::omp::Directive>(-1), static_cast<llvm::omp::Directive>(-1), static_cast<llvm::omp::Directive>(-1), static_cast<llvm::omp::Directive>(-1), static_cast<llvm::omp::Directive>(-1), static_cast<llvm::omp::Directive>(-1),},
10956 {llvm::omp::OMPD_task_iteration, static_cast<llvm::omp::Directive>(0), static_cast<llvm::omp::Directive>(-1), static_cast<llvm::omp::Directive>(-1), static_cast<llvm::omp::Directive>(-1), static_cast<llvm::omp::Directive>(-1), static_cast<llvm::omp::Directive>(-1), static_cast<llvm::omp::Directive>(-1),},
10957 {llvm::omp::OMPD_taskloop, static_cast<llvm::omp::Directive>(0), static_cast<llvm::omp::Directive>(-1), static_cast<llvm::omp::Directive>(-1), static_cast<llvm::omp::Directive>(-1), static_cast<llvm::omp::Directive>(-1), static_cast<llvm::omp::Directive>(-1), static_cast<llvm::omp::Directive>(-1),},
10958 {llvm::omp::OMPD_taskwait, static_cast<llvm::omp::Directive>(0), static_cast<llvm::omp::Directive>(-1), static_cast<llvm::omp::Directive>(-1), static_cast<llvm::omp::Directive>(-1), static_cast<llvm::omp::Directive>(-1), static_cast<llvm::omp::Directive>(-1), static_cast<llvm::omp::Directive>(-1),},
10959 {llvm::omp::OMPD_taskyield, static_cast<llvm::omp::Directive>(0), static_cast<llvm::omp::Directive>(-1), static_cast<llvm::omp::Directive>(-1), static_cast<llvm::omp::Directive>(-1), static_cast<llvm::omp::Directive>(-1), static_cast<llvm::omp::Directive>(-1), static_cast<llvm::omp::Directive>(-1),},
10960 {llvm::omp::OMPD_taskgraph, static_cast<llvm::omp::Directive>(0), static_cast<llvm::omp::Directive>(-1), static_cast<llvm::omp::Directive>(-1), static_cast<llvm::omp::Directive>(-1), static_cast<llvm::omp::Directive>(-1), static_cast<llvm::omp::Directive>(-1), static_cast<llvm::omp::Directive>(-1),},
10961 {llvm::omp::OMPD_teams, static_cast<llvm::omp::Directive>(0), static_cast<llvm::omp::Directive>(-1), static_cast<llvm::omp::Directive>(-1), static_cast<llvm::omp::Directive>(-1), static_cast<llvm::omp::Directive>(-1), static_cast<llvm::omp::Directive>(-1), static_cast<llvm::omp::Directive>(-1),},
10962 {llvm::omp::OMPD_threadprivate, static_cast<llvm::omp::Directive>(0), static_cast<llvm::omp::Directive>(-1), static_cast<llvm::omp::Directive>(-1), static_cast<llvm::omp::Directive>(-1), static_cast<llvm::omp::Directive>(-1), static_cast<llvm::omp::Directive>(-1), static_cast<llvm::omp::Directive>(-1),},
10963 {llvm::omp::OMPD_tile, static_cast<llvm::omp::Directive>(0), static_cast<llvm::omp::Directive>(-1), static_cast<llvm::omp::Directive>(-1), static_cast<llvm::omp::Directive>(-1), static_cast<llvm::omp::Directive>(-1), static_cast<llvm::omp::Directive>(-1), static_cast<llvm::omp::Directive>(-1),},
10964 {llvm::omp::OMPD_unknown, static_cast<llvm::omp::Directive>(0), static_cast<llvm::omp::Directive>(-1), static_cast<llvm::omp::Directive>(-1), static_cast<llvm::omp::Directive>(-1), static_cast<llvm::omp::Directive>(-1), static_cast<llvm::omp::Directive>(-1), static_cast<llvm::omp::Directive>(-1),},
10965 {llvm::omp::OMPD_unroll, static_cast<llvm::omp::Directive>(0), static_cast<llvm::omp::Directive>(-1), static_cast<llvm::omp::Directive>(-1), static_cast<llvm::omp::Directive>(-1), static_cast<llvm::omp::Directive>(-1), static_cast<llvm::omp::Directive>(-1), static_cast<llvm::omp::Directive>(-1),},
10966 {llvm::omp::OMPD_workdistribute, static_cast<llvm::omp::Directive>(0), static_cast<llvm::omp::Directive>(-1), static_cast<llvm::omp::Directive>(-1), static_cast<llvm::omp::Directive>(-1), static_cast<llvm::omp::Directive>(-1), static_cast<llvm::omp::Directive>(-1), static_cast<llvm::omp::Directive>(-1),},
10967 {llvm::omp::OMPD_workshare, static_cast<llvm::omp::Directive>(0), static_cast<llvm::omp::Directive>(-1), static_cast<llvm::omp::Directive>(-1), static_cast<llvm::omp::Directive>(-1), static_cast<llvm::omp::Directive>(-1), static_cast<llvm::omp::Directive>(-1), static_cast<llvm::omp::Directive>(-1),},
10968 {llvm::omp::OMPD_dispatch, static_cast<llvm::omp::Directive>(0), static_cast<llvm::omp::Directive>(-1), static_cast<llvm::omp::Directive>(-1), static_cast<llvm::omp::Directive>(-1), static_cast<llvm::omp::Directive>(-1), static_cast<llvm::omp::Directive>(-1), static_cast<llvm::omp::Directive>(-1),},
10969 {llvm::omp::OMPD_interop, static_cast<llvm::omp::Directive>(0), static_cast<llvm::omp::Directive>(-1), static_cast<llvm::omp::Directive>(-1), static_cast<llvm::omp::Directive>(-1), static_cast<llvm::omp::Directive>(-1), static_cast<llvm::omp::Directive>(-1), static_cast<llvm::omp::Directive>(-1),},
10970 {llvm::omp::OMPD_loop, static_cast<llvm::omp::Directive>(0), static_cast<llvm::omp::Directive>(-1), static_cast<llvm::omp::Directive>(-1), static_cast<llvm::omp::Directive>(-1), static_cast<llvm::omp::Directive>(-1), static_cast<llvm::omp::Directive>(-1), static_cast<llvm::omp::Directive>(-1),},
10971 {llvm::omp::OMPD_masked, static_cast<llvm::omp::Directive>(0), static_cast<llvm::omp::Directive>(-1), static_cast<llvm::omp::Directive>(-1), static_cast<llvm::omp::Directive>(-1), static_cast<llvm::omp::Directive>(-1), static_cast<llvm::omp::Directive>(-1), static_cast<llvm::omp::Directive>(-1),},
10972 {llvm::omp::OMPD_distribute_parallel_do, static_cast<llvm::omp::Directive>(3), llvm::omp::OMPD_distribute, llvm::omp::OMPD_parallel, llvm::omp::OMPD_do, static_cast<llvm::omp::Directive>(-1), static_cast<llvm::omp::Directive>(-1), static_cast<llvm::omp::Directive>(-1),},
10973 {llvm::omp::OMPD_distribute_parallel_do_simd, static_cast<llvm::omp::Directive>(4), llvm::omp::OMPD_distribute, llvm::omp::OMPD_parallel, llvm::omp::OMPD_do, llvm::omp::OMPD_simd, static_cast<llvm::omp::Directive>(-1), static_cast<llvm::omp::Directive>(-1),},
10974 {llvm::omp::OMPD_distribute_parallel_for, static_cast<llvm::omp::Directive>(3), llvm::omp::OMPD_distribute, llvm::omp::OMPD_parallel, llvm::omp::OMPD_for, static_cast<llvm::omp::Directive>(-1), static_cast<llvm::omp::Directive>(-1), static_cast<llvm::omp::Directive>(-1),},
10975 {llvm::omp::OMPD_distribute_parallel_for_simd, static_cast<llvm::omp::Directive>(4), llvm::omp::OMPD_distribute, llvm::omp::OMPD_parallel, llvm::omp::OMPD_for, llvm::omp::OMPD_simd, static_cast<llvm::omp::Directive>(-1), static_cast<llvm::omp::Directive>(-1),},
10976 {llvm::omp::OMPD_distribute_simd, static_cast<llvm::omp::Directive>(2), llvm::omp::OMPD_distribute, llvm::omp::OMPD_simd, static_cast<llvm::omp::Directive>(-1), static_cast<llvm::omp::Directive>(-1), static_cast<llvm::omp::Directive>(-1), static_cast<llvm::omp::Directive>(-1),},
10977 {llvm::omp::OMPD_do_simd, static_cast<llvm::omp::Directive>(2), llvm::omp::OMPD_do, llvm::omp::OMPD_simd, static_cast<llvm::omp::Directive>(-1), static_cast<llvm::omp::Directive>(-1), static_cast<llvm::omp::Directive>(-1), static_cast<llvm::omp::Directive>(-1),},
10978 {llvm::omp::OMPD_for_simd, static_cast<llvm::omp::Directive>(2), llvm::omp::OMPD_for, llvm::omp::OMPD_simd, static_cast<llvm::omp::Directive>(-1), static_cast<llvm::omp::Directive>(-1), static_cast<llvm::omp::Directive>(-1), static_cast<llvm::omp::Directive>(-1),},
10979 {llvm::omp::OMPD_master_taskloop, static_cast<llvm::omp::Directive>(2), llvm::omp::OMPD_master, llvm::omp::OMPD_taskloop, static_cast<llvm::omp::Directive>(-1), static_cast<llvm::omp::Directive>(-1), static_cast<llvm::omp::Directive>(-1), static_cast<llvm::omp::Directive>(-1),},
10980 {llvm::omp::OMPD_master_taskloop_simd, static_cast<llvm::omp::Directive>(3), llvm::omp::OMPD_master, llvm::omp::OMPD_taskloop, llvm::omp::OMPD_simd, static_cast<llvm::omp::Directive>(-1), static_cast<llvm::omp::Directive>(-1), static_cast<llvm::omp::Directive>(-1),},
10981 {llvm::omp::OMPD_parallel_do, static_cast<llvm::omp::Directive>(2), llvm::omp::OMPD_parallel, llvm::omp::OMPD_do, static_cast<llvm::omp::Directive>(-1), static_cast<llvm::omp::Directive>(-1), static_cast<llvm::omp::Directive>(-1), static_cast<llvm::omp::Directive>(-1),},
10982 {llvm::omp::OMPD_parallel_do_simd, static_cast<llvm::omp::Directive>(3), llvm::omp::OMPD_parallel, llvm::omp::OMPD_do, llvm::omp::OMPD_simd, static_cast<llvm::omp::Directive>(-1), static_cast<llvm::omp::Directive>(-1), static_cast<llvm::omp::Directive>(-1),},
10983 {llvm::omp::OMPD_parallel_for, static_cast<llvm::omp::Directive>(2), llvm::omp::OMPD_parallel, llvm::omp::OMPD_for, static_cast<llvm::omp::Directive>(-1), static_cast<llvm::omp::Directive>(-1), static_cast<llvm::omp::Directive>(-1), static_cast<llvm::omp::Directive>(-1),},
10984 {llvm::omp::OMPD_parallel_for_simd, static_cast<llvm::omp::Directive>(3), llvm::omp::OMPD_parallel, llvm::omp::OMPD_for, llvm::omp::OMPD_simd, static_cast<llvm::omp::Directive>(-1), static_cast<llvm::omp::Directive>(-1), static_cast<llvm::omp::Directive>(-1),},
10985 {llvm::omp::OMPD_parallel_master, static_cast<llvm::omp::Directive>(2), llvm::omp::OMPD_parallel, llvm::omp::OMPD_master, static_cast<llvm::omp::Directive>(-1), static_cast<llvm::omp::Directive>(-1), static_cast<llvm::omp::Directive>(-1), static_cast<llvm::omp::Directive>(-1),},
10986 {llvm::omp::OMPD_parallel_master_taskloop, static_cast<llvm::omp::Directive>(3), llvm::omp::OMPD_parallel, llvm::omp::OMPD_master, llvm::omp::OMPD_taskloop, static_cast<llvm::omp::Directive>(-1), static_cast<llvm::omp::Directive>(-1), static_cast<llvm::omp::Directive>(-1),},
10987 {llvm::omp::OMPD_parallel_master_taskloop_simd, static_cast<llvm::omp::Directive>(4), llvm::omp::OMPD_parallel, llvm::omp::OMPD_master, llvm::omp::OMPD_taskloop, llvm::omp::OMPD_simd, static_cast<llvm::omp::Directive>(-1), static_cast<llvm::omp::Directive>(-1),},
10988 {llvm::omp::OMPD_parallel_sections, static_cast<llvm::omp::Directive>(2), llvm::omp::OMPD_parallel, llvm::omp::OMPD_sections, static_cast<llvm::omp::Directive>(-1), static_cast<llvm::omp::Directive>(-1), static_cast<llvm::omp::Directive>(-1), static_cast<llvm::omp::Directive>(-1),},
10989 {llvm::omp::OMPD_parallel_workshare, static_cast<llvm::omp::Directive>(2), llvm::omp::OMPD_parallel, llvm::omp::OMPD_workshare, static_cast<llvm::omp::Directive>(-1), static_cast<llvm::omp::Directive>(-1), static_cast<llvm::omp::Directive>(-1), static_cast<llvm::omp::Directive>(-1),},
10990 {llvm::omp::OMPD_parallel_loop, static_cast<llvm::omp::Directive>(2), llvm::omp::OMPD_parallel, llvm::omp::OMPD_loop, static_cast<llvm::omp::Directive>(-1), static_cast<llvm::omp::Directive>(-1), static_cast<llvm::omp::Directive>(-1), static_cast<llvm::omp::Directive>(-1),},
10991 {llvm::omp::OMPD_parallel_masked, static_cast<llvm::omp::Directive>(2), llvm::omp::OMPD_parallel, llvm::omp::OMPD_masked, static_cast<llvm::omp::Directive>(-1), static_cast<llvm::omp::Directive>(-1), static_cast<llvm::omp::Directive>(-1), static_cast<llvm::omp::Directive>(-1),},
10992 {llvm::omp::OMPD_parallel_masked_taskloop, static_cast<llvm::omp::Directive>(3), llvm::omp::OMPD_parallel, llvm::omp::OMPD_masked, llvm::omp::OMPD_taskloop, static_cast<llvm::omp::Directive>(-1), static_cast<llvm::omp::Directive>(-1), static_cast<llvm::omp::Directive>(-1),},
10993 {llvm::omp::OMPD_parallel_masked_taskloop_simd, static_cast<llvm::omp::Directive>(4), llvm::omp::OMPD_parallel, llvm::omp::OMPD_masked, llvm::omp::OMPD_taskloop, llvm::omp::OMPD_simd, static_cast<llvm::omp::Directive>(-1), static_cast<llvm::omp::Directive>(-1),},
10994 {llvm::omp::OMPD_target_parallel, static_cast<llvm::omp::Directive>(2), llvm::omp::OMPD_target, llvm::omp::OMPD_parallel, static_cast<llvm::omp::Directive>(-1), static_cast<llvm::omp::Directive>(-1), static_cast<llvm::omp::Directive>(-1), static_cast<llvm::omp::Directive>(-1),},
10995 {llvm::omp::OMPD_target_parallel_do, static_cast<llvm::omp::Directive>(3), llvm::omp::OMPD_target, llvm::omp::OMPD_parallel, llvm::omp::OMPD_do, static_cast<llvm::omp::Directive>(-1), static_cast<llvm::omp::Directive>(-1), static_cast<llvm::omp::Directive>(-1),},
10996 {llvm::omp::OMPD_target_parallel_do_simd, static_cast<llvm::omp::Directive>(4), llvm::omp::OMPD_target, llvm::omp::OMPD_parallel, llvm::omp::OMPD_do, llvm::omp::OMPD_simd, static_cast<llvm::omp::Directive>(-1), static_cast<llvm::omp::Directive>(-1),},
10997 {llvm::omp::OMPD_target_parallel_for, static_cast<llvm::omp::Directive>(3), llvm::omp::OMPD_target, llvm::omp::OMPD_parallel, llvm::omp::OMPD_for, static_cast<llvm::omp::Directive>(-1), static_cast<llvm::omp::Directive>(-1), static_cast<llvm::omp::Directive>(-1),},
10998 {llvm::omp::OMPD_target_parallel_for_simd, static_cast<llvm::omp::Directive>(4), llvm::omp::OMPD_target, llvm::omp::OMPD_parallel, llvm::omp::OMPD_for, llvm::omp::OMPD_simd, static_cast<llvm::omp::Directive>(-1), static_cast<llvm::omp::Directive>(-1),},
10999 {llvm::omp::OMPD_target_parallel_loop, static_cast<llvm::omp::Directive>(3), llvm::omp::OMPD_target, llvm::omp::OMPD_parallel, llvm::omp::OMPD_loop, static_cast<llvm::omp::Directive>(-1), static_cast<llvm::omp::Directive>(-1), static_cast<llvm::omp::Directive>(-1),},
11000 {llvm::omp::OMPD_target_simd, static_cast<llvm::omp::Directive>(2), llvm::omp::OMPD_target, llvm::omp::OMPD_simd, static_cast<llvm::omp::Directive>(-1), static_cast<llvm::omp::Directive>(-1), static_cast<llvm::omp::Directive>(-1), static_cast<llvm::omp::Directive>(-1),},
11001 {llvm::omp::OMPD_target_teams, static_cast<llvm::omp::Directive>(2), llvm::omp::OMPD_target, llvm::omp::OMPD_teams, static_cast<llvm::omp::Directive>(-1), static_cast<llvm::omp::Directive>(-1), static_cast<llvm::omp::Directive>(-1), static_cast<llvm::omp::Directive>(-1),},
11002 {llvm::omp::OMPD_target_teams_distribute, static_cast<llvm::omp::Directive>(3), llvm::omp::OMPD_target, llvm::omp::OMPD_teams, llvm::omp::OMPD_distribute, static_cast<llvm::omp::Directive>(-1), static_cast<llvm::omp::Directive>(-1), static_cast<llvm::omp::Directive>(-1),},
11003 {llvm::omp::OMPD_target_teams_distribute_parallel_do, static_cast<llvm::omp::Directive>(5), llvm::omp::OMPD_target, llvm::omp::OMPD_teams, llvm::omp::OMPD_distribute, llvm::omp::OMPD_parallel, llvm::omp::OMPD_do, static_cast<llvm::omp::Directive>(-1),},
11004 {llvm::omp::OMPD_target_teams_distribute_parallel_do_simd, static_cast<llvm::omp::Directive>(6), llvm::omp::OMPD_target, llvm::omp::OMPD_teams, llvm::omp::OMPD_distribute, llvm::omp::OMPD_parallel, llvm::omp::OMPD_do, llvm::omp::OMPD_simd,},
11005 {llvm::omp::OMPD_target_teams_distribute_parallel_for, static_cast<llvm::omp::Directive>(5), llvm::omp::OMPD_target, llvm::omp::OMPD_teams, llvm::omp::OMPD_distribute, llvm::omp::OMPD_parallel, llvm::omp::OMPD_for, static_cast<llvm::omp::Directive>(-1),},
11006 {llvm::omp::OMPD_target_teams_distribute_parallel_for_simd, static_cast<llvm::omp::Directive>(6), llvm::omp::OMPD_target, llvm::omp::OMPD_teams, llvm::omp::OMPD_distribute, llvm::omp::OMPD_parallel, llvm::omp::OMPD_for, llvm::omp::OMPD_simd,},
11007 {llvm::omp::OMPD_target_teams_distribute_simd, static_cast<llvm::omp::Directive>(4), llvm::omp::OMPD_target, llvm::omp::OMPD_teams, llvm::omp::OMPD_distribute, llvm::omp::OMPD_simd, static_cast<llvm::omp::Directive>(-1), static_cast<llvm::omp::Directive>(-1),},
11008 {llvm::omp::OMPD_target_teams_workdistribute, static_cast<llvm::omp::Directive>(3), llvm::omp::OMPD_target, llvm::omp::OMPD_teams, llvm::omp::OMPD_workdistribute, static_cast<llvm::omp::Directive>(-1), static_cast<llvm::omp::Directive>(-1), static_cast<llvm::omp::Directive>(-1),},
11009 {llvm::omp::OMPD_target_teams_loop, static_cast<llvm::omp::Directive>(3), llvm::omp::OMPD_target, llvm::omp::OMPD_teams, llvm::omp::OMPD_loop, static_cast<llvm::omp::Directive>(-1), static_cast<llvm::omp::Directive>(-1), static_cast<llvm::omp::Directive>(-1),},
11010 {llvm::omp::OMPD_target_loop, static_cast<llvm::omp::Directive>(2), llvm::omp::OMPD_target, llvm::omp::OMPD_loop, static_cast<llvm::omp::Directive>(-1), static_cast<llvm::omp::Directive>(-1), static_cast<llvm::omp::Directive>(-1), static_cast<llvm::omp::Directive>(-1),},
11011 {llvm::omp::OMPD_taskloop_simd, static_cast<llvm::omp::Directive>(2), llvm::omp::OMPD_taskloop, llvm::omp::OMPD_simd, static_cast<llvm::omp::Directive>(-1), static_cast<llvm::omp::Directive>(-1), static_cast<llvm::omp::Directive>(-1), static_cast<llvm::omp::Directive>(-1),},
11012 {llvm::omp::OMPD_teams_distribute, static_cast<llvm::omp::Directive>(2), llvm::omp::OMPD_teams, llvm::omp::OMPD_distribute, static_cast<llvm::omp::Directive>(-1), static_cast<llvm::omp::Directive>(-1), static_cast<llvm::omp::Directive>(-1), static_cast<llvm::omp::Directive>(-1),},
11013 {llvm::omp::OMPD_teams_distribute_parallel_do, static_cast<llvm::omp::Directive>(4), llvm::omp::OMPD_teams, llvm::omp::OMPD_distribute, llvm::omp::OMPD_parallel, llvm::omp::OMPD_do, static_cast<llvm::omp::Directive>(-1), static_cast<llvm::omp::Directive>(-1),},
11014 {llvm::omp::OMPD_teams_distribute_parallel_do_simd, static_cast<llvm::omp::Directive>(5), llvm::omp::OMPD_teams, llvm::omp::OMPD_distribute, llvm::omp::OMPD_parallel, llvm::omp::OMPD_do, llvm::omp::OMPD_simd, static_cast<llvm::omp::Directive>(-1),},
11015 {llvm::omp::OMPD_teams_distribute_parallel_for, static_cast<llvm::omp::Directive>(4), llvm::omp::OMPD_teams, llvm::omp::OMPD_distribute, llvm::omp::OMPD_parallel, llvm::omp::OMPD_for, static_cast<llvm::omp::Directive>(-1), static_cast<llvm::omp::Directive>(-1),},
11016 {llvm::omp::OMPD_teams_distribute_parallel_for_simd, static_cast<llvm::omp::Directive>(5), llvm::omp::OMPD_teams, llvm::omp::OMPD_distribute, llvm::omp::OMPD_parallel, llvm::omp::OMPD_for, llvm::omp::OMPD_simd, static_cast<llvm::omp::Directive>(-1),},
11017 {llvm::omp::OMPD_teams_distribute_simd, static_cast<llvm::omp::Directive>(3), llvm::omp::OMPD_teams, llvm::omp::OMPD_distribute, llvm::omp::OMPD_simd, static_cast<llvm::omp::Directive>(-1), static_cast<llvm::omp::Directive>(-1), static_cast<llvm::omp::Directive>(-1),},
11018 {llvm::omp::OMPD_teams_workdistribute, static_cast<llvm::omp::Directive>(2), llvm::omp::OMPD_teams, llvm::omp::OMPD_workdistribute, static_cast<llvm::omp::Directive>(-1), static_cast<llvm::omp::Directive>(-1), static_cast<llvm::omp::Directive>(-1), static_cast<llvm::omp::Directive>(-1),},
11019 {llvm::omp::OMPD_teams_loop, static_cast<llvm::omp::Directive>(2), llvm::omp::OMPD_teams, llvm::omp::OMPD_loop, static_cast<llvm::omp::Directive>(-1), static_cast<llvm::omp::Directive>(-1), static_cast<llvm::omp::Directive>(-1), static_cast<llvm::omp::Directive>(-1),},
11020 {llvm::omp::OMPD_masked_taskloop, static_cast<llvm::omp::Directive>(2), llvm::omp::OMPD_masked, llvm::omp::OMPD_taskloop, static_cast<llvm::omp::Directive>(-1), static_cast<llvm::omp::Directive>(-1), static_cast<llvm::omp::Directive>(-1), static_cast<llvm::omp::Directive>(-1),},
11021 {llvm::omp::OMPD_masked_taskloop_simd, static_cast<llvm::omp::Directive>(3), llvm::omp::OMPD_masked, llvm::omp::OMPD_taskloop, llvm::omp::OMPD_simd, static_cast<llvm::omp::Directive>(-1), static_cast<llvm::omp::Directive>(-1), static_cast<llvm::omp::Directive>(-1),},
11022 {llvm::omp::OMPD_end_assumes, static_cast<llvm::omp::Directive>(0), static_cast<llvm::omp::Directive>(-1), static_cast<llvm::omp::Directive>(-1), static_cast<llvm::omp::Directive>(-1), static_cast<llvm::omp::Directive>(-1), static_cast<llvm::omp::Directive>(-1), static_cast<llvm::omp::Directive>(-1),},
11023 {llvm::omp::OMPD_end_declare_target, static_cast<llvm::omp::Directive>(0), static_cast<llvm::omp::Directive>(-1), static_cast<llvm::omp::Directive>(-1), static_cast<llvm::omp::Directive>(-1), static_cast<llvm::omp::Directive>(-1), static_cast<llvm::omp::Directive>(-1), static_cast<llvm::omp::Directive>(-1),},
11024 {llvm::omp::OMPD_end_declare_variant, static_cast<llvm::omp::Directive>(0), static_cast<llvm::omp::Directive>(-1), static_cast<llvm::omp::Directive>(-1), static_cast<llvm::omp::Directive>(-1), static_cast<llvm::omp::Directive>(-1), static_cast<llvm::omp::Directive>(-1), static_cast<llvm::omp::Directive>(-1),},
11025 {llvm::omp::OMPD_end_metadirective, static_cast<llvm::omp::Directive>(0), static_cast<llvm::omp::Directive>(-1), static_cast<llvm::omp::Directive>(-1), static_cast<llvm::omp::Directive>(-1), static_cast<llvm::omp::Directive>(-1), static_cast<llvm::omp::Directive>(-1), static_cast<llvm::omp::Directive>(-1),},
11026};
11027
11028[[maybe_unused]] static auto LeafConstructTableEndDirective = LeafConstructTable + 118;
11029
11030[[maybe_unused]] static const int LeafConstructTableOrdering[] = {
11031 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 68, 69, 70, 71, 72, 21, 73, 118, 119, 120, 121, 22, 23, 24, 25, 74, 26, 27, 28, 116, 117, 29, 75, 76, 30, 31, 32, 33, 34, 77, 78, 79, 80, 87, 88, 89, 81, 82, 83, 84, 85, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 90, 91, 92, 93, 94, 96, 97, 98, 99, 100, 101, 102, 103, 104, 49, 50, 51, 52, 53, 107, 54, 55, 56, 57, 108, 109, 110, 111, 112, 113, 114, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 86, 106, 95, 105, 115,
11032};
11033
11034#endif // GEN_DIRECTIVES_IMPL
11035
11036