This applies on top of !656, the last three commits belong here.
-- v5: vkd3d-shader/ir: Sort each loop by block label. vkd3d-shader/ir: Dump the loops in the control flow graph. vkd3d-shader/ir: Keep track of loops by header block. vkd3d-shader/ir: Compute the loops in the control flow graph. vkd3d-shader/ir: Introduce a helper to express block domination.