aboutsummaryrefslogtreecommitdiff
path: root/lldb/source/Commands/CommandObjectExpression.cpp
diff options
context:
space:
mode:
authorSergio Afonso <safonsof@amd.com>2023-04-10 14:24:25 +0100
committerSergio Afonso <safonsof@amd.com>2023-05-18 15:14:03 +0100
commit06b3f6086c7b46c4caccb868b0f7d09702848222 (patch)
treee1ca7cafb368f6eb0e64f85a39e09dc3d523d198 /lldb/source/Commands/CommandObjectExpression.cpp
parent8e82376863460f6dc2dbb7fe6754af3ba69cc9c4 (diff)
downloadllvm-06b3f6086c7b46c4caccb868b0f7d09702848222.zip
llvm-06b3f6086c7b46c4caccb868b0f7d09702848222.tar.gz
llvm-06b3f6086c7b46c4caccb868b0f7d09702848222.tar.bz2
[Flang][OpenMP][OMPIRBuilder] Add lowering of TargetOp for device codegen
This patch adds support in the `OpenMPIRBuilder` for generating working device code for OpenMP target regions. It generates and handles the result of a call to `__kmpc_target_init()` at the beginning of the function resulting from outlining each target region, and it also generates the matching `__kmpc_target_deinit()` call before returning. It relies on the implementation of target region outlining for host codegen to handle the production of the new function and the lowering of its body based on the contents of the associated target region. Depends on D147172 Differential Revision: https://reviews.llvm.org/D147940
Diffstat (limited to 'lldb/source/Commands/CommandObjectExpression.cpp')
0 files changed, 0 insertions, 0 deletions