Lines Matching refs:LoopScope
1425 const OMPLoopDirective &S, CodeGenFunction::OMPPrivateScope &LoopScope) { in EmitOMPPrivateLoopCounters() argument
1432 (void)LoopScope.addPrivate(VD, [&]() -> Address { in EmitOMPPrivateLoopCounters()
1445 (void)LoopScope.addPrivate(PrivateVD, [&]() -> Address { in EmitOMPPrivateLoopCounters()
1635 OMPPrivateScope LoopScope(CGF); in EmitOMPSimdDirective() local
1636 CGF.EmitOMPPrivateLoopCounters(S, LoopScope); in EmitOMPSimdDirective()
1637 CGF.EmitOMPLinearClause(S, LoopScope); in EmitOMPSimdDirective()
1638 CGF.EmitOMPPrivateClause(S, LoopScope); in EmitOMPSimdDirective()
1639 CGF.EmitOMPReductionClauseInit(S, LoopScope); in EmitOMPSimdDirective()
1641 CGF.EmitOMPLastprivateClauseInit(S, LoopScope); in EmitOMPSimdDirective()
1642 (void)LoopScope.Privatize(); in EmitOMPSimdDirective()
1643 CGF.EmitOMPInnerLoop(S, LoopScope.requiresCleanups(), S.getCond(), in EmitOMPSimdDirective()
1672 const OMPLoopDirective &S, OMPPrivateScope &LoopScope, bool Ordered, in EmitOMPOuterLoop() argument
1703 if (LoopScope.requiresCleanups()) in EmitOMPOuterLoop()
1731 EmitOMPInnerLoop(S, LoopScope.requiresCleanups(), S.getCond(), S.getInc(), in EmitOMPOuterLoop()
1764 const OMPLoopDirective &S, OMPPrivateScope &LoopScope, bool Ordered, in EmitOMPForOuterLoop() argument
1840 EmitOMPOuterLoop(DynamicOrOrdered, IsMonotonic, S, LoopScope, Ordered, LB, UB, in EmitOMPForOuterLoop()
1846 const OMPDistributeDirective &S, OMPPrivateScope &LoopScope, in EmitOMPDistributeOuterLoop() argument
1865 S, LoopScope, /* Ordered = */ false, LB, UB, ST, IL, Chunk); in EmitOMPDistributeOuterLoop()
1997 OMPPrivateScope LoopScope(*this); in EmitOMPWorksharingLoop() local
1998 if (EmitOMPFirstprivateClause(S, LoopScope)) { in EmitOMPWorksharingLoop()
2006 EmitOMPPrivateClause(S, LoopScope); in EmitOMPWorksharingLoop()
2007 HasLastprivateClause = EmitOMPLastprivateClauseInit(S, LoopScope); in EmitOMPWorksharingLoop()
2008 EmitOMPReductionClauseInit(S, LoopScope); in EmitOMPWorksharingLoop()
2009 EmitOMPPrivateLoopCounters(S, LoopScope); in EmitOMPWorksharingLoop()
2010 EmitOMPLinearClause(S, LoopScope); in EmitOMPWorksharingLoop()
2011 (void)LoopScope.Privatize(); in EmitOMPWorksharingLoop()
2054 EmitOMPInnerLoop(S, LoopScope.requiresCleanups(), S.getCond(), in EmitOMPWorksharingLoop()
2072 EmitOMPForOuterLoop(ScheduleKind, IsMonotonic, S, LoopScope, Ordered, in EmitOMPWorksharingLoop()
2221 CodeGenFunction::OMPPrivateScope LoopScope(CGF); in EmitSections() local
2222 if (CGF.EmitOMPFirstprivateClause(S, LoopScope)) { in EmitSections()
2230 CGF.EmitOMPPrivateClause(S, LoopScope); in EmitSections()
2231 HasLastprivates = CGF.EmitOMPLastprivateClauseInit(S, LoopScope); in EmitSections()
2232 CGF.EmitOMPReductionClauseInit(S, LoopScope); in EmitSections()
2233 (void)LoopScope.Privatize(); in EmitSections()
2669 OMPPrivateScope LoopScope(*this); in EmitOMPDistributeLoop() local
2670 EmitOMPPrivateLoopCounters(S, LoopScope); in EmitOMPDistributeLoop()
2671 (void)LoopScope.Privatize(); in EmitOMPDistributeLoop()
2709 EmitOMPInnerLoop(S, LoopScope.requiresCleanups(), S.getCond(), in EmitOMPDistributeLoop()
2722 EmitOMPDistributeOuterLoop(ScheduleKind, S, LoopScope, in EmitOMPDistributeLoop()
3534 OMPPrivateScope LoopScope(CGF); in EmitOMPTaskLoopBasedDirective() local
3543 LoopScope); in EmitOMPTaskLoopBasedDirective()
3545 LoopScope); in EmitOMPTaskLoopBasedDirective()
3546 mapParam(CGF, cast<DeclRefExpr>(S.getStrideVariable()), *STP, LoopScope); in EmitOMPTaskLoopBasedDirective()
3548 LoopScope); in EmitOMPTaskLoopBasedDirective()
3549 CGF.EmitOMPPrivateLoopCounters(S, LoopScope); in EmitOMPTaskLoopBasedDirective()
3550 bool HasLastprivateClause = CGF.EmitOMPLastprivateClauseInit(S, LoopScope); in EmitOMPTaskLoopBasedDirective()
3551 (void)LoopScope.Privatize(); in EmitOMPTaskLoopBasedDirective()
3567 CGF.EmitOMPInnerLoop(S, LoopScope.requiresCleanups(), S.getCond(), in EmitOMPTaskLoopBasedDirective()