================
@@ -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:
Do you mean SmallDenseSet?
I'm not entirely sure what I would put for the Key in SmallDenseMap, as
CalleeFnDecl is null in the case of an indirect function.
https://github.com/llvm/llvm-project/pull/159857
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits