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

via cfe-commits cfe-commits at lists.llvm.org
Thu Sep 21 04:01:33 PDT 2023


================
@@ -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' directive.
+    TaskgraphOutlinedRegion,
----------------
Munesanz wrote:

We need to generate a function out of the taskgraph's associated statement. It is required since the function pointer and arguments are later passed to the runtime to decide if the captured region should be executed or not (depending if the taskgraph is already recorded).

https://github.com/llvm/llvm-project/pull/66919


More information about the cfe-commits mailing list