Uniformize the InstructionSimplify interface by ensuring that all routines
authorDuncan Sands <baldrick@free.fr>
Tue, 13 Mar 2012 11:42:19 +0000 (11:42 +0000)
committerDuncan Sands <baldrick@free.fr>
Tue, 13 Mar 2012 11:42:19 +0000 (11:42 +0000)
commit0aa85eb231dc76bcabcd35f6dc9a50536f607df3
tree798755d0e6353b2d1245fe0e3384f08149276174
parent61b1851a205cb8dd29c1d3d4231efb8f8f7da283
Uniformize the InstructionSimplify interface by ensuring that all routines
take a TargetLibraryInfo parameter.  Internally, rather than passing TD, TLI
and DT parameters around all over the place, introduce a struct for holding
them.

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