/llvm-project/flang/test/Driver/ |
H A D | flang-openmp-version-macro.f90 | 1 ! Test predefined _OPENMP macro which denotes OpenMP version 3 ! RUN: %flang_fc1 -fopenmp -cpp -E %s | FileCheck %s --check-prefix=DEFAULT-OPENMP-VERSION 4 ! RUN: %flang_fc1 -fopenmp -fopenmp-version=11 -cpp -E %s | FileCheck %s --check-prefix=OPENMP-VERS… 5 ! RUN: %flang_fc1 -fopenmp -fopenmp-version=11 -cpp -E %s | FileCheck %s --check-prefix=OPENMP-VERS… 6 ! RUN: %flang_fc1 -fopenmp -fopenmp-version=20 -cpp -E %s | FileCheck %s --check-prefix=OPENMP-VERS… 7 ! RUN: %flang_fc1 -fopenmp -fopenmp-version=25 -cpp -E %s | FileCheck %s --check-prefix=OPENMP-VERS… 8 ! RUN: %flang_fc1 -fopenmp -fopenmp-version=30 -cpp -E %s | FileCheck %s --check-prefix=OPENMP-VERS… 9 ! RUN: %flang_fc1 -fopenmp -fopenmp-version=31 -cpp -E %s | FileCheck %s --check-prefix=OPENMP-VERS… 10 ! RUN: %flang_fc1 -fopenmp -fopenmp-version=40 -cpp -E %s | FileCheck %s --check-prefix=OPENMP-VERS… 11 ! RUN: %flang_fc1 -fopenmp -fopenmp-version=45 -cpp -E %s | FileCheck %s --check-prefix=OPENMP-VERS… [all …]
|
H A D | bbc-openmp-version-macro.f90 | 1 ! Test predefined _OPENMP macro which denotes OpenMP version 3 ! RUN: bbc -fopenmp -o - %s | FileCheck %s --check-prefix=DEFAULT-OPENMP-VERSION 4 ! RUN: bbc -fopenmp -fopenmp-version=11 -o - %s | FileCheck %s --check-prefix=OPENMP-VERSION-11 5 ! RUN: bbc -fopenmp -fopenmp-version=11 -o - %s | FileCheck %s --check-prefix=OPENMP-VERSION-11 6 ! RUN: bbc -fopenmp -fopenmp-version=20 -o - %s | FileCheck %s --check-prefix=OPENMP-VERSION-20 7 ! RUN: bbc -fopenmp -fopenmp-version=25 -o - %s | FileCheck %s --check-prefix=OPENMP-VERSION-25 8 ! RUN: bbc -fopenmp -fopenmp-version=30 -o - %s | FileCheck %s --check-prefix=OPENMP-VERSION-30 9 ! RUN: bbc -fopenmp -fopenmp-version=31 -o - %s | FileCheck %s --check-prefix=OPENMP-VERSION-31 10 ! RUN: bbc -fopenmp -fopenmp-version=40 -o - %s | FileCheck %s --check-prefix=OPENMP-VERSION-40 11 ! RUN: bbc -fopenmp -fopenmp-version=45 -o - %s | FileCheck %s --check-prefix=OPENMP-VERSION-45 [all …]
|
/llvm-project/clang/test/OpenMP/ |
H A D | target_teams_defaultmap_messages.cpp | 20 #pragma omp target teams defaultmap( // omp5x-error {{'alloc', 'from', 'to', 'tofrom', 'firstprivate', 'none', 'default', 'present' in OpenMP clause 'defaultmap'}} omp5-error {{expected 'alloc', 'from', 'to', 'tofrom', 'firstprivate', 'none', 'default' in OpenMP clause 'defaultmap'}} expected-error {{expected ')'}} expected-note {{to match this '('}} omp45-error {{expected 'tofrom' in OpenMP clause 'defaultmap'}} in tmain() 22 #pragma omp target teams defaultmap() // omp5x-error {{'alloc', 'from', 'to', 'tofrom', 'firstprivate', 'none', 'default', 'present' in OpenMP clause 'defaultmap'}} omp5-error {{expected 'alloc', 'from', 'to', 'tofrom', 'firstprivate', 'none', 'default' in OpenMP clause 'defaultmap'}} omp45-error {{expected 'tofrom' in OpenMP clause 'defaultmap'}} in tmain() 24 #pragma omp target teams defaultmap(tofrom // expected-error {{expected ')'}} expected-note {{to match this '('}} omp45-warning {{missing ':' after defaultmap modifier - ignoring}} omp45-error {{expected 'scalar' in OpenMP clause 'defaultmap'}} in tmain() 26 #pragma omp target teams defaultmap (tofrom: // expected-error {{expected ')'}} expected-note {{to match this '('}} omp52-error {{expected 'scalar', 'aggregate', 'pointer', 'all' in OpenMP clause 'defaultmap'}} omp51-error {{expected 'scalar', 'aggregate', 'pointer' in OpenMP clause 'defaultmap'}} omp5-error {{expected 'scalar', 'aggregate', 'pointer' in OpenMP claus in tmain() [all...] |
H A D | target_simd_defaultmap_messages.cpp | 21 #pragma omp target simd defaultmap( // omp5x-error {{expected 'alloc', 'from', 'to', 'tofrom', 'firstprivate', 'none', 'default', 'present' in OpenMP clause 'defaultmap'}} omp5-error {{expected 'alloc', 'from', 'to', 'tofrom', 'firstprivate', 'none', 'default' in OpenMP clause 'defaultmap'}} expected-error {{expected ')'}} expected-note {{to match this '('}} omp45-error {{expected 'tofrom' in OpenMP clause 'defaultmap'}} in tmain() 23 #pragma omp target simd defaultmap() // omp5x-error {{expected 'alloc', 'from', 'to', 'tofrom', 'firstprivate', 'none', 'default', 'present' in OpenMP clause 'defaultmap'}} omp5-error {{expected 'alloc', 'from', 'to', 'tofrom', 'firstprivate', 'none', 'default' in OpenMP clause 'defaultmap'}} omp45-error {{expected 'tofrom' in OpenMP clause 'defaultmap'}} in tmain() 25 #pragma omp target simd defaultmap(tofrom // expected-error {{expected ')'}} expected-note {{to match this '('}} omp45-warning {{missing ':' after defaultmap modifier - ignoring}} omp45-error {{expected 'scalar' in OpenMP clause 'defaultmap'}} in tmain() 27 #pragma omp target simd defaultmap(tofrom: // expected-error {{expected ')'}} expected-note {{to match this '('}} omp45-error {{expected 'scalar' in OpenMP clause 'defaultmap'}} omp5-error {{expected 'scalar', 'aggregate', 'pointer' in OpenMP clause 'defaultmap'}} omp51-error {{expected 'scalar', 'aggregate', 'pointer' in OpenMP claus in tmain() [all...] |
H A D | target_parallel_for_defaultmap_messages.cpp | 21 #pragma omp target parallel for defaultmap( // omp5x-error {{'alloc', 'from', 'to', 'tofrom', 'firstprivate', 'none', 'default', 'present' in OpenMP clause 'defaultmap'}} omp5-error {{expected 'alloc', 'from', 'to', 'tofrom', 'firstprivate', 'none', 'default' in OpenMP clause 'defaultmap'}} expected-error {{expected ')'}} expected-note {{to match this '('}} omp45-error {{expected 'tofrom' in OpenMP clause 'defaultmap'}} in tmain() 23 #pragma omp target parallel for defaultmap() // omp5x-error {{'alloc', 'from', 'to', 'tofrom', 'firstprivate', 'none', 'default', 'present' in OpenMP clause 'defaultmap'}} omp5-error {{expected 'alloc', 'from', 'to', 'tofrom', 'firstprivate', 'none', 'default' in OpenMP clause 'defaultmap'}} omp45-error {{expected 'tofrom' in OpenMP clause 'defaultmap'}} in tmain() 25 #pragma omp target parallel for defaultmap(tofrom // expected-error {{expected ')'}} expected-note {{to match this '('}} omp45-warning {{missing ':' after defaultmap modifier - ignoring}} omp45-error {{expected 'scalar' in OpenMP clause 'defaultmap'}} in tmain() 27 #pragma omp target parallel for defaultmap (tofrom: // expected-error {{expected ')'}} expected-note {{to match this '('}} omp52-error {{expected 'scalar', 'aggregate', 'pointer', 'all' in OpenMP clause 'defaultmap'}} omp51-error {{expected 'scalar', 'aggregate', 'pointer' in OpenMP clause 'defaultmap'}} omp5-error {{expected 'scalar', 'aggregate', 'pointer' in OpenMP claus in tmain() [all...] |
H A D | target_teams_distribute_defaultmap_messages.cpp | 21 #pragma omp target teams distribute defaultmap( // omp5x-error {{expected 'alloc', 'from', 'to', 'tofrom', 'firstprivate', 'none', 'default', 'present' in OpenMP clause 'defaultmap'}} omp5-error {{expected 'alloc', 'from', 'to', 'tofrom', 'firstprivate', 'none', 'default' in OpenMP clause 'defaultmap'}} expected-error {{expected ')'}} expected-note {{to match this '('}} omp45-error {{expected 'tofrom' in OpenMP clause 'defaultmap'}} in tmain() 23 #pragma omp target teams distribute defaultmap() // omp5x-error {{expected 'alloc', 'from', 'to', 'tofrom', 'firstprivate', 'none', 'default', 'present' in OpenMP clause 'defaultmap'}} omp5-error {{expected 'alloc', 'from', 'to', 'tofrom', 'firstprivate', 'none', 'default' in OpenMP clause 'defaultmap'}} omp45-error {{expected 'tofrom' in OpenMP clause 'defaultmap'}} in tmain() 25 #pragma omp target teams distribute defaultmap(tofrom // expected-error {{expected ')'}} expected-note {{to match this '('}} omp45-warning {{missing ':' after defaultmap modifier - ignoring}} omp45-error {{expected 'scalar' in OpenMP clause 'defaultmap'}} in tmain() 27 #pragma omp target teams distribute defaultmap (tofrom: // expected-error {{expected ')'}} expected-note {{to match this '('}} omp52-error {{expected 'scalar', 'aggregate', 'pointer', 'all' in OpenMP clause 'defaultmap'}} omp51-error {{expected 'scalar', 'aggregate', 'pointer' in OpenMP clause 'defaultmap'}} omp5-error {{expected 'scalar', 'aggregate', 'pointer' in OpenMP claus in tmain() [all...] |
H A D | target_parallel_for_simd_defaultmap_messages.cpp | 21 #pragma omp target parallel for simd defaultmap( // omp5x-error {{'alloc', 'from', 'to', 'tofrom', 'firstprivate', 'none', 'default', 'present' in OpenMP clause 'defaultmap'}} omp5-error {{expected 'alloc', 'from', 'to', 'tofrom', 'firstprivate', 'none', 'default' in OpenMP clause 'defaultmap'}} expected-error {{expected ')'}} expected-note {{to match this '('}} omp45-error {{expected 'tofrom' in OpenMP clause 'defaultmap'}} in tmain() 23 #pragma omp target parallel for simd defaultmap() // omp5x-error {{'alloc', 'from', 'to', 'tofrom', 'firstprivate', 'none', 'default', 'present' in OpenMP clause 'defaultmap'}} omp5-error {{expected 'alloc', 'from', 'to', 'tofrom', 'firstprivate', 'none', 'default' in OpenMP clause 'defaultmap'}} omp45-error {{expected 'tofrom' in OpenMP clause 'defaultmap'}} in tmain() 25 #pragma omp target parallel for simd defaultmap(tofrom // expected-error {{expected ')'}} expected-note {{to match this '('}} omp45-warning {{missing ':' after defaultmap modifier - ignoring}} omp45-error {{expected 'scalar' in OpenMP clause 'defaultmap'}} in tmain() 27 #pragma omp target parallel for simd defaultmap (tofrom: // expected-error {{expected ')'}} expected-note {{to match this '('}} omp52-error {{expected 'scalar', 'aggregate', 'pointer', 'all' in OpenMP clause 'defaultmap'}} omp51-error {{expected 'scalar', 'aggregate', 'pointer' in OpenMP clause 'defaultmap'}} omp5-error {{expected 'scalar', 'aggregate', 'pointer' in OpenMP claus in tmain() [all...] |
H A D | target_teams_distribute_parallel_for_simd_defaultmap_messages.cpp | 21 #pragma omp target teams distribute parallel for simd defaultmap( // omp5x-error {{'alloc', 'from', 'to', 'tofrom', 'firstprivate', 'none', 'default', 'present' in OpenMP clause 'defaultmap'}} omp5-error {{expected 'alloc', 'from', 'to', 'tofrom', 'firstprivate', 'none', 'default' in OpenMP clause 'defaultmap'}} expected-error {{expected ')'}} expected-note {{to match this '('}} omp45-error {{expected 'tofrom' in OpenMP clause 'defaultmap'}} in tmain() 23 #pragma omp target teams distribute parallel for simd defaultmap() // omp5x-error {{'alloc', 'from', 'to', 'tofrom', 'firstprivate', 'none', 'default', 'present' in OpenMP clause 'defaultmap'}} omp5-error {{expected 'alloc', 'from', 'to', 'tofrom', 'firstprivate', 'none', 'default' in OpenMP clause 'defaultmap'}} omp45-error {{expected 'tofrom' in OpenMP clause 'defaultmap'}} in tmain() 25 #pragma omp target teams distribute parallel for simd defaultmap(tofrom // expected-error {{expected ')'}} expected-note {{to match this '('}} omp45-warning {{missing ':' after defaultmap modifier - ignoring}} omp45-error {{expected 'scalar' in OpenMP clause 'defaultmap'}} in tmain() 27 #pragma omp target teams distribute parallel for simd defaultmap (tofrom: // expected-error {{expected ')'}} expected-note {{to match this '('}} omp52-error {{expected 'scalar', 'aggregate', 'pointer', 'all' in OpenMP clause 'defaultmap'}} omp51-error {{expected 'scalar', 'aggregate', 'pointer' in OpenMP clause 'defaultmap'}} omp5-error {{expected 'scalar', 'aggregate', 'pointer' in OpenMP claus in tmain() [all...] |
H A D | target_teams_distribute_simd_defaultmap_messages.cpp | 18 …OpenMP clause 'defaultmap'}} omp5-error {{expected 'alloc', 'from', 'to', 'tofrom', 'firstprivate'… in tmain() 20 …OpenMP clause 'defaultmap'}} omp5-error {{expected 'alloc', 'from', 'to', 'tofrom', 'firstprivate'… in tmain() 22 …fter defaultmap modifier - ignoring}} omp45-error {{expected 'scalar' in OpenMP clause 'defaultmap… in tmain() 24 …OpenMP clause 'defaultmap'}} omp5-error {{expected 'scalar', 'aggregate', 'pointer' in OpenMP clau… in tmain() 26 …fter defaultmap modifier - ignoring}} omp45-error {{expected 'scalar' in OpenMP clause 'defaultmap… in tmain() 30 …} expected-note {{to match this '('}} omp45-error {{expected 'scalar' in OpenMP clause 'defaultmap… in tmain() 32 …OpenMP clause 'defaultmap'}} omp5-error {{expected 'alloc', 'from', 'to', 'tofrom', 'firstprivate'… in tmain() 34 …} expected-note {{to match this '('}} omp45-error {{expected 'scalar' in OpenMP clause 'defaultmap… in tmain() 44 …OpenMP clause 'defaultmap'}} omp5-error {{expected 'alloc', 'from', 'to', 'tofrom', 'firstprivate'… in main() 46 …OpenMP clause 'defaultmap'}} omp5-error {{expected 'alloc', 'from', 'to', 'tofrom', 'firstprivate'… in main() [all …]
|
H A D | target_teams_distribute_parallel_for_defaultmap_messages.cpp | 21 #pragma omp target teams distribute parallel for defaultmap( // omp5x-error {{expected 'alloc', 'from', 'to', 'tofrom', 'firstprivate', 'none', 'default', 'present' in OpenMP clause 'defaultmap'}} omp5-error {{expected 'alloc', 'from', 'to', 'tofrom', 'firstprivate', 'none', 'default' in OpenMP clause 'defaultmap'}} expected-error {{expected ')'}} expected-note {{to match this '('}} omp45-error {{expected 'tofrom' in OpenMP clause 'defaultmap'}} in tmain() 23 #pragma omp target teams distribute parallel for defaultmap() // omp5x-error {{expected 'alloc', 'from', 'to', 'tofrom', 'firstprivate', 'none', 'default', 'present' in OpenMP clause 'defaultmap'}} omp5-error {{expected 'alloc', 'from', 'to', 'tofrom', 'firstprivate', 'none', 'default' in OpenMP clause 'defaultmap'}} omp45-error {{expected 'tofrom' in OpenMP clause 'defaultmap'}} in tmain() 25 #pragma omp target teams distribute parallel for defaultmap(tofrom // expected-error {{expected ')'}} expected-note {{to match this '('}} omp45-warning {{missing ':' after defaultmap modifier - ignoring}} omp45-error {{expected 'scalar' in OpenMP clause 'defaultmap'}} in tmain() 27 #pragma omp target teams distribute parallel for defaultmap (tofrom: // expected-error {{expected ')'}} expected-note {{to match this '('}} omp52-error {{expected 'scalar', 'aggregate', 'pointer', 'all' in OpenMP clause 'defaultmap'}} omp51-error {{expected 'scalar', 'aggregate', 'pointer' in OpenMP clause 'defaultmap'}} omp5-error {{expected 'scalar', 'aggregate', 'pointer' in OpenMP claus in tmain() [all...] |
H A D | openmp_attribute_parsing.cpp | 3 // This file tests the custom parsing logic for the OpenMP 5.1 attribute 4 // syntax. It does not test actual OpenMP directive syntax, just the attribute 17 [[omp::directive()]]; // expected-error {{expected an OpenMP directive}} 18 [[omp::sequence()]]; // expected-error {{expected an OpenMP 'directive' or 'sequence' attribute arg… 30 …, sequence())]]; // expected-error {{expected an OpenMP directive}} expected-error {{expected an O… 31 …, sequence())]]; // expected-error {{expected an OpenMP directive}} expected-error {{expected an O… 32 …::sequence())]]; // expected-error {{expected an OpenMP directive}} expected-error {{expected an O… 33 …::sequence())]]; // expected-error {{expected an OpenMP directive}} expected-error {{expected an O… 39 )]]; // expected-error {{expected ')'}} expected-error {{expected an OpenMP directive}} 42 )]]; // expected-error {{expected ')'}} expected-error {{expected an OpenMP 'directive' or 'sequenc… [all …]
|
H A D | target_parallel_for_simd_loop_messages.cpp | 1 … -std=c++11 -fexceptions -fcxx-exceptions -verify=expected,omp45 %s -Wno-openmp-mapping -Wuninitia… 2 … -std=c++11 -fexceptions -fcxx-exceptions -verify=expected,omp50 %s -Wno-openmp-mapping -Wuninitia… 3 … -std=c++11 -fexceptions -fcxx-exceptions -verify=expected,omp51 %s -Wno-openmp-mapping -Wuninitia… 5 … -std=c++11 -fexceptions -fcxx-exceptions -verify=expected,omp45 %s -Wno-openmp-mapping -Wuninitia… 6 … -std=c++11 -fexceptions -fcxx-exceptions -verify=expected,omp50 %s -Wno-openmp-mapping -Wuninitia… 7 … -std=c++11 -fexceptions -fcxx-exceptions -verify=expected,omp51 %s -Wno-openmp-mapping -Wuninitia… 64 // expected-error@+2 {{initialization clause of OpenMP for loop is not in canonical form ('var = in… in test_iteration_spaces() 68 // expected-error@+2 {{initialization clause of OpenMP for loop is not in canonical form ('var = in… in test_iteration_spaces() 73 // expected-error@+2 {{initialization clause of OpenMP for loop is not in canonical form ('var = in… in test_iteration_spaces() 78 // expected-error@+2 {{initialization clause of OpenMP for loop is not in canonical form ('var = in… in test_iteration_spaces() [all …]
|
H A D | target_simd_loop_messages.cpp | 1 … -std=c++11 -fexceptions -fcxx-exceptions -verify=expected,omp45 %s -Wno-openmp-mapping -Wuninitia… 2 …=c++11 -fexceptions -fcxx-exceptions -verify=expected,omp5,omp50 %s -Wno-openmp-mapping -Wuninitia… 3 …=c++11 -fexceptions -fcxx-exceptions -verify=expected,omp5,omp51 %s -Wno-openmp-mapping -Wuninitia… 5 … -std=c++11 -fexceptions -fcxx-exceptions -verify=expected,omp45 %s -Wno-openmp-mapping -Wuninitia… 6 …=c++11 -fexceptions -fcxx-exceptions -verify=expected,omp5,omp50 %s -Wno-openmp-mapping -Wuninitia… 7 …=c++11 -fexceptions -fcxx-exceptions -verify=expected,omp5,omp51 %s -Wno-openmp-mapping -Wuninitia… 64 // expected-error@+2 {{initialization clause of OpenMP for loop is not in canonical form ('var = in… in test_iteration_spaces() 68 // expected-error@+2 {{initialization clause of OpenMP for loop is not in canonical form ('var = in… in test_iteration_spaces() 73 // expected-error@+2 {{initialization clause of OpenMP for loop is not in canonical form ('var = in… in test_iteration_spaces() 78 // expected-error@+2 {{initialization clause of OpenMP for loop is not in canonical form ('var = in… in test_iteration_spaces() [all …]
|
H A D | target_teams_distribute_parallel_for_simd_loop_messages.cpp | 1 … -std=c++11 -fexceptions -fcxx-exceptions -verify=expected,omp45 %s -Wno-openmp-mapping -Wuninitia… 2 …=c++11 -fexceptions -fcxx-exceptions -verify=expected,omp5,omp50 %s -Wno-openmp-mapping -Wuninitia… 3 …=c++11 -fexceptions -fcxx-exceptions -verify=expected,omp5,omp51 %s -Wno-openmp-mapping -Wuninitia… 5 … -std=c++11 -fexceptions -fcxx-exceptions -verify=expected,omp45 %s -Wno-openmp-mapping -Wuninitia… 6 …=c++11 -fexceptions -fcxx-exceptions -verify=expected,omp5,omp50 %s -Wno-openmp-mapping -Wuninitia… 7 …=c++11 -fexceptions -fcxx-exceptions -verify=expected,omp5,omp51 %s -Wno-openmp-mapping -Wuninitia… 65 // expected-error@+1 {{initialization clause of OpenMP for loop is not in canonical form ('var = in… in test_iteration_spaces() 69 // expected-error@+1 {{initialization clause of OpenMP for loop is not in canonical form ('var = in… in test_iteration_spaces() 74 // expected-error@+1 {{initialization clause of OpenMP for loop is not in canonical form ('var = in… in test_iteration_spaces() 79 // expected-error@+1 {{initialization clause of OpenMP for loop is not in canonical form ('var = in… in test_iteration_spaces() [all …]
|
H A D | teams_distribute_simd_messages.cpp | 23 #pragma omp teams distribute simd // expected-error {{unexpected OpenMP directive '#pragma omp team… 83 break; // expected-error {{'break' statement cannot be used in OpenMP for loop}} in main() 104 return 1; // expected-error {{cannot return from OpenMP region}} in main() 114 #pragma omp teams distribute simd copyin(pvt) // expected-error {{unexpected OpenMP clause 'copyin'… in main() 122 #pragma omp teams distribute simd ordered // expected-error {{unexpected OpenMP clause 'ordered' in… in test_ordered() 130 // omp45-error@+1 {{unexpected OpenMP clause 'nontemporal' in directive '#pragma omp teams distribu… in test_nontemporal() 135 // omp45-error@+1 {{unexpected OpenMP clause 'nontemporal' in directive '#pragma omp teams distribu… in test_nontemporal() 140 // omp45-error@+1 {{unexpected OpenMP clause 'nontemporal' in directive '#pragma omp teams distribu… in test_nontemporal() 145 // omp45-error@+1 {{unexpected OpenMP clause 'nontemporal' in directive '#pragma omp teams distribu… in test_nontemporal() 150 // omp45-error@+1 {{unexpected OpenMP clause 'nontemporal' in directive '#pragma omp teams distribu… in test_nontemporal() [all …]
|
/llvm-project/clang/test/Driver/ |
H A D | openmp-offload.c | 2 /// Perform several driver tests for OpenMP offloading 7 /// Check whether an invalid OpenMP target is specified: 10 // CHK-INVALID-TARGET: error: OpenMP target is invalid: 'aaa-bbb-ccc-ddd' 33 // CHK-DUPLICATES: warning: OpenMP offloading target 'powerpc64le-ibm-linux-gnu' is similar to target 'powerpc64le-ibm-linux-gnu' already specified; will be ignored 105 // CHK-PHASES: 0: input, "[[INPUT:.+]]", c, (host-openmp) 106 // CHK-PHASES-NEXT: 1: preprocessor, {0}, cpp-output, (host-openmp) 107 // CHK-PHASES-NEXT: 2: compiler, {1}, ir, (host-openmp) 108 // CHK-PHASES-NEXT: 3: input, "[[INPUT]]", c, (device-openmp) 109 // CHK-PHASES-NEXT: 4: preprocessor, {3}, cpp-output, (device-openmp) 110 // CHK-PHASES-NEXT: 5: compiler, {4}, ir, (device-openmp) [all...] |
H A D | clang-offload-bundler.c | 52 // CK-HELP: {{.*}}-hip-openmp-compatible {{.*}}- Treat hip and hipv4 offload kinds as compatible wi… 75 …ffload-bundler -type=i -targets=host-%itanium_abi_triple,openmp-powerpc64le-ibm-linux-gnu,openmp-x… 78 …ffload-bundler -type=i -targets=host-%itanium_abi_triple,openmp-powerpc64le-ibm-linux-gnu,openmp-x… 81 // RUN: not clang-offload-bundler -type=i -targets=host-%itanium_abi_triple,openmp-powerpc64le-ibm-… 82 …ffload-bundler -type=i -targets=host-%itanium_abi_triple,openmp-powerpc64le-ibm-linux-gnu,openmp-x… 85 …ffload-bundler -type=i -targets=host-%itanium_abi_triple,openmp-powerpc64le-ibm-linux-gnu,openmp-x… 88 // RUN: not clang-offload-bundler -type=i -targets=host-%itanium_abi_triple,openmp-powerpc64le-ibm-… 89 …ffload-bundler -type=i -targets=host-%itanium_abi_triple,openmp-powerpc64le-ibm-linux-gnu,openmp-x… 92 …ffload-bundler -type=i -targets=host-%itanium_abi_triple,openmp-powerpc64le-ibm-linux-gnu,openmp-x… 94 …ffload-bundler -type=i -targets=host-%itanium_abi_triple,openmp-powerpc64le-ibm-linux-gnu,openmp-x… [all …]
|
H A D | fopenmp.c | 1 …get=x86_64-linux-gnu -fopenmp=libomp -c %s -### 2>&1 | FileCheck %s --check-prefix=CHECK-CC1-OPENMP 2 …x86_64-linux-gnu -fopenmp=libgomp -c %s -### 2>&1 | FileCheck %s --check-prefix=CHECK-CC1-NO-OPENMP 3 …t=x86_64-linux-gnu -fopenmp=libiomp5 -c %s -### 2>&1 | FileCheck %s --check-prefix=CHECK-CC1-OPENMP 4 … x86_64-apple-darwin -fopenmp=libomp -c %s -### 2>&1 | FileCheck %s --check-prefix=CHECK-CC1-OPENMP 5 …_64-apple-darwin -fopenmp=libgomp -c %s -### 2>&1 | FileCheck %s --check-prefix=CHECK-CC1-NO-OPENMP 6 …86_64-apple-darwin -fopenmp=libiomp5 -c %s -### 2>&1 | FileCheck %s --check-prefix=CHECK-CC1-OPENMP 7 …arget=x86_64-freebsd -fopenmp=libomp -c %s -### 2>&1 | FileCheck %s --check-prefix=CHECK-CC1-OPENMP 8 …t=x86_64-freebsd -fopenmp=libgomp -c %s -### 2>&1 | FileCheck %s --check-prefix=CHECK-CC1-NO-OPENMP 9 …get=x86_64-freebsd -fopenmp=libiomp5 -c %s -### 2>&1 | FileCheck %s --check-prefix=CHECK-CC1-OPENMP 10 …target=x86_64-netbsd -fopenmp=libomp -c %s -### 2>&1 | FileCheck %s --check-prefix=CHECK-CC1-OPENMP [all …]
|
/llvm-project/flang/test/Semantics/OpenMP/ |
H A D | atomic01.f90 | 4 ! Semantic checks for OpenMP 5.0 standard 2.17.7 atomic Construct. 11 ! OpenMP constructs may not be encountered during execution of an atomic region 17 !ERROR: More than one memory order clause not allowed on OpenMP ATOMIC construct 21 !ERROR: More than one memory order clause not allowed on OpenMP ATOMIC construct 25 !ERROR: More than one memory order clause not allowed on OpenMP ATOMIC construct 30 !ERROR: More than one memory order clause not allowed on OpenMP ATOMIC construct 34 !ERROR: More than one memory order clause not allowed on OpenMP ATOMIC construct 38 !ERROR: More than one memory order clause not allowed on OpenMP ATOMIC construct 43 !ERROR: More than one memory order clause not allowed on OpenMP ATOMIC construct 47 !ERROR: More than one memory order clause not allowed on OpenMP ATOMI [all...] |
H A D | invalid-branch.f90 | 3 ! OpenMP Version 4.5 4 ! Check invalid branches into or out of OpenMP structured blocks. 10 !CHECK: invalid branch into an OpenMP structured block 13 !CHECK: invalid branch leaving an OpenMP structured block 16 !CHECK: invalid branch leaving an OpenMP structured block 19 !CHECK: invalid branch into an OpenMP structured block 22 !CHECK: invalid branch leaving an OpenMP structured block 44 !CHECK: invalid branch into an OpenMP structured block 48 !CHECK: invalid branch into an OpenMP structured block 63 !CHECK: invalid branch into an OpenMP structure [all...] |
/llvm-project/openmp/docs/ |
H A D | index.rst | 1 .. title:: Welcome to the documentation of OpenMP in LLVM! 7 OpenMP) <https://discourse.llvm.org/c/runtimes/openmp/35>`__.. 13 LLVM/OpenMP Documentation <self> 16 LLVM/OpenMP Design & Overview 19 OpenMP impacts various parts of the LLVM project, from the frontends (`Clang 22 multitude of available :ref:`OpenMP runtimes <openmp_runtimes>`. 24 A high-level overview of OpenMP in LLVM can be found :doc:`here <design/Overview>`. 36 both Flang and Clang. For this purpose, LLVM's OpenMP runtimes are 38 supports :doc:`OpenMP extensions <openacc/OpenMPExtensions>` to make 39 the additional functionality also available in OpenMP applications. [all …]
|
H A D | SupportAndFAQ.rst | 4 Please do not hesitate to reach out to us on the `Discourse forums (Runtimes - OpenMP) <https://discourse.llvm.org/c/runtimes/openmp/35>`_ or join 13 OpenMP in LLVM Technical Call 16 - Development updates on OpenMP (and OpenACC) in the LLVM Project, including Clang, optimization, and runtime work. 17 - Join `OpenMP in LLVM Technical Call <https://bluejeans.com/544112769//webrtc>`__. 20 - Status tracking `page <https://openmp.llvm.org/docs>`__. 23 OpenMP in Flang Technical Call 25 - Development updates on OpenMP and OpenACC in the Flang Project. 26 - Join `OpenMP in Flang Technical Call <https://bit.ly/39eQW3o>`_ 40 additions. Please post on the `Discourse forums (Runtimes - OpenMP) <http [all...] |
/llvm-project/clang/test/SemaOpenMP/ |
H A D | hip-omp-mix.cpp | 8 // device-error@#01 {{HIP does not support OpenMP target directives}} 9 // device-error@#02 {{HIP does not support OpenMP target directives}} 10 // device-error@#03 {{HIP does not support OpenMP target directives}} 11 // device-error@#04 {{HIP does not support OpenMP target directives}} 12 // device-error@#05 {{HIP does not support OpenMP target directives}} 13 // device-error@#06 {{HIP does not support OpenMP target directives}} 14 // device-error@#07 {{HIP does not support OpenMP target directives}} 15 // device-error@#08 {{HIP does not support OpenMP target directives}} 16 // device-error@#09 {{HIP does not support OpenMP target directives}} 17 // device-error@#10 {{HIP does not support OpenMP target directives}} [all …]
|
/llvm-project/openmp/docs/optimizations/ |
H A D | OpenMPOpt.rst | 2 OpenMP-Aware Optimizations 6 Oct 2020), supports an :ref:`OpenMP-Aware optimization pass <OpenMPOpt>`. This 7 optimization pass will attempt to optimize the module with OpenMP-specific 9 (O2 / O3) if compiling with OpenMP support enabled. 20 OpenMPOpt contains several OpenMP-Aware optimizations. This pass is run early on 27 $ clang -Rpass=openmp-opt -Rpass-missed=openmp-opt -Rpass-analysis=openmp-opt 29 OpenMP Runtime Call Deduplication 32 The OpenMP runtime library contains several functions used to implement features 33 of the OpenMP standard. Several of the runtime calls are constant within a 37 OpenMP runtime functions that are constant and will manually deduplicate them. [all …]
|
/llvm-project/openmp/docs/openacc/ |
H A D | OpenMPExtensions.rst | 1 OpenMP Extensions for OpenACC 4 OpenACC provides some functionality that OpenMP does not. In some 5 cases, Clang supports OpenMP extensions to provide similar 10 option ``-fno-openmp-extensions`` can be specified to disable all 11 OpenMP extensions, including those described in this section. 19 OpenMP extensions: 21 * OpenMP applications can take advantage of the additional 24 as a basis for including these extensions in the OpenMP standard. 25 * Source-to-source translation from certain OpenACC features to OpenMP 27 * Runtime tests can be written in terms of OpenMP instead of OpenACC [all …]
|