Home
last modified time | relevance | path

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

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