[InstCombine] Cleanup the interface for overflow checks
authorCraig Topper <craig.topper@gmail.com>
Mon, 22 May 2017 06:25:31 +0000 (06:25 +0000)
committerCraig Topper <craig.topper@gmail.com>
Mon, 22 May 2017 06:25:31 +0000 (06:25 +0000)
commit2b1fc32f229725b6479db2f92a067228dcc65349
tree2ea41f5580f32d2cf88b8ef9c0fd9dadc65d5c96
parent1b195c35a02b11d53a8ee1eed0b9838c100ba439
[InstCombine] Cleanup the interface for overflow checks

Summary:
Fix naming conventions and const correctness.
This completes the changes made in rL303029.

Patch by Yoav Ben-Shalom.

Reviewers: craig.topper

Reviewed By: craig.topper

Subscribers: llvm-commits

Differential Revision: https://reviews.llvm.org/D33377

llvm-svn: 303529
llvm/lib/Transforms/InstCombine/InstCombineAddSub.cpp
llvm/lib/Transforms/InstCombine/InstCombineCompares.cpp
llvm/lib/Transforms/InstCombine/InstCombineInternal.h
llvm/lib/Transforms/InstCombine/InstCombineMulDivRem.cpp