Home
last modified time | relevance | path

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

/external/llvm/lib/Transforms/InstCombine/
DInstCombineSimplifyDemanded.cpp140 APInt LHSKnownZero(BitWidth, 0), LHSKnownOne(BitWidth, 0); in SimplifyDemandedUseBits() local
162 LHSKnownZero, LHSKnownOne, Depth+1); in SimplifyDemandedUseBits()
170 if ((DemandedMask & ~RHSKnownZero & LHSKnownOne) == in SimplifyDemandedUseBits()
186 LHSKnownZero, LHSKnownOne, Depth+1); in SimplifyDemandedUseBits()
191 if ((DemandedMask & ~LHSKnownOne & RHSKnownZero) == in SimplifyDemandedUseBits()
192 (DemandedMask & ~LHSKnownOne)) in SimplifyDemandedUseBits()
200 if ((DemandedMask & (~RHSKnownZero) & LHSKnownOne) == in SimplifyDemandedUseBits()
229 LHSKnownZero, LHSKnownOne, Depth+1)) in SimplifyDemandedUseBits()
232 assert(!(LHSKnownZero & LHSKnownOne) && "Bits known to be one AND zero?"); in SimplifyDemandedUseBits()
239 if ((DemandedMask & ~RHSKnownZero & LHSKnownOne) == in SimplifyDemandedUseBits()
[all …]
DInstCombineCalls.cpp398 APInt LHSKnownOne(BitWidth, 0); in visitCallInst() local
399 ComputeMaskedBits(LHS, Mask, LHSKnownZero, LHSKnownOne); in visitCallInst()
400 bool LHSKnownNegative = LHSKnownOne[BitWidth - 1]; in visitCallInst()
493 APInt LHSKnownOne(BitWidth, 0); in visitCallInst() local
494 ComputeMaskedBits(LHS, Mask, LHSKnownZero, LHSKnownOne); in visitCallInst()
DInstCombineAddSub.cpp193 APInt LHSKnownOne(IT->getBitWidth(), 0); in visitAdd() local
195 ComputeMaskedBits(LHS, Mask, LHSKnownZero, LHSKnownOne); in visitAdd()
/external/llvm/lib/Analysis/
DValueTracking.cpp409 APInt LHSKnownZero(BitWidth, 0), LHSKnownOne(BitWidth, 0); in ComputeMaskedBits() local
412 ComputeMaskedBits(I->getOperand(0), Mask2, LHSKnownZero, LHSKnownOne, TD, in ComputeMaskedBits()
414 assert((LHSKnownZero & LHSKnownOne) == 0 && in ComputeMaskedBits()
440 KnownOne |= LHSKnownOne & Mask; in ComputeMaskedBits()
452 else if (LHSKnownOne.isNegative() && KnownOne2.isNegative()) in ComputeMaskedBits()
459 else if (LHSKnownOne.isNegative() && KnownZero2.isNegative()) in ComputeMaskedBits()
501 APInt LHSKnownZero(BitWidth, 0), LHSKnownOne(BitWidth, 0); in ComputeMaskedBits() local
502 ComputeMaskedBits(I->getOperand(0), Mask2, LHSKnownZero, LHSKnownOne, TD, in ComputeMaskedBits()
/external/llvm/lib/Target/PowerPC/
DPPCISelLowering.cpp815 APInt LHSKnownZero, LHSKnownOne; in SelectAddressRegReg() local
820 LHSKnownZero, LHSKnownOne); in SelectAddressRegReg()
879 APInt LHSKnownZero, LHSKnownOne; in SelectAddressRegImm() local
883 LHSKnownZero, LHSKnownOne); in SelectAddressRegImm()
995 APInt LHSKnownZero, LHSKnownOne; in SelectAddressRegImmShift() local
999 LHSKnownZero, LHSKnownOne); in SelectAddressRegImmShift()