[PATCH] D67871: [Attributor] Use abstract call sites for call site callback

Johannes Doerfert via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Sep 20 18:58:51 PDT 2019


jdoerfert created this revision.
jdoerfert added reviewers: sstefan1, uenoku.
Herald added subscribers: bollu, hiraditya.
Herald added a project: LLVM.

When we iterate over uses of functions and expect them to be call sites,
we now use abstract call sites to allow callback calls.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D67871

Files:
  llvm/include/llvm/IR/CallSite.h
  llvm/include/llvm/Transforms/IPO/Attributor.h
  llvm/lib/Transforms/IPO/Attributor.cpp
  llvm/test/Transforms/FunctionAttrs/callbacks.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D67871.221149.patch
Type: text/x-patch
Size: 10797 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20190921/fc70e6e6/attachment.bin>


More information about the llvm-commits mailing list