Lines Matching defs:LoopScope

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