Skip to content

Commit 7d8cdcb

Browse files
phanschmark-i-m
authored andcommitted
Add DAG to glossary
1 parent 45db49d commit 7d8cdcb

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/glossary.md

+1
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ The compiler uses a number of...idiosyncratic abbreviations and things. This glo
66
Term | Meaning
77
------------------------|--------
88
AST | the abstract syntax tree produced by the syntax crate; reflects user syntax very closely.
9+
DAG | a directed acyclic graph is used during compilation to index which queries execute which other queries. ([see more](incremental-compilation.html))
910
codegen unit | when we produce LLVM IR, we group the Rust code into a number of codegen units. Each of these units is processed by LLVM independently from one another, enabling parallelism. They are also the unit of incremental re-use.
1011
cx | we tend to use "cx" as an abbrevation for context. See also `tcx`, `infcx`, etc.
1112
DefId | an index identifying a definition (see `librustc/hir/def_id.rs`). Uniquely identifies a `DefPath`.

0 commit comments

Comments
 (0)