Lines Matching defs:Depth
36 "Depth limit when simplifying vector instructions and their operands"),
97 KnownBits &Known, unsigned Depth,
102 llvm::computeKnownBits(V, Known, Depth, Q);
115 llvm::computeKnownBits(V, Known, Depth, Q);
119 if (Depth == MaxAnalysisRecursionDepth)
125 NewVal = SimplifyDemandedUseBits(VInst, DemandedMask, Known, Depth, Q);
130 SimplifyMultipleUseDemandedBits(VInst, DemandedMask, Known, Depth, Q);
166 unsigned Depth,
169 assert(Depth <= MaxAnalysisRecursionDepth && "Limit Search Depth");
201 SimplifyDemandedBits(I, 0, DemandedFromOps, LHSKnown, Depth + 1, Q) ||
203 SimplifyDemandedBits(I, 1, DemandedFromOps, RHSKnown, Depth + 1, Q)) {
212 llvm::computeKnownBits(I, Known, Depth, Q);
216 if (SimplifyDemandedBits(I, 1, DemandedMask, RHSKnown, Depth + 1, Q) ||
218 Depth + 1, Q))
222 Depth, Q);
244 if (SimplifyDemandedBits(I, 1, DemandedMask, RHSKnown, Depth + 1, Q) ||
246 Depth + 1, Q)) {
253 Depth, Q);
284 if (SimplifyDemandedBits(I, 1, DemandedMask, RHSKnown, Depth + 1, Q) ||
285 SimplifyDemandedBits(I, 0, DemandedMask, LHSKnown, Depth + 1, Q))
299 Depth, Q);
376 if (SimplifyDemandedBits(I, 2, DemandedMask, RHSKnown, Depth + 1, Q) ||
377 SimplifyDemandedBits(I, 1, DemandedMask, LHSKnown, Depth + 1, Q))
418 /*Invert=*/false, Depth, Q);
420 /*Invert=*/true, Depth, Q);
448 if (SimplifyDemandedBits(I, 0, InputDemandedMask, InputKnown, Depth + 1,
475 if (SimplifyDemandedBits(I, 0, InputDemandedBits, InputKnown, Depth + 1, Q))
536 SimplifyDemandedBits(I, 1, DemandedFromOps, RHSKnown, Depth + 1, Q))
546 SimplifyDemandedBits(I, 0, DemandedFromLHS, LHSKnown, Depth + 1, Q))
579 SimplifyDemandedBits(I, 1, DemandedFromOps, RHSKnown, Depth + 1, Q))
589 SimplifyDemandedBits(I, 0, DemandedFromLHS, LHSKnown, Depth + 1, Q))
642 llvm::computeKnownBits(I, Known, Depth, Q);
663 llvm::computeKnownBits(I, Known, Depth, Q);
677 ComputeNumSignBits(I->getOperand(0), Depth + 1, Q.CxtI);
709 if (SimplifyDemandedBits(I, 0, DemandedMaskIn, Known, Depth + 1, Q))
722 if (SimplifyDemandedBits(I, 0, DemandedFromOp, Known, Depth + 1, Q)) {
728 llvm::computeKnownBits(I, Known, Depth, Q);
745 llvm::computeKnownBits(I, Known, Depth, Q);
759 ComputeNumSignBits(I->getOperand(0), Depth + 1, Q.CxtI);
792 if (SimplifyDemandedBits(I, 0, DemandedMaskIn, Known, Depth + 1, Q)) {
802 llvm::computeKnownBits(I, Known, Depth, Q);
807 unsigned SignBits = ComputeNumSignBits(I->getOperand(0), Depth + 1, Q.CxtI);
837 if (SimplifyDemandedBits(I, 0, DemandedMaskIn, Known, Depth + 1, Q)) {
857 llvm::computeKnownBits(I, Known, Depth, Q);
869 if (SimplifyDemandedBits(I, 0, DemandedMaskIn, LHSKnown, Depth + 1, Q)) {
879 llvm::computeKnownBits(I, Known, Depth, Q);
891 if (SimplifyDemandedBits(I, 0, Mask2, LHSKnown, Depth + 1, Q))
897 llvm::computeKnownBits(I, Known, Depth, Q);
953 if (SimplifyDemandedBits(I, 0, DemandedMask, LHSKnown, Depth + 1, Q) ||
956 RHSKnown, Depth + 1, Q))
997 LHSKnown = computeKnownBits(InnerPtr, Depth + 1, I);
1042 if (SimplifyDemandedBits(I, 0, DemandedMaskLHS, LHSKnown, Depth + 1,
1044 SimplifyDemandedBits(I, 1, DemandedMaskRHS, RHSKnown, Depth + 1,
1053 LHSKnown = computeKnownBits(I->getOperand(0), Depth + 1, I);
1060 RHSKnown = computeKnownBits(I->getOperand(1), Depth + 1, I);
1110 llvm::computeKnownBits(I, Known, Depth, Q);
1129 KnownBits ReferenceKnown = llvm::computeKnownBits(I, Depth, Q);
1146 Instruction *I, const APInt &DemandedMask, KnownBits &Known, unsigned Depth,
1160 llvm::computeKnownBits(I->getOperand(1), RHSKnown, Depth + 1, Q);
1161 llvm::computeKnownBits(I->getOperand(0), LHSKnown, Depth + 1, Q);
1163 Depth, Q);
1164 computeKnownBitsFromContext(I, Known, Depth, Q);
1181 llvm::computeKnownBits(I->getOperand(1), RHSKnown, Depth + 1, Q);
1182 llvm::computeKnownBits(I->getOperand(0), LHSKnown, Depth + 1, Q);
1184 Depth, Q);
1185 computeKnownBitsFromContext(I, Known, Depth, Q);
1204 llvm::computeKnownBits(I->getOperand(1), RHSKnown, Depth + 1, Q);
1205 llvm::computeKnownBits(I->getOperand(0), LHSKnown, Depth + 1, Q);
1207 Depth, Q);
1208 computeKnownBitsFromContext(I, Known, Depth, Q);
1231 llvm::computeKnownBits(I->getOperand(1), RHSKnown, Depth + 1, Q);
1235 llvm::computeKnownBits(I->getOperand(0), LHSKnown, Depth + 1, Q);
1242 computeKnownBitsFromContext(I, Known, Depth, Q);
1251 llvm::computeKnownBits(I->getOperand(1), RHSKnown, Depth + 1, Q);
1257 llvm::computeKnownBits(I->getOperand(0), LHSKnown, Depth + 1, Q);
1259 computeKnownBitsFromContext(I, Known, Depth, Q);
1264 llvm::computeKnownBits(I, Known, Depth, Q);
1291 llvm::computeKnownBits(I, Known, Depth, Q);
1399 unsigned Depth,
1453 if (Depth == SimplifyDemandedVectorEltsDepthLimit)
1464 if (Depth != 0)
1481 if (Value *V = SimplifyDemandedVectorElts(Op, Demanded, Undef, Depth + 1)) {
1964 unsigned Depth, Instruction *CxtI) {
1965 assert(Depth <= MaxAnalysisRecursionDepth && "Limit Search Depth");
1973 if (Depth == MaxAnalysisRecursionDepth)
1979 Known = computeKnownFPClass(V, fcAllFlags, CxtI, Depth + 1);
1992 Depth + 1))
2002 Depth + 1))
2007 if (SimplifyDemandedFPClass(I, 0, DemandedMask, Known, Depth + 1))
2013 if (SimplifyDemandedFPClass(I, 0, DemandedMaskAnySign, Known, Depth + 1))
2029 computeKnownFPClass(I->getOperand(1), fcAllFlags, CxtI, Depth + 1);
2034 Known = computeKnownFPClass(I, ~DemandedMask, CxtI, Depth + 1);
2042 if (SimplifyDemandedFPClass(I, 2, DemandedMask, KnownRHS, Depth + 1) ||
2043 SimplifyDemandedFPClass(I, 1, DemandedMask, KnownLHS, Depth + 1))
2056 Known = computeKnownFPClass(I, ~DemandedMask, CxtI, Depth + 1);
2066 unsigned Depth) {
2069 SimplifyDemandedUseFPClass(U.get(), DemandedMask, Known, Depth, I);