Searched refs:RHSKnownZero (Results 1 – 4 of 4) sorted by relevance
/external/llvm/lib/Transforms/InstCombine/ |
D | InstCombineSimplifyDemanded.cpp | 143 APInt RHSKnownZero(BitWidth, 0), RHSKnownOne(BitWidth, 0); in SimplifyDemandedUseBits() local 161 computeKnownBits(I->getOperand(1), RHSKnownZero, RHSKnownOne, Depth + 1, in SimplifyDemandedUseBits() 172 if ((DemandedMask & ~RHSKnownZero & LHSKnownOne) == in SimplifyDemandedUseBits() 173 (DemandedMask & ~RHSKnownZero)) in SimplifyDemandedUseBits() 177 if ((DemandedMask & (RHSKnownZero|LHSKnownZero)) == DemandedMask) in SimplifyDemandedUseBits() 185 computeKnownBits(I->getOperand(1), RHSKnownZero, RHSKnownOne, Depth + 1, in SimplifyDemandedUseBits() 193 if ((DemandedMask & ~LHSKnownOne & RHSKnownZero) == in SimplifyDemandedUseBits() 202 if ((DemandedMask & (~RHSKnownZero) & LHSKnownOne) == in SimplifyDemandedUseBits() 203 (DemandedMask & (~RHSKnownZero))) in SimplifyDemandedUseBits() 212 computeKnownBits(I->getOperand(1), RHSKnownZero, RHSKnownOne, Depth + 1, in SimplifyDemandedUseBits() [all …]
|
D | InstCombineAddSub.cpp | 921 APInt RHSKnownZero(BitWidth, 0); in WillNotOverflowSignedAdd() local 923 computeKnownBits(RHS, RHSKnownZero, RHSKnownOne, 0, &CxtI); in WillNotOverflowSignedAdd() 927 if ((LHSKnownOne[BitWidth - 1] && RHSKnownZero[BitWidth - 1]) || in WillNotOverflowSignedAdd() 932 if (checkRippleForAdd(LHSKnownZero, RHSKnownZero)) in WillNotOverflowSignedAdd() 934 if (checkRippleForAdd(RHSKnownZero, LHSKnownZero)) in WillNotOverflowSignedAdd() 958 APInt RHSKnownZero(BitWidth, 0); in WillNotOverflowSignedSub() local 960 computeKnownBits(RHS, RHSKnownZero, RHSKnownOne, 0, &CxtI); in WillNotOverflowSignedSub() 965 (LHSKnownZero[BitWidth - 1] && RHSKnownZero[BitWidth - 1])) in WillNotOverflowSignedSub()
|
/external/llvm/lib/Analysis/ |
D | ValueTracking.cpp | 151 APInt RHSKnownZero(IT->getBitWidth(), 0), RHSKnownOne(IT->getBitWidth(), 0); in haveNoCommonBitsSet() local 153 computeKnownBits(RHS, RHSKnownZero, RHSKnownOne, DL, 0, AC, CxtI, DT); in haveNoCommonBitsSet() 154 return (LHSKnownZero | RHSKnownZero).isAllOnesValue(); in haveNoCommonBitsSet() 776 APInt RHSKnownZero(BitWidth, 0), RHSKnownOne(BitWidth, 0); in computeKnownBitsFromAssume() local 777 computeKnownBits(A, RHSKnownZero, RHSKnownOne, DL, Depth+1, Query(Q, I)); in computeKnownBitsFromAssume() 778 KnownZero |= RHSKnownZero; in computeKnownBitsFromAssume() 784 APInt RHSKnownZero(BitWidth, 0), RHSKnownOne(BitWidth, 0); in computeKnownBitsFromAssume() local 785 computeKnownBits(A, RHSKnownZero, RHSKnownOne, DL, Depth+1, Query(Q, I)); in computeKnownBitsFromAssume() 791 KnownZero |= RHSKnownZero & MaskKnownOne; in computeKnownBitsFromAssume() 797 APInt RHSKnownZero(BitWidth, 0), RHSKnownOne(BitWidth, 0); in computeKnownBitsFromAssume() local [all …]
|
/external/llvm/lib/Target/PowerPC/ |
D | PPCISelLowering.cpp | 1676 APInt RHSKnownZero, RHSKnownOne; in SelectAddressRegReg() local 1682 RHSKnownZero, RHSKnownOne); in SelectAddressRegReg() 1685 if (~(LHSKnownZero | RHSKnownZero) == 0) { in SelectAddressRegReg()
|