Home
last modified time | relevance | path

Searched refs:RHSKnownOne (Results 1 – 5 of 5) sorted by relevance

/external/llvm/lib/Transforms/InstCombine/
DInstCombineSimplifyDemanded.cpp155 APInt RHSKnownZero(BitWidth, 0), RHSKnownOne(BitWidth, 0); in SimplifyDemandedUseBits() local
173 computeKnownBits(I->getOperand(1), RHSKnownZero, RHSKnownOne, Depth + 1, in SimplifyDemandedUseBits()
181 if ((DemandedMask & ~LHSKnownZero & RHSKnownOne) == in SimplifyDemandedUseBits()
197 computeKnownBits(I->getOperand(1), RHSKnownZero, RHSKnownOne, Depth + 1, in SimplifyDemandedUseBits()
208 if ((DemandedMask & ~RHSKnownOne & LHSKnownZero) == in SimplifyDemandedUseBits()
209 (DemandedMask & ~RHSKnownOne)) in SimplifyDemandedUseBits()
217 if ((DemandedMask & (~LHSKnownZero) & RHSKnownOne) == in SimplifyDemandedUseBits()
224 computeKnownBits(I->getOperand(1), RHSKnownZero, RHSKnownOne, Depth + 1, in SimplifyDemandedUseBits()
256 RHSKnownOne, Depth + 1) || in SimplifyDemandedUseBits()
260 assert(!(RHSKnownZero & RHSKnownOne) && "Bits known to be one AND zero?"); in SimplifyDemandedUseBits()
[all …]
DInstCombineAddSub.cpp922 APInt RHSKnownOne(BitWidth, 0); in WillNotOverflowSignedAdd() local
923 computeKnownBits(RHS, RHSKnownZero, RHSKnownOne, 0, &CxtI); in WillNotOverflowSignedAdd()
928 (LHSKnownZero[BitWidth - 1] && RHSKnownOne[BitWidth - 1])) in WillNotOverflowSignedAdd()
959 APInt RHSKnownOne(BitWidth, 0); in WillNotOverflowSignedSub() local
960 computeKnownBits(RHS, RHSKnownZero, RHSKnownOne, 0, &CxtI); in WillNotOverflowSignedSub()
964 if ((LHSKnownOne[BitWidth - 1] && RHSKnownOne[BitWidth - 1]) || in WillNotOverflowSignedSub()
1168 APInt RHSKnownOne(IT->getBitWidth(), 0); in visitAdd() local
1170 computeKnownBits(RHS, RHSKnownZero, RHSKnownOne, 0, &I); in visitAdd()
/external/llvm/lib/Analysis/
DValueTracking.cpp723 APInt RHSKnownZero(BitWidth, 0), RHSKnownOne(BitWidth, 0); in computeKnownBitsFromAssume() local
724 computeKnownBits(A, RHSKnownZero, RHSKnownOne, DL, Depth+1, Query(Q, I)); in computeKnownBitsFromAssume()
726 KnownOne |= RHSKnownOne; in computeKnownBitsFromAssume()
731 APInt RHSKnownZero(BitWidth, 0), RHSKnownOne(BitWidth, 0); in computeKnownBitsFromAssume() local
732 computeKnownBits(A, RHSKnownZero, RHSKnownOne, DL, Depth+1, Query(Q, I)); in computeKnownBitsFromAssume()
739 KnownOne |= RHSKnownOne & MaskKnownOne; in computeKnownBitsFromAssume()
744 APInt RHSKnownZero(BitWidth, 0), RHSKnownOne(BitWidth, 0); in computeKnownBitsFromAssume() local
745 computeKnownBits(A, RHSKnownZero, RHSKnownOne, DL, Depth+1, Query(Q, I)); in computeKnownBitsFromAssume()
751 KnownZero |= RHSKnownOne & MaskKnownOne; in computeKnownBitsFromAssume()
757 APInt RHSKnownZero(BitWidth, 0), RHSKnownOne(BitWidth, 0); in computeKnownBitsFromAssume() local
[all …]
/external/llvm/lib/Transforms/Scalar/
DSeparateConstOffsetFromGEP.cpp666 APInt LHSKnownOne, LHSKnownZero, RHSKnownOne, RHSKnownZero; in NoCommonBits() local
668 ComputeKnownBits(RHS, RHSKnownOne, RHSKnownZero); in NoCommonBits()
/external/llvm/lib/Target/PowerPC/
DPPCISelLowering.cpp1487 APInt RHSKnownZero, RHSKnownOne; in SelectAddressRegReg() local
1493 RHSKnownZero, RHSKnownOne); in SelectAddressRegReg()