Home
last modified time | relevance | path

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

/external/llvm/lib/Transforms/Scalar/
DBDCE.cpp64 APInt &KnownZero2, APInt &KnownOne2);
88 APInt &KnownZero2, APInt &KnownOne2) { in determineLiveOperandBits() argument
107 KnownOne2 = APInt(BitWidth, 0); in determineLiveOperandBits()
108 computeKnownBits(const_cast<Value *>(V2), KnownZero2, KnownOne2, DL, in determineLiveOperandBits()
227 AB &= ~KnownOne2; in determineLiveOperandBits()
231 AB &= ~(KnownOne & ~KnownOne2); in determineLiveOperandBits()
322 APInt KnownZero, KnownOne, KnownZero2, KnownOne2; in runOnFunction() local
340 KnownZero2, KnownOne2); in runOnFunction()
/external/llvm/lib/Analysis/
DValueTracking.cpp193 APInt &KnownZero2, APInt &KnownOne2, in computeKnownBitsAddSub() argument
206 computeKnownBits(Op1, KnownZero2, KnownOne2, DL, Depth + 1, Q); in computeKnownBitsAddSub()
226 computeKnownBits(Op1, KnownZero2, KnownOne2, DL, Depth + 1, Q); in computeKnownBitsAddSub()
232 std::swap(KnownZero2, KnownOne2); in computeKnownBitsAddSub()
237 APInt PossibleSumOne = LHSKnownOne + KnownOne2 + CarryIn; in computeKnownBitsAddSub()
241 APInt CarryKnownOne = PossibleSumOne ^ LHSKnownOne ^ KnownOne2; in computeKnownBitsAddSub()
245 APInt RHSKnown = KnownZero2 | KnownOne2; in computeKnownBitsAddSub()
265 else if (LHSKnownOne.isNegative() && KnownOne2.isNegative()) in computeKnownBitsAddSub()
273 APInt &KnownZero2, APInt &KnownOne2, in computeKnownBitsMul() argument
278 computeKnownBits(Op0, KnownZero2, KnownOne2, DL, Depth + 1, Q); in computeKnownBitsMul()
[all …]
/external/llvm/lib/CodeGen/SelectionDAG/
DTargetLowering.cpp410 APInt KnownZero2, KnownOne2, KnownZeroOut, KnownOneOut; in SimplifyDemandedBits() local
440 KnownZero2, KnownOne2, TLO, Depth+1)) in SimplifyDemandedBits()
442 assert((KnownZero2 & KnownOne2) == 0 && "Bits known to be one AND zero?"); in SimplifyDemandedBits()
448 if ((NewMask & ~KnownZero & KnownOne2) == (~KnownZero & NewMask)) in SimplifyDemandedBits()
461 KnownOne &= KnownOne2; in SimplifyDemandedBits()
471 KnownZero2, KnownOne2, TLO, Depth+1)) in SimplifyDemandedBits()
473 assert((KnownZero2 & KnownOne2) == 0 && "Bits known to be one AND zero?"); in SimplifyDemandedBits()
477 if ((NewMask & ~KnownOne2 & KnownZero) == (~KnownOne2 & NewMask)) in SimplifyDemandedBits()
483 if ((NewMask & ~KnownZero & KnownOne2) == (~KnownZero & NewMask)) in SimplifyDemandedBits()
497 KnownOne |= KnownOne2; in SimplifyDemandedBits()
[all …]
DSelectionDAG.cpp1972 APInt KnownZero2, KnownOne2; in computeKnownBits() local
1983 computeKnownBits(Op.getOperand(0), KnownZero2, KnownOne2, Depth+1); in computeKnownBits()
1986 KnownOne &= KnownOne2; in computeKnownBits()
1992 computeKnownBits(Op.getOperand(0), KnownZero2, KnownOne2, Depth+1); in computeKnownBits()
1997 KnownOne |= KnownOne2; in computeKnownBits()
2001 computeKnownBits(Op.getOperand(0), KnownZero2, KnownOne2, Depth+1); in computeKnownBits()
2004 APInt KnownZeroOut = (KnownZero & KnownZero2) | (KnownOne & KnownOne2); in computeKnownBits()
2006 KnownOne = (KnownZero & KnownOne2) | (KnownOne & KnownZero2); in computeKnownBits()
2012 computeKnownBits(Op.getOperand(0), KnownZero2, KnownOne2, Depth+1); in computeKnownBits()
2035 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.cpp805 APInt KnownZero2(BitWidth, 0), KnownOne2(BitWidth, 0); in SimplifyDemandedUseBits() local
808 KnownOne2, Depth + 1) || in SimplifyDemandedUseBits()
810 KnownOne2, Depth + 1)) in SimplifyDemandedUseBits()
/external/llvm/lib/Target/Sparc/
DSparcISelLowering.cpp1720 APInt KnownZero2, KnownOne2; in computeKnownBitsForTargetNode() local
1729 DAG.computeKnownBits(Op.getOperand(0), KnownZero2, KnownOne2, Depth+1); in computeKnownBitsForTargetNode()
1732 KnownOne &= KnownOne2; in computeKnownBitsForTargetNode()
/external/llvm/lib/Target/AArch64/
DAArch64ISelLowering.cpp716 APInt KnownZero2, KnownOne2; in computeKnownBitsForTargetNode() local
718 DAG.computeKnownBits(Op->getOperand(1), KnownZero2, KnownOne2, Depth + 1); in computeKnownBitsForTargetNode()
720 KnownOne &= KnownOne2; in computeKnownBitsForTargetNode()
/external/llvm/lib/Target/R600/
DAMDGPUISelLowering.cpp2736 APInt KnownOne2; in computeKnownBitsForTargetNode() local