| /llvm-project-15.0.7/clang/test/OpenMP/ |
| H A D | parallel_sections_if_messages.cpp | 28 #pragma omp parallel sections if // expected-error {{expected '(' after 'if'}} in tmain() 36 #pragma omp parallel sections if () // expected-error {{expected expression}} in tmain() 48 #pragma omp parallel sections if (argc > 0 ? argv[1] : argv[2]) in tmain() 56 #pragma omp parallel sections if (S) // expected-error {{'S' does not refer to a value}} in tmain() 68 #pragma omp parallel sections if(argc + z) in tmain() 80 #pragma omp parallel sections if(parallel : argc) in tmain() 102 #pragma omp parallel sections if // expected-error {{expected '(' after 'if'}} in main() 110 #pragma omp parallel sections if () // expected-error {{expected expression}} in main() 122 #pragma omp parallel sections if (argc > 0 ? argv[1] : argv[2] + z) in main() 130 #pragma omp parallel sections if (S1) // expected-error {{'S1' does not refer to a value}} in main() [all …]
|
| H A D | sections_misc_messages.c | 7 #pragma omp sections in xxx() 16 #pragma omp sections 19 #pragma omp sections foo 23 #pragma omp sections in test_no_clause() 29 #pragma omp sections in test_no_clause() 32 #pragma omp sections in test_no_clause() 38 #pragma omp sections in test_no_clause() 61 #pragma omp sections in test_branch_protected_scope() 83 #pragma omp sections in test_branch_protected_scope() 107 #pragma omp sections foo bar in test_invalid_clause() [all …]
|
| H A D | parallel_sections_misc_messages.c | 8 #pragma omp parallel sections 11 #pragma omp parallel sections foo 15 #pragma omp parallel sections in test_no_clause() 21 #pragma omp parallel sections in test_no_clause() 24 #pragma omp parallel sections in test_no_clause() 39 #pragma omp parallel sections in test_branch_protected_scope() 74 #pragma omp parallel sections foo bar in test_invalid_clause() 87 #pragma omp parallel sections; in test_non_identifiers() 115 #pragma omp parallel sections private( in test_private() 121 #pragma omp parallel sections private(, in test_private() [all …]
|
| H A D | parallel_sections_reduction_messages.cpp | 33 #pragma omp parallel sections reduction(+:ref) in foobar() 111 #pragma omp parallel sections reduction // expected-error {{expected '(' after 'reduction'}} in tmain() 203 #pragma omp parallel sections reduction(+ : o) // expected-error 2 {{no viable overloaded '='}} in tmain() 231 #pragma omp parallel sections reduction(+ : fl) in tmain() 236 #pragma omp parallel sections reduction(+ : fl) in tmain() 264 #pragma omp parallel sections reduction // expected-error {{expected '(' after 'reduction'}} in main() 304 #pragma omp parallel sections reduction(~ : argc) // expected-error {{expected unqualified-id}} in main() 308 #pragma omp parallel sections reduction(&& : argc) in main() 388 #pragma omp parallel sections reduction(+ : fl) in main() 393 #pragma omp parallel sections reduction(+ : fl) in main() [all …]
|
| H A D | sections_reduction_messages.cpp | 35 #pragma omp sections reduction(+:ref) in foobar() 114 #pragma omp sections reduction // expected-error {{expected '(' after 'reduction'}} in tmain() 174 #pragma omp sections reduction(^ : T) // expected-error {{'T' does not refer to a value}} in tmain() 229 #pragma omp sections reduction(+ : o, z) // expected-error 2 {{no viable overloaded '='}} in tmain() 294 #pragma omp sections reduction // expected-error {{expected '(' after 'reduction'}} in main() 344 #pragma omp sections reduction(~ : argc) // expected-error {{expected unqualified-id}} in main() 349 #pragma omp sections reduction(&& : argc, z) in main() 354 #pragma omp sections reduction(^ : S1) // expected-error {{'S1' does not refer to a value}} in main() 414 #pragma omp sections reduction(+ : o) // expected-error {{no viable overloaded '='}} in main() 445 #pragma omp sections reduction(+ : fl) // expected-error {{reduction variable must be shared}} in main() [all …]
|
| H A D | parallel_sections_lastprivate_messages.cpp | 139 #pragma omp parallel sections lastprivate(i) in foomain() 147 #pragma omp parallel sections lastprivate(j) in foomain() 151 #pragma omp parallel sections lastprivate(i) in foomain() 199 #pragma omp parallel sections lastprivate(argc) in main() 219 #pragma omp parallel sections lastprivate(ba) in main() 232 #pragma omp parallel sections lastprivate(xa) // OK in main() 264 #pragma omp parallel sections lastprivate(i) in main() 269 #pragma omp parallel sections lastprivate(xa) in main() 274 #pragma omp parallel sections lastprivate(xa) in main() 278 #pragma omp parallel sections lastprivate(j) in main() [all …]
|
| H A D | parallel_sections_firstprivate_messages.cpp | 137 #pragma omp parallel sections firstprivate(i) in foomain() 145 #pragma omp parallel sections firstprivate(j) in foomain() 149 #pragma omp parallel sections firstprivate(i) in foomain() 158 #pragma omp parallel sections firstprivate(i) in foomain() 163 #pragma omp parallel sections firstprivate(i) in foomain() 211 #pragma omp parallel sections firstprivate(argc, z) in main() 264 #pragma omp parallel sections firstprivate(m) // OK in main() 281 #pragma omp parallel sections firstprivate(j) in main() 297 #pragma omp parallel sections firstprivate(i) in main() 304 #pragma omp parallel sections firstprivate(i) in main() [all …]
|
| H A D | sections_private_messages.cpp | 36 #pragma omp sections private(a) private(this->a) in S4() 66 #pragma omp sections private(a) private(this->a) in S6() 154 #pragma omp sections private(e, g) in foomain() 170 #pragma omp sections private(i) in foomain() 178 #pragma omp sections private(j) in foomain() 182 #pragma omp sections private(i) in foomain() 228 #pragma omp sections private(argc) in main() 259 #pragma omp sections private(i) in main() 266 #pragma omp sections private(j) in main() 270 #pragma omp sections private(i) in main() [all …]
|
| H A D | sections_firstprivate_messages.cpp | 149 #pragma omp sections firstprivate(j) in foomain() 154 #pragma omp sections firstprivate(i) in foomain() 224 #pragma omp sections firstprivate(argc, z) in main() 249 #pragma omp sections firstprivate(ba) // OK in main() 254 #pragma omp sections firstprivate(ca) // OK in main() 259 #pragma omp sections firstprivate(da) // OK in main() 265 #pragma omp sections firstprivate(xa) // OK in main() 270 #pragma omp sections firstprivate(S2::S2s) // OK in main() 290 #pragma omp sections firstprivate(m) // OK in main() 310 #pragma omp sections firstprivate(j) in main() [all …]
|
| H A D | sections_lastprivate_messages.cpp | 87 #pragma omp sections lastprivate() // expected-error {{expected expression}} in foomain() 107 #pragma omp sections lastprivate(argc) in foomain() 163 #pragma omp sections lastprivate(j) in foomain() 168 #pragma omp sections lastprivate(i) in foomain() 203 #pragma omp sections lastprivate() // expected-error {{expected expression}} in main() 248 #pragma omp sections lastprivate(ba, k) in main() 264 #pragma omp sections lastprivate(xa) // OK in main() 304 #pragma omp sections lastprivate(i) in main() 319 #pragma omp sections lastprivate(j) in main() 329 #pragma omp sections lastprivate(n) firstprivate(n) // OK in main() [all …]
|
| H A D | parallel_sections_private_messages.cpp | 36 #pragma omp parallel sections private(a) private(this->a) in S4() 66 #pragma omp parallel sections private(a) private(this->a) in S6() 154 #pragma omp parallel sections private(e, g, z) in foomain() 170 #pragma omp parallel sections private(i) in foomain() 178 #pragma omp parallel sections private(j) in foomain() 182 #pragma omp parallel sections private(i) in foomain() 228 #pragma omp parallel sections private(argc, z) in main() 259 #pragma omp parallel sections private(i) in main() 266 #pragma omp parallel sections private(j) in main() 270 #pragma omp parallel sections private(i) in main() [all …]
|
| H A D | parallel_sections_num_threads_messages.cpp | 17 #pragma omp parallel sections num_threads // expected-error {{expected '(' after 'num_threads'}} in tmain() 21 #pragma omp parallel sections num_threads () // expected-error {{expected expression}} in tmain() 23 …#pragma omp parallel sections num_threads (argc // expected-error {{expected ')'}} expected-note {… in tmain() 25 …#pragma omp parallel sections num_threads (argc)) // expected-warning {{extra tokens at the end of… in tmain() 31 #pragma omp parallel sections num_threads (S) // expected-error {{'S' does not refer to a value}} in tmain() 35 #pragma omp parallel sections num_threads (argc + z) in tmain() 45 #pragma omp parallel sections num_threads // expected-error {{expected '(' after 'num_threads'}} in main() 49 #pragma omp parallel sections num_threads () // expected-error {{expected expression}} in main() 51 …#pragma omp parallel sections num_threads (argc // expected-error {{expected ')'}} expected-note {… in main() 55 …#pragma omp parallel sections num_threads (argc > 0 ? argv[1] : argv[2]) // expected-error {{integ… in main() [all …]
|
| H A D | parallel_sections_shared_messages.cpp | 80 #pragma omp parallel sections shared(argc) in main() 88 #pragma omp parallel sections shared(ba) in main() 90 #pragma omp parallel sections shared(ca) in main() 92 #pragma omp parallel sections shared(da) in main() 94 #pragma omp parallel sections shared(e, g) in main() 102 #pragma omp parallel sections private(i) in main() 104 #pragma omp parallel sections shared(i) in main() 106 #pragma omp parallel sections shared(j) in main() 110 #pragma omp parallel sections firstprivate(i) in main() 112 #pragma omp parallel sections shared(i) in main() [all …]
|
| H A D | parallel_sections_messages.cpp | 7 #pragma omp parallel sections in xxx() 16 #pragma omp parallel sections // expected-error {{unexpected OpenMP directive '#pragma omp parallel… 19 #pragma omp parallel sections {// expected-warning {{extra tokens at the end of '#pragma omp parall… in main() 44 #pragma omp parallel sections unknown() in main() 51 #pragma omp parallel sections in main() 55 #pragma omp parallel sections in main() 63 #pragma omp parallel sections in main() 73 #pragma omp parallel sections default(none) // expected-note {{explicit data sharing attribute requ… in main() 79 #pragma omp parallel sections in main() 84 #pragma omp parallel sections in main() [all …]
|
| H A D | cancellation_point_codegen.cpp | 20 #pragma omp sections in main() 23 #pragma omp cancellation point sections in main() 24 #pragma omp cancel sections in main() 27 #pragma omp sections in main() 29 #pragma omp cancellation point sections in main() 32 #pragma omp cancellation point sections in main() 33 #pragma omp cancel sections in main() 50 #pragma omp parallel sections in main() 54 #pragma omp cancel sections in main() 57 #pragma omp parallel sections in main() [all …]
|
| H A D | parallel_sections_default_messages.cpp | 16 #pragma omp parallel sections default // expected-error {{expected '(' after 'default'}} in main() 18 #pragma omp parallel sections default( // expected-error {{expected 'none', 'shared', 'private' or … in main() 20 #pragma omp parallel sections default() // expected-error {{expected 'none', 'shared', 'private' or… in main() 22 #pragma omp parallel sections default(none // expected-error {{expected ')'}} expected-note {{to ma… in main() 24 #pragma omp parallel sections default(shared), default(shared) // expected-error {{directive '#prag… in main() 26 #pragma omp parallel sections default(x) // expected-error {{expected 'none', 'shared', 'private' o… in main() 35 #pragma omp parallel sections default(none) // expected-note {{explicit data sharing attribute requ… in main() 40 #pragma omp parallel sections default(none) // expected-note {{explicit data sharing attribute requ… in main() 42 #pragma omp parallel sections default(shared) in main() 49 #pragma omp parallel sections default(none) // expected-note {{explicit data sharing attribute requ… in main() [all …]
|
| H A D | cancel_codegen.cpp | 39 #pragma omp sections in main() 41 #pragma omp cancel sections in main() 43 #pragma omp sections in main() 45 #pragma omp cancel sections in main() 48 #pragma omp cancel sections in main() 59 #pragma omp parallel sections in main() 61 #pragma omp cancel sections in main() 63 #pragma omp parallel sections in main() 65 #pragma omp cancel sections in main() 68 #pragma omp cancel sections in main()
|
| H A D | parallel_sections_copyin_messages.cpp | 65 #pragma omp parallel sections copyin // expected-error {{expected '(' after 'copyin'}} in main() 69 #pragma omp parallel sections copyin( // expected-error {{expected expression}} expected-error {{ex… in main() 73 #pragma omp parallel sections copyin() // expected-error {{expected expression}} in main() 77 #pragma omp parallel sections copyin(k // expected-error {{expected ')'}} expected-note {{to match … in main() 85 #pragma omp parallel sections copyin(argc > 0 ? argv[1] : argv[2]) // expected-error {{expected var… in main() 89 #pragma omp parallel sections copyin(l) // expected-error {{'operator=' is a private member of 'S4'… in main() 93 #pragma omp parallel sections copyin(S1) // expected-error {{'S1' does not refer to a value}} in main() 97 #pragma omp parallel sections copyin(argv[1]) // expected-error {{expected variable name}} in main() 101 #pragma omp parallel sections copyin(i) // expected-error {{copyin variable must be threadprivate}} in main() 105 #pragma omp parallel sections copyin(m) // expected-error {{'operator=' is a private member of 'S5'… in main() [all …]
|
| H A D | parallel_sections_proc_bind_messages.cpp | 8 #pragma omp parallel sections proc_bind // expected-error {{expected '(' after 'proc_bind'}} in main() 10 #pragma omp parallel sections proc_bind( // expected-error {{expected 'master', 'close' or 'spread'… in main() 12 #pragma omp parallel sections proc_bind() // expected-error {{expected 'master', 'close' or 'spread… in main() 14 #pragma omp parallel sections proc_bind(master // expected-error {{expected ')'}} expected-note {{t… in main() 16 #pragma omp parallel sections proc_bind(close), proc_bind(spread) // expected-error {{directive '#p… in main() 18 #pragma omp parallel sections proc_bind(x) // expected-error {{expected 'master', 'close' or 'sprea… in main() 21 #pragma omp parallel sections proc_bind(master) in main() 24 #pragma omp parallel sections proc_bind(close) in main() 26 #pragma omp parallel sections proc_bind(spread) in main()
|
| /llvm-project-15.0.7/openmp/runtime/tools/ |
| H A D | message-converter.pl | 29 my $sections = 39 map( $sections->{ $sections[ $_ ] }->{ long } = $sections[ $_ ], ( 0 .. @sections - 1 ) ); 40 map( $sections->{ $sections[ $_ ] }->{ set } = ( $_ + 1 ), ( 0 .. @sections - 1 ) ); 41 map( $sections->{ $sections[ $_ ] }->{ base } = ( ( $_ + 1 ) << 16 ), ( 0 .. @sections - 1 ) ); 225 foreach my $section ( @sections ) { 258 foreach my $section ( @sections ) { 294 foreach my $section ( @sections ) { 321 foreach my $section ( @sections ) { 348 foreach my $section ( @sections ) { 387 foreach my $section ( @sections ) { [all …]
|
| /llvm-project-15.0.7/lld/test/ELF/ |
| H A D | shuffle-sections.s | 9 ## --shuffle-sections= shuffles input sections. 10 # RUN: ld.lld --shuffle-sections='*=1' %t.o -o %t1.out 15 ## Test that --shuffle-sections= can be used with --symbol-ordering-file 29 ## As a special case, -1 reverses sections as a stable transform. 30 # RUN: ld.lld --shuffle-sections '*=-1' %t.o -o %t-1.out 36 # RUN: ld.lld --shuffle-sections '.text.*=-1' %t.o -o %t4.out 42 # RUN: ld.lld --shuffle-sections '.text.*=-1' --shuffle-sections '.text.*=-1' %t.o -o %t.out 46 # RUN: not ld.lld --shuffle-sections= 2>&1 | FileCheck %s --check-prefix=USAGE -DV= 49 # RUN: not ld.lld --shuffle-sections=a 2>&1 | FileCheck %s --check-prefix=USAGE -DV=a 51 # USAGE: error: --shuffle-sections=: expected <section_glob>=<seed>, but got '[[V]]' [all …]
|
| H A D | default-fill.s | 2 # Verify that the fill between sections has a default of interrupt instructions 3 # (0xcc on x86/x86_64) for executable sections and zero for other sections. 7 # RUN: llvm-objdump -s %t1.elf > %t1.sections 8 # RUN: FileCheck %s --input-file %t1.sections --check-prefix=TEXT 9 # RUN: FileCheck %s --input-file %t1.sections --check-prefix=DATA 13 # RUN: llvm-objdump -s %t2.elf > %t2.sections 14 # RUN: FileCheck %s --input-file %t2.sections --check-prefix=TEXT 15 # RUN: FileCheck %s --input-file %t2.sections --check-prefix=DATA
|
| /llvm-project-15.0.7/llvm/test/CodeGen/Mips/ |
| H A D | xray-section-group.ll | 1 ; RUN: llc -mtriple=mips-unknown-linux-gnu -function-sections < %s | FileCheck %s 2 ; RUN: llc -mtriple=mipsel-unknown-linux-gnu -function-sections < %s | FileCheck %s 3 ; RUN: llc -filetype=obj -o %t -mtriple=mips-unknown-linux-gnu -function-sections < %s 4 ; RUN: llvm-readobj --sections %t | FileCheck %s --check-prefix=CHECK-OBJ 5 ; RUN: llc -filetype=obj -o %t -mtriple=mipsel-unknown-linux-gnu -function-sections < %s 6 ; RUN: llvm-readobj --sections %t | FileCheck %s --check-prefix=CHECK-OBJ 7 ; RUN: llc -mtriple=mips64-unknown-linux-gnu -function-sections < %s | FileCheck %s 8 ; RUN: llc -mtriple=mips64el-unknown-linux-gnu -function-sections < %s | FileCheck %s 9 ; RUN: llc -filetype=obj -o %t -mtriple=mips64-unknown-linux-gnu -function-sections < %s 10 ; RUN: llvm-readobj --sections %t | FileCheck %s --check-prefix=CHECK-OBJ [all …]
|
| /llvm-project-15.0.7/compiler-rt/test/profile/Linux/ |
| H A D | coverage_shared.test | 2 RUN: %clang_profgen -fdata-sections -ffunction-sections -fcoverage-mapping -c -o %t.d/a.shared.o -f… 3 RUN: %clang_profgen -fdata-sections -ffunction-sections -fuse-ld=gold -Wl,--gc-sections -fcoverage-… 4 RUN: %clang_profgen -fdata-sections -ffunction-sections -fuse-ld=gold -Wl,--gc-sections -o %t-share… 6 RUN: %clang_profgen -fdata-sections -ffunction-sections -fuse-ld=gold -Wl,--gc-sections -o %t-stati…
|
| /llvm-project-15.0.7/lld/ELF/ |
| H A D | ICF.cpp | 123 SmallVector<InputSection *, 0> sections; member in __anon659a06d30111::ICF 218 size_t mid = bound - sections.begin(); in segregate() 225 sections[i]->eqClass[next] = eqClassBase + mid; in segregate() 381 if (eqClass != sections[i]->eqClass[current]) in findBoundary() 407 forEachClassRange(0, sections.size(), fn); in forEachClass() 420 size_t step = sections.size() / numShards; in forEachClass() 423 boundaries[numShards] = sections.size(); in forEachClass() 484 sections.push_back(s); in run() 493 parallelForEach(sections, [&](InputSection *s) { in run() 542 sections[begin]->replace(sections[i]); in run() [all …]
|