MLin Compiler Paper
MLin Compiler Paper
Abstract—Writing optimising compilers is difficult. The Search Engine Best Heuristic Values
Features
... Machine
Predictive
Learning
Model
Tool
...
Best heuristic
value
Fig. 2. Feature vectors are designed by compiler experts who decide Fig. 3. A supervised machine learning tool creates a predictive model
what information will be most helpful when deciding the best value from training examples.
for the target heuristic.
Features
iterative compilation exist, such as Collective Tuning [17], Predictive
Model
OpenTuner [18], and CLTune [19]. Predicted
heuristic
value
Frontend
.c IR
Language
model
to entry in compiler research, having a democratizing
Optimization
context
Available
xforms
effect. The first step is to enable every optimization choice
to be exposed through discoverable APIs with which
Program
Action Selected
.exe
End of type? action
Agent
learning tool should be able to determine the range of
acceptable factors, make queries about the code and force
optimization
Executable