Add entry points to instsimplify for simplifying calls. The entry points
authorChandler Carruth <chandlerc@gmail.com>
Fri, 28 Dec 2012 11:30:55 +0000 (11:30 +0000)
committerChandler Carruth <chandlerc@gmail.com>
Fri, 28 Dec 2012 11:30:55 +0000 (11:30 +0000)
commitc98bd9f1a79adffe73acd337b6f7f9afa6bae078
tree2bdf0bd7c9002f219fd0f78d6f7b3c88c01eb095
parentf045df1b8b7f80e17e34c2b5639082a1d0e289ae
Add entry points to instsimplify for simplifying calls. The entry points
are nice and decomposed so that we can simplify synthesized calls as
easily as actually call instructions. The internal utility still has the
same behavior, it just now operates on a more generic interface so that
I can extend the set of call simplifications that instsimplify knows
about.

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