/external/clang/test/OpenMP/ |
simd_lastprivate_messages.cpp | 53 #pragma omp threadprivate(h) // expected-note 2 {{defined as threadprivate or thread local}} 61 #pragma omp simd lastprivate // expected-error {{expected '(' after 'lastprivate'}} 64 #pragma omp simd lastprivate( // expected-error {{expected expression}} expected-error {{expected ')'}} expected-note {{to match this '('}} 67 #pragma omp simd lastprivate() // expected-error {{expected expression}} 70 #pragma omp simd lastprivate(argc // expected-error {{expected ')'}} expected-note {{to match this '('}} 73 #pragma omp simd lastprivate(argc, // expected-error {{expected expression}} expected-error {{expected ')'}} expected-note {{to match this '('}} 76 #pragma omp simd lastprivate(argc > 0 ? argv[1] : argv[2]) // expected-error {{expected variable name}} 79 #pragma omp simd lastprivate(argc) 82 #pragma omp simd lastprivate(S1) // expected-error {{'S1' does not refer to a value}} 85 #pragma omp simd lastprivate(a, b) // expected-error {{lastprivate variable with incomplete type 'S1'} [all...] |
parallel_for_firstprivate_messages.cpp | 61 #pragma omp threadprivate(h) // expected-note 2 {{defined as threadprivate or thread local}} 69 #pragma omp parallel for firstprivate // expected-error {{expected '(' after 'firstprivate'}} 72 #pragma omp parallel for firstprivate( // expected-error {{expected expression}} expected-error {{expected ')'}} expected-note {{to match this '('}} 75 #pragma omp parallel for firstprivate() // expected-error {{expected expression}} 78 #pragma omp parallel for firstprivate(argc // expected-error {{expected ')'}} expected-note {{to match this '('}} 81 #pragma omp parallel for firstprivate(argc, // expected-error {{expected expression}} expected-error {{expected ')'}} expected-note {{to match this '('}} 84 #pragma omp parallel for firstprivate(argc > 0 ? argv[1] : argv[2]) // expected-error {{expected variable name}} 87 #pragma omp parallel for firstprivate(argc) 90 #pragma omp parallel for firstprivate(S1) // expected-error {{'S1' does not refer to a value}} 93 #pragma omp parallel for firstprivate(a, b) // expected-error {{firstprivate variable with incomplete type 'S1 (…) [all...] |
simd_reduction_messages.cpp | 65 #pragma omp threadprivate(h) // expected-note 2 {{defined as threadprivate or thread local}} 78 #pragma omp simd reduction // expected-error {{expected '(' after 'reduction'}} 81 #pragma omp simd reduction + // expected-error {{expected '(' after 'reduction'}} expected-warning {{extra tokens at the end of '#pragma omp simd' are ignored}} 84 #pragma omp simd reduction( // expected-error {{expected unqualified-id}} expected-warning {{missing ':' after reduction identifier - ignoring}} expected-error {{expected ')'}} expected-note {{to match this '('}} 87 #pragma omp simd reduction(- // expected-warning {{missing ':' after reduction identifier - ignoring}} expected-error {{expected expression}} expected-error {{expected ')'}} expected-note {{to match this '('}} 90 #pragma omp simd reduction() // expected-error {{expected unqualified-id}} expected-warning {{missing ':' after reduction identifier - ignoring}} 93 #pragma omp simd reduction(*) // expected-warning {{missing ':' after reduction identifier - ignoring}} expected-error {{expected expression}} 96 #pragma omp simd reduction(\) // expected-error {{expected unqualified-id}} expected-warning {{missing ':' after reduction identifier - ignoring}} 99 #pragma omp simd reduction(& : argc // expected-error {{expected ')'}} expected-note {{to match this '('}} exp (…) [all...] |
simd_aligned_messages.cpp | 18 #pragma omp simd aligned(B:bfoo()) 21 #pragma omp simd aligned(B::ib:B:bfoo()) 23 #pragma omp simd aligned(B:B::bfoo()) 26 #pragma omp simd aligned(z:B:bfoo()) 28 #pragma omp simd aligned(B:B::bfoo()) 32 #pragma omp simd aligned(X::x : ::z) 35 #pragma omp simd aligned(B,rp,::z: X::x) 37 #pragma omp simd aligned(::z) 40 #pragma omp simd aligned(B::bfoo()) 42 #pragma omp simd aligned(B::ib,B:C1+C2 [all...] |
parallel_for_reduction_messages.cpp | 65 #pragma omp threadprivate(h) // expected-note 2 {{defined as threadprivate or thread local}} 78 #pragma omp parallel for reduction // expected-error {{expected '(' after 'reduction'}} 81 #pragma omp parallel for reduction + // expected-error {{expected '(' after 'reduction'}} expected-warning {{extra tokens at the end of '#pragma omp parallel for' are ignored}} 84 #pragma omp parallel for reduction( // expected-error {{expected unqualified-id}} expected-warning {{missing ':' after reduction identifier - ignoring}} expected-error {{expected ')'}} expected-note {{to match this '('}} 87 #pragma omp parallel for reduction(- // expected-warning {{missing ':' after reduction identifier - ignoring}} expected-error {{expected expression}} expected-error {{expected ')'}} expected-note {{to match this '('}} 90 #pragma omp parallel for reduction() // expected-error {{expected unqualified-id}} expected-warning {{missing ':' after reduction identifier - ignoring}} 93 #pragma omp parallel for reduction(*) // expected-warning {{missing ':' after reduction identifier - ignoring}} expected-error {{expected expression}} 96 #pragma omp parallel for reduction(\) // expected-error {{expected unqualified-id}} expected-warning {{missing ':' after reduction identifier - ignoring}} 99 #pragma omp parallel for reduction(& : argc // expected-error {{expected ')'}} expected-note {{to match this ' (…) [all...] |
parallel_sections_copyin_messages.cpp | 51 #pragma omp threadprivate(h, k, l, m) 55 #pragma omp parallel sections copyin // expected-error {{expected '(' after 'copyin'}} 59 #pragma omp parallel sections copyin( // expected-error {{expected expression}} expected-error {{expected ')'}} expected-note {{to match this '('}} 63 #pragma omp parallel sections copyin() // expected-error {{expected expression}} 67 #pragma omp parallel sections copyin(k // expected-error {{expected ')'}} expected-note {{to match this '('}} 71 #pragma omp parallel sections copyin(h, // expected-error {{expected expression}} expected-error {{expected ')'}} expected-note {{to match this '('}} 75 #pragma omp parallel sections copyin(argc > 0 ? argv[1] : argv[2]) // expected-error {{expected variable name}} 79 #pragma omp parallel sections copyin(l) // expected-error {{copyin variable must have an accessible, unambiguous copy assignment operator}} 83 #pragma omp parallel sections copyin(S1) // expected-error {{'S1' does not refer to a value}} 87 #pragma omp parallel sections copyin(argv[1]) // expected-error {{expected variable name} [all...] |
parallel_for_private_messages.cpp | 43 #pragma omp threadprivate(h) // expected-note 2 {{defined as threadprivate or thread local}} 51 #pragma omp parallel for private // expected-error {{expected '(' after 'private'}} 54 #pragma omp parallel for private( // expected-error {{expected expression}} expected-error {{expected ')'}} expected-note {{to match this '('}} 57 #pragma omp parallel for private() // expected-error {{expected expression}} 60 #pragma omp parallel for private(argc // expected-error {{expected ')'}} expected-note {{to match this '('}} 63 #pragma omp parallel for private(argc, // expected-error {{expected expression}} expected-error {{expected ')'}} expected-note {{to match this '('}} 66 #pragma omp parallel for private(argc > 0 ? argv[1] : argv[2]) // expected-error {{expected variable name}} 69 #pragma omp parallel for private(argc) 72 #pragma omp parallel for private(S1) // expected-error {{'S1' does not refer to a value}} 75 #pragma omp parallel for private(a, b) // expected-error {{private variable with incomplete type 'S1'} [all...] |
simd_private_messages.cpp | 39 #pragma omp threadprivate(h) // expected-note 2 {{defined as threadprivate or thread local}} 46 #pragma omp simd private // expected-error {{expected '(' after 'private'}} 48 #pragma omp simd private ( // expected-error {{expected expression}} expected-error {{expected ')'}} expected-note {{to match this '('}} 50 #pragma omp simd private () // expected-error {{expected expression}} 52 #pragma omp simd private (argc // expected-error {{expected ')'}} expected-note {{to match this '('}} 54 #pragma omp simd private (argc, // expected-error {{expected expression}} expected-error {{expected ')'}} expected-note {{to match this '('}} 56 #pragma omp simd private (argc > 0 ? argv[1] : argv[2]) // expected-error {{expected variable name}} 58 #pragma omp simd private (argc) 60 #pragma omp simd private (S1) // expected-error {{'S1' does not refer to a value}} 62 #pragma omp simd private (a, b) // expected-error {{private variable with incomplete type 'S1'} [all...] |
parallel_for_lastprivate_messages.cpp | 61 #pragma omp threadprivate(h) // expected-note 2 {{defined as threadprivate or thread local}} 69 #pragma omp parallel for lastprivate // expected-error {{expected '(' after 'lastprivate'}} 72 #pragma omp parallel for lastprivate( // expected-error {{expected expression}} expected-error {{expected ')'}} expected-note {{to match this '('}} 75 #pragma omp parallel for lastprivate() // expected-error {{expected expression}} 78 #pragma omp parallel for lastprivate(argc // expected-error {{expected ')'}} expected-note {{to match this '('}} 81 #pragma omp parallel for lastprivate(argc, // expected-error {{expected expression}} expected-error {{expected ')'}} expected-note {{to match this '('}} 84 #pragma omp parallel for lastprivate(argc > 0 ? argv[1] : argv[2]) // expected-error {{expected variable name}} 87 #pragma omp parallel for lastprivate(argc) 90 #pragma omp parallel for lastprivate(S1) // expected-error {{'S1' does not refer to a value}} 93 #pragma omp parallel for lastprivate(a, b) // expected-error {{lastprivate variable with incomplete type 'S1'} [all...] |
for_collapse_messages.cpp | 14 #pragma omp for collapse // expected-error {{expected '(' after 'collapse'}} 16 #pragma omp for collapse ( // expected-error {{expected expression}} expected-error {{expected ')'}} expected-note {{to match this '('}} 18 #pragma omp for collapse () // expected-error {{expected expression}} 23 #pragma omp for collapse (argc 26 #pragma omp for collapse (ST // expected-error {{expected ')'}} expected-note {{to match this '('}} 28 #pragma omp for collapse (1)) // expected-warning {{extra tokens at the end of '#pragma omp for' are ignored}} 30 #pragma omp for collapse ((ST > 0) ? 1 + ST : 2) // expected-note 2 {{as specified in 'collapse' clause}} 31 for (int i = ST; i < N; i++) argv[0][i] = argv[0][i] - argv[0][i-ST]; // expected-error 2 {{expected 2 for loops after '#pragma omp for', but found only 1}} 32 // expected-error@+3 2 {{directive '#pragma omp for' cannot contain more than one 'collapse' clause} [all...] |
sections_ast_print.cpp | 16 #pragma omp parallel 17 #pragma omp sections private(argc, b), firstprivate(c, d), lastprivate(d, f) reduction(- : g) nowait 21 // CHECK-NEXT: #pragma omp parallel 22 // CHECK-NEXT: #pragma omp sections private(argc,b) firstprivate(c,d) lastprivate(d,f) reduction(-: g) nowait 33 #pragma omp parallel 34 #pragma omp sections private(argc, b), firstprivate(argv, c), lastprivate(d, f) reduction(+ : g) nowait 36 #pragma omp section 38 #pragma omp section 41 // CHECK-NEXT: #pragma omp parallel 42 // CHECK-NEXT: #pragma omp sections private(argc,b) firstprivate(argv,c) lastprivate(d,f) reduction(+: g) nowai [all...] |
simd_linear_messages.cpp | 20 #pragma omp simd linear(B:bfoo()) 23 #pragma omp simd linear(B::ib:B:bfoo()) 26 #pragma omp simd linear(B:ib) 29 #pragma omp simd linear(z:B:ib) 31 #pragma omp simd linear(B:B::bfoo()) 33 #pragma omp simd linear(X::x : ::z) 35 #pragma omp simd linear(B,::z, X::x) 37 #pragma omp simd linear(::z) 40 #pragma omp simd linear(B::bfoo()) 42 #pragma omp simd linear(B::ib,B:C1+C2 [all...] |
parallel_for_loop_messages.cpp | 13 #pragma omp threadprivate(sii) // expected-note {{defined as threadprivate or thread local}} 21 #pragma omp parallel for 25 #pragma omp parallel for 29 #pragma omp parallel for 33 #pragma omp parallel for 38 #pragma omp parallel for 42 #pragma omp parallel for 47 #pragma omp parallel for 52 #pragma omp parallel for 57 #pragma omp parallel fo [all...] |
simd_loop_messages.cpp | 4 #pragma omp threadprivate(sii) // expected-note {{defined as threadprivate or thread local}} 12 #pragma omp simd 16 #pragma omp simd 20 #pragma omp simd 24 #pragma omp simd 29 #pragma omp simd 33 #pragma omp simd 38 #pragma omp simd 43 #pragma omp simd 48 #pragma omp sim [all...] |
parallel_codegen.cpp | 26 #pragma omp parallel 32 #pragma omp parallel
|
parallel_sections_ast_print.cpp | 15 #pragma omp threadprivate(TS) 20 // CHECK-NEXT: #pragma omp threadprivate(S<int>::TS) 24 // CHECK-NEXT: #pragma omp threadprivate(S<long>::TS) 28 // CHECK-NEXT: #pragma omp threadprivate(S::TS) 36 #pragma omp parallel sections 40 #pragma omp parallel sections default(none), private(argc, b) firstprivate(argv) shared(d) if (argc > 0) num_threads(C) copyin(S < T > ::TS) proc_bind(master) reduction(+ : c) reduction(max : e) 44 #pragma omp parallel sections if (C) num_threads(s) proc_bind(close) reduction(^ : e, f) reduction(&& : g) lastprivate(b, c) 47 #pragma omp section 57 // CHECK-NEXT: #pragma omp parallel sections 61 // CHECK-NEXT: #pragma omp parallel sections default(none) private(argc,b) firstprivate(argv) shared(d) if(argc > 0) num_thre (…) [all...] |
for_schedule_messages.cpp | 14 #pragma omp for schedule // expected-error {{expected '(' after 'schedule'}} 16 #pragma omp for schedule ( // expected-error {{expected 'static', 'dynamic', 'guided', 'auto' or 'runtime' in OpenMP clause 'schedule'}} expected-error {{expected ')'}} expected-note {{to match this '('}} 18 #pragma omp for schedule () // expected-error {{expected 'static', 'dynamic', 'guided', 'auto' or 'runtime' in OpenMP clause 'schedule'}} 20 #pragma omp for schedule (auto // expected-error {{expected ')'}} expected-note {{to match this '('}} 22 #pragma omp for schedule (auto_dynamic // expected-error {{expected 'static', 'dynamic', 'guided', 'auto' or 'runtime' in OpenMP clause 'schedule'}} expected-error {{expected ')'}} expected-note {{to match this '('}} 24 #pragma omp for schedule (auto, // expected-error {{expected ')'}} expected-note {{to match this '('}} 26 #pragma omp for schedule (runtime, 3) // expected-error {{expected ')'}} expected-note {{to match this '('}} 29 #pragma omp for schedule (guided argc 32 #pragma omp for schedule (static, ST // expected-error {{expected ')'}} expected-note {{to match this '('}} 34 #pragma omp for schedule (dynamic, 1)) // expected-warning {{extra tokens at the end of '#pragma omp for' are (…) [all...] |
parallel_for_schedule_messages.cpp | 14 #pragma omp parallel for schedule // expected-error {{expected '(' after 'schedule'}} 16 #pragma omp parallel for schedule ( // expected-error {{expected 'static', 'dynamic', 'guided', 'auto' or 'runtime' in OpenMP clause 'schedule'}} expected-error {{expected ')'}} expected-note {{to match this '('}} 18 #pragma omp parallel for schedule () // expected-error {{expected 'static', 'dynamic', 'guided', 'auto' or 'runtime' in OpenMP clause 'schedule'}} 20 #pragma omp parallel for schedule (auto // expected-error {{expected ')'}} expected-note {{to match this '('}} 22 #pragma omp parallel for schedule (auto_dynamic // expected-error {{expected 'static', 'dynamic', 'guided', 'auto' or 'runtime' in OpenMP clause 'schedule'}} expected-error {{expected ')'}} expected-note {{to match this '('}} 24 #pragma omp parallel for schedule (auto, // expected-error {{expected ')'}} expected-note {{to match this '('}} 26 #pragma omp parallel for schedule (runtime, 3) // expected-error {{expected ')'}} expected-note {{to match this '('}} 29 #pragma omp parallel for schedule (guided argc 32 #pragma omp parallel for schedule (static, ST // expected-error {{expected ')'}} expected-note {{to match this '('}} 34 #pragma omp parallel for schedule (dynamic, 1)) // expected-warning {{extra tokens at the end of '#pragma omp (…) [all...] |
parallel_for_copyin_messages.cpp | 51 #pragma omp threadprivate(h, k, l, m) 55 #pragma omp parallel for copyin // expected-error {{expected '(' after 'copyin'}} 58 #pragma omp parallel for copyin( // expected-error {{expected expression}} expected-error {{expected ')'}} expected-note {{to match this '('}} 61 #pragma omp parallel for copyin() // expected-error {{expected expression}} 64 #pragma omp parallel for copyin(k // expected-error {{expected ')'}} expected-note {{to match this '('}} 67 #pragma omp parallel for copyin(h, // expected-error {{expected expression}} expected-error {{expected ')'}} expected-note {{to match this '('}} 70 #pragma omp parallel for copyin(argc > 0 ? argv[1] : argv[2]) // expected-error {{expected variable name}} 73 #pragma omp parallel for copyin(l) // expected-error {{copyin variable must have an accessible, unambiguous copy assignment operator}} 76 #pragma omp parallel for copyin(S1) // expected-error {{'S1' does not refer to a value}} 79 #pragma omp parallel for copyin(argv[1]) // expected-error {{expected variable name} [all...] |
parallel_ast_print.cpp | 15 #pragma omp threadprivate(TS) 20 // CHECK-NEXT: #pragma omp threadprivate(S<int>::TS) 24 // CHECK-NEXT: #pragma omp threadprivate(S<long>::TS) 28 // CHECK-NEXT: #pragma omp threadprivate(S::TS) 36 #pragma omp parallel 38 #pragma omp parallel default(none), private(argc,b) firstprivate(argv) shared (d) if (argc > 0) num_threads(C) copyin(S<T>::TS) proc_bind(master) reduction(+:c) reduction(max:e) 40 #pragma omp parallel if (C) num_threads(s) proc_bind(close) reduction(^:e, f) reduction(&& : g) 49 // CHECK-NEXT: #pragma omp parallel 51 // CHECK-NEXT: #pragma omp parallel default(none) private(argc,b) firstprivate(argv) shared(d) if(argc > 0) num_threads(5) copyin(S<int>::TS) proc_bind(master) reduction(+: c) reduction(max: e) 53 // CHECK-NEXT: #pragma omp parallel if(5) num_threads(s) proc_bind(close) reduction(^: e,f) reduction(&&: g [all...] |
single_ast_print.cpp | 16 #pragma omp parallel private(g) 17 #pragma omp single private(argc, b), firstprivate(c, d), nowait copyprivate(g) 19 // CHECK-NEXT: #pragma omp parallel private(g) 20 // CHECK-NEXT: #pragma omp single private(argc,b) firstprivate(c,d) nowait copyprivate(g) 29 #pragma omp parallel private(g) 30 #pragma omp single private(argc, b), firstprivate(argv, c), nowait copyprivate(g) 32 // CHECK-NEXT: #pragma omp parallel private(g) 33 // CHECK-NEXT: #pragma omp single private(argc,b) firstprivate(argv,c) nowait copyprivate(g)
|
for_ast_print.cpp | 16 #pragma omp for schedule(dynamic) 17 // CHECK-NEXT: #pragma omp for schedule(dynamic) 22 #pragma omp parallel 23 #pragma omp for private(argc, b), firstprivate(c, d), lastprivate(d, f) collapse(N) schedule(static, N) ordered nowait 30 // CHECK-NEXT: #pragma omp parallel 31 // CHECK-NEXT: #pragma omp for private(argc,b) firstprivate(c,d) lastprivate(d,f) collapse(N) schedule(static, N) ordered nowait 45 #pragma omp for schedule(guided, argc) 46 // CHECK-NEXT: #pragma omp for schedule(guided, argc) 51 #pragma omp parallel 52 #pragma omp for private(argc, b), firstprivate(argv, c), lastprivate(d, f) collapse(2) schedule(auto) ordered (…) [all...] |
parallel_for_collapse_messages.cpp | 14 #pragma omp parallel for collapse // expected-error {{expected '(' after 'collapse'}} 16 #pragma omp parallel for collapse ( // expected-error {{expected expression}} expected-error {{expected ')'}} expected-note {{to match this '('}} 18 #pragma omp parallel for collapse () // expected-error {{expected expression}} 23 #pragma omp parallel for collapse (argc 26 #pragma omp parallel for collapse (ST // expected-error {{expected ')'}} expected-note {{to match this '('}} 28 #pragma omp parallel for collapse (1)) // expected-warning {{extra tokens at the end of '#pragma omp parallel for' are ignored}} 30 #pragma omp parallel for collapse ((ST > 0) ? 1 + ST : 2) // expected-note 2 {{as specified in 'collapse' clause}} 31 for (int i = ST; i < N; i++) argv[0][i] = argv[0][i] - argv[0][i-ST]; // expected-error 2 {{expected 2 for loops after '#pragma omp parallel for', but found only 1}} 32 // expected-error@+3 2 {{directive '#pragma omp parallel for' cannot contain more than one 'collapse' clause} [all...] |
simd_collapse_messages.cpp | 14 #pragma omp simd collapse // expected-error {{expected '(' after 'collapse'}} 16 #pragma omp simd collapse ( // expected-error {{expected expression}} expected-error {{expected ')'}} expected-note {{to match this '('}} 18 #pragma omp simd collapse () // expected-error {{expected expression}} 23 #pragma omp simd collapse (argc 26 #pragma omp simd collapse (ST // expected-error {{expected ')'}} expected-note {{to match this '('}} 28 #pragma omp simd collapse (1)) // expected-warning {{extra tokens at the end of '#pragma omp simd' are ignored}} 30 #pragma omp simd collapse ((ST > 0) ? 1 + ST : 2) // expected-note 2 {{as specified in 'collapse' clause}} 31 for (int i = ST; i < N; i++) argv[0][i] = argv[0][i] - argv[0][i-ST]; // expected-error 2 {{expected 2 for loops after '#pragma omp simd', but found only 1}} 32 // expected-error@+3 2 {{directive '#pragma omp simd' cannot contain more than one 'collapse' clause} [all...] |
simd_safelen_messages.cpp | 14 #pragma omp simd safelen // expected-error {{expected '(' after 'safelen'}} 16 #pragma omp simd safelen ( // expected-error {{expected expression}} expected-error {{expected ')'}} expected-note {{to match this '('}} 18 #pragma omp simd safelen () // expected-error {{expected expression}} 23 #pragma omp simd safelen (argc 26 #pragma omp simd safelen (ST // expected-error {{expected ')'}} expected-note {{to match this '('}} 28 #pragma omp simd safelen (1)) // expected-warning {{extra tokens at the end of '#pragma omp simd' are ignored}} 30 #pragma omp simd safelen ((ST > 0) ? 1 + ST : 2) 32 // expected-error@+3 2 {{directive '#pragma omp simd' cannot contain more than one 'safelen' clause}} 35 #pragma omp simd safelen (foobool(argc)), safelen (true), safelen (-5 [all...] |