[Openmp-commits] [clang] [llvm] [openmp] [OpenMP][clang] Indirect and Virtual function call mapping from host to device (PR #159857)
Alexey Bataev via Openmp-commits
openmp-commits at lists.llvm.org
Wed Jan 21 10:04:27 PST 2026
================
@@ -1370,6 +1370,10 @@ class ASTContext : public RefCountedBase<ASTContext> {
/// are stored here.
llvm::DenseMap<const CXXMethodDecl *, CXXCastPath> LambdaCastPaths;
+ /// Keep track of indirect call expressions within OpenMP target regions.
+ /// Used to instert calls to __llvm_omp_indirect_call_lookup during codegen.
+ llvm::DenseSet<const CallExpr *> OMPTargetCalls;
----------------
alexey-bataev wrote:
Use SmallDenseMap
https://github.com/llvm/llvm-project/pull/159857
More information about the Openmp-commits
mailing list