[PATCH] D83370: [CallGraph] Ignore callback uses

Giorgis Georgakoudis via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Jul 7 22:52:33 PDT 2020


ggeorgakoudis created this revision.
Herald added subscribers: llvm-commits, sstefan1, hiraditya.
Herald added a reviewer: jdoerfert.
Herald added a project: LLVM.

Ignore callback uses when adding a callback function
in the CallGraph. Callback functions are typically
created when outlining, e.g. for OpenMP, so they have
internal scope and linkage.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D83370

Files:
  llvm/include/llvm/IR/Function.h
  llvm/lib/Analysis/CallGraph.cpp
  llvm/lib/IR/Function.cpp
  llvm/test/Analysis/CallGraph/ignore-callback-uses.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D83370.276312.patch
Type: text/x-patch
Size: 5334 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20200708/b191c442/attachment.bin>


More information about the llvm-commits mailing list