summaryrefslogtreecommitdiff
path: root/lldb/source/Plugins/ScriptInterpreter/Python/PythonDataObjects.cpp
diff options
context:
space:
mode:
authorAndrew Gozillon <Andrew.Gozillon@amd.com>2023-05-22 05:40:16 -0500
committerAndrew Gozillon <Andrew.Gozillon@amd.com>2023-05-22 05:41:06 -0500
commit95b0b867b0d19919133693b8e75b170fd25a9cec (patch)
tree860685d424714dab10477a8bcb7e0960648af77f /lldb/source/Plugins/ScriptInterpreter/Python/PythonDataObjects.cpp
parent38140255113297fe3e7926d311cd45004928779e (diff)
[Flang][OpenMP][MLIR] Add declare target attribute set and interface for the OpenMP dialect
This attribute represents the OpenMP declare target directive, it marks a function or global as declare target by being present but also contains information on the device_type and capture clause (link or to). It being an attribute allows it to mark existing constructs and be converted trivially on lowering from the OpenMP dialect to MLIR using amendOperation. An interface has been made for the declare target attribute, with several helper methods for managing the attribute, this interface can be applied to MLIR operations that are allowed to be marked as declare target (as an example, it is by default applied to func.func, LLVMFunc, fir.GlobalOps and LLVMGlobalOps). Reviewers: kiranchandramohan Differential Revision: https://reviews.llvm.org/D150328
Diffstat (limited to 'lldb/source/Plugins/ScriptInterpreter/Python/PythonDataObjects.cpp')
0 files changed, 0 insertions, 0 deletions