Add a new LibCallAliasAnalysis pass, which is parameterized
authorChris Lattner <sabre@nondot.org>
Wed, 7 May 2008 19:53:05 +0000 (19:53 +0000)
committerChris Lattner <sabre@nondot.org>
Wed, 7 May 2008 19:53:05 +0000 (19:53 +0000)
commit029840c93521f5c54380e037a66216c8227ad1e1
tree19016011207ded1f270b0dd4053cbdd161990d3e
parentfdedd5397dcbec32a4591feca9a3f6a0eba60492
Add a new LibCallAliasAnalysis pass, which is parameterized
by an instance of LibCallInfo to provide mod/ref info of
standard library functions.  This is powerful enough to
say that 'sqrt' is readonly except that it modifies errno,
or that "printf doesn't store to memory unless the %n
constraint is present" etc.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@50827 91177308-0d34-0410-b5e6-96231b3b80d8
include/llvm/Analysis/Passes.h
include/llvm/LinkAllPasses.h
lib/Analysis/LibCallAliasAnalysis.cpp [new file with mode: 0644]