about summary refs log tree commit diff
path: root/compiler/rustc_query_system/src/query
AgeCommit message (Collapse)AuthorLines
2021-03-30Adjust profiling.Camille GILLOT-3/+5
2021-03-30Stream the dep-graph to a file.Camille GILLOT-7/+11
2021-03-26Use iter::zip in compiler/Josh Stone-2/+2
2021-03-19Debug-print result when an unstable fingerprint is detectedAaron Hill-1/+1
2021-03-13Auto merge of #83007 - Aaron1011:incr-verify-default, r=Mark-Simulacrumbors-11/+18
Turn `-Z incremental-verify-ich` on by default Issue #82920 showed that the kind of bugs caught by this flag have soundness implications.
2021-03-13Always run `incremental_verify_ich` when re-computing query resultsAaron Hill-11/+18
Issue #82920 showed that the kind of bugs caught by this flag have soundness implications. This causes performance regressions of up to 15.2% during incremental compilation, but this is necessary to catch miscompilations caused by bugs in query implementations.
2021-03-12rustc_query_system: simplify QueryCache::iterTyson Nottingham-22/+17
Minor cleanup to reduce a small amount of complexity and code bloat. Reduces the number of mono items in rustc_query_impl by 15%.
2021-02-21Simplify hashing.Camille GILLOT-33/+24
2021-02-20Move print_query_stack to rustc_query_system.Camille GILLOT-5/+43
2021-02-20Move report_cycle to rustc_query_system.Camille GILLOT-7/+47
The call to `ty::print::with_forced_impl_filename_line` is done when constructing the description, at the construction of the QueryStackFrame.
2021-02-20Move Query to rustc_query_system.Camille GILLOT-95/+124
Rename it to QueryStackFrame and document a bit.
2021-02-20Do not hold query key in Query.Camille GILLOT-4/+7
2021-02-20Access the session directly from DepContext.Camille GILLOT-10/+1
2021-02-19Use a QueryContext for try_mark_green.Camille GILLOT-12/+31
2021-02-19Move try_load_from_on_disk_cache to the QueryContext.Camille GILLOT-1/+4
2021-02-19Decouple QueryContext from DepContext.Camille GILLOT-45/+57
2021-02-19Remove QueryAccessors::to_dep_node.Camille GILLOT-7/+0
2021-02-19Don't require a QueryContext to access the DepGraph.Camille GILLOT-4/+1
2021-02-16Inline try_get_cachedTomasz Miąsko-0/+1
2021-02-13Check query cache before calling into the query engine.Camille GILLOT-17/+35
2021-02-13Drop the cache lock earlier.Camille GILLOT-16/+17
2021-02-13Separate the query cache from the query state.Camille GILLOT-100/+130
2021-02-13Return a Result for query cache.Camille GILLOT-87/+68
2021-02-13Merge {get,ensure}_query.Camille GILLOT-24/+22
2021-02-09Auto merge of #81892 - jyn514:no-inline, r=cjgillotbors-10/+0
[experiment] remove `#[inline]` from rustc_query_system::plumbing These functions have a ton of generic parameters and are instantiated over and over again. Hopefully this will reduce binary bloat and speed up bootstrapping times. r? `@cjgillot`
2021-02-08Switch query descriptions to just StringMark Rousskov-2/+1
In practice we never used the borrowed variant anyway.
2021-02-08[experiment] remove `#[inline]` from rustc_query_system::plumbingJoshua Nelson-10/+0
These functions have a ton of generic parameters and are instantiated over and over again. Hopefully this will reduce binary bloat and speed up bootstrapping times.
2021-01-16Undo assertion changeAaron Hill-6/+1
2021-01-16Run fmtAaron Hill-3/+8
2021-01-16Print result on unstable fingerprint errorAaron Hill-1/+1
2021-01-16Enforce that query results implement DebugAaron Hill-6/+8
2021-01-08Don't mark `force_query_with_job` as `inline(always)`Joshua Nelson-1/+0
It's rather large, and using `inline(always)` forces it to be recompiled in each calling crate.
2020-11-21Fix typosDániel Buga-3/+3
2020-10-30Fix even more clippy warningsJoshua Nelson-4/+2
2020-10-22Remove unused ProfileCategory.Camille GILLOT-2/+0
2020-10-19Remove <CTX: QueryContext> in a bunch of places.Julian Wollersberger-152/+193
It was only needed by `find_cycle_in_stack()` in job.rs, but needed to be forwarded through dozens of types.
2020-10-12Remove generic argument from `QueryConfig`.Julian Wollersberger-4/+2
2020-08-30mv compiler to compiler/mark-0/+1732