OSDN Git Service

[InstCombine] Change a bunch of methods to take APInts by reference instead of pointer.
authorCraig Topper <craig.topper@intel.com>
Tue, 3 Oct 2017 05:31:07 +0000 (05:31 +0000)
committerCraig Topper <craig.topper@intel.com>
Tue, 3 Oct 2017 05:31:07 +0000 (05:31 +0000)
commit42d7f5ca74d809ccda29b4cc22163252a40c4dc0
tree5a67e3302767e27fccc5076903a4590eb85aa520
parentca4640c46ad2e1921d364820472c6e8dee6df962
[InstCombine] Change a bunch of methods to take APInts by reference instead of pointer.

This allows us to remove a bunch of dereferences and only have a few dereferences at the call sites.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@314762 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Transforms/InstCombine/InstCombineCompares.cpp
lib/Transforms/InstCombine/InstCombineInternal.h