/external/llvm/lib/Transforms/Scalar/ |
D | BDCE.cpp | 64 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/ |
D | ValueTracking.cpp | 193 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/ |
D | TargetLowering.cpp | 410 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 …]
|
D | SelectionDAG.cpp | 1972 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/ |
D | AMDILISelLowering.cpp | 284 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/ |
D | InstCombineSimplifyDemanded.cpp | 805 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/ |
D | SparcISelLowering.cpp | 1720 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/ |
D | AArch64ISelLowering.cpp | 716 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/ |
D | AMDGPUISelLowering.cpp | 2735 APInt KnownZero2; in computeKnownBitsForTargetNode() local
|