move ComputeMaskedBits, MaskedValueIsZero, and ComputeNumSignBits
authorChris Lattner <sabre@nondot.org>
Mon, 2 Jun 2008 01:18:21 +0000 (01:18 +0000)
committerChris Lattner <sabre@nondot.org>
Mon, 2 Jun 2008 01:18:21 +0000 (01:18 +0000)
commit173234a68fb6ece106e77da443d87f09d5906cb9
tree6523427685b3a84009f8879f4e6bbfa3e9457d9c
parent009e4f760969e3530cc2641a9599e646a20580c2
move ComputeMaskedBits, MaskedValueIsZero, and ComputeNumSignBits
out of instcombine into a new file in libanalysis.  This also teaches
ComputeNumSignBits about the number of sign bits in a constantint.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@51863 91177308-0d34-0410-b5e6-96231b3b80d8
include/llvm/Analysis/ValueTracking.h [new file with mode: 0644]
lib/Analysis/ValueTracking.cpp [new file with mode: 0644]
lib/Transforms/Scalar/InstructionCombining.cpp