Lines Matching refs:HasLastprivates
3313 bool HasLastprivates; in emitWorksharingDirective() local
3334 &HasLastprivates](CodeGenFunction &CGF) { in emitWorksharingDirective()
3337 HasLastprivates = CGF.EmitOMPWorksharingLoop(S, S.getEnsureUpperBound(), in emitWorksharingDirective()
3345 HasLastprivates = CGF.EmitOMPWorksharingLoop(S, S.getEnsureUpperBound(), in emitWorksharingDirective()
3349 return HasLastprivates; in emitWorksharingDirective()
3353 bool HasLastprivates = false; in EmitOMPForDirective() local
3354 auto &&CodeGen = [&S, &HasLastprivates](CodeGenFunction &CGF, in EmitOMPForDirective()
3356 HasLastprivates = emitWorksharingDirective(CGF, S, S.hasCancel()); in EmitOMPForDirective()
3367 if (!S.getSingleClause<OMPNowaitClause>() || HasLastprivates) in EmitOMPForDirective()
3374 bool HasLastprivates = false; in EmitOMPForSimdDirective() local
3375 auto &&CodeGen = [&S, &HasLastprivates](CodeGenFunction &CGF, in EmitOMPForSimdDirective()
3377 HasLastprivates = emitWorksharingDirective(CGF, S, /*HasCancel=*/false); in EmitOMPForSimdDirective()
3387 if (!S.getSingleClause<OMPNowaitClause>() || HasLastprivates) in EmitOMPForSimdDirective()
3405 bool HasLastprivates = false; in EmitSections() local
3407 &HasLastprivates](CodeGenFunction &CGF, PrePostActionTy &) { in EmitSections()
3484 HasLastprivates = CGF.EmitOMPLastprivateClauseInit(S, LoopScope); in EmitSections()
3522 if (HasLastprivates) in EmitSections()
3540 if (HasLastprivates && S.getSingleClause<OMPNowaitClause>()) { in EmitSections()