Lines Matching refs:NewStep

5262     VarDecl *NewStep = precomputeExpr(Actions, BodyStmts, StepExpr, ".step");  in buildDistanceFunc()  local
5274 Actions.BuildBinOp(nullptr, {}, BO_LT, BuildVarRef(NewStep), Zero)); in buildDistanceFunc()
5282 nullptr, {}, BO_Div, ForwardRange, BuildVarRef(NewStep))); in buildDistanceFunc()
5290 Actions.BuildUnaryOp(nullptr, {}, UO_Minus, BuildVarRef(NewStep))); in buildDistanceFunc()
5328 Expr *Divisor = BuildVarRef(NewStep); in buildDistanceFunc()
5404 Expr *NewStep = AssertSuccess(Recap.TransformExpr(Step)); in buildLoopVarFunc() local
5407 Actions.BuildBinOp(nullptr, {}, BO_Mul, NewStep, LogicalRef)); in buildLoopVarFunc()
6540 Expr *NewStep = nullptr; in ActOnOpenMPDeclareSimdDirective() local
6545 NewSteps.push_back(E ? NewStep : nullptr); in ActOnOpenMPDeclareSimdDirective()
6566 NewStep = Step; in ActOnOpenMPDeclareSimdDirective()
6570 NewStep = PerformOpenMPImplicitIntegerConversion(Step->getExprLoc(), Step) in ActOnOpenMPDeclareSimdDirective()
6572 if (NewStep) in ActOnOpenMPDeclareSimdDirective()
6573 NewStep = in ActOnOpenMPDeclareSimdDirective()
6574 VerifyIntegerConstantExpression(NewStep, /*FIXME*/ AllowFold).get(); in ActOnOpenMPDeclareSimdDirective()
6576 NewSteps.push_back(NewStep); in ActOnOpenMPDeclareSimdDirective()
7326 bool setStep(Expr *NewStep, bool Subtract);
7380 bool OpenMPIterationSpaceChecker::setStep(Expr *NewStep, bool Subtract) { in setStep() argument
7383 if (!NewStep || NewStep->containsErrors()) in setStep()
7385 if (!NewStep->isValueDependent()) { in setStep()
7387 SourceLocation StepLoc = NewStep->getBeginLoc(); in setStep()
7389 StepLoc, getExprAsWritten(NewStep)); in setStep()
7392 NewStep = Val.get(); in setStep()
7406 NewStep->getIntegerConstantExpr(SemaRef.Context); in setStep()
7407 bool IsUnsigned = !NewStep->getType()->hasSignedIntegerRepresentation(); in setStep()
7421 SemaRef.Diag(NewStep->getExprLoc(), in setStep()
7423 << LCDecl << TestIsLessOp.getValue() << NewStep->getSourceRange(); in setStep()
7430 NewStep = in setStep()
7431 SemaRef.CreateBuiltinUnaryOp(NewStep->getExprLoc(), UO_Minus, NewStep) in setStep()
7437 Step = NewStep; in setStep()
7854 ExprResult NewStep = tryBuildCapture(SemaRef, Step, Captures); in calculateNumIters() local
7855 if (!NewStep.isUsable()) in calculateNumIters()
7937 NewStep = SemaRef.ActOnParenExpr(DefaultLoc, DefaultLoc, NewStep.get()); in calculateNumIters()
7940 if (!Lower || !Upper || NewStep.isInvalid()) in calculateNumIters()
7952 SemaRef.BuildBinOp(S, DefaultLoc, BO_Sub, Diff.get(), NewStep.get()); in calculateNumIters()
7998 SemaRef.BuildBinOp(S, DefaultLoc, BO_Add, Diff.get(), NewStep.get()); in calculateNumIters()
8010 Diff = SemaRef.BuildBinOp(S, DefaultLoc, BO_Div, Diff.get(), NewStep.get()); in calculateNumIters()
8278 ExprResult NewStep = tryBuildCapture(SemaRef, Step, Captures); in buildMinMaxValues() local
8279 if (!NewStep.isUsable()) in buildMinMaxValues()
8281 Diff = SemaRef.BuildBinOp(S, DefaultLoc, BO_Mul, Diff.get(), NewStep.get()); in buildMinMaxValues()
8768 ExprResult NewStep = Step; in buildCounterUpdate() local
8770 NewStep = tryBuildCapture(SemaRef, Step.get(), *Captures); in buildCounterUpdate()
8771 if (NewStep.isInvalid()) in buildCounterUpdate()
8774 SemaRef.BuildBinOp(S, Loc, BO_Mul, Iter.get(), NewStep.get()); in buildCounterUpdate()