Lines Matching refs:Depth
126 [[nodiscard]] Value *Negator::visitImpl(Value *V, bool IsNSW, unsigned Depth) { in visitImpl() argument
291 if (Depth > NegatorMaxDepth) { in visitImpl()
301 Value *NegOp = negate(I->getOperand(0), IsNSW, Depth + 1); in visitImpl()
312 negate(std::get<0>(I), IsNSW, Depth + 1))) // Early return. in visitImpl()
335 Value *NegOp1 = negate(I->getOperand(1), IsNSW, Depth + 1); in visitImpl()
338 Value *NegOp2 = negate(I->getOperand(2), IsNSW, Depth + 1); in visitImpl()
348 Value *NegOp0 = negate(I->getOperand(0), IsNSW, Depth + 1); in visitImpl()
351 Value *NegOp1 = negate(I->getOperand(1), IsNSW, Depth + 1); in visitImpl()
360 Value *NegVector = negate(EEI->getVectorOperand(), IsNSW, Depth + 1); in visitImpl()
370 Value *NegVector = negate(IEI->getOperand(0), IsNSW, Depth + 1); in visitImpl()
373 Value *NegNewElt = negate(IEI->getOperand(1), IsNSW, Depth + 1); in visitImpl()
381 Value *NegOp = negate(I->getOperand(0), /* IsNSW */ false, Depth + 1); in visitImpl()
389 if (Value *NegOp0 = negate(I->getOperand(0), IsNSW, Depth + 1)) in visitImpl()
417 if (Value *NegOp = negate(Op, /* IsNSW */ false, Depth + 1)) { in visitImpl()
460 if (Value *NegOp1 = negate(Ops[1], /* IsNSW */ false, Depth + 1)) { in visitImpl()
463 } else if (Value *NegOp0 = negate(Ops[0], /* IsNSW */ false, Depth + 1)) { in visitImpl()
479 [[nodiscard]] Value *Negator::negate(Value *V, bool IsNSW, unsigned Depth) { in negate() argument
480 NegatorMaxDepthVisited.updateMax(Depth); in negate()
509 Value *NegatedV = visitImpl(V, IsNSW, Depth); in negate()