MAchine Guided Energy Efficient Compilation Framework and GCC Plugin