| Age | Commit message (Collapse) | Author | Lines | |
|---|---|---|---|---|
| 2023-11-27 | QueryContext: rename try_collect_active_jobs -> collect_active_jobs and ↵ | klensy | -7/+7 | |
| change it's return type from Option<QueryMap> to QueryMap As there currently always Some(...) inside | ||||
| 2023-11-25 | rustc: Make `def_kind` mandatory for all `DefId`s | Vadim Petrochenkov | -2/+2 | |
| 2023-11-21 | Fix `clippy::needless_borrow` in the compiler | Nilstrieb | -1/+1 | |
| `x clippy compiler -Aclippy::all -Wclippy::needless_borrow --fix`. Then I had to remove a few unnecessary parens and muts that were exposed now. | ||||
| 2023-10-28 | Rollup merge of #116534 - cjgillot:no-dep-tasks, r=davidtwco | Jubilee | -2/+0 | |
| Remove -Zdep-tasks. This option is not useful any more, we can use `tracing` and `RUSTC_LOG` to debug the dep-graph. | ||||
| 2023-10-26 | Stash and cancel cycle errors for auto trait leakage in opaques | Michael Goulet | -0/+3 | |
| 2023-10-08 | Remove useless debugging. | Camille GILLOT | -2/+0 | |
| 2023-09-21 | Move `DepKind` to `rustc_query_system` and define it as `u16` | John Kåre Alsaker | -13/+24 | |
| 2023-09-10 | Remove `verbose_generic_activity_with_arg` | John Kåre Alsaker | -2/+1 | |
| 2023-08-27 | Pass ErrorGuaranteed to cycle error | Michael Goulet | -2/+2 | |
| 2023-07-23 | fix couple of clippy findings: | Matthias Krüger | -1/+1 | |
| filter_map_identity iter_kv_map needless_question_mark redundant_at_rest_pattern filter_next derivable_impls | ||||
| 2023-06-27 | Avoid calling queries during query stack printing | Oli Scherer | -3/+3 | |
| 2023-06-21 | Make queries traceable again | Oli Scherer | -1/+9 | |
| 2023-05-21 | Add comment | John Kåre Alsaker | -0/+2 | |
| 2023-05-21 | Replace `QueryStruct` with arrays local to `rustc_query_impl` | John Kåre Alsaker | -64/+66 | |
| 2023-05-19 | Merge some query impl modules into one | John Kåre Alsaker | -143/+125 | |
| 2023-05-18 | Merge query property modules into one | John Kåre Alsaker | -22/+23 | |
| 2023-05-18 | Auto merge of #108938 - chenyukang:yukang/fix-107910-shorten-ice, r=cjgillot | bors | -35/+58 | |
| Shorten backtraces for queries in ICEs r? `@jyn514` Fixes #107910 | ||||
| 2023-05-17 | Fix #107910, Shorten backtraces in ICEs | yukang | -35/+58 | |
| 2023-05-17 | Finish move of query.rs | John Kåre Alsaker | -2/+1 | |
| 2023-05-14 | Specialize query execution for incremental and non-incremental | John Kåre Alsaker | -5/+33 | |
| 2023-04-30 | Use dynamic dispatch for queries | John Kåre Alsaker | -143/+105 | |
| 2023-04-26 | Remove QueryEngine trait | John Kåre Alsaker | -176/+127 | |
| 2023-04-18 | Store hashes in special types so they aren't accidentally encoded as numbers | Ben Kimock | -2/+2 | |
| 2023-04-06 | Address comments | John Kåre Alsaker | -12/+5 | |
| 2023-04-06 | Don't rely on `Debug` impl for `Erased` | John Kåre Alsaker | -1/+6 | |
| 2023-04-06 | Erase query cache values | John Kåre Alsaker | -12/+38 | |
| 2023-03-21 | Use local key in providers | Michael Goulet | -9/+9 | |
| 2023-03-11 | Ensure value is on the on-disk cache before returning. | Camille GILLOT | -0/+23 | |
| 2023-02-26 | Derive Default for query structs | John Kåre Alsaker | -9/+1 | |
| 2023-02-26 | Avoid implementing Debug for QueryConfig | John Kåre Alsaker | -1/+1 | |
| 2023-02-26 | Make `rustc_query_system` take `QueryConfig` by instance. | John Kåre Alsaker | -33/+87 | |
| 2023-02-25 | Move `ensure_sufficient_stack` to `try_execute_query` callers | John Kåre Alsaker | -3/+1 | |
| 2023-02-17 | Auto merge of #108058 - Zoxc:query-ctxtx-byval, r=cjgillot | bors | -13/+13 | |
| Pass `DepContext` and `QueryContext` by value when practical This removes some indirections for a minor performance improvement. <table><tr><td rowspan="2">Benchmark</td><td colspan="1"><b>Before</b></th><td colspan="2"><b>After</b></th></tr><tr><td align="right">Time</td><td align="right">Time</td><td align="right">%</th></tr><tr><td>🟣 <b>clap</b>:check</td><td align="right">1.8294s</td><td align="right">1.8255s</td><td align="right"> -0.21%</td></tr><tr><td>🟣 <b>hyper</b>:check</td><td align="right">0.2667s</td><td align="right">0.2669s</td><td align="right"> 0.07%</td></tr><tr><td>🟣 <b>regex</b>:check</td><td align="right">1.0080s</td><td align="right">1.0063s</td><td align="right"> -0.17%</td></tr><tr><td>🟣 <b>syn</b>:check</td><td align="right">1.6335s</td><td align="right">1.6295s</td><td align="right"> -0.24%</td></tr><tr><td>🟣 <b>syntex_syntax</b>:check</td><td align="right">6.3633s</td><td align="right">6.3344s</td><td align="right"> -0.45%</td></tr><tr><td>Total</td><td align="right">11.1009s</td><td align="right">11.0627s</td><td align="right"> -0.34%</td></tr><tr><td>Summary</td><td align="right">1.0000s</td><td align="right">0.9980s</td><td align="right"> -0.20%</td></tr></table> | ||||
| 2023-02-16 | Move provider fields back to rustc_query_impl | John Kåre Alsaker | -9/+16 | |
| 2023-02-16 | Factor query arena allocation out from query caches | John Kåre Alsaker | -29/+36 | |
| 2023-02-14 | Pass `DepContext` and `QueryContext` by value when practical | John Kåre Alsaker | -13/+13 | |
| 2023-02-09 | Simplify `tls::enter_context`. | Nicholas Nethercote | -1/+1 | |
| 2023-02-02 | Don't cause a cycle when formatting query description that references a FnDef | Michael Goulet | -5/+8 | |
| 2023-01-05 | Fix `uninlined_format_args` for some compiler crates | nils | -1/+1 | |
| Convert all the crates that have had their diagnostic migration completed (except save_analysis because that will be deleted soon and apfloat because of the licensing problem). | ||||
| 2023-01-02 | Abolish `QueryVTable` in favour of more assoc items on `QueryConfig` | Nilstrieb | -18/+22 | |
| This may introduce additional mono _but_ may help const fold things better and especially may help not constructing a `QueryVTable` anymore which is cheap but not free. | ||||
| 2022-12-23 | Use DepKind instead of &str | gimbles | -11/+13 | |
| 2022-11-29 | Sanity check computed value for feeable queries. | Camille GILLOT | -0/+13 | |
| 2022-11-29 | Make verbose query description more useful. | Camille GILLOT | -1/+1 | |
| 2022-11-24 | Auto merge of #103808 - cjgillot:vec-cache, r=TaKO8Ki | bors | -1/+1 | |
| Use an IndexVec to cache queries with index-like key Revival of an old idea. Let's see if it has more effect. r? `@ghost` | ||||
| 2022-11-05 | Merge `QueryDescription` into `QueryConfig` | Nilstrieb | -16/+13 | |
| `QueryDescription` has gone through a lot of refactoring and doesn't make sense anymore. | ||||
| 2022-11-01 | Move keys module. | Camille GILLOT | -1/+1 | |
| 2022-10-14 | Remove the `describe` method from the `QueryDescription` trait | nils | -8/+4 | |
| It was called directly already, but now it's even more useless since it just forwards to the free function. Call it directly. | ||||
| 2022-10-14 | Get rid of `rustc_query_description!` | Nilstrieb | -1/+8 | |
| Queries can provide an arbitrary expression for their description and their caching behavior. Before, these expressions where stored in a `rustc_query_description` macro emitted by the `rustc_queries` macro, and then used in `rustc_query_impl` to fill out the methods for the `QueryDescription` trait. Instead, we now emit two new modules from `rustc_queries` containing the functions with the expressions. `rustc_query_impl` calls these functions now instead of invoking the macro. Since we are now defining some of the functions in `rustc_middle::query`, we now need all the imports for the key types there as well. | ||||
| 2022-10-07 | Rewrite representability | Cameron Steffen | -4/+4 | |
| 2022-09-26 | Auto merge of #101785 - jyn514:query-struct-fn-ptrs, r=cjgillot | bors | -38/+86 | |
| Use function pointers instead of macro-unrolled loops in rustc_query_impl By making these standalone functions, we a) allow making them extensible in the future with a new `QueryStruct` b) greatly decrease the amount of code in each individual function, avoiding exponential blowup in llvm Helps with https://github.com/rust-lang/rust/issues/96524. Based on https://github.com/rust-lang/rust/pull/101173; only the last commit is relevant. r? `@cjgillot` | ||||
