Lines Matching refs:NewStep

5557     VarDecl *NewStep = precomputeExpr(Actions, BodyStmts, StepExpr, ".step");  in buildDistanceFunc()  local
5571 Actions.BuildBinOp(nullptr, {}, BO_LT, BuildVarRef(NewStep), Zero)); in buildDistanceFunc()
5579 nullptr, {}, BO_Div, ForwardRange, BuildVarRef(NewStep))); in buildDistanceFunc()
5587 Actions.BuildUnaryOp(nullptr, {}, UO_Minus, BuildVarRef(NewStep))); in buildDistanceFunc()
5629 Expr *Divisor = BuildVarRef(NewStep); in buildDistanceFunc()
5709 Expr *NewStep = AssertSuccess(Recap.TransformExpr(Step)); in buildLoopVarFunc() local
5712 Actions.BuildBinOp(nullptr, {}, BO_Mul, NewStep, LogicalRef)); in buildLoopVarFunc()
6961 Expr *NewStep = nullptr; in ActOnOpenMPDeclareSimdDirective() local
6966 NewSteps.push_back(E ? NewStep : nullptr); in ActOnOpenMPDeclareSimdDirective()
6987 NewStep = Step; in ActOnOpenMPDeclareSimdDirective()
6991 NewStep = PerformOpenMPImplicitIntegerConversion(Step->getExprLoc(), Step) in ActOnOpenMPDeclareSimdDirective()
6993 if (NewStep) in ActOnOpenMPDeclareSimdDirective()
6994 NewStep = in ActOnOpenMPDeclareSimdDirective()
6995 VerifyIntegerConstantExpression(NewStep, /*FIXME*/ AllowFold).get(); in ActOnOpenMPDeclareSimdDirective()
6997 NewSteps.push_back(NewStep); in ActOnOpenMPDeclareSimdDirective()
7856 bool setStep(Expr *NewStep, bool Subtract);
7910 bool OpenMPIterationSpaceChecker::setStep(Expr *NewStep, bool Subtract) { in setStep() argument
7913 if (!NewStep || NewStep->containsErrors()) in setStep()
7915 if (!NewStep->isValueDependent()) { in setStep()
7917 SourceLocation StepLoc = NewStep->getBeginLoc(); in setStep()
7919 StepLoc, getExprAsWritten(NewStep)); in setStep()
7922 NewStep = Val.get(); in setStep()
7936 NewStep->getIntegerConstantExpr(SemaRef.Context); in setStep()
7937 bool IsUnsigned = !NewStep->getType()->hasSignedIntegerRepresentation(); in setStep()
7951 SemaRef.Diag(NewStep->getExprLoc(), in setStep()
7953 << LCDecl << TestIsLessOp.value() << NewStep->getSourceRange(); in setStep()
7960 NewStep = in setStep()
7961 SemaRef.CreateBuiltinUnaryOp(NewStep->getExprLoc(), UO_Minus, NewStep) in setStep()
7967 Step = NewStep; in setStep()
8384 ExprResult NewStep = tryBuildCapture(SemaRef, Step, Captures); in calculateNumIters() local
8385 if (!NewStep.isUsable()) in calculateNumIters()
8470 NewStep = SemaRef.ActOnParenExpr(DefaultLoc, DefaultLoc, NewStep.get()); in calculateNumIters()
8473 if (!Lower || !Upper || NewStep.isInvalid()) in calculateNumIters()
8485 SemaRef.BuildBinOp(S, DefaultLoc, BO_Sub, Diff.get(), NewStep.get()); in calculateNumIters()
8531 SemaRef.BuildBinOp(S, DefaultLoc, BO_Add, Diff.get(), NewStep.get()); in calculateNumIters()
8543 Diff = SemaRef.BuildBinOp(S, DefaultLoc, BO_Div, Diff.get(), NewStep.get()); in calculateNumIters()
8811 ExprResult NewStep = tryBuildCapture(SemaRef, Step, Captures); in buildMinMaxValues() local
8812 if (!NewStep.isUsable()) in buildMinMaxValues()
8814 Diff = SemaRef.BuildBinOp(S, DefaultLoc, BO_Mul, Diff.get(), NewStep.get()); in buildMinMaxValues()
9305 ExprResult NewStep = Step; in buildCounterUpdate() local
9307 NewStep = tryBuildCapture(SemaRef, Step.get(), *Captures); in buildCounterUpdate()
9308 if (NewStep.isInvalid()) in buildCounterUpdate()
9311 SemaRef.BuildBinOp(S, Loc, BO_Mul, Iter.get(), NewStep.get()); in buildCounterUpdate()