Skip to content

Commit df790a1

Browse files
[𝘀𝗽𝗿] initial version
Created using spr 1.3.4
1 parent 501dcab commit df790a1

File tree

2 files changed

+29
-0
lines changed

2 files changed

+29
-0
lines changed

llvm/docs/MLGO.rst

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
====
2+
MLGO
3+
====
4+
5+
Introduction
6+
============
7+
8+
MLGO is a framework for integrating ML techniques systematically in LLVM. It is
9+
designed primarily to replace heuristics within LLVM with machine learned
10+
models. Currently there is upstream infrastructure for the following
11+
heuristics:
12+
13+
* Inlining for size
14+
* Register allocation (LLVM greedy eviction heuristic) for performance
15+
16+
This document is an outline of the tooling that composes MLGO.
17+
18+
Corpus Tooling
19+
==============
20+
21+
..
22+
TODO(boomanaiden154): Write this section.
23+
24+
Model Runner Interfaces
25+
=======================
26+
27+
..
28+
TODO(mtrofin): Write this section.

llvm/docs/Reference.rst

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,7 @@ LLVM and API reference documentation.
4141
PDB/index
4242
PointerAuth
4343
ScudoHardenedAllocator
44+
MLGO
4445
MemoryModelRelaxationAnnotations
4546
MemTagSanitizer
4647
Security

0 commit comments

Comments
 (0)