Skip to content

Commit 6ebe10d

Browse files
phanschmark-i-m
authored andcommitted
Order alphabetically, improve explanation of DAG
1 parent 7d8cdcb commit 6ebe10d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/glossary.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -6,9 +6,9 @@ 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))
109
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.
1110
cx | we tend to use "cx" as an abbrevation for context. See also `tcx`, `infcx`, etc.
11+
DAG | a directed acyclic graph is used during compilation to keep track of dependencies between queries. ([see more](incremental-compilation.html))
1212
DefId | an index identifying a definition (see `librustc/hir/def_id.rs`). Uniquely identifies a `DefPath`.
1313
HIR | the High-level IR, created by lowering and desugaring the AST ([see more](hir.html))
1414
HirId | identifies a particular node in the HIR by combining a def-id with an "intra-definition offset".

0 commit comments

Comments
 (0)