[PATCH] D39339: [CallGraph] Refine call graph for indirect calls with !callees metadata
Matthew Simpson via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Thu Nov 9 13:52:22 PST 2017
mssimpso updated this revision to Diff 122317.
mssimpso edited the summary of this revision.
mssimpso added a comment.
Herald added a subscriber: mehdi_amini.
- Incorporated the change into the lazy call graph as well. The metadata is represented as ref edges there.
- Added a helper in CallSite to get the functions listed in the metadata.
https://reviews.llvm.org/D39339
Files:
include/llvm/Analysis/CallGraph.h
include/llvm/IR/CallSite.h
lib/Analysis/CGSCCPassManager.cpp
lib/Analysis/CallGraph.cpp
lib/Analysis/LazyCallGraph.cpp
test/Analysis/CallGraph/callees-metadata.ll
test/Analysis/CallGraph/non-leaf-intrinsics.ll
test/Analysis/LazyCallGraph/callees-metadata.ll
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D39339.122317.patch
Type: text/x-patch
Size: 11735 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20171109/0118a043/attachment.bin>
More information about the llvm-commits
mailing list