[clang] [llvm] [openmp] [OpenMP][clang] Indirect and Virtual function call mapping from host to device (PR #159857)

Jason Van Beusekom via cfe-commits cfe-commits at lists.llvm.org
Mon Mar 2 07:35:18 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;
+
----------------
Jason-Van-Beusekom wrote:

removed in https://github.com/llvm/llvm-project/pull/159857/commits/623545e0db7f5d0a535c9585740f8b5357c9bfe0

https://github.com/llvm/llvm-project/pull/159857


More information about the cfe-commits mailing list