Integral domain in which every irreducible is prime