Lines Matching refs:NewStep
5658 VarDecl *NewStep = precomputeExpr(Actions, BodyStmts, StepExpr, ".step"); in buildDistanceFunc() local
5672 Actions.BuildBinOp(nullptr, {}, BO_LT, BuildVarRef(NewStep), Zero)); in buildDistanceFunc()
5680 nullptr, {}, BO_Div, ForwardRange, BuildVarRef(NewStep))); in buildDistanceFunc()
5688 Actions.BuildUnaryOp(nullptr, {}, UO_Minus, BuildVarRef(NewStep))); in buildDistanceFunc()
5731 Expr *Divisor = BuildVarRef(NewStep); in buildDistanceFunc()
5811 Expr *NewStep = AssertSuccess(Recap.TransformExpr(Step)); in buildLoopVarFunc() local
5814 Actions.BuildBinOp(nullptr, {}, BO_Mul, NewStep, LogicalRef)); in buildLoopVarFunc()
7191 Expr *NewStep = nullptr; in ActOnOpenMPDeclareSimdDirective() local
7196 NewSteps.push_back(E ? NewStep : nullptr); in ActOnOpenMPDeclareSimdDirective()
7217 NewStep = Step; in ActOnOpenMPDeclareSimdDirective()
7221 NewStep = PerformOpenMPImplicitIntegerConversion(Step->getExprLoc(), Step) in ActOnOpenMPDeclareSimdDirective()
7223 if (NewStep) in ActOnOpenMPDeclareSimdDirective()
7224 NewStep = in ActOnOpenMPDeclareSimdDirective()
7225 VerifyIntegerConstantExpression(NewStep, /*FIXME*/ AllowFold).get(); in ActOnOpenMPDeclareSimdDirective()
7227 NewSteps.push_back(NewStep); in ActOnOpenMPDeclareSimdDirective()
8092 bool setStep(Expr *NewStep, bool Subtract);
8145 bool OpenMPIterationSpaceChecker::setStep(Expr *NewStep, bool Subtract) { in setStep() argument
8148 if (!NewStep || NewStep->containsErrors()) in setStep()
8150 if (!NewStep->isValueDependent()) { in setStep()
8152 SourceLocation StepLoc = NewStep->getBeginLoc(); in setStep()
8154 StepLoc, getExprAsWritten(NewStep)); in setStep()
8157 NewStep = Val.get(); in setStep()
8171 NewStep->getIntegerConstantExpr(SemaRef.Context); in setStep()
8172 bool IsUnsigned = !NewStep->getType()->hasSignedIntegerRepresentation(); in setStep()
8185 SemaRef.Diag(NewStep->getExprLoc(), in setStep()
8187 << LCDecl << *TestIsLessOp << NewStep->getSourceRange(); in setStep()
8194 NewStep = in setStep()
8195 SemaRef.CreateBuiltinUnaryOp(NewStep->getExprLoc(), UO_Minus, NewStep) in setStep()
8201 Step = NewStep; in setStep()
8619 ExprResult NewStep = tryBuildCapture(SemaRef, Step, Captures, ".new_step"); in calculateNumIters() local
8620 if (!NewStep.isUsable()) in calculateNumIters()
8705 NewStep = SemaRef.ActOnParenExpr(DefaultLoc, DefaultLoc, NewStep.get()); in calculateNumIters()
8708 if (!Lower || !Upper || NewStep.isInvalid()) in calculateNumIters()
8720 SemaRef.BuildBinOp(S, DefaultLoc, BO_Sub, Diff.get(), NewStep.get()); in calculateNumIters()
8766 SemaRef.BuildBinOp(S, DefaultLoc, BO_Add, Diff.get(), NewStep.get()); in calculateNumIters()
8778 Diff = SemaRef.BuildBinOp(S, DefaultLoc, BO_Div, Diff.get(), NewStep.get()); in calculateNumIters()
9058 ExprResult NewStep = tryBuildCapture(SemaRef, Step, Captures, ".new_step"); in buildMinMaxValues() local
9059 if (!NewStep.isUsable()) in buildMinMaxValues()
9061 Diff = SemaRef.BuildBinOp(S, DefaultLoc, BO_Mul, Diff.get(), NewStep.get()); in buildMinMaxValues()
9603 ExprResult NewStep = Step; in buildCounterUpdate() local
9605 NewStep = tryBuildCapture(SemaRef, Step.get(), *Captures); in buildCounterUpdate()
9606 if (NewStep.isInvalid()) in buildCounterUpdate()
9609 SemaRef.BuildBinOp(S, Loc, BO_Mul, Iter.get(), NewStep.get()); in buildCounterUpdate()