|
reference, declaration → definition
definition → references, declarations, derived classes, virtual overrides
reference to multiple definitions → definitions
unreferenced
|
References
lib/Transforms/InstCombine/InstCombineSimplifyDemanded.cpp 120 assert(Depth <= 6 && "Limit Search Depth");
129 computeKnownBits(V, Known, Depth, CxtI);
137 if (Depth == 6) // Limit search depth.
142 computeKnownBits(V, Known, Depth, CxtI);
149 if (Depth != 0 && !I->hasOneUse())
150 return SimplifyMultipleUseDemandedBits(I, DemandedMask, Known, Depth, CxtI);
158 if (Depth == 0 && !V->hasOneUse())
163 computeKnownBits(I, Known, Depth, CxtI);
167 if (SimplifyDemandedBits(I, 1, DemandedMask, RHSKnown, Depth + 1) ||
169 Depth + 1))
201 if (SimplifyDemandedBits(I, 1, DemandedMask, RHSKnown, Depth + 1) ||
203 Depth + 1))
234 if (SimplifyDemandedBits(I, 1, DemandedMask, RHSKnown, Depth + 1) ||
235 SimplifyDemandedBits(I, 0, DemandedMask, LHSKnown, Depth + 1))
344 if (SimplifyDemandedBits(I, 2, DemandedMask, RHSKnown, Depth + 1) ||
345 SimplifyDemandedBits(I, 1, DemandedMask, LHSKnown, Depth + 1))
366 if (SimplifyDemandedBits(I, 0, InputDemandedMask, InputKnown, Depth + 1))
391 if (SimplifyDemandedBits(I, 0, DemandedMask, Known, Depth + 1))
407 if (SimplifyDemandedBits(I, 0, InputDemandedBits, InputKnown, Depth + 1))
434 SimplifyDemandedBits(I, 0, DemandedFromOps, LHSKnown, Depth + 1) ||
436 SimplifyDemandedBits(I, 1, DemandedFromOps, RHSKnown, Depth + 1)) {
485 if (SimplifyDemandedBits(I, 0, DemandedMaskIn, Known, Depth + 1))
509 if (SimplifyDemandedBits(I, 0, DemandedMaskIn, Known, Depth + 1))
552 if (SimplifyDemandedBits(I, 0, DemandedMaskIn, Known, Depth + 1))
555 unsigned SignBits = ComputeNumSignBits(I->getOperand(0), Depth + 1, CxtI);
591 if (SimplifyDemandedBits(I, 0, DemandedMaskIn, LHSKnown, Depth + 1))
613 if (SimplifyDemandedBits(I, 0, Mask2, LHSKnown, Depth + 1))
638 computeKnownBits(I->getOperand(0), LHSKnown, Depth + 1, CxtI);
647 if (SimplifyDemandedBits(I, 0, AllOnes, Known2, Depth + 1) ||
648 SimplifyDemandedBits(I, 1, AllOnes, Known2, Depth + 1))
705 if (SimplifyDemandedBits(I, 0, DemandedMaskLHS, LHSKnown, Depth + 1) ||
706 SimplifyDemandedBits(I, 1, DemandedMaskRHS, RHSKnown, Depth + 1))
748 computeKnownBits(V, Known, Depth, CxtI);