MAchine Guided Energy Efficient Compilation