/external/swiftshader/third_party/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/Analysis/ |
D | DemandedBits.cpp | 76 APInt &KnownZero2, APInt &KnownOne2) { in determineLiveOperandBits() argument 95 KnownOne2 = APInt(BitWidth, 0); in determineLiveOperandBits() 96 computeKnownBits(const_cast<Value *>(V2), KnownZero2, KnownOne2, DL, in determineLiveOperandBits() 216 AB &= ~KnownOne2; in determineLiveOperandBits() 220 AB &= ~(KnownOne & ~KnownOne2); in determineLiveOperandBits() 320 APInt KnownZero, KnownOne, KnownZero2, KnownOne2; in performAnalysis() local 338 KnownZero2, KnownOne2); in performAnalysis()
|
D | ValueTracking.cpp | 237 APInt &KnownZero2, APInt &KnownOne2, in computeKnownBitsAddSub() argument 249 computeKnownBits(Op1, KnownZero2, KnownOne2, Depth + 1, Q); in computeKnownBitsAddSub() 269 computeKnownBits(Op1, KnownZero2, KnownOne2, Depth + 1, Q); in computeKnownBitsAddSub() 275 std::swap(KnownZero2, KnownOne2); in computeKnownBitsAddSub() 280 APInt PossibleSumOne = LHSKnownOne + KnownOne2 + CarryIn; in computeKnownBitsAddSub() 284 APInt CarryKnownOne = PossibleSumOne ^ LHSKnownOne ^ KnownOne2; in computeKnownBitsAddSub() 288 APInt RHSKnown = KnownZero2 | KnownOne2; in computeKnownBitsAddSub() 308 else if (LHSKnownOne.isNegative() && KnownOne2.isNegative()) in computeKnownBitsAddSub() 316 APInt &KnownZero2, APInt &KnownOne2, in computeKnownBitsMul() argument 320 computeKnownBits(Op0, KnownZero2, KnownOne2, Depth + 1, Q); in computeKnownBitsMul() [all …]
|
/external/swiftshader/third_party/LLVM/lib/CodeGen/SelectionDAG/ |
D | TargetLowering.cpp | 1241 APInt KnownZero2, KnownOne2, KnownZeroOut, KnownOneOut; in SimplifyDemandedBits() local 1272 KnownZero2, KnownOne2, TLO, Depth+1)) in SimplifyDemandedBits() 1274 assert((KnownZero2 & KnownOne2) == 0 && "Bits known to be one AND zero?"); in SimplifyDemandedBits() 1280 if ((NewMask & ~KnownZero & KnownOne2) == (~KnownZero & NewMask)) in SimplifyDemandedBits() 1293 KnownOne &= KnownOne2; in SimplifyDemandedBits() 1303 KnownZero2, KnownOne2, TLO, Depth+1)) in SimplifyDemandedBits() 1305 assert((KnownZero2 & KnownOne2) == 0 && "Bits known to be one AND zero?"); in SimplifyDemandedBits() 1309 if ((NewMask & ~KnownOne2 & KnownZero) == (~KnownOne2 & NewMask)) in SimplifyDemandedBits() 1315 if ((NewMask & ~KnownZero & KnownOne2) == (~KnownZero & NewMask)) in SimplifyDemandedBits() 1329 KnownOne |= KnownOne2; in SimplifyDemandedBits() [all …]
|
D | SelectionDAG.cpp | 1621 APInt KnownZero2, KnownOne2; in ComputeMaskedBits() local 1633 KnownZero2, KnownOne2, Depth+1); in ComputeMaskedBits() 1635 assert((KnownZero2 & KnownOne2) == 0 && "Bits known to be one AND zero?"); in ComputeMaskedBits() 1638 KnownOne &= KnownOne2; in ComputeMaskedBits() 1645 KnownZero2, KnownOne2, Depth+1); in ComputeMaskedBits() 1647 assert((KnownZero2 & KnownOne2) == 0 && "Bits known to be one AND zero?"); in ComputeMaskedBits() 1652 KnownOne |= KnownOne2; in ComputeMaskedBits() 1656 ComputeMaskedBits(Op.getOperand(0), Mask, KnownZero2, KnownOne2, Depth+1); in ComputeMaskedBits() 1658 assert((KnownZero2 & KnownOne2) == 0 && "Bits known to be one AND zero?"); in ComputeMaskedBits() 1661 APInt KnownZeroOut = (KnownZero & KnownZero2) | (KnownOne & KnownOne2); in ComputeMaskedBits() [all …]
|
/external/llvm/lib/CodeGen/SelectionDAG/ |
D | TargetLowering.cpp | 464 APInt KnownZero2, KnownOne2, KnownZeroOut, KnownOneOut; in SimplifyDemandedBits() local 494 KnownZero2, KnownOne2, TLO, Depth+1)) in SimplifyDemandedBits() 496 assert((KnownZero2 & KnownOne2) == 0 && "Bits known to be one AND zero?"); in SimplifyDemandedBits() 502 if ((NewMask & ~KnownZero & KnownOne2) == (~KnownZero & NewMask)) in SimplifyDemandedBits() 515 KnownOne &= KnownOne2; in SimplifyDemandedBits() 525 KnownZero2, KnownOne2, TLO, Depth+1)) in SimplifyDemandedBits() 527 assert((KnownZero2 & KnownOne2) == 0 && "Bits known to be one AND zero?"); in SimplifyDemandedBits() 531 if ((NewMask & ~KnownOne2 & KnownZero) == (~KnownOne2 & NewMask)) in SimplifyDemandedBits() 537 if ((NewMask & ~KnownZero & KnownOne2) == (~KnownZero & NewMask)) in SimplifyDemandedBits() 551 KnownOne |= KnownOne2; in SimplifyDemandedBits() [all …]
|
D | SelectionDAG.cpp | 2031 APInt KnownZero2, KnownOne2; in computeKnownBits() local 2042 computeKnownBits(Op.getOperand(0), KnownZero2, KnownOne2, Depth+1); in computeKnownBits() 2045 KnownOne &= KnownOne2; in computeKnownBits() 2051 computeKnownBits(Op.getOperand(0), KnownZero2, KnownOne2, Depth+1); in computeKnownBits() 2056 KnownOne |= KnownOne2; in computeKnownBits() 2060 computeKnownBits(Op.getOperand(0), KnownZero2, KnownOne2, Depth+1); in computeKnownBits() 2063 APInt KnownZeroOut = (KnownZero & KnownZero2) | (KnownOne & KnownOne2); in computeKnownBits() 2065 KnownOne = (KnownZero & KnownOne2) | (KnownOne & KnownZero2); in computeKnownBits() 2071 computeKnownBits(Op.getOperand(0), KnownZero2, KnownOne2, Depth+1); in computeKnownBits() 2094 computeKnownBits(Op.getOperand(0), KnownZero2, KnownOne2, Depth+1); in computeKnownBits() [all …]
|
/external/llvm/include/llvm/Analysis/ |
D | DemandedBits.h | 62 APInt &KnownZero2, APInt &KnownOne2);
|
/external/swiftshader/third_party/LLVM/lib/Transforms/InstCombine/ |
D | InstCombineSimplifyDemanded.cpp | 730 APInt KnownZero2(BitWidth, 0), KnownOne2(BitWidth, 0); in SimplifyDemandedUseBits() local 733 KnownZero2, KnownOne2, Depth+1) || in SimplifyDemandedUseBits() 735 KnownZero2, KnownOne2, Depth+1)) in SimplifyDemandedUseBits()
|
/external/llvm/lib/Transforms/InstCombine/ |
D | InstCombineSimplifyDemanded.cpp | 720 APInt KnownZero2(BitWidth, 0), KnownOne2(BitWidth, 0); in SimplifyDemandedUseBits() local 723 KnownOne2, Depth + 1) || in SimplifyDemandedUseBits() 725 KnownOne2, Depth + 1)) in SimplifyDemandedUseBits()
|
/external/swiftshader/third_party/LLVM/lib/Target/Sparc/ |
D | SparcISelLowering.cpp | 839 APInt KnownZero2, KnownOne2; in computeMaskedBitsForTargetNode() local 848 DAG.ComputeMaskedBits(Op.getOperand(0), Mask, KnownZero2, KnownOne2, in computeMaskedBitsForTargetNode() 851 assert((KnownZero2 & KnownOne2) == 0 && "Bits known to be one AND zero?"); in computeMaskedBitsForTargetNode() 854 KnownOne &= KnownOne2; in computeMaskedBitsForTargetNode()
|
/external/llvm/lib/Target/Sparc/ |
D | SparcISelLowering.cpp | 1890 APInt KnownZero2, KnownOne2; in computeKnownBitsForTargetNode() local 1899 DAG.computeKnownBits(Op.getOperand(0), KnownZero2, KnownOne2, Depth+1); in computeKnownBitsForTargetNode() 1902 KnownOne &= KnownOne2; in computeKnownBitsForTargetNode()
|
/external/llvm/lib/Target/AArch64/ |
D | AArch64ISelLowering.cpp | 744 APInt KnownZero2, KnownOne2; in computeKnownBitsForTargetNode() local 746 DAG.computeKnownBits(Op->getOperand(1), KnownZero2, KnownOne2, Depth + 1); in computeKnownBitsForTargetNode() 748 KnownOne &= KnownOne2; in computeKnownBitsForTargetNode()
|
/external/llvm/lib/Target/AMDGPU/ |
D | AMDGPUISelLowering.cpp | 2927 APInt KnownOne2; in computeKnownBitsForTargetNode() local
|