Lines Matching refs:LoopScope
2202 const OMPLoopDirective &S, CodeGenFunction::OMPPrivateScope &LoopScope) { in EmitOMPPrivateLoopCounters() argument
2213 (void)LoopScope.addPrivate(VD, [&VarEmission]() { in EmitOMPPrivateLoopCounters()
2218 (void)LoopScope.addPrivate(PrivateVD, [this, VD, E]() { in EmitOMPPrivateLoopCounters()
2225 (void)LoopScope.addPrivate(PrivateVD, [&VarEmission]() { in EmitOMPPrivateLoopCounters()
2242 (void)LoopScope.addPrivate(VD, [this, DRE, VD]() { in EmitOMPPrivateLoopCounters()
2520 CodeGenFunction::OMPPrivateScope LoopScope(CGF); in emitOMPSimdRegion() local
2521 CGF.EmitOMPPrivateLoopCounters(S, LoopScope); in emitOMPSimdRegion()
2522 CGF.EmitOMPLinearClause(S, LoopScope); in emitOMPSimdRegion()
2523 CGF.EmitOMPPrivateClause(S, LoopScope); in emitOMPSimdRegion()
2524 CGF.EmitOMPReductionClauseInit(S, LoopScope); in emitOMPSimdRegion()
2527 bool HasLastprivateClause = CGF.EmitOMPLastprivateClauseInit(S, LoopScope); in emitOMPSimdRegion()
2528 (void)LoopScope.Privatize(); in emitOMPSimdRegion()
2537 [&S, &LoopScope](CodeGenFunction &CGF, PrePostActionTy &) { in emitOMPSimdRegion()
2539 S, LoopScope.requiresCleanups(), S.getCond(), S.getInc(), in emitOMPSimdRegion()
2586 CodeGenFunction::OMPPrivateScope &LoopScope, in EmitOMPOuterLoop() argument
2625 if (LoopScope.requiresCleanups()) in EmitOMPOuterLoop()
2660 &LoopScope](CodeGenFunction &CGF, PrePostActionTy &) { in EmitOMPOuterLoop()
2668 S, LoopScope.requiresCleanups(), LoopArgs.Cond, LoopArgs.IncExpr, in EmitOMPOuterLoop()
2702 const OMPLoopDirective &S, OMPPrivateScope &LoopScope, bool Ordered, in EmitOMPForOuterLoop() argument
2803 EmitOMPOuterLoop(DynamicOrOrdered, IsMonotonic, S, LoopScope, OuterLoopArgs, in EmitOMPForOuterLoop()
2812 OMPPrivateScope &LoopScope, const OMPLoopArguments &LoopArgs, in EmitOMPDistributeOuterLoop() argument
2866 LoopScope, OuterLoopArgs, CodeGenLoopContent, in EmitOMPDistributeOuterLoop()
3109 OMPPrivateScope LoopScope(*this); in EmitOMPWorksharingLoop() local
3110 if (EmitOMPFirstprivateClause(S, LoopScope) || HasLinears) { in EmitOMPWorksharingLoop()
3118 EmitOMPPrivateClause(S, LoopScope); in EmitOMPWorksharingLoop()
3121 HasLastprivateClause = EmitOMPLastprivateClauseInit(S, LoopScope); in EmitOMPWorksharingLoop()
3122 EmitOMPReductionClauseInit(S, LoopScope); in EmitOMPWorksharingLoop()
3123 EmitOMPPrivateLoopCounters(S, LoopScope); in EmitOMPWorksharingLoop()
3124 EmitOMPLinearClause(S, LoopScope); in EmitOMPWorksharingLoop()
3125 (void)LoopScope.Privatize(); in EmitOMPWorksharingLoop()
3190 &LoopScope](CodeGenFunction &CGF, PrePostActionTy &) { in EmitOMPWorksharingLoop()
3222 S, LoopScope.requiresCleanups(), in EmitOMPWorksharingLoop()
3244 EmitOMPForOuterLoop(ScheduleKind, IsMonotonic, S, LoopScope, Ordered, in EmitOMPWorksharingLoop()
3535 OMPLoopScope LoopScope(CGF, S); in emitWorksharingDirective() local
3720 CodeGenFunction::OMPPrivateScope LoopScope(CGF); in EmitSections() local
3721 if (CGF.EmitOMPFirstprivateClause(S, LoopScope)) { in EmitSections()
3729 CGF.EmitOMPPrivateClause(S, LoopScope); in EmitSections()
3731 HasLastprivates = CGF.EmitOMPLastprivateClauseInit(S, LoopScope); in EmitSections()
3732 CGF.EmitOMPReductionClauseInit(S, LoopScope); in EmitSections()
3733 (void)LoopScope.Privatize(); in EmitSections()
4100 OMPLoopScope LoopScope(CGF, S); in EmitOMPParallelForDirective() local
4131 OMPLoopScope LoopScope(CGF, S); in EmitOMPParallelForSimdDirective() local
5098 OMPPrivateScope LoopScope(*this); in EmitOMPDistributeLoop() local
5099 if (EmitOMPFirstprivateClause(S, LoopScope)) { in EmitOMPDistributeLoop()
5107 EmitOMPPrivateClause(S, LoopScope); in EmitOMPDistributeLoop()
5111 EmitOMPReductionClauseInit(S, LoopScope); in EmitOMPDistributeLoop()
5112 HasLastprivateClause = EmitOMPLastprivateClauseInit(S, LoopScope); in EmitOMPDistributeLoop()
5113 EmitOMPPrivateLoopCounters(S, LoopScope); in EmitOMPDistributeLoop()
5114 (void)LoopScope.Privatize(); in EmitOMPDistributeLoop()
5206 [&S, &LoopScope, Cond, IncExpr, LoopExit, &CodeGenLoop, in EmitOMPDistributeLoop()
5209 S, LoopScope.requiresCleanups(), Cond, IncExpr, in EmitOMPDistributeLoop()
5231 EmitOMPDistributeOuterLoop(ScheduleKind, S, LoopScope, LoopArguments, in EmitOMPDistributeLoop()
6886 OMPPrivateScope LoopScope(CGF); in EmitOMPTaskLoopBasedDirective() local
6895 LoopScope); in EmitOMPTaskLoopBasedDirective()
6897 LoopScope); in EmitOMPTaskLoopBasedDirective()
6898 mapParam(CGF, cast<DeclRefExpr>(S.getStrideVariable()), *STP, LoopScope); in EmitOMPTaskLoopBasedDirective()
6900 LoopScope); in EmitOMPTaskLoopBasedDirective()
6901 CGF.EmitOMPPrivateLoopCounters(S, LoopScope); in EmitOMPTaskLoopBasedDirective()
6902 CGF.EmitOMPLinearClause(S, LoopScope); in EmitOMPTaskLoopBasedDirective()
6903 bool HasLastprivateClause = CGF.EmitOMPLastprivateClauseInit(S, LoopScope); in EmitOMPTaskLoopBasedDirective()
6904 (void)LoopScope.Privatize(); in EmitOMPTaskLoopBasedDirective()
6928 [&S, &LoopScope](CodeGenFunction &CGF, PrePostActionTy &) { in EmitOMPTaskLoopBasedDirective()
6930 S, LoopScope.requiresCleanups(), S.getCond(), S.getInc(), in EmitOMPTaskLoopBasedDirective()