We classify stable and finite Morse index solutions to general semilinear elliptic equations posed in Euclidean space of dimension at most 10, or in some unbounded domains.