llvm-project/llvm/test/Analysis/CallGraph
Giorgis Georgakoudis aef60af34e [CallGraph] Ignore callback uses
Summary:
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. They should not be added
to the ExternalCallingNode since they are only callable
by the specified caller function at creation time.

A CGSCC pass, such as OpenMPOpt, may need to update
the CallGraph by adding a new outlined callback function.
Without ignoring callback uses, adding breaks CGSCC
pass restrictions and results to a broken CallGraph.

Reviewers: jdoerfert

Subscribers: hiraditya, sstefan1, llvm-commits

Tags: #llvm

Differential Revision: https://reviews.llvm.org/D83370
2020-07-14 13:08:49 -07:00
..
2008-09-09-DirectCall.ll
2008-09-09-UsedByGlobal.ll
callback-calls.ll [CallGraph] Add support for callback call sites 2020-07-01 13:44:11 -07:00
do-nothing-intrinsic.ll
ignore-callback-uses.ll [CallGraph] Ignore callback uses 2020-07-14 13:08:49 -07:00
no-intrinsics.ll
non-leaf-intrinsics.ll [CallGraph] Add support for callback call sites 2020-07-01 13:44:11 -07:00