reference, declarationdefinition
definition → references, declarations, derived classes, virtual overrides
reference to multiple definitions → definitions
unreferenced

References

tools/clang/lib/CodeGen/CGStmtOpenMP.cpp
 2608   const Stmt *CapturedStmt = S.getInnermostCapturedStmt()->getCapturedStmt();
 2611   auto &&CodeGen = [&S, CapturedStmt, CS,
 2630     OpaqueValueExpr IVRefExpr(S.getBeginLoc(), KmpInt32Ty, VK_LValue);
 2632     OpaqueValueExpr UBRefExpr(S.getBeginLoc(), KmpInt32Ty, VK_LValue);
 2636                         OK_Ordinary, S.getBeginLoc(), FPOptions());
 2639                       S.getBeginLoc(), true);
 2640     auto &&BodyGen = [CapturedStmt, CS, &S, &IV](CodeGenFunction &CGF) {
 2654           CGF.Builder.CreateSwitch(CGF.EmitLoadOfScalar(IV, S.getBeginLoc()),
 2677     if (CGF.EmitOMPFirstprivateClause(S, LoopScope)) {
 2682           CGF, S.getBeginLoc(), OMPD_unknown, /*EmitChecks=*/false,
 2685     CGF.EmitOMPPrivateClause(S, LoopScope);
 2686     HasLastprivates = CGF.EmitOMPLastprivateClauseInit(S, LoopScope);
 2687     CGF.EmitOMPReductionClauseInit(S, LoopScope);
 2689     if (isOpenMPTargetExecutionDirective(S.getDirectiveKind()))
 2690       CGF.CGM.getOpenMPRuntime().adjustTargetSpecificDataForLambdas(CGF, S);
 2699         CGF, S.getBeginLoc(), S.getDirectiveKind(), ScheduleKind, StaticInit);
 2699         CGF, S.getBeginLoc(), S.getDirectiveKind(), ScheduleKind, StaticInit);
 2701     llvm::Value *UBVal = CGF.EmitLoadOfScalar(UB, S.getBeginLoc());
 2706     CGF.EmitStoreOfScalar(CGF.EmitLoadOfScalar(LB, S.getBeginLoc()), IV);
 2708     CGF.EmitOMPInnerLoop(S, /*RequiresCleanup=*/false, &Cond, &Inc, BodyGen,
 2711     auto &&CodeGen = [&S](CodeGenFunction &CGF) {
 2712       CGF.CGM.getOpenMPRuntime().emitForStaticFinish(CGF, S.getEndLoc(),
 2713                                                      S.getDirectiveKind());
 2715     CGF.OMPCancelStack.emitExit(CGF, S.getDirectiveKind(), CodeGen);
 2716     CGF.EmitOMPReductionClauseFinal(S, /*ReductionKind=*/OMPD_parallel);
 2718     emitPostUpdateForReductionClause(CGF, S, [IL, &S](CodeGenFunction &CGF) {
 2718     emitPostUpdateForReductionClause(CGF, S, [IL, &S](CodeGenFunction &CGF) {
 2720           CGF.EmitLoadOfScalar(IL, S.getBeginLoc()));
 2726           S, /*NoFinals=*/false,
 2728               CGF.EmitLoadOfScalar(IL, S.getBeginLoc())));
 2732   if (auto *OSD = dyn_cast<OMPSectionsDirective>(&S))
 2734   else if (auto *OPSD = dyn_cast<OMPParallelSectionsDirective>(&S))
 2736   OMPCancelStackRAII CancelRegion(*this, S.getDirectiveKind(), HasCancel);
 2742   if (HasLastprivates && S.getSingleClause<OMPNowaitClause>()) {
 2745     CGM.getOpenMPRuntime().emitBarrierCall(*this, S.getBeginLoc(),