Let be a continuous function that IVT holds.

Since the image of a (path) connected space under a continuous function is (path) connected, IVT does not hold for (2) and (3) ( with a discrete and a lower limit topology are totally disconnected).

So, I think IVT holds for 1 only.