Add spliceFunction to the CallGraph interface. This allows users to efficiently
commit9f39799be0db25c0b4b364badf3f15f727eb1bfc
authorNick Lewycky <nicholas@mxc.ca>
Mon, 3 Jan 2011 03:19:35 +0000 (3 03:19 +0000)
committerNick Lewycky <nicholas@mxc.ca>
Mon, 3 Jan 2011 03:19:35 +0000 (3 03:19 +0000)
tree23a60b8dc6e5b1485fda1961812388425c21d0ee
parent5861469746adef3f27a70c9f769030e159f92956
Add spliceFunction to the CallGraph interface. This allows users to efficiently
update a callGraph when performing the common operation of splicing the body to
a new function and updating all callers (such as via RAUW).

No users yet, though this is intended for DeadArgumentElimination as part of
PR8887.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@122728 91177308-0d34-0410-b5e6-96231b3b80d8
include/llvm/Analysis/CallGraph.h
lib/Analysis/IPA/CallGraph.cpp