diff options
author | Walter J.T.V <81811777+eZWALT@users.noreply.github.com> | 2025-09-29 07:48:18 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2025-09-29 07:48:18 +0200 |
commit | cd4c5280c73d42fd41819cc8927d00787ade88e0 (patch) | |
tree | 2c20b67693c62f08a847b3620e79f77c5d588773 /clang/lib/CodeGen/CodeGenFunction.h | |
parent | 98563d850d542411d95f5f01871762952981ba81 (diff) | |
download | llvm-cd4c5280c73d42fd41819cc8927d00787ade88e0.zip llvm-cd4c5280c73d42fd41819cc8927d00787ade88e0.tar.gz llvm-cd4c5280c73d42fd41819cc8927d00787ade88e0.tar.bz2 |
[Clang][OpenMP][LoopTransformations] Implement "#pragma omp fuse" loop transformation directive and "looprange" clause (#139293)
This change implements the fuse directive, `#pragma omp fuse`, as specified in the OpenMP 6.0, along with the `looprange` clause in clang.
This change also adds minimal stubs so flang keeps compiling (a full implementation in flang of this directive is still pending).
---------
Co-authored-by: Roger Ferrer Ibanez <roger.ferrer@bsc.es>
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 727487b..f0565c1 100644 --- a/clang/lib/CodeGen/CodeGenFunction.h +++ b/clang/lib/CodeGen/CodeGenFunction.h @@ -3861,6 +3861,7 @@ public: void EmitOMPUnrollDirective(const OMPUnrollDirective &S); void EmitOMPReverseDirective(const OMPReverseDirective &S); void EmitOMPInterchangeDirective(const OMPInterchangeDirective &S); + void EmitOMPFuseDirective(const OMPFuseDirective &S); void EmitOMPForDirective(const OMPForDirective &S); void EmitOMPForSimdDirective(const OMPForSimdDirective &S); void EmitOMPScopeDirective(const OMPScopeDirective &S); |