[CallSite removal] Migrate ConstantFolding APIs and implementation to
authorChandler Carruth <chandlerc@gmail.com>
Mon, 11 Feb 2019 07:51:44 +0000 (07:51 +0000)
committerChandler Carruth <chandlerc@gmail.com>
Mon, 11 Feb 2019 07:51:44 +0000 (07:51 +0000)
commit751d95fb9b3d66731eca0a17bcd7392ca96bb8d9
tree7c1a2c76efcb97119c0ce19712af9e18f89f98b0
parent3160734af13ba9797c82ce98be75b63db0c37c50
[CallSite removal] Migrate ConstantFolding APIs and implementation to
`CallBase`.

Users have been updated. You can see how to update any out-of-tree
usages: pass `cast<CallBase>(CS.getInstruction())`.

llvm-svn: 353661
llvm/include/llvm/Analysis/ConstantFolding.h
llvm/lib/Analysis/ConstantFolding.cpp
llvm/lib/Analysis/InlineCost.cpp
llvm/lib/Analysis/InstructionSimplify.cpp
llvm/lib/Transforms/Scalar/SCCP.cpp
llvm/lib/Transforms/Utils/Evaluator.cpp
llvm/lib/Transforms/Utils/Local.cpp