]> granicus.if.org Git - llvm/commit
[Attributor] Use abstract call sites for call site callback
authorJohannes Doerfert <jdoerfert@anl.gov>
Mon, 7 Oct 2019 23:14:58 +0000 (23:14 +0000)
committerJohannes Doerfert <jdoerfert@anl.gov>
Mon, 7 Oct 2019 23:14:58 +0000 (23:14 +0000)
commit87a9fe3375121f19287b90097ed934d1c96018ed
tree4808626b42fde208909f9d7154d160a6cf810bbb
parent29c8da51dbac43a126e0011da09f9df4b340222b
[Attributor] Use abstract call sites for call site callback

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

Reviewers: sstefan1, uenoku

Subscribers: hiraditya, bollu, hfinkel, llvm-commits

Tags: #llvm

Differential Revision: https://reviews.llvm.org/D67871

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@373985 91177308-0d34-0410-b5e6-96231b3b80d8
include/llvm/IR/CallSite.h
include/llvm/Transforms/IPO/Attributor.h
lib/Transforms/IPO/Attributor.cpp
test/Transforms/FunctionAttrs/callbacks.ll [new file with mode: 0644]