Tuesday's top analyst upgrades and downgrades included Apache, Broadcom, Caterpillar, Dollar General, Microsoft, NXP Semiconductors, Salesforce.com, Sirius XM, Slack and Yelp.