OSDN Git Service

[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)
commit7fe8f82f542dba1ce6d3377a6adb4906d7503ff4
treecebf1fb3a5260beb07ab573fdf40969434bf14e3
parent8677a19763796919720bfb9c36dd61d86a4ae05d
[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())`.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@353661 91177308-0d34-0410-b5e6-96231b3b80d8
include/llvm/Analysis/ConstantFolding.h
lib/Analysis/ConstantFolding.cpp
lib/Analysis/InlineCost.cpp
lib/Analysis/InstructionSimplify.cpp
lib/Transforms/Scalar/SCCP.cpp
lib/Transforms/Utils/Evaluator.cpp
lib/Transforms/Utils/Local.cpp