About 75% of the diet of a regular Swedish cow is grass or grass-equivalents. The rest is made up of peas, beans, rapeseed and of course various grains.
The grains that go to animal feed usually is not fit for human consumption (well, wouldn't pass QC-controls).
Pigs doesn't really eat grass. Neither does chickens... So it's a bit of a different animal (HAHAHA) to farm chickens/pigs vs cows.