/external/llvm/lib/Transforms/InstCombine/ |
D | InstCombineSimplifyDemanded.cpp | 142 APInt RHSKnownZero(BitWidth, 0), RHSKnownOne(BitWidth, 0); in SimplifyDemandedUseBits() local 160 computeKnownBits(I->getOperand(1), RHSKnownZero, RHSKnownOne, Depth + 1, in SimplifyDemandedUseBits() 168 if ((DemandedMask & ~LHSKnownZero & RHSKnownOne) == in SimplifyDemandedUseBits() 184 computeKnownBits(I->getOperand(1), RHSKnownZero, RHSKnownOne, Depth + 1, in SimplifyDemandedUseBits() 195 if ((DemandedMask & ~RHSKnownOne & LHSKnownZero) == in SimplifyDemandedUseBits() 196 (DemandedMask & ~RHSKnownOne)) in SimplifyDemandedUseBits() 204 if ((DemandedMask & (~LHSKnownZero) & RHSKnownOne) == in SimplifyDemandedUseBits() 211 computeKnownBits(I->getOperand(1), RHSKnownZero, RHSKnownOne, Depth + 1, in SimplifyDemandedUseBits() 243 RHSKnownOne, Depth + 1) || in SimplifyDemandedUseBits() 247 assert(!(RHSKnownZero & RHSKnownOne) && "Bits known to be one AND zero?"); in SimplifyDemandedUseBits() [all …]
|
D | InstCombineAddSub.cpp | 902 APInt RHSKnownOne(BitWidth, 0); in WillNotOverflowSignedAdd() local 903 computeKnownBits(RHS, RHSKnownZero, RHSKnownOne, 0, &CxtI); in WillNotOverflowSignedAdd() 908 (LHSKnownZero[BitWidth - 1] && RHSKnownOne[BitWidth - 1])) in WillNotOverflowSignedAdd() 939 APInt RHSKnownOne(BitWidth, 0); in WillNotOverflowSignedSub() local 940 computeKnownBits(RHS, RHSKnownZero, RHSKnownOne, 0, &CxtI); in WillNotOverflowSignedSub() 944 if ((LHSKnownOne[BitWidth - 1] && RHSKnownOne[BitWidth - 1]) || in WillNotOverflowSignedSub()
|
/external/swiftshader/third_party/LLVM/lib/Transforms/InstCombine/ |
D | InstCombineSimplifyDemanded.cpp | 141 APInt RHSKnownZero(BitWidth, 0), RHSKnownOne(BitWidth, 0); in SimplifyDemandedUseBits() local 160 RHSKnownZero, RHSKnownOne, Depth+1); in SimplifyDemandedUseBits() 167 if ((DemandedMask & ~LHSKnownZero & RHSKnownOne) == in SimplifyDemandedUseBits() 184 RHSKnownZero, RHSKnownOne, Depth+1); in SimplifyDemandedUseBits() 185 ComputeMaskedBits(I->getOperand(0), DemandedMask & ~RHSKnownOne, in SimplifyDemandedUseBits() 194 if ((DemandedMask & ~RHSKnownOne & LHSKnownZero) == in SimplifyDemandedUseBits() 195 (DemandedMask & ~RHSKnownOne)) in SimplifyDemandedUseBits() 203 if ((DemandedMask & (~LHSKnownZero) & RHSKnownOne) == in SimplifyDemandedUseBits() 227 RHSKnownZero, RHSKnownOne, Depth+1) || in SimplifyDemandedUseBits() 231 assert(!(RHSKnownZero & RHSKnownOne) && "Bits known to be one AND zero?"); in SimplifyDemandedUseBits() [all …]
|
D | InstCombineCalls.cpp | 404 APInt RHSKnownOne(BitWidth, 0); in visitCallInst() local 405 ComputeMaskedBits(RHS, Mask, RHSKnownZero, RHSKnownOne); in visitCallInst() 406 bool RHSKnownNegative = RHSKnownOne[BitWidth - 1]; in visitCallInst() 495 APInt RHSKnownOne(BitWidth, 0); in visitCallInst() local 496 ComputeMaskedBits(RHS, Mask, RHSKnownZero, RHSKnownOne); in visitCallInst()
|
D | InstCombineAddSub.cpp | 197 APInt RHSKnownOne(IT->getBitWidth(), 0); in visitAdd() local 199 ComputeMaskedBits(RHS, Mask, RHSKnownZero, RHSKnownOne); in visitAdd()
|
/external/llvm/lib/Analysis/ |
D | ValueTracking.cpp | 142 APInt RHSKnownZero(IT->getBitWidth(), 0), RHSKnownOne(IT->getBitWidth(), 0); in haveNoCommonBitsSet() local 144 computeKnownBits(RHS, RHSKnownZero, RHSKnownOne, DL, 0, AC, CxtI, DT); in haveNoCommonBitsSet() 568 APInt RHSKnownZero(BitWidth, 0), RHSKnownOne(BitWidth, 0); in computeKnownBitsFromAssume() local 569 computeKnownBits(A, RHSKnownZero, RHSKnownOne, Depth+1, Query(Q, I)); in computeKnownBitsFromAssume() 571 KnownOne |= RHSKnownOne; in computeKnownBitsFromAssume() 577 APInt RHSKnownZero(BitWidth, 0), RHSKnownOne(BitWidth, 0); in computeKnownBitsFromAssume() local 578 computeKnownBits(A, RHSKnownZero, RHSKnownOne, Depth+1, Query(Q, I)); in computeKnownBitsFromAssume() 585 KnownOne |= RHSKnownOne & MaskKnownOne; in computeKnownBitsFromAssume() 591 APInt RHSKnownZero(BitWidth, 0), RHSKnownOne(BitWidth, 0); in computeKnownBitsFromAssume() local 592 computeKnownBits(A, RHSKnownZero, RHSKnownOne, Depth+1, Query(Q, I)); in computeKnownBitsFromAssume() [all …]
|
/external/swiftshader/third_party/LLVM/lib/Target/PowerPC/ |
D | PPCISelLowering.cpp | 823 APInt RHSKnownZero, RHSKnownOne; in SelectAddressRegReg() local 833 RHSKnownZero, RHSKnownOne); in SelectAddressRegReg()
|
/external/llvm/lib/Target/PowerPC/ |
D | PPCISelLowering.cpp | 1782 APInt RHSKnownZero, RHSKnownOne; in SelectAddressRegReg() local 1788 RHSKnownZero, RHSKnownOne); in SelectAddressRegReg()
|