aboutsummaryrefslogtreecommitdiff
path: root/lib/Analysis/ConstantFolding.cpp
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2012-01-26 20:37:11 +0000
committerChris Lattner <sabre@nondot.org>2012-01-26 20:37:11 +0000
commit1a8def6ad6b7b114abd31524d73ad8062a82fbc8 (patch)
tree8d92dae42e25aa5199d1ecb4814be4579caf0d82 /lib/Analysis/ConstantFolding.cpp
parent6a5d0e2a98003f5235ed8c3b9a439ad85d3d91d9 (diff)
Reduce a lot of code duplication by implementing
ConstantExpr::getWithOperandReplaced and ConstantExpr::replaceUsesOfWithOnConstant in terms of ConstantExpr::getWithOperands. While we're at it, make sure that ConstantExpr::getWithOperands covers all instructions: it was missing insert/extractvalue. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@149076 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Analysis/ConstantFolding.cpp')
0 files changed, 0 insertions, 0 deletions