[llvm] [clang-tools-extra] [clang] [OpenMP] atomic compare weak : Parser & AST support (PR #79475)

2024-01-26 Thread Alexey Bataev via cfe-commits
@@ -13202,6 +13204,29 @@ StmtResult Sema::ActOnOpenMPAtomicDirective(ArrayRef Clauses, E = Checker.getE(); D = Checker.getD(); CE = Checker.getCond(); + /* The weak clause may only appear if the resulting atomic operation is + * an atomic condition

[clang-tools-extra] [llvm] [clang] [OpenMP] atomic compare weak : Parser & AST support (PR #79475)

2024-01-26 Thread Alexey Bataev via cfe-commits
@@ -13202,6 +13204,29 @@ StmtResult Sema::ActOnOpenMPAtomicDirective(ArrayRef Clauses, E = Checker.getE(); D = Checker.getD(); CE = Checker.getCond(); + /* The weak clause may only appear if the resulting atomic operation is + * an atomic condition

[clang] [flang] [mlir] [libc] [llvm] [clang-tools-extra] [compiler-rt] [lldb] [OpenMP] atomic compare weak : Parser & AST support (PR #79475)

2024-01-29 Thread Alexey Bataev via cfe-commits
https://github.com/alexey-bataev approved this pull request. LG https://github.com/llvm/llvm-project/pull/79475 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang-tools-extra] [llvm] [clang] [SLP]Improve findReusedOrderedScalars and graph rotation. (PR #77529)

2024-01-29 Thread Alexey Bataev via cfe-commits
https://github.com/alexey-bataev updated https://github.com/llvm/llvm-project/pull/77529 >From 7440ee8ba235fd871af0999f66d5d6130456400b Mon Sep 17 00:00:00 2001 From: Alexey Bataev Date: Tue, 9 Jan 2024 21:43:31 + Subject: [PATCH] =?UTF-8?q?[=F0=9D=98=80=F0=9D=97=BD=F0=9D=97=BF]=20initia?=

[clang] [llvm] [clang-tools-extra] [SLP]Improve minbitwidth analysis. (PR #78976)

2024-01-29 Thread Alexey Bataev via cfe-commits
https://github.com/alexey-bataev updated https://github.com/llvm/llvm-project/pull/78976 >From 391145a2d04873ef84c4f1083fe9b9fcdbb3b940 Mon Sep 17 00:00:00 2001 From: Alexey Bataev Date: Mon, 22 Jan 2024 14:13:51 + Subject: [PATCH] =?UTF-8?q?[=F0=9D=98=80=F0=9D=97=BD=F0=9D=97=BF]=20initia?=

[clang] [OpenACC} Improve diagnostics for 'tag's on clauses/directives (PR #77957)

2024-01-12 Thread Alexey Bataev via cfe-commits
@@ -164,6 +164,49 @@ bool isOpenACCSpecialToken(OpenACCSpecialTokenKind Kind, Token Tok) { llvm_unreachable("Unknown 'Kind' Passed"); } +// Used for cases where we have a token we want to check against an +// 'identifier-like' token, but don't want to give awkward error mes

[clang] [OpenACC} Improve diagnostics for 'tag's on clauses/directives (PR #77957)

2024-01-12 Thread Alexey Bataev via cfe-commits
https://github.com/alexey-bataev edited https://github.com/llvm/llvm-project/pull/77957 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] [OpenACC} Improve diagnostics for 'tag's on clauses/directives (PR #77957)

2024-01-12 Thread Alexey Bataev via cfe-commits
https://github.com/alexey-bataev approved this pull request. LG with a nit https://github.com/llvm/llvm-project/pull/77957 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] [OpenACC} Improve diagnostics for 'tag's on clauses/directives (PR #77957)

2024-01-12 Thread Alexey Bataev via cfe-commits
@@ -164,6 +164,48 @@ bool isOpenACCSpecialToken(OpenACCSpecialTokenKind Kind, Token Tok) { llvm_unreachable("Unknown 'Kind' Passed"); } +// Used for cases where we have a token we want to check against an +// 'identifier-like' token, but don't want to give awkward error mes

[clang-tools-extra] [clang] [llvm] [SLP]Improve findReusedOrderedScalars and graph rotation. (PR #77529)

2024-01-22 Thread Alexey Bataev via cfe-commits
https://github.com/alexey-bataev updated https://github.com/llvm/llvm-project/pull/77529 >From 7440ee8ba235fd871af0999f66d5d6130456400b Mon Sep 17 00:00:00 2001 From: Alexey Bataev Date: Tue, 9 Jan 2024 21:43:31 + Subject: [PATCH] =?UTF-8?q?[=F0=9D=98=80=F0=9D=97=BD=F0=9D=97=BF]=20initia?=

[clang] [OpenMP 5.2] Deprecate syntax of map modifiers without comma separators (PR #69534)

2023-10-19 Thread Alexey Bataev via cfe-commits
@@ -1534,6 +1534,8 @@ def warn_omp51_compat_attributes : Warning< "standards before OpenMP 5.1">, InGroup, DefaultIgnore; def err_omp_expected_colon : Error<"missing ':' in %0">; +def err_omp_missing_comma : Error< + "missing ',' %select{after|in}0 %1">; a

[clang] [OpenMP 5.2] Deprecate syntax of map modifiers without comma separators (PR #69534)

2023-10-19 Thread Alexey Bataev via cfe-commits
@@ -1534,6 +1534,8 @@ def warn_omp51_compat_attributes : Warning< "standards before OpenMP 5.1">, InGroup, DefaultIgnore; def err_omp_expected_colon : Error<"missing ':' in %0">; +def err_omp_missing_comma : Error< + "missing ',' %select{after|in}0 %1">; a

[clang] [OpenMP 5.2] Deprecate syntax of map modifiers without comma separators (PR #69534)

2023-10-19 Thread Alexey Bataev via cfe-commits
https://github.com/alexey-bataev approved this pull request. LG https://github.com/llvm/llvm-project/pull/69534 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] [OpenMP 5.2] Deprecate old syntax of linear clause (PR #70152)

2023-10-25 Thread Alexey Bataev via cfe-commits
https://github.com/alexey-bataev approved this pull request. LG https://github.com/llvm/llvm-project/pull/70152 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

r369418 - Fix name of the error message, NFC.

2019-08-20 Thread Alexey Bataev via cfe-commits
Author: abataev Date: Tue Aug 20 10:50:13 2019 New Revision: 369418 URL: http://llvm.org/viewvc/llvm-project?rev=369418&view=rev Log: Fix name of the error message, NFC. Modified: cfe/trunk/include/clang/Basic/DiagnosticSemaKinds.td cfe/trunk/lib/Sema/SemaOpenMP.cpp Modified: cfe/trunk/i

r369432 - [OPENMP]Fix delayed diagnostics for standalone declare target directive.

2019-08-20 Thread Alexey Bataev via cfe-commits
Author: abataev Date: Tue Aug 20 12:50:13 2019 New Revision: 369432 URL: http://llvm.org/viewvc/llvm-project?rev=369432&view=rev Log: [OPENMP]Fix delayed diagnostics for standalone declare target directive. If the function is marked as declare target in a standalone directive, the delayed diagnos

r369668 - [OPENMP]Generalization of handling of declare target attribute.

2019-08-22 Thread Alexey Bataev via cfe-commits
Author: abataev Date: Thu Aug 22 09:48:26 2019 New Revision: 369668 URL: http://llvm.org/viewvc/llvm-project?rev=369668&view=rev Log: [OPENMP]Generalization of handling of declare target attribute. Used OMPDeclareTargetDeclAttr::isDeclareTargetDeclaration instead of direct checking of the OMPDecl

r369775 - [OPENMP5.0]Add support for device_type clause in declare target

2019-08-23 Thread Alexey Bataev via cfe-commits
Author: abataev Date: Fri Aug 23 09:11:14 2019 New Revision: 369775 URL: http://llvm.org/viewvc/llvm-project?rev=369775&view=rev Log: [OPENMP5.0]Add support for device_type clause in declare target construct. OpenMP 5.0 introduced new clause for declare target directive, device_type clause, whic

r369801 - [OPENMP5]Use nonmonotonic modifier by default for non-static and

2019-08-23 Thread Alexey Bataev via cfe-commits
Author: abataev Date: Fri Aug 23 12:52:05 2019 New Revision: 369801 URL: http://llvm.org/viewvc/llvm-project?rev=369801&view=rev Log: [OPENMP5]Use nonmonotonic modifier by default for non-static and non-ordered loops. According to OpenMP 5.0, 2.9.2 Worksharing-Loop Construct, Desription, If the

r369946 - [OPENMP][NVPTX]Fix critical region codegen.

2019-08-26 Thread Alexey Bataev via cfe-commits
Author: abataev Date: Mon Aug 26 12:07:48 2019 New Revision: 369946 URL: http://llvm.org/viewvc/llvm-project?rev=369946&view=rev Log: [OPENMP][NVPTX]Fix critical region codegen. Summary: Previously critical regions were emitted with the barrier making it a worksharing construct though it is not.

r370214 - [OPENMP][Analysis] Add analysis of the map clauses.

2019-08-28 Thread Alexey Bataev via cfe-commits
Author: abataev Date: Wed Aug 28 07:55:08 2019 New Revision: 370214 URL: http://llvm.org/viewvc/llvm-project?rev=370214&view=rev Log: [OPENMP][Analysis] Add analysis of the map clauses. Summary: Added basic analysis of map clauses. Only map clauses with to and tofrom map type must be analyzed sin

r309575 - [OPENMP] Change the name of outer non-debug function in debug mode, NFC.

2017-07-31 Thread Alexey Bataev via cfe-commits
Author: abataev Date: Mon Jul 31 09:43:06 2017 New Revision: 309575 URL: http://llvm.org/viewvc/llvm-project?rev=309575&view=rev Log: [OPENMP] Change the name of outer non-debug function in debug mode, NFC. Modified: cfe/trunk/lib/CodeGen/CGStmtOpenMP.cpp Modified: cfe/trunk/lib/CodeGen/CGSt

r310098 - [OPENMP] Unify generation of outlined function calls.

2017-08-04 Thread Alexey Bataev via cfe-commits
Author: abataev Date: Fri Aug 4 12:10:54 2017 New Revision: 310098 URL: http://llvm.org/viewvc/llvm-project?rev=310098&view=rev Log: [OPENMP] Unify generation of outlined function calls. Modified: cfe/trunk/lib/CodeGen/CGOpenMPRuntime.cpp cfe/trunk/lib/CodeGen/CGOpenMPRuntime.h cfe/t

r310104 - [OPENMP][DEBUG] Set proper address space info if required by target.

2017-08-04 Thread Alexey Bataev via cfe-commits
Author: abataev Date: Fri Aug 4 12:46:10 2017 New Revision: 310104 URL: http://llvm.org/viewvc/llvm-project?rev=310104&view=rev Log: [OPENMP][DEBUG] Set proper address space info if required by target. Arguments, passed to the outlined function, must have correct address space info for proper De

r310120 - [OPENMP] Fix for pacify buildbots, NFC.

2017-08-04 Thread Alexey Bataev via cfe-commits
Author: abataev Date: Fri Aug 4 13:29:52 2017 New Revision: 310120 URL: http://llvm.org/viewvc/llvm-project?rev=310120&view=rev Log: [OPENMP] Fix for pacify buildbots, NFC. Modified: cfe/trunk/lib/CodeGen/CGStmtOpenMP.cpp Modified: cfe/trunk/lib/CodeGen/CGStmtOpenMP.cpp URL: http://llvm.or

r310134 - Revert "[OPENMP] Fix for pacify buildbots, NFC."

2017-08-04 Thread Alexey Bataev via cfe-commits
Author: abataev Date: Fri Aug 4 14:26:25 2017 New Revision: 310134 URL: http://llvm.org/viewvc/llvm-project?rev=310134&view=rev Log: Revert "[OPENMP] Fix for pacify buildbots, NFC." This reverts commit r310120. Modified: cfe/trunk/lib/CodeGen/CGStmtOpenMP.cpp Modified: cfe/trunk/lib/CodeGe

r310135 - Revert "[OPENMP][DEBUG] Set proper address space info if required by target."

2017-08-04 Thread Alexey Bataev via cfe-commits
Author: abataev Date: Fri Aug 4 14:27:11 2017 New Revision: 310135 URL: http://llvm.org/viewvc/llvm-project?rev=310135&view=rev Log: Revert "[OPENMP][DEBUG] Set proper address space info if required by target." This reverts commit r310104. Removed: cfe/trunk/test/OpenMP/target_parallel_debu

r310360 - [OPENMP][DEBUG] Set proper address space info if required by target.

2017-08-08 Thread Alexey Bataev via cfe-commits
Author: abataev Date: Tue Aug 8 07:25:14 2017 New Revision: 310360 URL: http://llvm.org/viewvc/llvm-project?rev=310360&view=rev Log: [OPENMP][DEBUG] Set proper address space info if required by target. Arguments, passed to the outlined function, must have correct address space info for proper De

r310364 - Revert "[OPENMP][DEBUG] Set proper address space info if required by target."

2017-08-08 Thread Alexey Bataev via cfe-commits
Author: abataev Date: Tue Aug 8 07:44:43 2017 New Revision: 310364 URL: http://llvm.org/viewvc/llvm-project?rev=310364&view=rev Log: Revert "[OPENMP][DEBUG] Set proper address space info if required by target." This reverts commit r310360. Removed: cfe/trunk/test/OpenMP/target_parallel_debu

r310377 - [OPENMP][DEBUG] Set proper address space info if required by target.

2017-08-08 Thread Alexey Bataev via cfe-commits
Author: abataev Date: Tue Aug 8 09:29:11 2017 New Revision: 310377 URL: http://llvm.org/viewvc/llvm-project?rev=310377&view=rev Log: [OPENMP][DEBUG] Set proper address space info if required by target. Arguments, passed to the outlined function, must have correct address space info for proper De

r310379 - Revert "[OPENMP][DEBUG] Set proper address space info if required by target."

2017-08-08 Thread Alexey Bataev via cfe-commits
Author: abataev Date: Tue Aug 8 09:45:36 2017 New Revision: 310379 URL: http://llvm.org/viewvc/llvm-project?rev=310379&view=rev Log: Revert "[OPENMP][DEBUG] Set proper address space info if required by target." This reverts commit r310377. Removed: cfe/trunk/test/OpenMP/target_parallel_debu

r310387 - [OPENMP][DEBUG] Set proper address space info if required by target.

2017-08-08 Thread Alexey Bataev via cfe-commits
Author: abataev Date: Tue Aug 8 11:04:06 2017 New Revision: 310387 URL: http://llvm.org/viewvc/llvm-project?rev=310387&view=rev Log: [OPENMP][DEBUG] Set proper address space info if required by target. Arguments, passed to the outlined function, must have correct address space info for proper De

r310511 - [OPENMP] Emit non-debug version of outlined functions with original

2017-08-09 Thread Alexey Bataev via cfe-commits
Author: abataev Date: Wed Aug 9 12:38:53 2017 New Revision: 310511 URL: http://llvm.org/viewvc/llvm-project?rev=310511&view=rev Log: [OPENMP] Emit non-debug version of outlined functions with original name. If the host code is compiled with the debug info, while the target without, there is a pr

r310840 - [OPENMP] Generalization of calls of the outlined functions.

2017-08-14 Thread Alexey Bataev via cfe-commits
Author: abataev Date: Mon Aug 14 08:01:03 2017 New Revision: 310840 URL: http://llvm.org/viewvc/llvm-project?rev=310840&view=rev Log: [OPENMP] Generalization of calls of the outlined functions. General improvement of the outlined functions calls. Modified: cfe/trunk/lib/CodeGen/CGOpenMPRunti

r310850 - [OPENMP][DEBUG] Fix for PR33676: Debug info for OpenMP region is broken.

2017-08-14 Thread Alexey Bataev via cfe-commits
Author: abataev Date: Mon Aug 14 09:03:47 2017 New Revision: 310850 URL: http://llvm.org/viewvc/llvm-project?rev=310850&view=rev Log: [OPENMP][DEBUG] Fix for PR33676: Debug info for OpenMP region is broken. After some changes in clang/LLVM debug info for task-based regions was not generated at al

r310865 - [OPENMP] Fix for PR33922: New ident_t flags for

2017-08-14 Thread Alexey Bataev via cfe-commits
Author: abataev Date: Mon Aug 14 10:56:13 2017 New Revision: 310865 URL: http://llvm.org/viewvc/llvm-project?rev=310865&view=rev Log: [OPENMP] Fix for PR33922: New ident_t flags for __kmpc_for_static_init(). OpenMP 5.0 will include OpenMP Tools interface that requires distinguishing different wo

r310920 - [OPENMP] Fix compiler crash on argument translate for NVPTX.

2017-08-15 Thread Alexey Bataev via cfe-commits
Author: abataev Date: Tue Aug 15 07:34:04 2017 New Revision: 310920 URL: http://llvm.org/viewvc/llvm-project?rev=310920&view=rev Log: [OPENMP] Fix compiler crash on argument translate for NVPTX. When translating arguments for NVPTX target it is not taken into account that function may have variab

r311007 - [OPRNMP] Fix for PR33445: ICE: OpenMP target containing ordered for.

2017-08-16 Thread Alexey Bataev via cfe-commits
Author: abataev Date: Wed Aug 16 07:01:00 2017 New Revision: 311007 URL: http://llvm.org/viewvc/llvm-project?rev=311007&view=rev Log: [OPRNMP] Fix for PR33445: ICE: OpenMP target containing ordered for. If exceptions are enabled, there may be a problem with the codegen of the finalization functio

r311013 - [OPENMP] Fix for PR28581: OpenMP linear clause - wrong results.

2017-08-16 Thread Alexey Bataev via cfe-commits
Author: abataev Date: Wed Aug 16 08:58:46 2017 New Revision: 311013 URL: http://llvm.org/viewvc/llvm-project?rev=311013&view=rev Log: [OPENMP] Fix for PR28581: OpenMP linear clause - wrong results. If worksharing construct has at least one linear item, an implicit synchronization point must be em

r311479 - [OPENMP] Fix for PR34014: OpenMP 4.5: Target construct in static method

2017-08-22 Thread Alexey Bataev via cfe-commits
Author: abataev Date: Tue Aug 22 10:54:52 2017 New Revision: 311479 URL: http://llvm.org/viewvc/llvm-project?rev=311479&view=rev Log: [OPENMP] Fix for PR34014: OpenMP 4.5: Target construct in static method of class fails to map class static variable. If the global variable is captured and it has

[clang] 8be5a0f - [OPENMP]Emit artificial threprivate vars as threadlocal, if possible.

2019-12-31 Thread Alexey Bataev via cfe-commits
Author: Alexey Bataev Date: 2019-12-31T14:11:36-05:00 New Revision: 8be5a0fe12bb9114bb82986b1dcb9205699aa085 URL: https://github.com/llvm/llvm-project/commit/8be5a0fe12bb9114bb82986b1dcb9205699aa085 DIFF: https://github.com/llvm/llvm-project/commit/8be5a0fe12bb9114bb82986b1dcb9205699aa085.diff

[clang] 87a004d - [OpenMP] Fix formatting of OpenMP error message, by Wang Tianqing.

2020-01-02 Thread Alexey Bataev via cfe-commits
Author: Alexey Bataev Date: 2020-01-02T10:07:04-05:00 New Revision: 87a004d0f8c2fe5c4577d81b4306c35e77f21f9a URL: https://github.com/llvm/llvm-project/commit/87a004d0f8c2fe5c4577d81b4306c35e77f21f9a DIFF: https://github.com/llvm/llvm-project/commit/87a004d0f8c2fe5c4577d81b4306c35e77f21f9a.diff

[clang] 1fcc9b6 - [OPENMP] Restore allowing of braced initializers in the declare reduction

2020-01-02 Thread Alexey Bataev via cfe-commits
Author: Alexey Bataev Date: 2020-01-02T16:10:17-05:00 New Revision: 1fcc9b6ff8558efed0c1241c72f69d079baeecf8 URL: https://github.com/llvm/llvm-project/commit/1fcc9b6ff8558efed0c1241c72f69d079baeecf8 DIFF: https://github.com/llvm/llvm-project/commit/1fcc9b6ff8558efed0c1241c72f69d079baeecf8.diff

[clang] a58da1a - [OPENMP50]Codegen for lastprivate conditional list items.

2020-01-02 Thread Alexey Bataev via cfe-commits
Author: Alexey Bataev Date: 2020-01-02T16:43:00-05:00 New Revision: a58da1a2ff039dd3bb4c43db3919995cf4a74cc7 URL: https://github.com/llvm/llvm-project/commit/a58da1a2ff039dd3bb4c43db3919995cf4a74cc7 DIFF: https://github.com/llvm/llvm-project/commit/a58da1a2ff039dd3bb4c43db3919995cf4a74cc7.diff

[clang] add743b - [OPENMP]Fix crash on error message for declare reduction.

2020-01-03 Thread Alexey Bataev via cfe-commits
Author: Alexey Bataev Date: 2020-01-03T12:13:03-05:00 New Revision: add743b4348095c0d2e407c7a2b8a87a5f8194b0 URL: https://github.com/llvm/llvm-project/commit/add743b4348095c0d2e407c7a2b8a87a5f8194b0 DIFF: https://github.com/llvm/llvm-project/commit/add743b4348095c0d2e407c7a2b8a87a5f8194b0.diff

[clang] 7b518dc - [OPENMP50]Support lastprivate conditional updates in inc/dec unary ops.

2020-01-06 Thread Alexey Bataev via cfe-commits
Author: Alexey Bataev Date: 2020-01-06T16:37:01-05:00 New Revision: 7b518dcb291e740c3e957d93c2b4046bc8a97f00 URL: https://github.com/llvm/llvm-project/commit/7b518dcb291e740c3e957d93c2b4046bc8a97f00 DIFF: https://github.com/llvm/llvm-project/commit/7b518dcb291e740c3e957d93c2b4046bc8a97f00.diff

[clang] 3f2e3dc - [OPENMP]Do not diagnose references to non-integral types for ref in

2020-01-07 Thread Alexey Bataev via cfe-commits
Author: Alexey Bataev Date: 2020-01-07T09:28:50-05:00 New Revision: 3f2e3dc44b42fab2e991222e74248b7006f1091e URL: https://github.com/llvm/llvm-project/commit/3f2e3dc44b42fab2e991222e74248b7006f1091e DIFF: https://github.com/llvm/llvm-project/commit/3f2e3dc44b42fab2e991222e74248b7006f1091e.diff

[clang] c972f6f - [OPENMP]Allow using of members in standalone declaration pragmas.

2020-01-07 Thread Alexey Bataev via cfe-commits
Author: Alexey Bataev Date: 2020-01-07T13:44:10-05:00 New Revision: c972f6fd7919b737f4c991d27249b9a947011c8e URL: https://github.com/llvm/llvm-project/commit/c972f6fd7919b737f4c991d27249b9a947011c8e DIFF: https://github.com/llvm/llvm-project/commit/c972f6fd7919b737f4c991d27249b9a947011c8e.diff

[clang] 4558842 - [OPENMP]Reduce calls for the mangled names.

2020-01-07 Thread Alexey Bataev via cfe-commits
Author: Alexey Bataev Date: 2020-01-07T14:28:17-05:00 New Revision: 45588428910a7cbcf58317b874dad18b580c9ce5 URL: https://github.com/llvm/llvm-project/commit/45588428910a7cbcf58317b874dad18b580c9ce5 DIFF: https://github.com/llvm/llvm-project/commit/45588428910a7cbcf58317b874dad18b580c9ce5.diff

[clang] c74a8ad - [OPENMP]Allow comma in combiner expression.

2020-01-08 Thread Alexey Bataev via cfe-commits
Author: Alexey Bataev Date: 2020-01-08T10:00:11-05:00 New Revision: c74a8adda3bc4fc5714aef14cdcfda944d3038a0 URL: https://github.com/llvm/llvm-project/commit/c74a8adda3bc4fc5714aef14cdcfda944d3038a0 DIFF: https://github.com/llvm/llvm-project/commit/c74a8adda3bc4fc5714aef14cdcfda944d3038a0.diff

[clang] 4c11703 - [OPENMP]Remove unused code, NFC.

2020-01-09 Thread Alexey Bataev via cfe-commits
Author: Alexey Bataev Date: 2020-01-09T09:50:46-05:00 New Revision: 4c11703b3d9d936214b8ced70bd6475974c317d8 URL: https://github.com/llvm/llvm-project/commit/4c11703b3d9d936214b8ced70bd6475974c317d8 DIFF: https://github.com/llvm/llvm-project/commit/4c11703b3d9d936214b8ced70bd6475974c317d8.diff

[clang] 48bad08 - [OPENMP]Improve handling of possibly incorrectly mapped types.

2020-01-14 Thread Alexey Bataev via cfe-commits
Author: Alexey Bataev Date: 2020-01-14T14:47:34-05:00 New Revision: 48bad08aa3b3bf6ad5dabe858fa655a623757395 URL: https://github.com/llvm/llvm-project/commit/48bad08aa3b3bf6ad5dabe858fa655a623757395 DIFF: https://github.com/llvm/llvm-project/commit/48bad08aa3b3bf6ad5dabe858fa655a623757395.diff

[clang] a48600c - [OPENMP]Do not emit special virtual function for NVPTX target.

2020-01-14 Thread Alexey Bataev via cfe-commits
Author: Alexey Bataev Date: 2020-01-14T16:59:22-05:00 New Revision: a48600c0a653d34f4af760f117755ed1776adf9d URL: https://github.com/llvm/llvm-project/commit/a48600c0a653d34f4af760f117755ed1776adf9d DIFF: https://github.com/llvm/llvm-project/commit/a48600c0a653d34f4af760f117755ed1776adf9d.diff

[clang] 23058f9 - [OPENMP]Do not use RTTI by default for NVPTX devices.

2020-01-14 Thread Alexey Bataev via cfe-commits
Author: Alexey Bataev Date: 2020-01-14T18:12:06-05:00 New Revision: 23058f9dd4d7e18239fd63b6da52549514b45fda URL: https://github.com/llvm/llvm-project/commit/23058f9dd4d7e18239fd63b6da52549514b45fda DIFF: https://github.com/llvm/llvm-project/commit/23058f9dd4d7e18239fd63b6da52549514b45fda.diff

[clang] 6b29aa2 - Revert "[OPENMP]Do not use RTTI by default for NVPTX devices."

2020-01-15 Thread Alexey Bataev via cfe-commits
Author: Alexey Bataev Date: 2020-01-15T17:42:26-05:00 New Revision: 6b29aa21180cf14bfb619d38fc4826913cabfb66 URL: https://github.com/llvm/llvm-project/commit/6b29aa21180cf14bfb619d38fc4826913cabfb66 DIFF: https://github.com/llvm/llvm-project/commit/6b29aa21180cf14bfb619d38fc4826913cabfb66.diff

[clang] b841b9e - [OPENMP]Use regular processing of vtable used when TU is a prefix.

2020-01-15 Thread Alexey Bataev via cfe-commits
Author: Alexey Bataev Date: 2020-01-15T18:42:23-05:00 New Revision: b841b9e96e605bed5a1f9b846a07aae88c65ce02 URL: https://github.com/llvm/llvm-project/commit/b841b9e96e605bed5a1f9b846a07aae88c65ce02 DIFF: https://github.com/llvm/llvm-project/commit/b841b9e96e605bed5a1f9b846a07aae88c65ce02.diff

[clang] 738bab7 - [OPENMP]Add support for allocate vars in untied tasks.

2020-09-15 Thread Alexey Bataev via cfe-commits
Author: Alexey Bataev Date: 2020-09-15T13:39:14-04:00 New Revision: 738bab743b5c6cfcf1a1feb116de9e35a3f1e326 URL: https://github.com/llvm/llvm-project/commit/738bab743b5c6cfcf1a1feb116de9e35a3f1e326 DIFF: https://github.com/llvm/llvm-project/commit/738bab743b5c6cfcf1a1feb116de9e35a3f1e326.diff

[clang] 9e3842d - [OPENMP]Fix codegen for is_device_ptr component, captured by reference.

2020-09-15 Thread Alexey Bataev via cfe-commits
Author: Alexey Bataev Date: 2020-09-15T17:21:38-04:00 New Revision: 9e3842d60351f986d77dfe0a94f76e4fd895f188 URL: https://github.com/llvm/llvm-project/commit/9e3842d60351f986d77dfe0a94f76e4fd895f188 DIFF: https://github.com/llvm/llvm-project/commit/9e3842d60351f986d77dfe0a94f76e4fd895f188.diff

[clang] 4341c66 - [OPENMP]Do not allow threadprivates as base for array-like reduction.

2020-09-16 Thread Alexey Bataev via cfe-commits
Author: Alexey Bataev Date: 2020-09-16T09:30:32-04:00 New Revision: 4341c6618decb4014a167bc83aeeed49ab49b34f URL: https://github.com/llvm/llvm-project/commit/4341c6618decb4014a167bc83aeeed49ab49b34f DIFF: https://github.com/llvm/llvm-project/commit/4341c6618decb4014a167bc83aeeed49ab49b34f.diff

[clang] d5ce823 - [OpenMP 5.0] Fix user-defined mapper privatization in tasks

2020-09-17 Thread Alexey Bataev via cfe-commits
Author: Alexey Bataev Date: 2020-09-17T11:21:10-04:00 New Revision: d5ce8233bfcfdeb66c715a1def8e0b34d236d48a URL: https://github.com/llvm/llvm-project/commit/d5ce8233bfcfdeb66c715a1def8e0b34d236d48a DIFF: https://github.com/llvm/llvm-project/commit/d5ce8233bfcfdeb66c715a1def8e0b34d236d48a.diff

[clang] a9fca98 - [OPENMP]PR47606: Do not update the lastprivate item if it was captured by reference as firstprivate data member.

2020-09-24 Thread Alexey Bataev via cfe-commits
Author: Alexey Bataev Date: 2020-09-24T13:14:13-04:00 New Revision: a9fca98ee4f653278d84713caecd152fef8494f5 URL: https://github.com/llvm/llvm-project/commit/a9fca98ee4f653278d84713caecd152fef8494f5 DIFF: https://github.com/llvm/llvm-project/commit/a9fca98ee4f653278d84713caecd152fef8494f5.diff

[clang] d1419c9 - [OPENMP]Fix PR47621: Variable used by task inside a template function is not made firstprivate by default

2020-09-24 Thread Alexey Bataev via cfe-commits
Author: Alexey Bataev Date: 2020-09-24T13:51:21-04:00 New Revision: d1419c9fdab141617b6aa9f028191b9bfc8be260 URL: https://github.com/llvm/llvm-project/commit/d1419c9fdab141617b6aa9f028191b9bfc8be260 DIFF: https://github.com/llvm/llvm-project/commit/d1419c9fdab141617b6aa9f028191b9bfc8be260.diff

[clang] cde7d90 - Revert "[OPENMP]Fix PR47621: Variable used by task inside a template function is not made firstprivate by default"

2020-09-24 Thread Alexey Bataev via cfe-commits
Author: Alexey Bataev Date: 2020-09-24T14:42:04-04:00 New Revision: cde7d90cc7c20d73d14225517cf11ffc6073018a URL: https://github.com/llvm/llvm-project/commit/cde7d90cc7c20d73d14225517cf11ffc6073018a DIFF: https://github.com/llvm/llvm-project/commit/cde7d90cc7c20d73d14225517cf11ffc6073018a.diff

[clang] 579c422 - [OPENMP]Fix PR47621: Variable used by task inside a template function is not made firstprivate by default

2020-09-24 Thread Alexey Bataev via cfe-commits
Author: Alexey Bataev Date: 2020-09-24T16:18:09-04:00 New Revision: 579c42225ac373688dbdbe3a1ce62986a6bf638a URL: https://github.com/llvm/llvm-project/commit/579c42225ac373688dbdbe3a1ce62986a6bf638a DIFF: https://github.com/llvm/llvm-project/commit/579c42225ac373688dbdbe3a1ce62986a6bf638a.diff

[clang] fb4acd3 - [OPENMP]Fix PR47158, case 2: do not report host-only functions in unused function in device mode.

2020-08-19 Thread Alexey Bataev via cfe-commits
Author: Alexey Bataev Date: 2020-08-19T16:14:33-04:00 New Revision: fb4acd37fe60a08a0077560d2814053d76ea1c41 URL: https://github.com/llvm/llvm-project/commit/fb4acd37fe60a08a0077560d2814053d76ea1c41 DIFF: https://github.com/llvm/llvm-project/commit/fb4acd37fe60a08a0077560d2814053d76ea1c41.diff

[clang] bedc841 - [OPENMP]Fix PR47158, case 3: allow devic_typein nested declare target region.

2020-08-24 Thread Alexey Bataev via cfe-commits
Author: Alexey Bataev Date: 2020-08-24T09:58:37-04:00 New Revision: bedc841a5098bc0a90bbc66328d7aab4b2c23c4a URL: https://github.com/llvm/llvm-project/commit/bedc841a5098bc0a90bbc66328d7aab4b2c23c4a DIFF: https://github.com/llvm/llvm-project/commit/bedc841a5098bc0a90bbc66328d7aab4b2c23c4a.diff

[clang] ba1de5f - [OPENMP]Do not crash for globals in inner regions with outer target

2020-08-27 Thread Alexey Bataev via cfe-commits
Author: Alexey Bataev Date: 2020-08-27T17:07:53-04:00 New Revision: ba1de5f2f7b078f69d5f6b0fe3af4911f76bb8fd URL: https://github.com/llvm/llvm-project/commit/ba1de5f2f7b078f69d5f6b0fe3af4911f76bb8fd DIFF: https://github.com/llvm/llvm-project/commit/ba1de5f2f7b078f69d5f6b0fe3af4911f76bb8fd.diff

[clang] 2114f71 - [OpenMP] Fix infinite loop in Sema::isOpenMPGlobalCapturedDecl()

2020-09-01 Thread Alexey Bataev via cfe-commits
Author: Yang Fan Date: 2020-09-01T08:45:38-04:00 New Revision: 2114f71aaa8dc2e75fe9cd79aa4d72d164e9b95d URL: https://github.com/llvm/llvm-project/commit/2114f71aaa8dc2e75fe9cd79aa4d72d164e9b95d DIFF: https://github.com/llvm/llvm-project/commit/2114f71aaa8dc2e75fe9cd79aa4d72d164e9b95d.diff LOG:

[clang] 3c6b457 - [OPENMP]Fix PR48076: Check map types array before accessing its front.

2020-11-12 Thread Alexey Bataev via cfe-commits
Author: Alexey Bataev Date: 2020-11-12T12:00:29-08:00 New Revision: 3c6b457bee0c66294637d50bca1cff7231647249 URL: https://github.com/llvm/llvm-project/commit/3c6b457bee0c66294637d50bca1cff7231647249 DIFF: https://github.com/llvm/llvm-project/commit/3c6b457bee0c66294637d50bca1cff7231647249.diff

[clang] 07b568a - [OPENMP]Fix PR47790: segfault in frontend while parsing Objective-C with OpenMP.

2020-11-12 Thread Alexey Bataev via cfe-commits
Author: Alexey Bataev Date: 2020-11-12T13:26:11-08:00 New Revision: 07b568a9c8db8e5d4d4af4c766ecfb38145fb0bf URL: https://github.com/llvm/llvm-project/commit/07b568a9c8db8e5d4d4af4c766ecfb38145fb0bf DIFF: https://github.com/llvm/llvm-project/commit/07b568a9c8db8e5d4d4af4c766ecfb38145fb0bf.diff

[clang] 0333567 - [OPENMP] Fix PR47999: correctly map implicit firstprivates in outer tasks.

2020-11-17 Thread Alexey Bataev via cfe-commits
Author: Alexey Bataev Date: 2020-11-17T10:21:12-08:00 New Revision: 0333567c47c0d496bba146cd4f7b65a8ef8ba113 URL: https://github.com/llvm/llvm-project/commit/0333567c47c0d496bba146cd4f7b65a8ef8ba113 DIFF: https://github.com/llvm/llvm-project/commit/0333567c47c0d496bba146cd4f7b65a8ef8ba113.diff

[clang] 5ba324c - [OPENMP]Fix PR48174: compile-time crash with target enter data on a global struct.

2020-11-18 Thread Alexey Bataev via cfe-commits
Author: Alexey Bataev Date: 2020-11-18T07:48:58-08:00 New Revision: 5ba324ccadce35a146b0c04e90d6414c3dc42546 URL: https://github.com/llvm/llvm-project/commit/5ba324ccadce35a146b0c04e90d6414c3dc42546 DIFF: https://github.com/llvm/llvm-project/commit/5ba324ccadce35a146b0c04e90d6414c3dc42546.diff

[clang] 8f51dc4 - [OPENMP]Honor constantness of captured variables.

2020-11-20 Thread Alexey Bataev via cfe-commits
Author: Alexey Bataev Date: 2020-11-20T11:11:47-08:00 New Revision: 8f51dc49673c494cc1d118979b596288e938af13 URL: https://github.com/llvm/llvm-project/commit/8f51dc49673c494cc1d118979b596288e938af13 DIFF: https://github.com/llvm/llvm-project/commit/8f51dc49673c494cc1d118979b596288e938af13.diff

[clang] c964f30 - [OPENMP]Use the real pointer value as base, not indexed value.

2020-11-20 Thread Alexey Bataev via cfe-commits
Author: Alexey Bataev Date: 2020-11-20T11:34:14-08:00 New Revision: c964f308141578f24932c68a03af5fae7f876011 URL: https://github.com/llvm/llvm-project/commit/c964f308141578f24932c68a03af5fae7f876011 DIFF: https://github.com/llvm/llvm-project/commit/c964f308141578f24932c68a03af5fae7f876011.diff

[clang] 2502f89 - [OPENMP]Fix PR48387: disable warning messages caused by internal conversions.

2020-12-04 Thread Alexey Bataev via cfe-commits
Author: Alexey Bataev Date: 2020-12-04T07:44:36-08:00 New Revision: 2502f899543151cf3d35c0fa0eef4ba681ad4e77 URL: https://github.com/llvm/llvm-project/commit/2502f899543151cf3d35c0fa0eef4ba681ad4e77 DIFF: https://github.com/llvm/llvm-project/commit/2502f899543151cf3d35c0fa0eef4ba681ad4e77.diff

[clang] d764ad7 - [OPENMP]Fix PR48394: need to capture variables used in atomic constructs.

2020-12-04 Thread Alexey Bataev via cfe-commits
Author: Alexey Bataev Date: 2020-12-04T13:08:54-08:00 New Revision: d764ad72e5fe7ae1cd9b345ad72f4447355a11b2 URL: https://github.com/llvm/llvm-project/commit/d764ad72e5fe7ae1cd9b345ad72f4447355a11b2 DIFF: https://github.com/llvm/llvm-project/commit/d764ad72e5fe7ae1cd9b345ad72f4447355a11b2.diff

[clang] bfc8f9e - [clang] Fix computation of number of dependencies using OpenMP iterator,

2021-10-04 Thread Alexey Bataev via cfe-commits
Author: Alexey Bataev Date: 2021-10-04T07:06:51-07:00 New Revision: bfc8f9e9b0bd2279ee3398ee62f255360a89f0e9 URL: https://github.com/llvm/llvm-project/commit/bfc8f9e9b0bd2279ee3398ee62f255360a89f0e9 DIFF: https://github.com/llvm/llvm-project/commit/bfc8f9e9b0bd2279ee3398ee62f255360a89f0e9.diff

[clang] 827b5c2 - [OPENMP]Fix PR49790: Constexpr values not handled in `omp declare mapper` clause.

2021-06-04 Thread Alexey Bataev via cfe-commits
Author: Alexey Bataev Date: 2021-06-04T07:32:14-07:00 New Revision: 827b5c21545aaa820403e9b5cced8c0181349ee2 URL: https://github.com/llvm/llvm-project/commit/827b5c21545aaa820403e9b5cced8c0181349ee2 DIFF: https://github.com/llvm/llvm-project/commit/827b5c21545aaa820403e9b5cced8c0181349ee2.diff

[clang] 44f197e - [OpenMP] Fix C-only clang assert on parsing use_allocator clause of target directive

2021-06-14 Thread Alexey Bataev via cfe-commits
Author: Alexey Bataev Date: 2021-06-14T10:36:27-07:00 New Revision: 44f197e94b83d389b59ce6a2a1977f972e6d34e3 URL: https://github.com/llvm/llvm-project/commit/44f197e94b83d389b59ce6a2a1977f972e6d34e3 DIFF: https://github.com/llvm/llvm-project/commit/44f197e94b83d389b59ce6a2a1977f972e6d34e3.diff

[clang] 4e15560 - [OPENMP][C++20]Add support for CXXRewrittenBinaryOperator in ranged for loops.

2021-06-14 Thread Alexey Bataev via cfe-commits
Author: Alexey Bataev Date: 2021-06-14T11:50:27-07:00 New Revision: 4e155608796b79d7e369f4e42980ce670bff7172 URL: https://github.com/llvm/llvm-project/commit/4e155608796b79d7e369f4e42980ce670bff7172 DIFF: https://github.com/llvm/llvm-project/commit/4e155608796b79d7e369f4e42980ce670bff7172.diff

[clang] 45ae766 - [OPENMP]Fix PR50699: capture locals in combine directrives for aligned clause.

2021-06-15 Thread Alexey Bataev via cfe-commits
Author: Alexey Bataev Date: 2021-06-15T04:58:02-07:00 New Revision: 45ae766e78e07434f68305d1b56bf3ee65ebbcef URL: https://github.com/llvm/llvm-project/commit/45ae766e78e07434f68305d1b56bf3ee65ebbcef DIFF: https://github.com/llvm/llvm-project/commit/45ae766e78e07434f68305d1b56bf3ee65ebbcef.diff

[clang] b3c80dd - [OPENMP]Remove const firstprivate allocation as a variable in a constant space.

2021-07-07 Thread Alexey Bataev via cfe-commits
Author: Alexey Bataev Date: 2021-07-07T05:56:48-07:00 New Revision: b3c80dd8943a0d962bea1969b7a9e0147504d293 URL: https://github.com/llvm/llvm-project/commit/b3c80dd8943a0d962bea1969b7a9e0147504d293 DIFF: https://github.com/llvm/llvm-project/commit/b3c80dd8943a0d962bea1969b7a9e0147504d293.diff

[clang] f57d396 - [OPENMP]Do no privatize const firstprivates in target regions.

2021-07-08 Thread Alexey Bataev via cfe-commits
Author: Alexey Bataev Date: 2021-07-08T11:55:37-07:00 New Revision: f57d396dcab2a280faa72aff68623a8ccfdc5421 URL: https://github.com/llvm/llvm-project/commit/f57d396dcab2a280faa72aff68623a8ccfdc5421 DIFF: https://github.com/llvm/llvm-project/commit/f57d396dcab2a280faa72aff68623a8ccfdc5421.diff

[clang] ab8989a - [OPENMP]Fix overlapped mapping for dereferenced pointer members.

2021-07-09 Thread Alexey Bataev via cfe-commits
Author: Alexey Bataev Date: 2021-07-09T12:51:26-07:00 New Revision: ab8989ab8710c693e83edbccf221746c897c835f URL: https://github.com/llvm/llvm-project/commit/ab8989ab8710c693e83edbccf221746c897c835f DIFF: https://github.com/llvm/llvm-project/commit/ab8989ab8710c693e83edbccf221746c897c835f.diff

[clang] 0caf736 - [OPENMP50]Mapping of the subcomponents with the 'default' mappers.

2021-03-02 Thread Alexey Bataev via cfe-commits
Author: Alexey Bataev Date: 2021-03-02T07:11:06-08:00 New Revision: 0caf736d7e1d16d1059553fc28dbac31f0b9f788 URL: https://github.com/llvm/llvm-project/commit/0caf736d7e1d16d1059553fc28dbac31f0b9f788 DIFF: https://github.com/llvm/llvm-project/commit/0caf736d7e1d16d1059553fc28dbac31f0b9f788.diff

[clang] 711179b - [OPENMP]Fix PR48759: "fatal error" when compile with preprocessed file.

2021-03-04 Thread Alexey Bataev via cfe-commits
Author: Alexey Bataev Date: 2021-03-04T07:26:57-08:00 New Revision: 711179b5816a65eccad22a7111494d609b899fb2 URL: https://github.com/llvm/llvm-project/commit/711179b5816a65eccad22a7111494d609b899fb2 DIFF: https://github.com/llvm/llvm-project/commit/711179b5816a65eccad22a7111494d609b899fb2.diff

[clang] 8025660 - [OpenMP] support depend clause for taskwait directive, by Deepak

2021-11-19 Thread Alexey Bataev via cfe-commits
Author: Alexey Bataev Date: 2021-11-19T06:30:17-08:00 New Revision: 80256605f8c6aab8cb33ac3a3784aacd005087a3 URL: https://github.com/llvm/llvm-project/commit/80256605f8c6aab8cb33ac3a3784aacd005087a3 DIFF: https://github.com/llvm/llvm-project/commit/80256605f8c6aab8cb33ac3a3784aacd005087a3.diff

[clang] a9036f2 - [OPENMP]Fix error emission for dependent expressions in iterators for depend clauses.

2021-12-02 Thread Alexey Bataev via cfe-commits
Author: Alexey Bataev Date: 2021-12-02T12:59:03-08:00 New Revision: a9036f2eb42d2311d84198868e9e8ff060c79a95 URL: https://github.com/llvm/llvm-project/commit/a9036f2eb42d2311d84198868e9e8ff060c79a95 DIFF: https://github.com/llvm/llvm-project/commit/a9036f2eb42d2311d84198868e9e8ff060c79a95.diff

[clang] a0839c1 - [OPENMP]Fix PR51327: Range based for loop not working if range's type is a template.

2021-12-02 Thread Alexey Bataev via cfe-commits
Author: Alexey Bataev Date: 2021-12-02T13:33:44-08:00 New Revision: a0839c13fd321bb852870ffab916ad90f691161b URL: https://github.com/llvm/llvm-project/commit/a0839c13fd321bb852870ffab916ad90f691161b DIFF: https://github.com/llvm/llvm-project/commit/a0839c13fd321bb852870ffab916ad90f691161b.diff

[clang] f627956 - [OPENMP]Fix PR52117: Crash caused by target region inside of task construct.

2021-12-03 Thread Alexey Bataev via cfe-commits
Author: Alexey Bataev Date: 2021-12-03T07:01:00-08:00 New Revision: f6279562dae456f6c58d5f7484ba4bae5c2071fa URL: https://github.com/llvm/llvm-project/commit/f6279562dae456f6c58d5f7484ba4bae5c2071fa DIFF: https://github.com/llvm/llvm-project/commit/f6279562dae456f6c58d5f7484ba4bae5c2071fa.diff

[clang] 2e2caea - [Clang][OpenMP] Make copyin clause on combined and composite construct work (patch by Yuichiro Utsumi (utsumi.yuich...@fujitsu.com))

2022-08-23 Thread Alexey Bataev via cfe-commits
Author: utsumi Date: 2022-08-23T07:58:35-07:00 New Revision: 2e2caea37f4b70568cec180e5af12ee532aba0af URL: https://github.com/llvm/llvm-project/commit/2e2caea37f4b70568cec180e5af12ee532aba0af DIFF: https://github.com/llvm/llvm-project/commit/2e2caea37f4b70568cec180e5af12ee532aba0af.diff LOG: [

[clang] 7c59dea - [NFC]Fix github identification.

2023-01-20 Thread Alexey Bataev via cfe-commits
Author: Alexey Bataev Date: 2023-01-20T08:40:38-08:00 New Revision: 7c59deaa1150a1bccf8090ba798ba93fdfe335e0 URL: https://github.com/llvm/llvm-project/commit/7c59deaa1150a1bccf8090ba798ba93fdfe335e0 DIFF: https://github.com/llvm/llvm-project/commit/7c59deaa1150a1bccf8090ba798ba93fdfe335e0.diff

[clang] [OpenMP] Introduce support for OMPX extensions and taskgraph frontend (PR #66919)

2023-09-20 Thread Alexey Bataev via cfe-commits
@@ -2729,6 +2729,55 @@ class OMPTaskwaitDirective : public OMPExecutableDirective { } }; +/// This represents '#pragma ompx taskgraph' directive. +/// Available with OMPX extensions. +/// +/// \code +/// #pragma ompx taskgraph +/// \endcode +/// +class OMPTaskgraphDirective

[clang] [OpenMP] Introduce support for OMPX extensions and taskgraph frontend (PR #66919)

2023-09-20 Thread Alexey Bataev via cfe-commits
@@ -1176,6 +1176,8 @@ def warn_pragma_ms_fenv_access : Warning< def warn_pragma_extra_tokens_at_eol : Warning< "extra tokens at end of '#pragma %0' - ignored">, InGroup; +def err_omp_extension_without_ompx : Error< + "Using extension directive '%0' in #pragma omp instead o

[clang] [OpenMP] Introduce support for OMPX extensions and taskgraph frontend (PR #66919)

2023-09-20 Thread Alexey Bataev via cfe-commits
@@ -937,10 +937,13 @@ PRAGMA_ANNOTATION(pragma_opencl_extension) // distinguish between a real pragma and a converted pragma. It is not marked // as a PRAGMA_ANNOTATION because it doesn't get generated from a #pragma. ANNOTATION(attr_openmp) +ANNOTATION(attr_openmp_extension)

[clang] [OpenMP] Introduce support for OMPX extensions and taskgraph frontend (PR #66919)

2023-09-20 Thread Alexey Bataev via cfe-commits
@@ -12156,6 +12224,12 @@ void CGOpenMPSIMDRuntime::emitTaskwaitCall(CodeGenFunction &CGF, llvm_unreachable("Not supported in SIMD-only mode"); } +void CGOpenMPSIMDRuntime::emitTaskgraphCall(CodeGenFunction &CGF, +SourceLocation Lo

[clang] [OpenMP] Introduce support for OMPX extensions and taskgraph frontend (PR #66919)

2023-09-20 Thread Alexey Bataev via cfe-commits
@@ -234,6 +236,26 @@ class CGOpenMPTaskOutlinedRegionInfo final : public CGOpenMPRegionInfo { const UntiedTaskActionTy &Action; }; +/// API for captured statement code generation in OpenMP taskgraphs. +class CGOpenMPTaskgraphRegionInfo final : public CGOpenMPRegionInfo { +p

[clang] [OpenMP] Introduce support for OMPX extensions and taskgraph frontend (PR #66919)

2023-09-20 Thread Alexey Bataev via cfe-commits
@@ -60,6 +60,8 @@ class CGOpenMPRegionInfo : public CodeGenFunction::CGCapturedStmtInfo { ParallelOutlinedRegion, /// Region with outlined function for standalone 'task' directive. TaskOutlinedRegion, +/// Region with outlined function for standalone 'taskgraph

[clang] [OpenMP] Introduce support for OMPX extensions and taskgraph frontend (PR #66919)

2023-09-20 Thread Alexey Bataev via cfe-commits
@@ -1400,6 +1402,12 @@ def warn_omp_unknown_assumption_clause_missing_id def warn_omp_unknown_assumption_clause_without_args : Warning<"%0 clause should not be followed by arguments; tokens will be ignored">, InGroup; +def warn_omp_extension_directive_not_enabled +

[clang] [OpenMP] Introduce support for OMPX extensions and taskgraph frontend (PR #66919)

2023-09-20 Thread Alexey Bataev via cfe-commits
@@ -2516,6 +2549,24 @@ StmtResult Parser::ParseOpenMPDeclarativeOrExecutableDirective( StmtResult Directive = StmtError(); bool HasAssociatedStatement = true; + // Check if it is extension directive. + // Extension directives must have extension directives + // enabled

<    3   4   5   6   7   8   9   10   11   12   >