Skip to main content

relax

Function relax 

Source
pub(crate) fn relax(
    nodes: &[Node],
    strict: &[Node],
    mutable: &BTreeSet<String>,
    ids: &mut usize,
    compare: &Compare<'_>,
) -> Option<(Plan, Vec<Gate>, Vec<Stmt>)>
Expand description

The relaxed schedule, the gates that keep it sequentially consistent, and the statements that compute their conditions; None when there is nothing to gain or a gate cannot be placed.