Skip to main content

coverage

Function coverage 

Source
pub fn coverage(stmt: &Stmt) -> Coverage
Expand description

The coverage of stmt, dialect-agnostic: an emitter that lowers the ruled subgroup collectives (WGSL, MSL) lowers more than this says for a Collective, so ask coverage_in with its subgroup_collectives(). This match has no wildcard arm on purpose: it names every Stmt variant, so a new statement in unpopped fails to compile here until someone decides which of the four it is.