• Home
  • Raw
  • Download

Lines Matching refs:ValExpr

7339   Expr *ValExpr = Condition;  in ActOnOpenMPIfClause()  local
7347 ValExpr = MakeFullExpr(Val.get()).get(); in ActOnOpenMPIfClause()
7350 return new (Context) OMPIfClause(NameModifier, ValExpr, StartLoc, LParenLoc, in ActOnOpenMPIfClause()
7358 Expr *ValExpr = Condition; in ActOnOpenMPFinalClause() local
7366 ValExpr = MakeFullExpr(Val.get()).get(); in ActOnOpenMPFinalClause()
7369 return new (Context) OMPFinalClause(ValExpr, StartLoc, LParenLoc, EndLoc); in ActOnOpenMPFinalClause()
7415 static bool IsNonNegativeIntegerValue(Expr *&ValExpr, Sema &SemaRef, in IsNonNegativeIntegerValue() argument
7418 if (!ValExpr->isTypeDependent() && !ValExpr->isValueDependent() && in IsNonNegativeIntegerValue()
7419 !ValExpr->isInstantiationDependent()) { in IsNonNegativeIntegerValue()
7420 SourceLocation Loc = ValExpr->getExprLoc(); in IsNonNegativeIntegerValue()
7422 SemaRef.PerformOpenMPImplicitIntegerConversion(Loc, ValExpr); in IsNonNegativeIntegerValue()
7426 ValExpr = Value.get(); in IsNonNegativeIntegerValue()
7429 if (ValExpr->isIntegerConstantExpr(Result, SemaRef.Context) && in IsNonNegativeIntegerValue()
7435 << ValExpr->getSourceRange(); in IsNonNegativeIntegerValue()
7446 Expr *ValExpr = NumThreads; in ActOnOpenMPNumThreadsClause() local
7450 if (!IsNonNegativeIntegerValue(ValExpr, *this, OMPC_num_threads, in ActOnOpenMPNumThreadsClause()
7455 OMPNumThreadsClause(ValExpr, StartLoc, LParenLoc, EndLoc); in ActOnOpenMPNumThreadsClause()
7844 Expr *ValExpr = ChunkSize; in ActOnOpenMPScheduleClause() local
7856 ValExpr = Val.get(); in ActOnOpenMPScheduleClause()
7862 if (ValExpr->isIntegerConstantExpr(Result, Context)) { in ActOnOpenMPScheduleClause()
7871 ValExpr = tryBuildCapture(*this, ValExpr, Captures).get(); in ActOnOpenMPScheduleClause()
7879 ValExpr, HelperValStmt, M1, M1Loc, M2, M2Loc); in ActOnOpenMPScheduleClause()
10280 Expr *ValExpr = Device; in ActOnOpenMPDeviceClause() local
10284 if (!IsNonNegativeIntegerValue(ValExpr, *this, OMPC_device, in ActOnOpenMPDeviceClause()
10288 return new (Context) OMPDeviceClause(ValExpr, StartLoc, LParenLoc, EndLoc); in ActOnOpenMPDeviceClause()
11299 Expr *ValExpr = NumTeams; in ActOnOpenMPNumTeamsClause() local
11303 if (!IsNonNegativeIntegerValue(ValExpr, *this, OMPC_num_teams, in ActOnOpenMPNumTeamsClause()
11307 return new (Context) OMPNumTeamsClause(ValExpr, StartLoc, LParenLoc, EndLoc); in ActOnOpenMPNumTeamsClause()
11314 Expr *ValExpr = ThreadLimit; in ActOnOpenMPThreadLimitClause() local
11318 if (!IsNonNegativeIntegerValue(ValExpr, *this, OMPC_thread_limit, in ActOnOpenMPThreadLimitClause()
11322 return new (Context) OMPThreadLimitClause(ValExpr, StartLoc, LParenLoc, in ActOnOpenMPThreadLimitClause()
11330 Expr *ValExpr = Priority; in ActOnOpenMPPriorityClause() local
11334 if (!IsNonNegativeIntegerValue(ValExpr, *this, OMPC_priority, in ActOnOpenMPPriorityClause()
11338 return new (Context) OMPPriorityClause(ValExpr, StartLoc, LParenLoc, EndLoc); in ActOnOpenMPPriorityClause()
11345 Expr *ValExpr = Grainsize; in ActOnOpenMPGrainsizeClause() local
11350 if (!IsNonNegativeIntegerValue(ValExpr, *this, OMPC_grainsize, in ActOnOpenMPGrainsizeClause()
11354 return new (Context) OMPGrainsizeClause(ValExpr, StartLoc, LParenLoc, EndLoc); in ActOnOpenMPGrainsizeClause()
11361 Expr *ValExpr = NumTasks; in ActOnOpenMPNumTasksClause() local
11366 if (!IsNonNegativeIntegerValue(ValExpr, *this, OMPC_num_tasks, in ActOnOpenMPNumTasksClause()
11370 return new (Context) OMPNumTasksClause(ValExpr, StartLoc, LParenLoc, EndLoc); in ActOnOpenMPNumTasksClause()
11399 Expr *ValExpr = ChunkSize; in ActOnOpenMPDistScheduleClause() local
11411 ValExpr = Val.get(); in ActOnOpenMPDistScheduleClause()
11417 if (ValExpr->isIntegerConstantExpr(Result, Context)) { in ActOnOpenMPDistScheduleClause()
11426 ValExpr = tryBuildCapture(*this, ValExpr, Captures).get(); in ActOnOpenMPDistScheduleClause()
11434 Kind, ValExpr, HelperValStmt); in ActOnOpenMPDistScheduleClause()