/external/llvm/lib/Analysis/ |
D | DemandedBits.cpp | 74 APInt &KnownZero2, APInt &KnownOne2) { in determineLiveOperandBits() argument 92 KnownZero2 = APInt(BitWidth, 0); in determineLiveOperandBits() 94 computeKnownBits(const_cast<Value *>(V2), KnownZero2, KnownOne2, DL, in determineLiveOperandBits() 198 AB &= ~KnownZero2; in determineLiveOperandBits() 202 AB &= ~(KnownZero & ~KnownZero2); in determineLiveOperandBits() 249 KnownZero2.countLeadingOnes()); in determineLiveOperandBits() 322 APInt KnownZero, KnownOne, KnownZero2, KnownOne2; in performAnalysis() local 340 KnownZero2, KnownOne2); in performAnalysis()
|
D | ValueTracking.cpp | 230 APInt &KnownZero2, APInt &KnownOne2, in computeKnownBitsAddSub() argument 243 computeKnownBits(Op1, KnownZero2, KnownOne2, DL, Depth + 1, Q); in computeKnownBitsAddSub() 248 if ((KnownZero2 & MaskV) == MaskV) { in computeKnownBitsAddSub() 263 computeKnownBits(Op1, KnownZero2, KnownOne2, DL, Depth + 1, Q); in computeKnownBitsAddSub() 269 std::swap(KnownZero2, KnownOne2); in computeKnownBitsAddSub() 273 APInt PossibleSumZero = ~LHSKnownZero + ~KnownZero2 + CarryIn; in computeKnownBitsAddSub() 277 APInt CarryKnownZero = ~(PossibleSumZero ^ LHSKnownZero ^ KnownZero2); in computeKnownBitsAddSub() 282 APInt RHSKnown = KnownZero2 | KnownOne2; in computeKnownBitsAddSub() 298 if (LHSKnownZero.isNegative() && KnownZero2.isNegative()) in computeKnownBitsAddSub() 310 APInt &KnownZero2, APInt &KnownOne2, in computeKnownBitsMul() argument [all …]
|
/external/llvm/lib/CodeGen/SelectionDAG/ |
D | TargetLowering.cpp | 423 APInt KnownZero2, KnownOne2, KnownZeroOut, KnownOneOut; in SimplifyDemandedBits() local 453 KnownZero2, KnownOne2, TLO, Depth+1)) in SimplifyDemandedBits() 455 assert((KnownZero2 & KnownOne2) == 0 && "Bits known to be one AND zero?"); in SimplifyDemandedBits() 459 if ((NewMask & ~KnownZero2 & KnownOne) == (~KnownZero2 & NewMask)) in SimplifyDemandedBits() 464 if ((NewMask & (KnownZero|KnownZero2)) == NewMask) in SimplifyDemandedBits() 467 if (TLO.ShrinkDemandedConstant(Op, ~KnownZero2 & NewMask)) in SimplifyDemandedBits() 476 KnownZero |= KnownZero2; in SimplifyDemandedBits() 484 KnownZero2, KnownOne2, TLO, Depth+1)) in SimplifyDemandedBits() 486 assert((KnownZero2 & KnownOne2) == 0 && "Bits known to be one AND zero?"); in SimplifyDemandedBits() 492 if ((NewMask & ~KnownOne & KnownZero2) == (~KnownOne & NewMask)) in SimplifyDemandedBits() [all …]
|
D | SelectionDAG.cpp | 2057 APInt KnownZero2, KnownOne2; in computeKnownBits() local 2068 computeKnownBits(Op.getOperand(0), KnownZero2, KnownOne2, Depth+1); in computeKnownBits() 2073 KnownZero |= KnownZero2; in computeKnownBits() 2077 computeKnownBits(Op.getOperand(0), KnownZero2, KnownOne2, Depth+1); in computeKnownBits() 2080 KnownZero &= KnownZero2; in computeKnownBits() 2086 computeKnownBits(Op.getOperand(0), KnownZero2, KnownOne2, Depth+1); in computeKnownBits() 2089 APInt KnownZeroOut = (KnownZero & KnownZero2) | (KnownOne & KnownOne2); in computeKnownBits() 2091 KnownOne = (KnownZero & KnownOne2) | (KnownOne & KnownZero2); in computeKnownBits() 2097 computeKnownBits(Op.getOperand(0), KnownZero2, KnownOne2, Depth+1); in computeKnownBits() 2105 KnownZero2.countTrailingOnes(); in computeKnownBits() [all …]
|
/external/llvm/include/llvm/Analysis/ |
D | DemandedBits.h | 58 APInt &KnownZero2, APInt &KnownOne2);
|
/external/llvm/lib/Transforms/InstCombine/ |
D | InstCombineSimplifyDemanded.cpp | 721 APInt KnownZero2(BitWidth, 0), KnownOne2(BitWidth, 0); in SimplifyDemandedUseBits() local 723 if (SimplifyDemandedBits(I->getOperandUse(0), AllOnes, KnownZero2, in SimplifyDemandedUseBits() 725 SimplifyDemandedBits(I->getOperandUse(1), AllOnes, KnownZero2, in SimplifyDemandedUseBits() 729 unsigned Leaders = KnownZero2.countLeadingOnes(); in SimplifyDemandedUseBits() 731 KnownZero2.countLeadingOnes()); in SimplifyDemandedUseBits()
|
/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/Target/Sparc/ |
D | SparcISelLowering.cpp | 1821 APInt KnownZero2, KnownOne2; in computeKnownBitsForTargetNode() local 1830 DAG.computeKnownBits(Op.getOperand(0), KnownZero2, KnownOne2, Depth+1); in computeKnownBitsForTargetNode() 1834 KnownZero &= KnownZero2; in computeKnownBitsForTargetNode()
|
/external/llvm/lib/Target/AArch64/ |
D | AArch64ISelLowering.cpp | 742 APInt KnownZero2, KnownOne2; in computeKnownBitsForTargetNode() local 744 DAG.computeKnownBits(Op->getOperand(1), KnownZero2, KnownOne2, Depth + 1); in computeKnownBitsForTargetNode() 745 KnownZero &= KnownZero2; in computeKnownBitsForTargetNode()
|
/external/llvm/lib/Target/AMDGPU/ |
D | AMDGPUISelLowering.cpp | 2799 APInt KnownZero2; in computeKnownBitsForTargetNode() local
|