Home
last modified time | relevance | path

Searched refs:KnownZero2 (Results 1 – 9 of 9) sorted by relevance

/external/llvm/lib/Transforms/Scalar/
DBDCE.cpp64 APInt &KnownZero2, APInt &KnownOne2);
88 APInt &KnownZero2, APInt &KnownOne2) { in determineLiveOperandBits() argument
106 KnownZero2 = APInt(BitWidth, 0); in determineLiveOperandBits()
108 computeKnownBits(const_cast<Value *>(V2), KnownZero2, KnownOne2, DL, in determineLiveOperandBits()
211 AB &= ~KnownZero2; in determineLiveOperandBits()
215 AB &= ~(KnownZero & ~KnownZero2); in determineLiveOperandBits()
322 APInt KnownZero, KnownOne, KnownZero2, KnownOne2; in runOnFunction() local
340 KnownZero2, KnownOne2); in runOnFunction()
/external/llvm/lib/Analysis/
DValueTracking.cpp193 APInt &KnownZero2, APInt &KnownOne2, in computeKnownBitsAddSub() argument
206 computeKnownBits(Op1, KnownZero2, KnownOne2, DL, Depth + 1, Q); in computeKnownBitsAddSub()
211 if ((KnownZero2 & MaskV) == MaskV) { in computeKnownBitsAddSub()
226 computeKnownBits(Op1, KnownZero2, KnownOne2, DL, Depth + 1, Q); in computeKnownBitsAddSub()
232 std::swap(KnownZero2, KnownOne2); in computeKnownBitsAddSub()
236 APInt PossibleSumZero = ~LHSKnownZero + ~KnownZero2 + CarryIn; in computeKnownBitsAddSub()
240 APInt CarryKnownZero = ~(PossibleSumZero ^ LHSKnownZero ^ KnownZero2); in computeKnownBitsAddSub()
245 APInt RHSKnown = KnownZero2 | KnownOne2; in computeKnownBitsAddSub()
261 if (LHSKnownZero.isNegative() && KnownZero2.isNegative()) in computeKnownBitsAddSub()
273 APInt &KnownZero2, APInt &KnownOne2, in computeKnownBitsMul() argument
[all …]
/external/llvm/lib/CodeGen/SelectionDAG/
DTargetLowering.cpp410 APInt KnownZero2, KnownOne2, KnownZeroOut, KnownOneOut; in SimplifyDemandedBits() local
440 KnownZero2, KnownOne2, TLO, Depth+1)) in SimplifyDemandedBits()
442 assert((KnownZero2 & KnownOne2) == 0 && "Bits known to be one AND zero?"); in SimplifyDemandedBits()
446 if ((NewMask & ~KnownZero2 & KnownOne) == (~KnownZero2 & NewMask)) in SimplifyDemandedBits()
451 if ((NewMask & (KnownZero|KnownZero2)) == NewMask) in SimplifyDemandedBits()
454 if (TLO.ShrinkDemandedConstant(Op, ~KnownZero2 & NewMask)) in SimplifyDemandedBits()
463 KnownZero |= KnownZero2; in SimplifyDemandedBits()
471 KnownZero2, KnownOne2, TLO, Depth+1)) in SimplifyDemandedBits()
473 assert((KnownZero2 & KnownOne2) == 0 && "Bits known to be one AND zero?"); in SimplifyDemandedBits()
479 if ((NewMask & ~KnownOne & KnownZero2) == (~KnownOne & NewMask)) in SimplifyDemandedBits()
[all …]
DSelectionDAG.cpp1972 APInt KnownZero2, KnownOne2; in computeKnownBits() local
1983 computeKnownBits(Op.getOperand(0), KnownZero2, KnownOne2, Depth+1); in computeKnownBits()
1988 KnownZero |= KnownZero2; in computeKnownBits()
1992 computeKnownBits(Op.getOperand(0), KnownZero2, KnownOne2, Depth+1); in computeKnownBits()
1995 KnownZero &= KnownZero2; in computeKnownBits()
2001 computeKnownBits(Op.getOperand(0), KnownZero2, KnownOne2, Depth+1); in computeKnownBits()
2004 APInt KnownZeroOut = (KnownZero & KnownZero2) | (KnownOne & KnownOne2); in computeKnownBits()
2006 KnownOne = (KnownZero & KnownOne2) | (KnownOne & KnownZero2); in computeKnownBits()
2012 computeKnownBits(Op.getOperand(0), KnownZero2, KnownOne2, Depth+1); in computeKnownBits()
2020 KnownZero2.countTrailingOnes(); in computeKnownBits()
[all …]
/external/mesa3d/src/gallium/drivers/radeon/
DAMDILISelLowering.cpp284 APInt KnownZero2; in computeMaskedBitsForTargetNode() local
298 KnownZero2, in computeMaskedBitsForTargetNode()
303 assert((KnownZero2 & KnownOne2) == 0 in computeMaskedBitsForTargetNode()
307 KnownZero &= KnownZero2; in computeMaskedBitsForTargetNode()
/external/llvm/lib/Transforms/InstCombine/
DInstCombineSimplifyDemanded.cpp805 APInt KnownZero2(BitWidth, 0), KnownOne2(BitWidth, 0); in SimplifyDemandedUseBits() local
807 if (SimplifyDemandedBits(I->getOperandUse(0), AllOnes, KnownZero2, in SimplifyDemandedUseBits()
809 SimplifyDemandedBits(I->getOperandUse(1), AllOnes, KnownZero2, in SimplifyDemandedUseBits()
813 unsigned Leaders = KnownZero2.countLeadingOnes(); in SimplifyDemandedUseBits()
815 KnownZero2.countLeadingOnes()); in SimplifyDemandedUseBits()
/external/llvm/lib/Target/Sparc/
DSparcISelLowering.cpp1720 APInt KnownZero2, KnownOne2; in computeKnownBitsForTargetNode() local
1729 DAG.computeKnownBits(Op.getOperand(0), KnownZero2, KnownOne2, Depth+1); in computeKnownBitsForTargetNode()
1733 KnownZero &= KnownZero2; in computeKnownBitsForTargetNode()
/external/llvm/lib/Target/AArch64/
DAArch64ISelLowering.cpp716 APInt KnownZero2, KnownOne2; in computeKnownBitsForTargetNode() local
718 DAG.computeKnownBits(Op->getOperand(1), KnownZero2, KnownOne2, Depth + 1); in computeKnownBitsForTargetNode()
719 KnownZero &= KnownZero2; in computeKnownBitsForTargetNode()
/external/llvm/lib/Target/R600/
DAMDGPUISelLowering.cpp2735 APInt KnownZero2; in computeKnownBitsForTargetNode() local