After 16 quarters of year-over-year revenue declines, International Business Machines will likely make it 17 when the company reports second-quarter results after the market close on July 18. Many of its legacy businesses are in decline as IBM shifts resources to areas like cloud computing and analytics, and a strong U.S. dollar isn't helping.