Heat olive oil in a large skillet. Add the shrimp and cook for 1 minute. Add the garlic, mushrooms, and tomatoes. Stir to combine and cook for 1-2 minutes or until shrimp are almost pink.
Add pesto, heavy creamy and grated parmesan cheese. Simmer for 3-4 minutes or until the sauce has slightly thickened.
Add the cooked pasta and stir until the pasta is coated if desired.