Lines Matching refs:LoopScope

2253     const OMPLoopDirective &S, CodeGenFunction::OMPPrivateScope &LoopScope) {  in EmitOMPPrivateLoopCounters()  argument
2264 (void)LoopScope.addPrivate(VD, VarEmission.getAllocatedAddress()); in EmitOMPPrivateLoopCounters()
2270 (void)LoopScope.addPrivate(PrivateVD, EmitLValue(&DRE).getAddress(*this)); in EmitOMPPrivateLoopCounters()
2272 (void)LoopScope.addPrivate(PrivateVD, VarEmission.getAllocatedAddress()); in EmitOMPPrivateLoopCounters()
2287 (void)LoopScope.addPrivate( in EmitOMPPrivateLoopCounters()
2560 CodeGenFunction::OMPPrivateScope LoopScope(CGF); in emitOMPSimdRegion() local
2561 CGF.EmitOMPPrivateLoopCounters(S, LoopScope); in emitOMPSimdRegion()
2562 CGF.EmitOMPLinearClause(S, LoopScope); in emitOMPSimdRegion()
2563 CGF.EmitOMPPrivateClause(S, LoopScope); in emitOMPSimdRegion()
2564 CGF.EmitOMPReductionClauseInit(S, LoopScope); in emitOMPSimdRegion()
2567 bool HasLastprivateClause = CGF.EmitOMPLastprivateClauseInit(S, LoopScope); in emitOMPSimdRegion()
2568 (void)LoopScope.Privatize(); in emitOMPSimdRegion()
2577 [&S, &LoopScope](CodeGenFunction &CGF, PrePostActionTy &) { in emitOMPSimdRegion()
2579 S, LoopScope.requiresCleanups(), S.getCond(), S.getInc(), in emitOMPSimdRegion()
2593 LoopScope.restoreMap(); in emitOMPSimdRegion()
2807 CodeGenFunction::OMPPrivateScope &LoopScope, in EmitOMPOuterLoop() argument
2846 if (LoopScope.requiresCleanups()) in EmitOMPOuterLoop()
2881 &LoopScope](CodeGenFunction &CGF, PrePostActionTy &) { in EmitOMPOuterLoop()
2889 S, LoopScope.requiresCleanups(), LoopArgs.Cond, LoopArgs.IncExpr, in EmitOMPOuterLoop()
2923 const OMPLoopDirective &S, OMPPrivateScope &LoopScope, bool Ordered, in EmitOMPForOuterLoop() argument
3022 EmitOMPOuterLoop(DynamicOrOrdered, IsMonotonic, S, LoopScope, OuterLoopArgs, in EmitOMPForOuterLoop()
3031 OMPPrivateScope &LoopScope, const OMPLoopArguments &LoopArgs, in EmitOMPDistributeOuterLoop() argument
3085 LoopScope, OuterLoopArgs, CodeGenLoopContent, in EmitOMPDistributeOuterLoop()
3328 OMPPrivateScope LoopScope(*this); in EmitOMPWorksharingLoop() local
3329 if (EmitOMPFirstprivateClause(S, LoopScope) || HasLinears) { in EmitOMPWorksharingLoop()
3337 EmitOMPPrivateClause(S, LoopScope); in EmitOMPWorksharingLoop()
3340 HasLastprivateClause = EmitOMPLastprivateClauseInit(S, LoopScope); in EmitOMPWorksharingLoop()
3341 EmitOMPReductionClauseInit(S, LoopScope); in EmitOMPWorksharingLoop()
3342 EmitOMPPrivateLoopCounters(S, LoopScope); in EmitOMPWorksharingLoop()
3343 EmitOMPLinearClause(S, LoopScope); in EmitOMPWorksharingLoop()
3344 (void)LoopScope.Privatize(); in EmitOMPWorksharingLoop()
3410 &LoopScope](CodeGenFunction &CGF, PrePostActionTy &) { in EmitOMPWorksharingLoop()
3442 S, LoopScope.requiresCleanups(), in EmitOMPWorksharingLoop()
3464 EmitOMPForOuterLoop(ScheduleKind, IsMonotonic, S, LoopScope, Ordered, in EmitOMPWorksharingLoop()
3488 LoopScope.restoreMap(); in EmitOMPWorksharingLoop()
3807 OMPLoopScope LoopScope(CGF, S); in emitWorksharingDirective() local
4047 CodeGenFunction::OMPPrivateScope LoopScope(CGF); in EmitSections() local
4048 if (CGF.EmitOMPFirstprivateClause(S, LoopScope)) { in EmitSections()
4056 CGF.EmitOMPPrivateClause(S, LoopScope); in EmitSections()
4058 HasLastprivates = CGF.EmitOMPLastprivateClauseInit(S, LoopScope); in EmitSections()
4059 CGF.EmitOMPReductionClauseInit(S, LoopScope); in EmitSections()
4060 (void)LoopScope.Privatize(); in EmitSections()
4411 OMPLoopScope LoopScope(CGF, S); in EmitOMPParallelForDirective() local
4445 OMPLoopScope LoopScope(CGF, S); in EmitOMPParallelForSimdDirective() local
5625 OMPPrivateScope LoopScope(*this); in EmitOMPDistributeLoop() local
5626 if (EmitOMPFirstprivateClause(S, LoopScope)) { in EmitOMPDistributeLoop()
5634 EmitOMPPrivateClause(S, LoopScope); in EmitOMPDistributeLoop()
5638 EmitOMPReductionClauseInit(S, LoopScope); in EmitOMPDistributeLoop()
5639 HasLastprivateClause = EmitOMPLastprivateClauseInit(S, LoopScope); in EmitOMPDistributeLoop()
5640 EmitOMPPrivateLoopCounters(S, LoopScope); in EmitOMPDistributeLoop()
5641 (void)LoopScope.Privatize(); in EmitOMPDistributeLoop()
5733 [&S, &LoopScope, Cond, IncExpr, LoopExit, &CodeGenLoop, in EmitOMPDistributeLoop()
5736 S, LoopScope.requiresCleanups(), Cond, IncExpr, in EmitOMPDistributeLoop()
5758 EmitOMPDistributeOuterLoop(ScheduleKind, S, LoopScope, LoopArguments, in EmitOMPDistributeLoop()
7574 OMPPrivateScope LoopScope(CGF); in EmitOMPTaskLoopBasedDirective() local
7583 LoopScope); in EmitOMPTaskLoopBasedDirective()
7585 LoopScope); in EmitOMPTaskLoopBasedDirective()
7586 mapParam(CGF, cast<DeclRefExpr>(S.getStrideVariable()), *STP, LoopScope); in EmitOMPTaskLoopBasedDirective()
7588 LoopScope); in EmitOMPTaskLoopBasedDirective()
7589 CGF.EmitOMPPrivateLoopCounters(S, LoopScope); in EmitOMPTaskLoopBasedDirective()
7590 CGF.EmitOMPLinearClause(S, LoopScope); in EmitOMPTaskLoopBasedDirective()
7591 bool HasLastprivateClause = CGF.EmitOMPLastprivateClauseInit(S, LoopScope); in EmitOMPTaskLoopBasedDirective()
7592 (void)LoopScope.Privatize(); in EmitOMPTaskLoopBasedDirective()
7616 [&S, &LoopScope](CodeGenFunction &CGF, PrePostActionTy &) { in EmitOMPTaskLoopBasedDirective()
7618 S, LoopScope.requiresCleanups(), S.getCond(), S.getInc(), in EmitOMPTaskLoopBasedDirective()
7639 LoopScope.restoreMap(); in EmitOMPTaskLoopBasedDirective()
7779 OMPPrivateScope LoopScope(CGF); in EmitOMPGenericLoopDirective() local
7780 CGF.EmitOMPPrivateLoopCounters(S, LoopScope); in EmitOMPGenericLoopDirective()
7781 (void)LoopScope.Privatize(); in EmitOMPGenericLoopDirective()
7783 LoopScope.restoreMap(); in EmitOMPGenericLoopDirective()