about summary refs log tree commit diff
path: root/compiler/rustc_query_system/src/dep_graph/query.rs
AgeCommit message (Collapse)AuthorLines
2025-05-06Rename `graph::implementation::Graph` to `LinkedGraph`Zalathar-3/+3
2024-09-22Reformat using the new identifier sorting from rustfmtMichael Goulet-1/+1
2023-09-21Move `DepKind` to `rustc_query_system` and define it as `u16`John Kåre Alsaker-11/+11
2023-04-24Split `{Idx, IndexVec, IndexSlice}` into their own modulesMaybe Waffle-1/+1
2023-04-16Various minor Idx-related tweaksScott McMurray-4/+1
Nothing particularly exciting here, but a couple of things I noticed as I was looking for more index conversions to simplify.
2021-03-30Address review.Camille GILLOT-1/+2
2021-03-30Fix tests.Camille GILLOT-4/+13
Avoid invoking queries inside `check_paths`, since we are holding a lock to the reconstructed graph.
2021-03-30Stream the dep-graph to a file.Camille GILLOT-18/+17
2021-03-27Remove (lots of) dead codeJoshua Nelson-4/+0
Found with https://github.com/est31/warnalyzer. Dubious changes: - Is anyone else using rustc_apfloat? I feel weird completely deleting x87 support. - Maybe some of the dead code in rustc_data_structures, in case someone wants to use it in the future? - Don't change rustc_serialize I plan to scrap most of the json module in the near future (see https://github.com/rust-lang/compiler-team/issues/418) and fixing the tests needed more work than I expected. TODO: check if any of the comments on the deleted code should be kept.
2020-12-22rustc_query_system: use more space-efficient edges representationTyson Nottingham-6/+12
Use single vector of edges rather than per-node vector. There is a small hit to instruction counts (< 0.5%), but the memory savings make up for it.
2020-12-22rustc_query_system: share previous graph data with current graphTyson Nottingham-4/+4
Reduce memory consumption by taking advantage of red/green algorithm properties to share the previous dependency graph's node data with the current graph instead of storing node data redundantly. Red nodes can share the `DepNode`, and green nodes can share the `DepNode` and `Fingerprint`. Edges will be shared when possible in a later change.
2020-10-14Remove unused code from rustc_query_systemest31-18/+1
2020-08-30mv compiler to compiler/mark-0/+74