Lines Matching refs:NewStep
5432 VarDecl *NewStep = precomputeExpr(Actions, BodyStmts, StepExpr, ".step"); in buildDistanceFunc() local
5446 Actions.BuildBinOp(nullptr, {}, BO_LT, BuildVarRef(NewStep), Zero)); in buildDistanceFunc()
5454 nullptr, {}, BO_Div, ForwardRange, BuildVarRef(NewStep))); in buildDistanceFunc()
5462 Actions.BuildUnaryOp(nullptr, {}, UO_Minus, BuildVarRef(NewStep))); in buildDistanceFunc()
5505 Expr *Divisor = BuildVarRef(NewStep); in buildDistanceFunc()
5585 Expr *NewStep = AssertSuccess(Recap.TransformExpr(Step)); in buildLoopVarFunc() local
5588 Actions.BuildBinOp(nullptr, {}, BO_Mul, NewStep, LogicalRef)); in buildLoopVarFunc()
6973 Expr *NewStep = nullptr; in ActOnOpenMPDeclareSimdDirective() local
6978 NewSteps.push_back(E ? NewStep : nullptr); in ActOnOpenMPDeclareSimdDirective()
6999 NewStep = Step; in ActOnOpenMPDeclareSimdDirective()
7003 NewStep = PerformOpenMPImplicitIntegerConversion(Step->getExprLoc(), Step) in ActOnOpenMPDeclareSimdDirective()
7005 if (NewStep) in ActOnOpenMPDeclareSimdDirective()
7006 NewStep = SemaRef in ActOnOpenMPDeclareSimdDirective()
7008 NewStep, /*FIXME*/ Sema::AllowFold) in ActOnOpenMPDeclareSimdDirective()
7011 NewSteps.push_back(NewStep); in ActOnOpenMPDeclareSimdDirective()
7898 bool setStep(Expr *NewStep, bool Subtract);
7951 bool OpenMPIterationSpaceChecker::setStep(Expr *NewStep, bool Subtract) { in setStep() argument
7954 if (!NewStep || NewStep->containsErrors()) in setStep()
7956 if (!NewStep->isValueDependent()) { in setStep()
7958 SourceLocation StepLoc = NewStep->getBeginLoc(); in setStep()
7960 StepLoc, getExprAsWritten(NewStep)); in setStep()
7963 NewStep = Val.get(); in setStep()
7977 NewStep->getIntegerConstantExpr(SemaRef.Context); in setStep()
7978 bool IsUnsigned = !NewStep->getType()->hasSignedIntegerRepresentation(); in setStep()
7991 SemaRef.Diag(NewStep->getExprLoc(), in setStep()
7993 << LCDecl << *TestIsLessOp << NewStep->getSourceRange(); in setStep()
8000 NewStep = in setStep()
8001 SemaRef.CreateBuiltinUnaryOp(NewStep->getExprLoc(), UO_Minus, NewStep) in setStep()
8007 Step = NewStep; in setStep()
8425 ExprResult NewStep = tryBuildCapture(SemaRef, Step, Captures, ".new_step"); in calculateNumIters() local
8426 if (!NewStep.isUsable()) in calculateNumIters()
8511 NewStep = SemaRef.ActOnParenExpr(DefaultLoc, DefaultLoc, NewStep.get()); in calculateNumIters()
8514 if (!Lower || !Upper || NewStep.isInvalid()) in calculateNumIters()
8526 SemaRef.BuildBinOp(S, DefaultLoc, BO_Sub, Diff.get(), NewStep.get()); in calculateNumIters()
8572 SemaRef.BuildBinOp(S, DefaultLoc, BO_Add, Diff.get(), NewStep.get()); in calculateNumIters()
8584 Diff = SemaRef.BuildBinOp(S, DefaultLoc, BO_Div, Diff.get(), NewStep.get()); in calculateNumIters()
8864 ExprResult NewStep = tryBuildCapture(SemaRef, Step, Captures, ".new_step"); in buildMinMaxValues() local
8865 if (!NewStep.isUsable()) in buildMinMaxValues()
8867 Diff = SemaRef.BuildBinOp(S, DefaultLoc, BO_Mul, Diff.get(), NewStep.get()); in buildMinMaxValues()
9408 ExprResult NewStep = Step; in buildCounterUpdate() local
9410 NewStep = tryBuildCapture(SemaRef, Step.get(), *Captures); in buildCounterUpdate()
9411 if (NewStep.isInvalid()) in buildCounterUpdate()
9414 SemaRef.BuildBinOp(S, Loc, BO_Mul, Iter.get(), NewStep.get()); in buildCounterUpdate()