Bridging Control-Centric and Data-Centric Optimization