On the Use of Term Rewriting for Performance Optimization of Legacy HPC Applications | IEEE Conference Publication | IEEE Xplore