revert r183799: scop detection: remove an iteration over all uses