Lines Matching refs:LoopScope
2281 const OMPLoopDirective &S, CodeGenFunction::OMPPrivateScope &LoopScope) { in EmitOMPPrivateLoopCounters() argument
2292 (void)LoopScope.addPrivate(VD, VarEmission.getAllocatedAddress()); in EmitOMPPrivateLoopCounters()
2298 (void)LoopScope.addPrivate(PrivateVD, EmitLValue(&DRE).getAddress()); in EmitOMPPrivateLoopCounters()
2300 (void)LoopScope.addPrivate(PrivateVD, VarEmission.getAllocatedAddress()); in EmitOMPPrivateLoopCounters()
2315 (void)LoopScope.addPrivate( in EmitOMPPrivateLoopCounters()
2587 CodeGenFunction::OMPPrivateScope LoopScope(CGF); in emitOMPSimdRegion() local
2588 CGF.EmitOMPPrivateClause(S, LoopScope); in emitOMPSimdRegion()
2589 CGF.EmitOMPPrivateLoopCounters(S, LoopScope); in emitOMPSimdRegion()
2590 CGF.EmitOMPLinearClause(S, LoopScope); in emitOMPSimdRegion()
2591 CGF.EmitOMPReductionClauseInit(S, LoopScope); in emitOMPSimdRegion()
2594 bool HasLastprivateClause = CGF.EmitOMPLastprivateClauseInit(S, LoopScope); in emitOMPSimdRegion()
2595 (void)LoopScope.Privatize(); in emitOMPSimdRegion()
2604 [&S, &LoopScope](CodeGenFunction &CGF, PrePostActionTy &) { in emitOMPSimdRegion()
2606 S, LoopScope.requiresCleanups(), S.getCond(), S.getInc(), in emitOMPSimdRegion()
2620 LoopScope.restoreMap(); in emitOMPSimdRegion()
2847 CodeGenFunction::OMPPrivateScope &LoopScope, in EmitOMPOuterLoop() argument
2886 if (LoopScope.requiresCleanups()) in EmitOMPOuterLoop()
2921 &LoopScope](CodeGenFunction &CGF, PrePostActionTy &) { in EmitOMPOuterLoop()
2929 S, LoopScope.requiresCleanups(), LoopArgs.Cond, LoopArgs.IncExpr, in EmitOMPOuterLoop()
2963 const OMPLoopDirective &S, OMPPrivateScope &LoopScope, bool Ordered, in EmitOMPForOuterLoop() argument
3065 EmitOMPOuterLoop(DynamicOrOrdered, IsMonotonic, S, LoopScope, OuterLoopArgs, in EmitOMPForOuterLoop()
3077 OMPPrivateScope &LoopScope, const OMPLoopArguments &LoopArgs, in EmitOMPDistributeOuterLoop() argument
3132 LoopScope, OuterLoopArgs, CodeGenLoopContent, in EmitOMPDistributeOuterLoop()
3373 OMPPrivateScope LoopScope(*this); in EmitOMPWorksharingLoop() local
3374 if (EmitOMPFirstprivateClause(S, LoopScope) || HasLinears) { in EmitOMPWorksharingLoop()
3382 EmitOMPPrivateClause(S, LoopScope); in EmitOMPWorksharingLoop()
3385 HasLastprivateClause = EmitOMPLastprivateClauseInit(S, LoopScope); in EmitOMPWorksharingLoop()
3386 EmitOMPReductionClauseInit(S, LoopScope); in EmitOMPWorksharingLoop()
3387 EmitOMPPrivateLoopCounters(S, LoopScope); in EmitOMPWorksharingLoop()
3388 EmitOMPLinearClause(S, LoopScope); in EmitOMPWorksharingLoop()
3389 (void)LoopScope.Privatize(); in EmitOMPWorksharingLoop()
3455 &LoopScope](CodeGenFunction &CGF, PrePostActionTy &) { in EmitOMPWorksharingLoop()
3487 S, LoopScope.requiresCleanups(), in EmitOMPWorksharingLoop()
3510 EmitOMPForOuterLoop(ScheduleKind, IsMonotonic, S, LoopScope, Ordered, in EmitOMPWorksharingLoop()
3534 LoopScope.restoreMap(); in EmitOMPWorksharingLoop()
3852 OMPLoopScope LoopScope(CGF, S); in emitWorksharingDirective() local
4092 CodeGenFunction::OMPPrivateScope LoopScope(CGF); in EmitSections() local
4093 if (CGF.EmitOMPFirstprivateClause(S, LoopScope)) { in EmitSections()
4101 CGF.EmitOMPPrivateClause(S, LoopScope); in EmitSections()
4103 HasLastprivates = CGF.EmitOMPLastprivateClauseInit(S, LoopScope); in EmitSections()
4104 CGF.EmitOMPReductionClauseInit(S, LoopScope); in EmitSections()
4105 (void)LoopScope.Privatize(); in EmitSections()
4456 OMPLoopScope LoopScope(CGF, S); in EmitOMPParallelForDirective() local
4490 OMPLoopScope LoopScope(CGF, S); in EmitOMPParallelForSimdDirective() local
5713 OMPPrivateScope LoopScope(*this); in EmitOMPDistributeLoop() local
5714 if (EmitOMPFirstprivateClause(S, LoopScope)) { in EmitOMPDistributeLoop()
5722 EmitOMPPrivateClause(S, LoopScope); in EmitOMPDistributeLoop()
5726 EmitOMPReductionClauseInit(S, LoopScope); in EmitOMPDistributeLoop()
5727 HasLastprivateClause = EmitOMPLastprivateClauseInit(S, LoopScope); in EmitOMPDistributeLoop()
5728 EmitOMPPrivateLoopCounters(S, LoopScope); in EmitOMPDistributeLoop()
5729 (void)LoopScope.Privatize(); in EmitOMPDistributeLoop()
5821 [&S, &LoopScope, Cond, IncExpr, LoopExit, &CodeGenLoop, in EmitOMPDistributeLoop()
5824 S, LoopScope.requiresCleanups(), Cond, IncExpr, in EmitOMPDistributeLoop()
5846 EmitOMPDistributeOuterLoop(ScheduleKind, S, LoopScope, LoopArguments, in EmitOMPDistributeLoop()
7726 OMPPrivateScope LoopScope(CGF); in EmitOMPTaskLoopBasedDirective() local
7735 LoopScope); in EmitOMPTaskLoopBasedDirective()
7737 LoopScope); in EmitOMPTaskLoopBasedDirective()
7738 mapParam(CGF, cast<DeclRefExpr>(S.getStrideVariable()), *STP, LoopScope); in EmitOMPTaskLoopBasedDirective()
7740 LoopScope); in EmitOMPTaskLoopBasedDirective()
7741 CGF.EmitOMPPrivateLoopCounters(S, LoopScope); in EmitOMPTaskLoopBasedDirective()
7742 CGF.EmitOMPLinearClause(S, LoopScope); in EmitOMPTaskLoopBasedDirective()
7743 bool HasLastprivateClause = CGF.EmitOMPLastprivateClauseInit(S, LoopScope); in EmitOMPTaskLoopBasedDirective()
7744 (void)LoopScope.Privatize(); in EmitOMPTaskLoopBasedDirective()
7768 [&S, &LoopScope](CodeGenFunction &CGF, PrePostActionTy &) { in EmitOMPTaskLoopBasedDirective()
7770 S, LoopScope.requiresCleanups(), S.getCond(), S.getInc(), in EmitOMPTaskLoopBasedDirective()
7791 LoopScope.restoreMap(); in EmitOMPTaskLoopBasedDirective()
7931 OMPPrivateScope LoopScope(CGF); in EmitOMPGenericLoopDirective() local
7932 CGF.EmitOMPPrivateLoopCounters(S, LoopScope); in EmitOMPGenericLoopDirective()
7933 (void)LoopScope.Privatize(); in EmitOMPGenericLoopDirective()
7935 LoopScope.restoreMap(); in EmitOMPGenericLoopDirective()