Searched refs:KnownOne2 (Results 1 – 5 of 5) sorted by relevance
/external/llvm/lib/Analysis/ |
D | ValueTracking.cpp | 94 APInt KnownZero2(BitWidth, 0), KnownOne2(BitWidth, 0); in ComputeMaskedBits() local 95 ComputeMaskedBits(CV->getOperand(i), Mask, KnownZero2, KnownOne2, in ComputeMaskedBits() 98 KnownOne &= KnownOne2; in ComputeMaskedBits() 153 APInt KnownZero2(KnownZero), KnownOne2(KnownOne); in ComputeMaskedBits() local 160 ComputeMaskedBits(I->getOperand(0), Mask2, KnownZero2, KnownOne2, TD, in ComputeMaskedBits() 163 assert((KnownZero2 & KnownOne2) == 0 && "Bits known to be one AND zero?"); in ComputeMaskedBits() 166 KnownOne &= KnownOne2; in ComputeMaskedBits() 174 ComputeMaskedBits(I->getOperand(0), Mask2, KnownZero2, KnownOne2, TD, in ComputeMaskedBits() 177 assert((KnownZero2 & KnownOne2) == 0 && "Bits known to be one AND zero?"); in ComputeMaskedBits() 182 KnownOne |= KnownOne2; in ComputeMaskedBits() [all …]
|
/external/llvm/lib/CodeGen/SelectionDAG/ |
D | TargetLowering.cpp | 1238 APInt KnownZero2, KnownOne2, KnownZeroOut, KnownOneOut; in SimplifyDemandedBits() local 1269 KnownZero2, KnownOne2, TLO, Depth+1)) in SimplifyDemandedBits() 1271 assert((KnownZero2 & KnownOne2) == 0 && "Bits known to be one AND zero?"); in SimplifyDemandedBits() 1277 if ((NewMask & ~KnownZero & KnownOne2) == (~KnownZero & NewMask)) in SimplifyDemandedBits() 1290 KnownOne &= KnownOne2; in SimplifyDemandedBits() 1300 KnownZero2, KnownOne2, TLO, Depth+1)) in SimplifyDemandedBits() 1302 assert((KnownZero2 & KnownOne2) == 0 && "Bits known to be one AND zero?"); in SimplifyDemandedBits() 1306 if ((NewMask & ~KnownOne2 & KnownZero) == (~KnownOne2 & NewMask)) in SimplifyDemandedBits() 1312 if ((NewMask & ~KnownZero & KnownOne2) == (~KnownZero & NewMask)) in SimplifyDemandedBits() 1326 KnownOne |= KnownOne2; in SimplifyDemandedBits() [all …]
|
D | SelectionDAG.cpp | 1598 APInt KnownZero2, KnownOne2; in ComputeMaskedBits() local 1610 KnownZero2, KnownOne2, Depth+1); in ComputeMaskedBits() 1612 assert((KnownZero2 & KnownOne2) == 0 && "Bits known to be one AND zero?"); in ComputeMaskedBits() 1615 KnownOne &= KnownOne2; in ComputeMaskedBits() 1622 KnownZero2, KnownOne2, Depth+1); in ComputeMaskedBits() 1624 assert((KnownZero2 & KnownOne2) == 0 && "Bits known to be one AND zero?"); in ComputeMaskedBits() 1629 KnownOne |= KnownOne2; in ComputeMaskedBits() 1633 ComputeMaskedBits(Op.getOperand(0), Mask, KnownZero2, KnownOne2, Depth+1); in ComputeMaskedBits() 1635 assert((KnownZero2 & KnownOne2) == 0 && "Bits known to be one AND zero?"); in ComputeMaskedBits() 1638 APInt KnownZeroOut = (KnownZero & KnownZero2) | (KnownOne & KnownOne2); in ComputeMaskedBits() [all …]
|
/external/llvm/lib/Transforms/InstCombine/ |
D | InstCombineSimplifyDemanded.cpp | 733 APInt KnownZero2(BitWidth, 0), KnownOne2(BitWidth, 0); in SimplifyDemandedUseBits() local 736 KnownZero2, KnownOne2, Depth+1) || in SimplifyDemandedUseBits() 738 KnownZero2, KnownOne2, Depth+1)) in SimplifyDemandedUseBits()
|
/external/llvm/lib/Target/Sparc/ |
D | SparcISelLowering.cpp | 837 APInt KnownZero2, KnownOne2; in computeMaskedBitsForTargetNode() local 846 DAG.ComputeMaskedBits(Op.getOperand(0), Mask, KnownZero2, KnownOne2, in computeMaskedBitsForTargetNode() 849 assert((KnownZero2 & KnownOne2) == 0 && "Bits known to be one AND zero?"); in computeMaskedBitsForTargetNode() 852 KnownOne &= KnownOne2; in computeMaskedBitsForTargetNode()
|