diff options
author | Razvan Lupusoru <razvan.lupusoru@gmail.com> | 2025-02-10 08:03:38 -0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2025-02-10 08:03:38 -0800 |
commit | 1c583c19bb7914a2686e245b7e1d14f82fe454eb (patch) | |
tree | dc23bfffc39d486c283863c17626693ef80d42e6 /clang/lib/CodeGen/CodeGenModule.cpp | |
parent | 308d28667c14e7c14d8688cd19201308e07c8721 (diff) | |
download | llvm-1c583c19bb7914a2686e245b7e1d14f82fe454eb.zip llvm-1c583c19bb7914a2686e245b7e1d14f82fe454eb.tar.gz llvm-1c583c19bb7914a2686e245b7e1d14f82fe454eb.tar.bz2 |
[acc][mlir] Add functionality for categorizing OpenACC variable types (#126167)
OpenACC specification describes the following type categories: scalar,
array, composite, and aggregate (which includes arrays, composites, and
others such as Fortran pointer/allocatable).
Decision for how to do implicit mapping is dependent on a variable's
category. Since acc dialect's only means of distinguishing between types
is through the interfaces attached, add API to be able to get the type
category.
In addition to defining the new API, attempt to provide a base
implementation for memref which matches what OpenACC spec describes.
Diffstat (limited to 'clang/lib/CodeGen/CodeGenModule.cpp')
0 files changed, 0 insertions, 0 deletions