Lines Matching refs:ValExpr
12644 Expr *ValExpr = Condition; in ActOnOpenMPIfClause() local
12654 ValExpr = Val.get(); in ActOnOpenMPIfClause()
12660 ValExpr = MakeFullExpr(ValExpr).get(); in ActOnOpenMPIfClause()
12662 ValExpr = tryBuildCapture(*this, ValExpr, Captures).get(); in ActOnOpenMPIfClause()
12668 OMPIfClause(NameModifier, ValExpr, HelperValStmt, CaptureRegion, StartLoc, in ActOnOpenMPIfClause()
12676 Expr *ValExpr = Condition; in ActOnOpenMPFinalClause() local
12686 ValExpr = MakeFullExpr(Val.get()).get(); in ActOnOpenMPFinalClause()
12692 ValExpr = MakeFullExpr(ValExpr).get(); in ActOnOpenMPFinalClause()
12694 ValExpr = tryBuildCapture(*this, ValExpr, Captures).get(); in ActOnOpenMPFinalClause()
12699 return new (Context) OMPFinalClause(ValExpr, HelperValStmt, CaptureRegion, in ActOnOpenMPFinalClause()
12748 isNonNegativeIntegerValue(Expr *&ValExpr, Sema &SemaRef, OpenMPClauseKind CKind, in isNonNegativeIntegerValue() argument
12753 if (!ValExpr->isTypeDependent() && !ValExpr->isValueDependent() && in isNonNegativeIntegerValue()
12754 !ValExpr->isInstantiationDependent()) { in isNonNegativeIntegerValue()
12755 SourceLocation Loc = ValExpr->getExprLoc(); in isNonNegativeIntegerValue()
12757 SemaRef.PerformOpenMPImplicitIntegerConversion(Loc, ValExpr); in isNonNegativeIntegerValue()
12761 ValExpr = Value.get(); in isNonNegativeIntegerValue()
12764 ValExpr->getIntegerConstantExpr(SemaRef.Context)) { in isNonNegativeIntegerValue()
12770 << ValExpr->getSourceRange(); in isNonNegativeIntegerValue()
12780 ValExpr = SemaRef.MakeFullExpr(ValExpr).get(); in isNonNegativeIntegerValue()
12782 ValExpr = tryBuildCapture(SemaRef, ValExpr, Captures).get(); in isNonNegativeIntegerValue()
12793 Expr *ValExpr = NumThreads; in ActOnOpenMPNumThreadsClause() local
12798 if (!isNonNegativeIntegerValue(ValExpr, *this, OMPC_num_threads, in ActOnOpenMPNumThreadsClause()
12806 ValExpr = MakeFullExpr(ValExpr).get(); in ActOnOpenMPNumThreadsClause()
12808 ValExpr = tryBuildCapture(*this, ValExpr, Captures).get(); in ActOnOpenMPNumThreadsClause()
12813 ValExpr, HelperValStmt, CaptureRegion, StartLoc, LParenLoc, EndLoc); in ActOnOpenMPNumThreadsClause()
13391 Expr *ValExpr = ChunkSize; in ActOnOpenMPScheduleClause() local
13403 ValExpr = Val.get(); in ActOnOpenMPScheduleClause()
13409 ValExpr->getIntegerConstantExpr(Context)) { in ActOnOpenMPScheduleClause()
13419 ValExpr = MakeFullExpr(ValExpr).get(); in ActOnOpenMPScheduleClause()
13421 ValExpr = tryBuildCapture(*this, ValExpr, Captures).get(); in ActOnOpenMPScheduleClause()
13429 ValExpr, HelperValStmt, M1, M1Loc, M2, M2Loc); in ActOnOpenMPScheduleClause()
16647 Expr *ValExpr = Device; in ActOnOpenMPDeviceClause() local
16652 ErrorFound = !isNonNegativeIntegerValue(ValExpr, *this, OMPC_device, in ActOnOpenMPDeviceClause()
16662 ValExpr = MakeFullExpr(ValExpr).get(); in ActOnOpenMPDeviceClause()
16664 ValExpr = tryBuildCapture(*this, ValExpr, Captures).get(); in ActOnOpenMPDeviceClause()
16669 OMPDeviceClause(Modifier, ValExpr, HelperValStmt, CaptureRegion, StartLoc, in ActOnOpenMPDeviceClause()
18271 Expr *ValExpr = NumTeams; in ActOnOpenMPNumTeamsClause() local
18276 if (!isNonNegativeIntegerValue(ValExpr, *this, OMPC_num_teams, in ActOnOpenMPNumTeamsClause()
18284 ValExpr = MakeFullExpr(ValExpr).get(); in ActOnOpenMPNumTeamsClause()
18286 ValExpr = tryBuildCapture(*this, ValExpr, Captures).get(); in ActOnOpenMPNumTeamsClause()
18290 return new (Context) OMPNumTeamsClause(ValExpr, HelperValStmt, CaptureRegion, in ActOnOpenMPNumTeamsClause()
18298 Expr *ValExpr = ThreadLimit; in ActOnOpenMPThreadLimitClause() local
18303 if (!isNonNegativeIntegerValue(ValExpr, *this, OMPC_thread_limit, in ActOnOpenMPThreadLimitClause()
18311 ValExpr = MakeFullExpr(ValExpr).get(); in ActOnOpenMPThreadLimitClause()
18313 ValExpr = tryBuildCapture(*this, ValExpr, Captures).get(); in ActOnOpenMPThreadLimitClause()
18318 ValExpr, HelperValStmt, CaptureRegion, StartLoc, LParenLoc, EndLoc); in ActOnOpenMPThreadLimitClause()
18325 Expr *ValExpr = Priority; in ActOnOpenMPPriorityClause() local
18332 ValExpr, *this, OMPC_priority, in ActOnOpenMPPriorityClause()
18337 return new (Context) OMPPriorityClause(ValExpr, HelperValStmt, CaptureRegion, in ActOnOpenMPPriorityClause()
18345 Expr *ValExpr = Grainsize; in ActOnOpenMPGrainsizeClause() local
18353 ValExpr, *this, OMPC_grainsize, in ActOnOpenMPGrainsizeClause()
18358 return new (Context) OMPGrainsizeClause(ValExpr, HelperValStmt, CaptureRegion, in ActOnOpenMPGrainsizeClause()
18366 Expr *ValExpr = NumTasks; in ActOnOpenMPNumTasksClause() local
18374 ValExpr, *this, OMPC_num_tasks, in ActOnOpenMPNumTasksClause()
18379 return new (Context) OMPNumTasksClause(ValExpr, HelperValStmt, CaptureRegion, in ActOnOpenMPNumTasksClause()
18472 Expr *ValExpr = ChunkSize; in ActOnOpenMPDistScheduleClause() local
18484 ValExpr = Val.get(); in ActOnOpenMPDistScheduleClause()
18490 ValExpr->getIntegerConstantExpr(Context)) { in ActOnOpenMPDistScheduleClause()
18500 ValExpr = MakeFullExpr(ValExpr).get(); in ActOnOpenMPDistScheduleClause()
18502 ValExpr = tryBuildCapture(*this, ValExpr, Captures).get(); in ActOnOpenMPDistScheduleClause()
18510 Kind, ValExpr, HelperValStmt); in ActOnOpenMPDistScheduleClause()