Skip to main content

Module schedule

Module schedule 

Source
Expand description

Operation scheduling pass.

Implements list scheduling with critical-path priority to determine an efficient execution order for operations in a function body. Identifies parallel execution opportunities by grouping independent operations into time slots.

Structs§

Schedule
A complete schedule for a function, mapping operations to time slots.
SchedulePass
An optimization pass that computes and logs the schedule for debugging.
ScheduleSlot
A time slot in a schedule, containing one or more operations that can execute concurrently.

Functions§

compute_schedules
Compute schedules for all entry points in a module.
format_schedule
Format a schedule for human-readable output (used by –emit-schedule).
list_schedule
Perform list scheduling on a dataflow graph.
schedule_function
Convenience function: build DFG and schedule for an IR function.