Further expand what a call graph pass may do.
commit9bb4fe93675b46a82ff109e6e8966716aef59970
authorNick Lewycky <nicholas@mxc.ca>
Mon, 3 Jan 2011 06:16:07 +0000 (3 06:16 +0000)
committerNick Lewycky <nicholas@mxc.ca>
Mon, 3 Jan 2011 06:16:07 +0000 (3 06:16 +0000)
treedc084b94d20b0c2de8d2da1037b59383c58eee0e
parent6ad77b1aa632a56d00a1347afbe6284b1e4e32d1
Further expand what a call graph pass may do.

The rationale is that after analyzing a function in the SCC, we may want to
modify it in a way that requires us to update its uses (f.e. to replace the
call with a constant) or its users (f.e. to call it with fewer arguments).

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@122739 91177308-0d34-0410-b5e6-96231b3b80d8
docs/WritingAnLLVMPass.html