diff options
author | Razvan Lupusoru <razvan.lupusoru@gmail.com> | 2025-10-08 10:20:11 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2025-10-08 17:20:11 +0000 |
commit | 0c087bd4f9157fd2677850ee22be55dff03bc1f7 (patch) | |
tree | bec00063fb81439e6c2a07f6f88ef1bfaef9f836 /llvm/lib/IR/DIBuilder.cpp | |
parent | 750e64d07188dbb829c30489ef318ac8d6ce4869 (diff) | |
download | llvm-0c087bd4f9157fd2677850ee22be55dff03bc1f7.zip llvm-0c087bd4f9157fd2677850ee22be55dff03bc1f7.tar.gz llvm-0c087bd4f9157fd2677850ee22be55dff03bc1f7.tar.bz2 |
[mlir][acc] Extend PointerLikeType to provide alloc, dealloc, copy (#162328)
A variable in an acc data clause operation must have a type that
implements either PointerLikeType or a MappableType interface. These
interfaces provide the contract that allows acc dialect and its
transform passes to interact with a source dialect.
One of these requirements is ability to generate code that creates
memory for a private copy and ability to initialize that copy from
another variable. Thus, update the PointerLikeType API to provide the
means to create allocation, deallocation, and copy. This will be used as
a way to fill in privatization and firstprivatization recipes.
This new API was implemented for memref along with testing to exercise
it via the implementation of a testing pass.
Diffstat (limited to 'llvm/lib/IR/DIBuilder.cpp')
0 files changed, 0 insertions, 0 deletions