Home
last modified time | relevance | path

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

/external/llvm/lib/Analysis/
DDemandedBits.cpp74 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()
DValueTracking.cpp230 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/
DTargetLowering.cpp423 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 …]
DSelectionDAG.cpp2057 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/
DDemandedBits.h58 APInt &KnownZero2, APInt &KnownOne2);
/external/llvm/lib/Transforms/InstCombine/
DInstCombineSimplifyDemanded.cpp721 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/
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/Target/Sparc/
DSparcISelLowering.cpp1821 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/
DAArch64ISelLowering.cpp742 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/
DAMDGPUISelLowering.cpp2799 APInt KnownZero2; in computeKnownBitsForTargetNode() local