Tools For Performance Optimizations And Tuning Of Affine Loop Nests