Lines Matching refs:NewStep

5628     VarDecl *NewStep = precomputeExpr(Actions, BodyStmts, StepExpr, ".step");  in buildDistanceFunc()  local
5642 Actions.BuildBinOp(nullptr, {}, BO_LT, BuildVarRef(NewStep), Zero)); in buildDistanceFunc()
5650 nullptr, {}, BO_Div, ForwardRange, BuildVarRef(NewStep))); in buildDistanceFunc()
5658 Actions.BuildUnaryOp(nullptr, {}, UO_Minus, BuildVarRef(NewStep))); in buildDistanceFunc()
5700 Expr *Divisor = BuildVarRef(NewStep); in buildDistanceFunc()
5780 Expr *NewStep = AssertSuccess(Recap.TransformExpr(Step)); in buildLoopVarFunc() local
5783 Actions.BuildBinOp(nullptr, {}, BO_Mul, NewStep, LogicalRef)); in buildLoopVarFunc()
7040 Expr *NewStep = nullptr; in ActOnOpenMPDeclareSimdDirective() local
7045 NewSteps.push_back(E ? NewStep : nullptr); in ActOnOpenMPDeclareSimdDirective()
7066 NewStep = Step; in ActOnOpenMPDeclareSimdDirective()
7070 NewStep = PerformOpenMPImplicitIntegerConversion(Step->getExprLoc(), Step) in ActOnOpenMPDeclareSimdDirective()
7072 if (NewStep) in ActOnOpenMPDeclareSimdDirective()
7073 NewStep = in ActOnOpenMPDeclareSimdDirective()
7074 VerifyIntegerConstantExpression(NewStep, /*FIXME*/ AllowFold).get(); in ActOnOpenMPDeclareSimdDirective()
7076 NewSteps.push_back(NewStep); in ActOnOpenMPDeclareSimdDirective()
7941 bool setStep(Expr *NewStep, bool Subtract);
7994 bool OpenMPIterationSpaceChecker::setStep(Expr *NewStep, bool Subtract) { in setStep() argument
7997 if (!NewStep || NewStep->containsErrors()) in setStep()
7999 if (!NewStep->isValueDependent()) { in setStep()
8001 SourceLocation StepLoc = NewStep->getBeginLoc(); in setStep()
8003 StepLoc, getExprAsWritten(NewStep)); in setStep()
8006 NewStep = Val.get(); in setStep()
8020 NewStep->getIntegerConstantExpr(SemaRef.Context); in setStep()
8021 bool IsUnsigned = !NewStep->getType()->hasSignedIntegerRepresentation(); in setStep()
8034 SemaRef.Diag(NewStep->getExprLoc(), in setStep()
8036 << LCDecl << *TestIsLessOp << NewStep->getSourceRange(); in setStep()
8043 NewStep = in setStep()
8044 SemaRef.CreateBuiltinUnaryOp(NewStep->getExprLoc(), UO_Minus, NewStep) in setStep()
8050 Step = NewStep; in setStep()
8467 ExprResult NewStep = tryBuildCapture(SemaRef, Step, Captures); in calculateNumIters() local
8468 if (!NewStep.isUsable()) in calculateNumIters()
8553 NewStep = SemaRef.ActOnParenExpr(DefaultLoc, DefaultLoc, NewStep.get()); in calculateNumIters()
8556 if (!Lower || !Upper || NewStep.isInvalid()) in calculateNumIters()
8568 SemaRef.BuildBinOp(S, DefaultLoc, BO_Sub, Diff.get(), NewStep.get()); in calculateNumIters()
8614 SemaRef.BuildBinOp(S, DefaultLoc, BO_Add, Diff.get(), NewStep.get()); in calculateNumIters()
8626 Diff = SemaRef.BuildBinOp(S, DefaultLoc, BO_Div, Diff.get(), NewStep.get()); in calculateNumIters()
8894 ExprResult NewStep = tryBuildCapture(SemaRef, Step, Captures); in buildMinMaxValues() local
8895 if (!NewStep.isUsable()) in buildMinMaxValues()
8897 Diff = SemaRef.BuildBinOp(S, DefaultLoc, BO_Mul, Diff.get(), NewStep.get()); in buildMinMaxValues()
9388 ExprResult NewStep = Step; in buildCounterUpdate() local
9390 NewStep = tryBuildCapture(SemaRef, Step.get(), *Captures); in buildCounterUpdate()
9391 if (NewStep.isInvalid()) in buildCounterUpdate()
9394 SemaRef.BuildBinOp(S, Loc, BO_Mul, Iter.get(), NewStep.get()); in buildCounterUpdate()