cmd/compile/internal/ssa: split helpers