Lines Matching refs:Schedule
2645 OpenMPSchedType Schedule = in isStaticNonchunked() local
2647 return Schedule == OMP_sch_static; in isStaticNonchunked()
2652 OpenMPSchedType Schedule = getRuntimeSchedule(ScheduleKind, Chunked); in isStaticNonchunked() local
2653 return Schedule == OMP_dist_sch_static; in isStaticNonchunked()
2658 OpenMPSchedType Schedule = in isStaticChunked() local
2660 return Schedule == OMP_sch_static_chunked; in isStaticChunked()
2665 OpenMPSchedType Schedule = getRuntimeSchedule(ScheduleKind, Chunked); in isStaticChunked() local
2666 return Schedule == OMP_dist_sch_static_chunked; in isStaticChunked()
2670 OpenMPSchedType Schedule = in isDynamic() local
2672 assert(Schedule != OMP_sch_static_chunked && "cannot be chunked here"); in isDynamic()
2673 return Schedule != OMP_sch_static; in isDynamic()
2676 static int addMonoNonMonoModifier(CodeGenModule &CGM, OpenMPSchedType Schedule, in addMonoNonMonoModifier() argument
2688 if (Schedule == OMP_sch_static_chunked) in addMonoNonMonoModifier()
2689 Schedule = OMP_sch_static_balanced_chunked; in addMonoNonMonoModifier()
2703 if (Schedule == OMP_sch_static_chunked) in addMonoNonMonoModifier()
2704 Schedule = OMP_sch_static_balanced_chunked; in addMonoNonMonoModifier()
2717 if (!(Schedule == OMP_sch_static_chunked || Schedule == OMP_sch_static || in addMonoNonMonoModifier()
2718 Schedule == OMP_sch_static_balanced_chunked || in addMonoNonMonoModifier()
2719 Schedule == OMP_ord_static_chunked || Schedule == OMP_ord_static || in addMonoNonMonoModifier()
2720 Schedule == OMP_dist_sch_static_chunked || in addMonoNonMonoModifier()
2721 Schedule == OMP_dist_sch_static)) in addMonoNonMonoModifier()
2724 return Schedule | Modifier; in addMonoNonMonoModifier()
2733 OpenMPSchedType Schedule = getRuntimeSchedule( in emitForDispatchInit() local
2734 ScheduleKind.Schedule, DispatchValues.Chunk != nullptr, Ordered); in emitForDispatchInit()
2736 (Schedule != OMP_sch_static && Schedule != OMP_sch_static_chunked && in emitForDispatchInit()
2737 Schedule != OMP_ord_static && Schedule != OMP_ord_static_chunked && in emitForDispatchInit()
2738 Schedule != OMP_sch_static_balanced_chunked)); in emitForDispatchInit()
2751 CGM, Schedule, ScheduleKind.M1, ScheduleKind.M2)), // Schedule type in emitForDispatchInit()
2762 llvm::FunctionCallee ForStaticInitFunction, OpenMPSchedType Schedule, in emitForStaticInitCall() argument
2769 assert(Schedule == OMP_sch_static || Schedule == OMP_sch_static_chunked || in emitForStaticInitCall()
2770 Schedule == OMP_sch_static_balanced_chunked || in emitForStaticInitCall()
2771 Schedule == OMP_ord_static || Schedule == OMP_ord_static_chunked || in emitForStaticInitCall()
2772 Schedule == OMP_dist_sch_static || in emitForStaticInitCall()
2773 Schedule == OMP_dist_sch_static_chunked); in emitForStaticInitCall()
2782 assert((Schedule == OMP_sch_static || Schedule == OMP_ord_static || in emitForStaticInitCall()
2783 Schedule == OMP_dist_sch_static) && in emitForStaticInitCall()
2788 assert((Schedule == OMP_sch_static_chunked || in emitForStaticInitCall()
2789 Schedule == OMP_sch_static_balanced_chunked || in emitForStaticInitCall()
2790 Schedule == OMP_ord_static_chunked || in emitForStaticInitCall()
2791 Schedule == OMP_dist_sch_static_chunked) && in emitForStaticInitCall()
2797 CGF.Builder.getInt32(addMonoNonMonoModifier(CGF.CGM, Schedule, M1, in emitForStaticInitCall()
2815 ScheduleKind.Schedule, Values.Chunk != nullptr, Values.Ordered); in emitForStaticInit()
5297 CGF.IntTy, Data.Schedule.getPointer() in emitTaskLoopCall()
5298 ? Data.Schedule.getInt() ? NumTasks : Grainsize in emitTaskLoopCall()
5300 Data.Schedule.getPointer() in emitTaskLoopCall()
5301 ? CGF.Builder.CreateIntCast(Data.Schedule.getPointer(), CGF.Int64Ty, in emitTaskLoopCall()