[PATCH] D104059: [WIP][Attributor] Derive AACallEdges attribute
Kuter Dinel via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Thu Jun 10 13:51:01 PDT 2021
kuter created this revision.
Herald added subscribers: ormris, okura, jdoerfert, uenoku, hiraditya.
Herald added a reviewer: uenoku.
Herald added a reviewer: homerdin.
kuter requested review of this revision.
Herald added a reviewer: jdoerfert.
Herald added a reviewer: sstefan1.
Herald added a reviewer: baziotis.
Herald added subscribers: llvm-commits, bbn.
Herald added a project: LLVM.
This attribute computes the optimistic live call edges using the attributor
liveness information. This attribute will be used for deriving a
inter-procedural function reachability attribute.
WIP Notes:
- A test will be added.
- Is the handling of callbacks correct ? This handling is based on what `CallGraph` does. But `::getCallbackUses` function calls the `CB::getCalledFunction` and gives up if it gets a null value. More on this bellow.
- Should we implement `GraphTraits` ?
- Should we also have pessimistic information, if so should we just use the call graph info from LLVM, or derive it ourselves using the `isKnownDead`
Repository:
rG LLVM Github Monorepo
https://reviews.llvm.org/D104059
Files:
llvm/include/llvm/Transforms/IPO/Attributor.h
llvm/lib/Transforms/IPO/AttributorAttributes.cpp
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D104059.351256.patch
Type: text/x-patch
Size: 4918 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20210610/b4901691/attachment.bin>
More information about the llvm-commits
mailing list