On your Mac, go to the iTunes store and hit "Purchased". Select "Music" and "Not on this Computer" - any music you've purchased that isn't on your computer should appear there. And you will have the option to download the stuff that isn't on your computer.