Improving Compiler Optimizations Using Machine Learning