aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/ProfileData/Coverage/CoverageMapping.cpp
diff options
context:
space:
mode:
authorAndrew Gozillon <Andrew.Gozillon@amd.com>2023-04-27 14:44:19 -0500
committerAndrew Gozillon <Andrew.Gozillon@amd.com>2023-04-27 14:51:54 -0500
commitf478721231bdb71ba8f0f6fb21673b9b7f652add (patch)
tree12ce05954d81a0ffa798bd1df8e108f49cde3808 /llvm/lib/ProfileData/Coverage/CoverageMapping.cpp
parentc67079f1be713fa558b3773562bd1eeb156cadbd (diff)
downloadllvm-f478721231bdb71ba8f0f6fb21673b9b7f652add.zip
llvm-f478721231bdb71ba8f0f6fb21673b9b7f652add.tar.gz
llvm-f478721231bdb71ba8f0f6fb21673b9b7f652add.tar.bz2
[MLIR][LLVM] Add accessor for LLVMModule and invoke convertDialectAttributes on GlobalOps
This patch seeks to do two things add an accessor method to retrieve the ModuleTranslations contained LLVM Module for direct usage by dialects that are being lowered to LLVM-IR. One particular use case for this is in the OpenMP Dialect, when interfacing with the OMPIRBuilder in certain cases it is useful to be able to access the LLVM Module directly. The second is invoking convertDialectAttributes on GlobalOp's so as to be able to lower dialect specific attributes that are applied or lowered onto GlobalOp's. Reviewers: ftynse Differential Revision: https://reviews.llvm.org/D149279
Diffstat (limited to 'llvm/lib/ProfileData/Coverage/CoverageMapping.cpp')
0 files changed, 0 insertions, 0 deletions