Home
last modified time | relevance | path

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

/external/llvm/lib/Analysis/
DValueTracking.cpp48 APInt &KnownZero2, APInt &KnownOne2, in ComputeMaskedBitsAddSub() argument
60 llvm::ComputeMaskedBits(Op1, KnownZero2, KnownOne2, TD, Depth+1); in ComputeMaskedBitsAddSub()
65 if ((KnownZero2 & MaskV) == MaskV) { in ComputeMaskedBitsAddSub()
86 llvm::ComputeMaskedBits(Op1, KnownZero2, KnownOne2, TD, Depth+1); in ComputeMaskedBitsAddSub()
87 assert((KnownZero2 & KnownOne2) == 0 && "Bits known to be one AND zero?"); in ComputeMaskedBitsAddSub()
88 unsigned RHSKnownZeroOut = KnownZero2.countTrailingOnes(); in ComputeMaskedBitsAddSub()
95 KnownZero |= KnownZero2 & Mask; in ComputeMaskedBitsAddSub()
115 if (LHSKnownZero.isNegative() && KnownZero2.isNegative()) in ComputeMaskedBitsAddSub()
125 else if (LHSKnownOne.isNegative() && KnownZero2.isNegative()) in ComputeMaskedBitsAddSub()
134 APInt &KnownZero2, APInt &KnownOne2, in ComputeMaskedBitsMul() argument
[all …]
/external/llvm/lib/CodeGen/SelectionDAG/
DTargetLowering.cpp384 APInt KnownZero2, KnownOne2, KnownZeroOut, KnownOneOut; in SimplifyDemandedBits() local
414 KnownZero2, KnownOne2, TLO, Depth+1)) in SimplifyDemandedBits()
416 assert((KnownZero2 & KnownOne2) == 0 && "Bits known to be one AND zero?"); in SimplifyDemandedBits()
420 if ((NewMask & ~KnownZero2 & KnownOne) == (~KnownZero2 & NewMask)) in SimplifyDemandedBits()
425 if ((NewMask & (KnownZero|KnownZero2)) == NewMask) in SimplifyDemandedBits()
428 if (TLO.ShrinkDemandedConstant(Op, ~KnownZero2 & NewMask)) in SimplifyDemandedBits()
437 KnownZero |= KnownZero2; in SimplifyDemandedBits()
445 KnownZero2, KnownOne2, TLO, Depth+1)) in SimplifyDemandedBits()
447 assert((KnownZero2 & KnownOne2) == 0 && "Bits known to be one AND zero?"); in SimplifyDemandedBits()
453 if ((NewMask & ~KnownOne & KnownZero2) == (~KnownOne & NewMask)) in SimplifyDemandedBits()
[all …]
DSelectionDAG.cpp1689 APInt KnownZero2, KnownOne2; in ComputeMaskedBits() local
1700 ComputeMaskedBits(Op.getOperand(0), KnownZero2, KnownOne2, Depth+1); in ComputeMaskedBits()
1702 assert((KnownZero2 & KnownOne2) == 0 && "Bits known to be one AND zero?"); in ComputeMaskedBits()
1707 KnownZero |= KnownZero2; in ComputeMaskedBits()
1711 ComputeMaskedBits(Op.getOperand(0), KnownZero2, KnownOne2, Depth+1); in ComputeMaskedBits()
1713 assert((KnownZero2 & KnownOne2) == 0 && "Bits known to be one AND zero?"); in ComputeMaskedBits()
1716 KnownZero &= KnownZero2; in ComputeMaskedBits()
1722 ComputeMaskedBits(Op.getOperand(0), KnownZero2, KnownOne2, Depth+1); in ComputeMaskedBits()
1724 assert((KnownZero2 & KnownOne2) == 0 && "Bits known to be one AND zero?"); in ComputeMaskedBits()
1727 APInt KnownZeroOut = (KnownZero & KnownZero2) | (KnownOne & KnownOne2); in ComputeMaskedBits()
[all …]
/external/llvm/lib/Target/R600/
DAMDILISelLowering.cpp263 APInt KnownZero2; in computeMaskedBitsForTargetNode() local
277 KnownZero2, in computeMaskedBitsForTargetNode()
282 assert((KnownZero2 & KnownOne2) == 0 in computeMaskedBitsForTargetNode()
286 KnownZero &= KnownZero2; in computeMaskedBitsForTargetNode()
/external/llvm/lib/Transforms/InstCombine/
DInstCombineSimplifyDemanded.cpp761 APInt KnownZero2(BitWidth, 0), KnownOne2(BitWidth, 0); in SimplifyDemandedUseBits() local
764 KnownZero2, KnownOne2, Depth+1) || in SimplifyDemandedUseBits()
766 KnownZero2, KnownOne2, Depth+1)) in SimplifyDemandedUseBits()
769 unsigned Leaders = KnownZero2.countLeadingOnes(); in SimplifyDemandedUseBits()
771 KnownZero2.countLeadingOnes()); in SimplifyDemandedUseBits()
/external/llvm/lib/Target/Sparc/
DSparcISelLowering.cpp843 APInt KnownZero2, KnownOne2; in computeMaskedBitsForTargetNode() local
851 DAG.ComputeMaskedBits(Op.getOperand(0), KnownZero2, KnownOne2, Depth+1); in computeMaskedBitsForTargetNode()
853 assert((KnownZero2 & KnownOne2) == 0 && "Bits known to be one AND zero?"); in computeMaskedBitsForTargetNode()
857 KnownZero &= KnownZero2; in computeMaskedBitsForTargetNode()