/external/llvm/lib/Analysis/ |
D | DemandedBits.cpp | 74 APInt &KnownZero2, APInt &KnownOne2) { in determineLiveOperandBits() argument 93 KnownOne2 = APInt(BitWidth, 0); in determineLiveOperandBits() 94 computeKnownBits(const_cast<Value *>(V2), KnownZero2, KnownOne2, DL, in determineLiveOperandBits() 214 AB &= ~KnownOne2; in determineLiveOperandBits() 218 AB &= ~(KnownOne & ~KnownOne2); 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() 263 computeKnownBits(Op1, KnownZero2, KnownOne2, DL, Depth + 1, Q); in computeKnownBitsAddSub() 269 std::swap(KnownZero2, KnownOne2); in computeKnownBitsAddSub() 274 APInt PossibleSumOne = LHSKnownOne + KnownOne2 + CarryIn; in computeKnownBitsAddSub() 278 APInt CarryKnownOne = PossibleSumOne ^ LHSKnownOne ^ KnownOne2; in computeKnownBitsAddSub() 282 APInt RHSKnown = KnownZero2 | KnownOne2; in computeKnownBitsAddSub() 302 else if (LHSKnownOne.isNegative() && KnownOne2.isNegative()) in computeKnownBitsAddSub() 310 APInt &KnownZero2, APInt &KnownOne2, in computeKnownBitsMul() argument 315 computeKnownBits(Op0, KnownZero2, KnownOne2, DL, Depth + 1, Q); in computeKnownBitsMul() [all …]
|
/external/llvm/include/llvm/Analysis/ |
D | DemandedBits.h | 58 APInt &KnownZero2, APInt &KnownOne2);
|
/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() 461 if ((NewMask & ~KnownZero & KnownOne2) == (~KnownZero & NewMask)) in SimplifyDemandedBits() 474 KnownOne &= KnownOne2; in SimplifyDemandedBits() 484 KnownZero2, KnownOne2, TLO, Depth+1)) in SimplifyDemandedBits() 486 assert((KnownZero2 & KnownOne2) == 0 && "Bits known to be one AND zero?"); in SimplifyDemandedBits() 490 if ((NewMask & ~KnownOne2 & KnownZero) == (~KnownOne2 & NewMask)) in SimplifyDemandedBits() 496 if ((NewMask & ~KnownZero & KnownOne2) == (~KnownZero & NewMask)) in SimplifyDemandedBits() 510 KnownOne |= KnownOne2; in SimplifyDemandedBits() [all …]
|
D | SelectionDAG.cpp | 2057 APInt KnownZero2, KnownOne2; in computeKnownBits() local 2068 computeKnownBits(Op.getOperand(0), KnownZero2, KnownOne2, Depth+1); in computeKnownBits() 2071 KnownOne &= KnownOne2; in computeKnownBits() 2077 computeKnownBits(Op.getOperand(0), KnownZero2, KnownOne2, Depth+1); in computeKnownBits() 2082 KnownOne |= KnownOne2; 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() 2120 computeKnownBits(Op.getOperand(0), KnownZero2, KnownOne2, Depth+1); in computeKnownBits() [all …]
|
/external/mesa3d/src/gallium/drivers/radeon/ |
D | AMDILISelLowering.cpp | 285 APInt KnownOne2; in computeMaskedBitsForTargetNode() local 299 KnownOne2 in computeMaskedBitsForTargetNode() 303 assert((KnownZero2 & KnownOne2) == 0 in computeMaskedBitsForTargetNode() 306 KnownOne &= KnownOne2; in computeMaskedBitsForTargetNode()
|
/external/llvm/lib/Transforms/InstCombine/ |
D | InstCombineSimplifyDemanded.cpp | 721 APInt KnownZero2(BitWidth, 0), KnownOne2(BitWidth, 0); in SimplifyDemandedUseBits() local 724 KnownOne2, Depth + 1) || in SimplifyDemandedUseBits() 726 KnownOne2, Depth + 1)) in SimplifyDemandedUseBits()
|
/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() 1833 KnownOne &= KnownOne2; 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() 746 KnownOne &= KnownOne2; in computeKnownBitsForTargetNode()
|
/external/llvm/lib/Target/AMDGPU/ |
D | AMDGPUISelLowering.cpp | 2800 APInt KnownOne2; in computeKnownBitsForTargetNode() local
|