/external/llvm-project/clang/test/OpenMP/ |
D | parallel_master_taskloop_misc_messages.c | 7 #pragma omp parallel master taskloop in xxx() 12 // expected-error@+1 {{unexpected OpenMP directive '#pragma omp parallel master taskloop'}} 13 #pragma omp parallel master taskloop 15 // expected-error@+1 {{unexpected OpenMP directive '#pragma omp parallel master taskloop'}} 16 #pragma omp parallel master taskloop foo 20 #pragma omp parallel master taskloop in test_no_clause() 24 // expected-error@+2 {{statement after '#pragma omp parallel master taskloop' must be a for loop}} in test_no_clause() 25 #pragma omp parallel master taskloop in test_no_clause() 36 #pragma omp parallel in test_branch_protected_scope() 37 #pragma omp parallel master taskloop in test_branch_protected_scope() [all …]
|
D | parallel_if_messages.cpp | 17 #pragma omp parallel if(cond) // expected-warning {{variable 'cond' is uninitialized when used here… in xxx() 27 #pragma omp parallel if // expected-error {{expected '(' after 'if'}} in tmain() 28 …#pragma omp parallel if ( // expected-error {{expected expression}} expected-error {{expected ')'}… in tmain() 29 #pragma omp parallel if () // expected-error {{expected expression}} in tmain() 30 …#pragma omp parallel if (argc // expected-error {{expected ')'}} expected-note {{to match this '('… in tmain() 31 …#pragma omp parallel if (argc)) // expected-warning {{extra tokens at the end of '#pragma omp para… in tmain() 32 #pragma omp parallel if (argc > 0 ? argv[1] : argv[2] + z) in tmain() 33 …#pragma omp parallel if (foobool(argc)), if (true) // expected-error {{directive '#pragma omp para… in tmain() 34 #pragma omp parallel if (S) // expected-error {{'S' does not refer to a value}} in tmain() 35 …#pragma omp parallel if (argv[1]=2) // expected-error {{expected ')'}} expected-note {{to match th… in tmain() [all …]
|
D | parallel_master_taskloop_simd_misc_messages.c | 9 #pragma omp parallel master taskloop simd in xxx() 14 // expected-error@+1 {{unexpected OpenMP directive '#pragma omp parallel master taskloop simd'}} 15 #pragma omp parallel master taskloop simd 17 // expected-error@+1 {{unexpected OpenMP directive '#pragma omp parallel master taskloop simd'}} 18 #pragma omp parallel master taskloop simd foo 22 #pragma omp parallel master taskloop simd in test_no_clause() 26 // expected-error@+2 {{statement after '#pragma omp parallel master taskloop simd' must be a for lo… in test_no_clause() 27 #pragma omp parallel master taskloop simd in test_no_clause() 38 #pragma omp parallel in test_branch_protected_scope() 39 #pragma omp parallel master taskloop simd in test_branch_protected_scope() [all …]
|
D | parallel_master_taskloop_firstprivate_messages.cpp | 25 #pragma omp parallel master taskloop firstprivate(fp) // expected-warning {{variable 'fp' is uninit… in xxx() 89 #pragma omp parallel in foomain() 90 #pragma omp parallel master taskloop firstprivate // expected-error {{expected '(' after 'firstpriv… in foomain() 93 #pragma omp parallel in foomain() 94 #pragma omp parallel master taskloop firstprivate( // expected-error {{expected expression}} expect… in foomain() 97 #pragma omp parallel in foomain() 98 #pragma omp parallel master taskloop firstprivate() // expected-error {{expected expression}} in foomain() 101 #pragma omp parallel in foomain() 102 #pragma omp parallel master taskloop firstprivate(argc // expected-error {{expected ')'}} expected-… in foomain() 105 #pragma omp parallel in foomain() [all …]
|
D | parallel_master_taskloop_simd_firstprivate_messages.cpp | 25 #pragma omp parallel master taskloop simd firstprivate(fp) // expected-warning {{variable 'fp' is u… in xxx() 89 #pragma omp parallel in foomain() 90 #pragma omp parallel master taskloop simd firstprivate // expected-error {{expected '(' after 'firs… in foomain() 93 #pragma omp parallel in foomain() 94 #pragma omp parallel master taskloop simd firstprivate( // expected-error {{expected expression}} e… in foomain() 97 #pragma omp parallel in foomain() 98 #pragma omp parallel master taskloop simd firstprivate() // expected-error {{expected expression}} in foomain() 101 #pragma omp parallel in foomain() 102 #pragma omp parallel master taskloop simd firstprivate(argc // expected-error {{expected ')'}} expe… in foomain() 105 #pragma omp parallel in foomain() [all …]
|
D | parallel_for_simd_misc_messages.c | 7 // expected-error@+1 {{unexpected OpenMP directive '#pragma omp parallel for simd'}} 8 #pragma omp parallel for simd 10 // expected-error@+1 {{unexpected OpenMP directive '#pragma omp parallel for simd'}} 11 #pragma omp parallel for simd foo 15 #pragma omp parallel for simd in test_no_clause() 19 // expected-error@+2 {{statement after '#pragma omp parallel for simd' must be a for loop}} in test_no_clause() 20 #pragma omp parallel for simd in test_no_clause() 31 #pragma omp parallel in test_branch_protected_scope() 32 #pragma omp parallel for simd in test_branch_protected_scope() 54 #pragma omp parallel in test_invalid_clause() [all …]
|
D | target_parallel_if_messages.cpp | 17 #pragma omp target parallel if(cond) // expected-warning {{variable 'cond' is uninitialized when us… in xxx() 27 #pragma omp target parallel if // expected-error {{expected '(' after 'if'}} in tmain() 29 …#pragma omp target parallel if ( // expected-error {{expected expression}} expected-error {{expect… in tmain() 31 #pragma omp target parallel if () // expected-error {{expected expression}} in tmain() 33 …#pragma omp target parallel if (argc // expected-error {{expected ')'}} expected-note {{to match t… in tmain() 35 …#pragma omp target parallel if (argc)) // expected-warning {{extra tokens at the end of '#pragma o… in tmain() 37 #pragma omp target parallel if (argc > 0 ? argv[1] : argv[2] + z) in tmain() 39 …#pragma omp target parallel if (foobool(argc)), if (true) // expected-error {{directive '#pragma o… in tmain() 41 #pragma omp target parallel if (S) // expected-error {{'S' does not refer to a value}} in tmain() 43 …#pragma omp target parallel if (argv[1]=2) // expected-error {{expected ')'}} expected-note {{to m… in tmain() [all …]
|
D | parallel_master_if_messages.cpp | 17 #pragma omp parallel master if(cond) // expected-warning {{variable 'cond' is uninitialized when us… in xxx() 28 #pragma omp parallel master if // expected-error {{expected '(' after 'if'}} in tmain() 32 …#pragma omp parallel master if ( // expected-error {{expected expression}} expected-error {{expect… in tmain() 36 #pragma omp parallel master if () // expected-error {{expected expression}} in tmain() 40 …#pragma omp parallel master if (argc // expected-error {{expected ')'}} expected-note {{to match t… in tmain() 44 …#pragma omp parallel master if (argc)) // expected-warning {{extra tokens at the end of '#pragma o… in tmain() 48 #pragma omp parallel master if (argc > 0 ? argv[1] : argv[2]) in tmain() 52 …#pragma omp parallel master if (foobool(argc)), if (true) // expected-error {{directive '#pragma o… in tmain() 56 #pragma omp parallel master if (S) // expected-error {{'S' does not refer to a value}} in tmain() 60 …#pragma omp parallel master if (argv[1]=2) // expected-error {{expected ')'}} expected-note {{to m… in tmain() [all …]
|
D | parallel_sections_if_messages.cpp | 17 #pragma omp parallel sections if(cond) // expected-warning {{variable 'cond' is uninitialized when … in xxx() 28 #pragma omp parallel sections if // expected-error {{expected '(' after 'if'}} in tmain() 32 …#pragma omp parallel sections if ( // expected-error {{expected expression}} expected-error {{expe… in tmain() 36 #pragma omp parallel sections if () // expected-error {{expected expression}} in tmain() 40 …#pragma omp parallel sections if (argc // expected-error {{expected ')'}} expected-note {{to match… in tmain() 44 …#pragma omp parallel sections if (argc)) // expected-warning {{extra tokens at the end of '#pragma… in tmain() 48 #pragma omp parallel sections if (argc > 0 ? argv[1] : argv[2]) in tmain() 52 …#pragma omp parallel sections if (foobool(argc)), if (true) // expected-error {{directive '#pragma… in tmain() 56 #pragma omp parallel sections if (S) // expected-error {{'S' does not refer to a value}} in tmain() 60 …#pragma omp parallel sections if (argv[1]=2) // expected-error {{expected ')'}} expected-note {{to… in tmain() [all …]
|
D | parallel_master_taskloop_lastprivate_messages.cpp | 86 #pragma omp parallel in foomain() 87 #pragma omp parallel master taskloop lastprivate // expected-error {{expected '(' after 'lastprivat… in foomain() 90 #pragma omp parallel in foomain() 91 #pragma omp parallel master taskloop lastprivate( // expected-error {{expected expression}} expecte… in foomain() 94 #pragma omp parallel in foomain() 95 #pragma omp parallel master taskloop lastprivate() // expected-error {{expected expression}} in foomain() 98 #pragma omp parallel in foomain() 99 #pragma omp parallel master taskloop lastprivate(argc // expected-error {{expected ')'}} expected-n… in foomain() 102 #pragma omp parallel in foomain() 103 #pragma omp parallel master taskloop lastprivate(argc, // expected-error {{expected expression}} ex… in foomain() [all …]
|
D | parallel_master_taskloop_simd_lastprivate_messages.cpp | 86 #pragma omp parallel in foomain() 87 #pragma omp parallel master taskloop simd lastprivate // expected-error {{expected '(' after 'lastp… in foomain() 90 #pragma omp parallel in foomain() 91 #pragma omp parallel master taskloop simd lastprivate( // expected-error {{expected expression}} ex… in foomain() 94 #pragma omp parallel in foomain() 95 #pragma omp parallel master taskloop simd lastprivate() // expected-error {{expected expression}} in foomain() 98 #pragma omp parallel in foomain() 99 #pragma omp parallel master taskloop simd lastprivate(argc // expected-error {{expected ')'}} expec… in foomain() 102 #pragma omp parallel in foomain() 103 #pragma omp parallel master taskloop simd lastprivate(argc, // expected-error {{expected expression… in foomain() [all …]
|
D | target_teams_distribute_parallel_for_simd_if_messages.cpp | 16 #pragma omp target teams distribute parallel for simd if (parallel \ in xxx() 27 #pragma omp target teams distribute parallel for simd if // expected-error {{expected '(' after 'if… in tmain() 29 #pragma omp target teams distribute parallel for simd if ( // expected-error {{expected expression}… in tmain() 31 #pragma omp target teams distribute parallel for simd if () // expected-error {{expected expression… in tmain() 33 #pragma omp target teams distribute parallel for simd if (argc // expected-error {{expected ')'}} e… in tmain() 35 …eams distribute parallel for simd if (k)) // expected-warning {{extra tokens at the end of '#pragm… in tmain() 37 #pragma omp target teams distribute parallel for simd if (argc > 0 ? argv[1] : argv[2]) in tmain() 39 …ams distribute parallel for simd if (foobool(argc)), if (true) // expected-error {{directive '#pra… in tmain() 41 #pragma omp target teams distribute parallel for simd if (S) // expected-error {{'S' does not refer… in tmain() 43 #pragma omp target teams distribute parallel for simd if (argv[1]=2) // expected-error {{expected '… in tmain() [all …]
|
D | parallel_master_taskloop_loop_messages.cpp | 32 #pragma omp parallel in test_iteration_spaces() 33 #pragma omp parallel master taskloop in test_iteration_spaces() 37 #pragma omp parallel in test_iteration_spaces() 38 #pragma omp parallel master taskloop in test_iteration_spaces() 42 #pragma omp parallel in test_iteration_spaces() 43 #pragma omp parallel master taskloop in test_iteration_spaces() 47 #pragma omp parallel in test_iteration_spaces() 48 #pragma omp parallel master taskloop in test_iteration_spaces() 52 #pragma omp parallel in test_iteration_spaces() 54 #pragma omp parallel master taskloop in test_iteration_spaces() [all …]
|
D | target_teams_distribute_parallel_for_if_messages.cpp | 17 #pragma omp target teams distribute parallel for if(cond) // expected-warning {{variable 'cond' is … in xxx() 27 #pragma omp target teams distribute parallel for if // expected-error {{expected '(' after 'if'}} in tmain() 29 #pragma omp target teams distribute parallel for if ( // expected-error {{expected expression}} exp… in tmain() 31 #pragma omp target teams distribute parallel for if () // expected-error {{expected expression}} in tmain() 33 #pragma omp target teams distribute parallel for if (argc // expected-error {{expected ')'}} expect… in tmain() 35 …teams distribute parallel for if (argc)) // expected-warning {{extra tokens at the end of '#pragma… in tmain() 37 #pragma omp target teams distribute parallel for if (argc > 0 ? argv[1] : argv[2]) in tmain() 39 …teams distribute parallel for if (foobool(argc)), if (true) // expected-error {{directive '#pragma… in tmain() 41 #pragma omp target teams distribute parallel for if (S) // expected-error {{'S' does not refer to a… in tmain() 43 #pragma omp target teams distribute parallel for if (argv[1]=2) // expected-error {{expected ')'}} … in tmain() [all …]
|
D | target_parallel_ast_print.cpp | 53 #pragma omp target parallel in tmain() 55 …agma omp target parallel allocate(omp_large_cap_mem_alloc:argv) default(none), private(argc,b) fir… in tmain() 57 #pragma omp target parallel if (C) num_threads(s) proc_bind(close) reduction(^:e, f, arr[0:C][:argc… in tmain() 59 #pragma omp target parallel if (target:argc > 0) in tmain() 61 #pragma omp target parallel if (parallel:argc > 0) in tmain() 63 #pragma omp target parallel if (C) in tmain() 65 #pragma omp target parallel map(i) in tmain() 67 #pragma omp target parallel map(a[0:10], i) in tmain() 69 #pragma omp target parallel map(to: i) map(from: j) in tmain() 71 #pragma omp target parallel map(always,alloc: i) in tmain() [all …]
|
D | parallel_master_taskloop_simd_loop_messages.cpp | 32 #pragma omp parallel in test_iteration_spaces() 33 #pragma omp parallel master taskloop simd in test_iteration_spaces() 37 #pragma omp parallel in test_iteration_spaces() 38 #pragma omp parallel master taskloop simd in test_iteration_spaces() 42 #pragma omp parallel in test_iteration_spaces() 43 #pragma omp parallel master taskloop simd in test_iteration_spaces() 47 #pragma omp parallel in test_iteration_spaces() 48 #pragma omp parallel master taskloop simd in test_iteration_spaces() 52 #pragma omp parallel in test_iteration_spaces() 54 #pragma omp parallel master taskloop simd in test_iteration_spaces() [all …]
|
/external/clang/test/OpenMP/ |
D | parallel_if_messages.cpp | 14 #pragma omp parallel if // expected-error {{expected '(' after 'if'}} in tmain() 15 …#pragma omp parallel if ( // expected-error {{expected expression}} expected-error {{expected ')'}… in tmain() 16 #pragma omp parallel if () // expected-error {{expected expression}} in tmain() 17 …#pragma omp parallel if (argc // expected-error {{expected ')'}} expected-note {{to match this '('… in tmain() 18 …#pragma omp parallel if (argc)) // expected-warning {{extra tokens at the end of '#pragma omp para… in tmain() 19 #pragma omp parallel if (argc > 0 ? argv[1] : argv[2]) in tmain() 20 …#pragma omp parallel if (foobool(argc)), if (true) // expected-error {{directive '#pragma omp para… in tmain() 21 #pragma omp parallel if (S) // expected-error {{'S' does not refer to a value}} in tmain() 22 …#pragma omp parallel if (argv[1]=2) // expected-error {{expected ')'}} expected-note {{to match th… in tmain() 23 …#pragma omp parallel if (argc argc) // expected-error {{expected ')'}} expected-note {{to match th… in tmain() [all …]
|
D | target_parallel_if_messages.cpp | 14 #pragma omp target parallel if // expected-error {{expected '(' after 'if'}} in tmain() 16 …#pragma omp target parallel if ( // expected-error {{expected expression}} expected-error {{expect… in tmain() 18 #pragma omp target parallel if () // expected-error {{expected expression}} in tmain() 20 …#pragma omp target parallel if (argc // expected-error {{expected ')'}} expected-note {{to match t… in tmain() 22 …#pragma omp target parallel if (argc)) // expected-warning {{extra tokens at the end of '#pragma o… in tmain() 24 #pragma omp target parallel if (argc > 0 ? argv[1] : argv[2]) in tmain() 26 …#pragma omp target parallel if (foobool(argc)), if (true) // expected-error {{directive '#pragma o… in tmain() 28 #pragma omp target parallel if (S) // expected-error {{'S' does not refer to a value}} in tmain() 30 …#pragma omp target parallel if (argv[1]=2) // expected-error {{expected ')'}} expected-note {{to m… in tmain() 32 …#pragma omp target parallel if (argc argc) // expected-error {{expected ')'}} expected-note {{to m… in tmain() [all …]
|
D | parallel_sections_if_messages.cpp | 14 #pragma omp parallel sections if // expected-error {{expected '(' after 'if'}} in tmain() 18 …#pragma omp parallel sections if ( // expected-error {{expected expression}} expected-error {{expe… in tmain() 22 #pragma omp parallel sections if () // expected-error {{expected expression}} in tmain() 26 …#pragma omp parallel sections if (argc // expected-error {{expected ')'}} expected-note {{to match… in tmain() 30 …#pragma omp parallel sections if (argc)) // expected-warning {{extra tokens at the end of '#pragma… in tmain() 34 #pragma omp parallel sections if (argc > 0 ? argv[1] : argv[2]) in tmain() 38 …#pragma omp parallel sections if (foobool(argc)), if (true) // expected-error {{directive '#pragma… in tmain() 42 #pragma omp parallel sections if (S) // expected-error {{'S' does not refer to a value}} in tmain() 46 …#pragma omp parallel sections if (argv[1]=2) // expected-error {{expected ')'}} expected-note {{to… in tmain() 50 …#pragma omp parallel sections if (argc argc) // expected-error {{expected ')'}} expected-note {{to… in tmain() [all …]
|
D | parallel_for_simd_misc_messages.c | 3 // expected-error@+1 {{unexpected OpenMP directive '#pragma omp parallel for simd'}} 4 #pragma omp parallel for simd 6 // expected-error@+1 {{unexpected OpenMP directive '#pragma omp parallel for simd'}} 7 #pragma omp parallel for simd foo 11 #pragma omp parallel for simd in test_no_clause() 15 // expected-error@+2 {{statement after '#pragma omp parallel for simd' must be a for loop}} in test_no_clause() 16 #pragma omp parallel for simd in test_no_clause() 27 #pragma omp parallel in test_branch_protected_scope() 28 #pragma omp parallel for simd in test_branch_protected_scope() 50 #pragma omp parallel in test_invalid_clause() [all …]
|
D | target_parallel_ast_print.cpp | 38 #pragma omp target parallel in tmain() 40 #pragma omp target parallel default(none), private(argc,b) firstprivate(argv) shared (d) if (parall… in tmain() 42 #pragma omp target parallel if (C) num_threads(s) proc_bind(close) reduction(^:e, f, arr[0:C][:argc… in tmain() 44 #pragma omp target parallel if (target:argc > 0) in tmain() 46 #pragma omp target parallel if (parallel:argc > 0) in tmain() 48 #pragma omp target parallel if (C) in tmain() 50 #pragma omp target parallel map(i) in tmain() 52 #pragma omp target parallel map(a[0:10], i) in tmain() 54 #pragma omp target parallel map(to: i) map(from: j) in tmain() 56 #pragma omp target parallel map(always,alloc: i) in tmain() [all …]
|
D | target_parallel_for_simd_if_messages.cpp | 15 #pragma omp target parallel for simd if // expected-error {{expected '(' after 'if'}} in tmain() 17 …#pragma omp target parallel for simd if ( // expected-error {{expected expression}} expected-error… in tmain() 19 #pragma omp target parallel for simd if () // expected-error {{expected expression}} in tmain() 21 …#pragma omp target parallel for simd if (argc // expected-error {{expected ')'}} expected-note {{t… in tmain() 23 …#pragma omp target parallel for simd if (argc)) // expected-warning {{extra tokens at the end of '… in tmain() 25 #pragma omp target parallel for simd if (argc > 0 ? argv[1] : argv[2]) in tmain() 27 …#pragma omp target parallel for simd if (foobool(argc)), if (true) // expected-error {{directive '… in tmain() 29 #pragma omp target parallel for simd if (S) // expected-error {{'S' does not refer to a value}} in tmain() 31 …#pragma omp target parallel for simd if (argv[1]=2) // expected-error {{expected ')'}} expected-no… in tmain() 33 …#pragma omp target parallel for simd if (argc argc) // expected-error {{expected ')'}} expected-no… in tmain() [all …]
|
/external/llvm-project/flang/test/Semantics/ |
D | acc-clause-validity.f90 | 5 ! 2.5.1 Parallel 15 ! 2.11 Parallel Loop 56 !$acc parallel 59 !$acc end parallel 71 !$acc parallel 78 !$acc end parallel 98 !$acc parallel loop 119 !$acc parallel 122 !$acc end parallel 134 !$acc parallel [all …]
|
D | omp-combined-constructs.f90 | 16 !$omp target parallel device(0) 20 !$omp end target parallel 22 !ERROR: At most one DEVICE clause can appear on the TARGET PARALLEL directive 23 !$omp target parallel device(0) device(1) 27 !$omp end target parallel 29 !$omp target parallel defaultmap(tofrom:scalar) 33 !$omp end target parallel 36 !$omp target parallel defaultmap(tofrom) 40 !$omp end target parallel 42 !ERROR: At most one DEFAULTMAP clause can appear on the TARGET PARALLEL directive [all …]
|
/external/llvm-project/flang/docs/ |
D | OpenMP-4.5-grammar.md | 14 2.5 parallel -> PARALLEL [parallel-clause[ [,] parallel-clause]...] 15 parallel-clause -> if-clause | 25 2.5 end-parallel -> END PARALLEL 203 … DISTRIBUTE PARALLEL DO [distribute-parallel-do-clause[ [,] distribute-parallel-do-clause]...] 204 distribute-parallel-do-clause -> distribute-clause | 205 parallel-do-clause 207 2.10.10 end-distribute-parellel-do -> END DISTRIBUTE PARALLEL DO 209 2.10.11 distribute-parallel-do-simd -> 210 …DISTRIBUTE PARALLEL DO SIMD [distribute-parallel-do-simd-clause[ [,] distribute-parallel-do-simd-c… 211 distribute-parallel-do-simd-clause -> distribute-clause | [all …]
|