U.S. equities rose sharply on Tuesday as solid quarterly reports from several large-cap companies rolled through.