Add spliceFunction to the CallGraph interface. This allows users to efficiently
authorNick Lewycky <nicholas@mxc.ca>
Mon, 3 Jan 2011 03:19:35 +0000 (03:19 +0000)
committerNick Lewycky <nicholas@mxc.ca>
Mon, 3 Jan 2011 03:19:35 +0000 (03:19 +0000)
commit9ad1cb59deda265441c1614fee5ec7f7dea7625d
tree23a60b8dc6e5b1485fda1961812388425c21d0ee
parent8e7f0d70c7dd3864126c746378a7b928d57f971f
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