Lines Matching defs:LoopScope

2321     const OMPLoopDirective &S, CodeGenFunction::OMPPrivateScope &LoopScope) {
2332 (void)LoopScope.addPrivate(VD, VarEmission.getAllocatedAddress());
2338 (void)LoopScope.addPrivate(PrivateVD, EmitLValue(&DRE).getAddress());
2340 (void)LoopScope.addPrivate(PrivateVD, VarEmission.getAllocatedAddress());
2355 (void)LoopScope.addPrivate(
2632 CodeGenFunction::OMPPrivateScope LoopScope(CGF);
2633 CGF.EmitOMPPrivateClause(S, LoopScope);
2634 CGF.EmitOMPPrivateLoopCounters(S, LoopScope);
2635 CGF.EmitOMPLinearClause(S, LoopScope);
2636 CGF.EmitOMPReductionClauseInit(S, LoopScope);
2639 bool HasLastprivateClause = CGF.EmitOMPLastprivateClauseInit(S, LoopScope);
2640 (void)LoopScope.Privatize();
2649 [&S, &LoopScope](CodeGenFunction &CGF, PrePostActionTy &) {
2651 S, LoopScope.requiresCleanups(), S.getCond(), S.getInc(),
2665 LoopScope.restoreMap();
2900 CodeGenFunction::OMPPrivateScope &LoopScope,
2939 if (LoopScope.requiresCleanups())
2975 &LoopScope](CodeGenFunction &CGF, PrePostActionTy &) {
2983 S, LoopScope.requiresCleanups(), LoopArgs.Cond, LoopArgs.IncExpr,
3017 const OMPLoopDirective &S, OMPPrivateScope &LoopScope, bool Ordered,
3120 EmitOMPOuterLoop(DynamicOrOrdered, IsMonotonic, S, LoopScope, OuterLoopArgs,
3132 OMPPrivateScope &LoopScope, const OMPLoopArguments &LoopArgs,
3188 LoopScope, OuterLoopArgs, CodeGenLoopContent,
3429 OMPPrivateScope LoopScope(*this);
3430 if (EmitOMPFirstprivateClause(S, LoopScope) || HasLinears) {
3438 EmitOMPPrivateClause(S, LoopScope);
3441 HasLastprivateClause = EmitOMPLastprivateClauseInit(S, LoopScope);
3442 EmitOMPReductionClauseInit(S, LoopScope);
3443 EmitOMPPrivateLoopCounters(S, LoopScope);
3444 EmitOMPLinearClause(S, LoopScope);
3445 (void)LoopScope.Privatize();
3510 &LoopScope](CodeGenFunction &CGF, PrePostActionTy &) {
3541 S, LoopScope.requiresCleanups(),
3564 EmitOMPForOuterLoop(ScheduleKind, IsMonotonic, S, LoopScope, Ordered,
3588 LoopScope.restoreMap();
3908 OMPLoopScope LoopScope(CGF, S);
4156 CodeGenFunction::OMPPrivateScope LoopScope(CGF);
4157 if (CGF.EmitOMPFirstprivateClause(S, LoopScope)) {
4165 CGF.EmitOMPPrivateClause(S, LoopScope);
4167 HasLastprivates = CGF.EmitOMPLastprivateClauseInit(S, LoopScope);
4168 CGF.EmitOMPReductionClauseInit(S, LoopScope);
4169 (void)LoopScope.Privatize();
4566 OMPLoopScope LoopScope(CGF, S);
4600 OMPLoopScope LoopScope(CGF, S);
5830 OMPPrivateScope LoopScope(*this);
5831 if (EmitOMPFirstprivateClause(S, LoopScope)) {
5839 EmitOMPPrivateClause(S, LoopScope);
5843 EmitOMPReductionClauseInit(S, LoopScope);
5844 HasLastprivateClause = EmitOMPLastprivateClauseInit(S, LoopScope);
5845 EmitOMPPrivateLoopCounters(S, LoopScope);
5846 (void)LoopScope.Privatize();
5938 [&S, &LoopScope, Cond, IncExpr, LoopExit, &CodeGenLoop,
5941 S, LoopScope.requiresCleanups(), Cond, IncExpr,
5963 EmitOMPDistributeOuterLoop(ScheduleKind, S, LoopScope, LoopArguments,
7859 OMPPrivateScope LoopScope(CGF);
7868 LoopScope);
7870 LoopScope);
7871 mapParam(CGF, cast<DeclRefExpr>(S.getStrideVariable()), *STP, LoopScope);
7873 LoopScope);
7874 CGF.EmitOMPPrivateLoopCounters(S, LoopScope);
7875 CGF.EmitOMPLinearClause(S, LoopScope);
7876 bool HasLastprivateClause = CGF.EmitOMPLastprivateClauseInit(S, LoopScope);
7877 (void)LoopScope.Privatize();
7901 [&S, &LoopScope](CodeGenFunction &CGF, PrePostActionTy &) {
7903 S, LoopScope.requiresCleanups(), S.getCond(), S.getInc(),
7924 LoopScope.restoreMap();
8142 OMPPrivateScope LoopScope(CGF);
8143 CGF.EmitOMPPrivateLoopCounters(S, LoopScope);
8144 (void)LoopScope.Privatize();
8146 LoopScope.restoreMap();