Home
last modified time | relevance | path

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

/external/swiftshader/third_party/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.cpp397 APInt LHSKnownOne(BitWidth, 0); in visitCallInst() local
398 ComputeMaskedBits(LHS, Mask, LHSKnownZero, LHSKnownOne); in visitCallInst()
399 bool LHSKnownNegative = LHSKnownOne[BitWidth - 1]; in visitCallInst()
492 APInt LHSKnownOne(BitWidth, 0); in visitCallInst() local
493 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/Transforms/InstCombine/
DInstCombineSimplifyDemanded.cpp141 APInt LHSKnownZero(BitWidth, 0), LHSKnownOne(BitWidth, 0); in SimplifyDemandedUseBits() local
162 computeKnownBits(I->getOperand(0), LHSKnownZero, LHSKnownOne, Depth + 1, in SimplifyDemandedUseBits()
171 if ((DemandedMask & ~RHSKnownZero & LHSKnownOne) == in SimplifyDemandedUseBits()
186 computeKnownBits(I->getOperand(0), LHSKnownZero, LHSKnownOne, Depth + 1, in SimplifyDemandedUseBits()
192 if ((DemandedMask & ~LHSKnownOne & RHSKnownZero) == in SimplifyDemandedUseBits()
193 (DemandedMask & ~LHSKnownOne)) in SimplifyDemandedUseBits()
201 if ((DemandedMask & (~RHSKnownZero) & LHSKnownOne) == in SimplifyDemandedUseBits()
213 computeKnownBits(I->getOperand(0), LHSKnownZero, LHSKnownOne, Depth + 1, in SimplifyDemandedUseBits()
245 LHSKnownZero, LHSKnownOne, Depth + 1)) in SimplifyDemandedUseBits()
248 assert(!(LHSKnownZero & LHSKnownOne) && "Bits known to be one AND zero?"); in SimplifyDemandedUseBits()
[all …]
DInstCombineAddSub.cpp898 APInt LHSKnownOne(BitWidth, 0); in WillNotOverflowSignedAdd() local
899 computeKnownBits(LHS, LHSKnownZero, LHSKnownOne, 0, &CxtI); in WillNotOverflowSignedAdd()
907 if ((LHSKnownOne[BitWidth - 1] && RHSKnownZero[BitWidth - 1]) || in WillNotOverflowSignedAdd()
935 APInt LHSKnownOne(BitWidth, 0); in WillNotOverflowSignedSub() local
936 computeKnownBits(LHS, LHSKnownZero, LHSKnownOne, 0, &CxtI); in WillNotOverflowSignedSub()
944 if ((LHSKnownOne[BitWidth - 1] && RHSKnownOne[BitWidth - 1]) || in WillNotOverflowSignedSub()
1091 APInt LHSKnownOne(IT->getBitWidth(), 0); in visitAdd() local
1093 computeKnownBits(XorLHS, LHSKnownZero, LHSKnownOne, 0, &I); in visitAdd()
/external/swiftshader/third_party/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/Analysis/
DValueTracking.cpp141 APInt LHSKnownZero(IT->getBitWidth(), 0), LHSKnownOne(IT->getBitWidth(), 0); in haveNoCommonBitsSet() local
143 computeKnownBits(LHS, LHSKnownZero, LHSKnownOne, DL, 0, AC, CxtI, DT); in haveNoCommonBitsSet()
267 APInt LHSKnownZero(BitWidth, 0), LHSKnownOne(BitWidth, 0); in computeKnownBitsAddSub() local
268 computeKnownBits(Op0, LHSKnownZero, LHSKnownOne, Depth + 1, Q); in computeKnownBitsAddSub()
280 APInt PossibleSumOne = LHSKnownOne + KnownOne2 + CarryIn; in computeKnownBitsAddSub()
284 APInt CarryKnownOne = PossibleSumOne ^ LHSKnownOne ^ KnownOne2; in computeKnownBitsAddSub()
287 APInt LHSKnown = LHSKnownZero | LHSKnownOne; in computeKnownBitsAddSub()
308 else if (LHSKnownOne.isNegative() && KnownOne2.isNegative()) in computeKnownBitsAddSub()
1112 APInt LHSKnownZero(BitWidth, 0), LHSKnownOne(BitWidth, 0); in computeKnownBitsFromOperator() local
1113 computeKnownBits(I->getOperand(0), LHSKnownZero, LHSKnownOne, Depth + 1, in computeKnownBitsFromOperator()
[all …]
DInstructionSimplify.cpp3125 APInt LHSKnownOne(BitWidth, 0); in SimplifyICmpInst() local
3126 computeKnownBits(LHS, LHSKnownZero, LHSKnownOne, Q.DL, /*Depth=*/0, Q.AC, in SimplifyICmpInst()
3129 if (((LHSKnownZero & RHSVal) != 0) || ((LHSKnownOne & ~RHSVal) != 0)) in SimplifyICmpInst()
/external/swiftshader/third_party/LLVM/lib/Target/PowerPC/
DPPCISelLowering.cpp822 APInt LHSKnownZero, LHSKnownOne; in SelectAddressRegReg() local
827 LHSKnownZero, LHSKnownOne); in SelectAddressRegReg()
886 APInt LHSKnownZero, LHSKnownOne; in SelectAddressRegImm() local
890 LHSKnownZero, LHSKnownOne); in SelectAddressRegImm()
1002 APInt LHSKnownZero, LHSKnownOne; in SelectAddressRegImmShift() local
1006 LHSKnownZero, LHSKnownOne); in SelectAddressRegImmShift()
/external/llvm/lib/Target/PowerPC/
DPPCISelDAGToDAG.cpp2687 APInt LHSKnownZero, LHSKnownOne; in Select() local
2688 CurDAG->computeKnownBits(N->getOperand(0), LHSKnownZero, LHSKnownOne); in Select()
DPPCISelLowering.cpp1781 APInt LHSKnownZero, LHSKnownOne; in SelectAddressRegReg() local
1784 LHSKnownZero, LHSKnownOne); in SelectAddressRegReg()
1887 APInt LHSKnownZero, LHSKnownOne; in SelectAddressRegImm() local
1888 DAG.computeKnownBits(N.getOperand(0), LHSKnownZero, LHSKnownOne); in SelectAddressRegImm()