diff options
author | David Pagan <dave.pagan@amd.com> | 2024-09-19 13:17:24 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-09-19 13:17:24 -0700 |
commit | d7c69c20a799509ffab8b22920c92c6428485f45 (patch) | |
tree | fd7a6da2d0562edaa7ac486c7179d6a30ddc857e /clang/lib/CodeGen/CodeGenFunction.h | |
parent | 02d34d800b94937c42fb7cff2db2b2836d918ac6 (diff) | |
download | llvm-d7c69c20a799509ffab8b22920c92c6428485f45.zip llvm-d7c69c20a799509ffab8b22920c92c6428485f45.tar.gz llvm-d7c69c20a799509ffab8b22920c92c6428485f45.tar.bz2 |
[clang][OpenMP] Add codegen for scope directive (#109197)
Added codegen for scope directive, enabled allocate and firstprivate
clauses, and added scope directive LIT test.
Testing
- LIT tests (including new scope test).
- OpenMP scope example test from 5.2 OpenMP API examples document.
- Three executable scope tests from OpenMP_VV/sollve_vv suite.
Diffstat (limited to 'clang/lib/CodeGen/CodeGenFunction.h')
-rw-r--r-- | clang/lib/CodeGen/CodeGenFunction.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/clang/lib/CodeGen/CodeGenFunction.h b/clang/lib/CodeGen/CodeGenFunction.h index 6802dc7..2df17e8 100644 --- a/clang/lib/CodeGen/CodeGenFunction.h +++ b/clang/lib/CodeGen/CodeGenFunction.h @@ -3823,6 +3823,7 @@ public: void EmitOMPInterchangeDirective(const OMPInterchangeDirective &S); void EmitOMPForDirective(const OMPForDirective &S); void EmitOMPForSimdDirective(const OMPForSimdDirective &S); + void EmitOMPScopeDirective(const OMPScopeDirective &S); void EmitOMPSectionsDirective(const OMPSectionsDirective &S); void EmitOMPSectionDirective(const OMPSectionDirective &S); void EmitOMPSingleDirective(const OMPSingleDirective &S); |