[all-commits] [llvm/llvm-project] e16585: [flang][OpenMP] Implement flexible OpenMP clause r...
Krzysztof Parzyszek via All-commits
all-commits at lists.llvm.org
Thu Feb 22 14:54:32 PST 2024
Branch: refs/heads/users/kparzysz/spr/b01-clauses
Home: https://github.com/llvm/llvm-project
Commit: e16585a087766f6c8f0fba4ea78de03756b4ec15
https://github.com/llvm/llvm-project/commit/e16585a087766f6c8f0fba4ea78de03756b4ec15
Author: Krzysztof Parzyszek <Krzysztof.Parzyszek at amd.com>
Date: 2024-02-22 (Thu, 22 Feb 2024)
Changed paths:
M flang/lib/Lower/CMakeLists.txt
A flang/lib/Lower/OpenMP/ClauseT.h
A flang/lib/Lower/OpenMP/Clauses.cpp
A flang/lib/Lower/OpenMP/Clauses.h
Log Message:
-----------
[flang][OpenMP] Implement flexible OpenMP clause representation
Introduce a set of generic classes (templates) that represent OpenMP
clauses in a language-agnostic manner. OpenMP clauses can contain
expressions and data objects and the exact representation of each
depends on the source language of the compiled program. To deal with
this, the templates depend on two type parameters:
- IdType: type that represent object's identity (in a way that
satisfied OpenMP requirements), and
- ExprType: type that can represent numeric values, as well as
data references (e.g. x.y[1].z[2]).
In addition to that, implement code instantiating these templates
from flang's AST.
This patch only introduces the new classes, they are not yet used
anywhere.
To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications
More information about the All-commits
mailing list