nir: add a block indexing dirty flag
nir: calculate dominance information