about summary refs log tree commit diff
path: root/compiler/rustc_passes/src/reachable.rs
AgeCommit message (Expand)AuthorLines
2025-08-26add a flag to codegen fn attrs for foreign itemsJana Dönszelmann-2/+2
2025-08-12make no_mangle explicit on foreign itemsJana Dönszelmann-2/+3
2025-07-28use let chains in mir, resolve, targetKivooeo-4/+4
2025-07-09Add opaque TypeId handles for CTFEOli Scherer-0/+1
2025-05-24Cleanup CodegenFnAttrFlagsNoratrieb-1/+1
2025-05-04Initial support for dynamically linked cratesBryanskiy-4/+6
2025-03-18Auto merge of #138630 - matthiaskrgr:rollup-kk1gogr, r=matthiaskrgrbors-2/+2
2025-03-18Move `hir::Item::ident` into `hir::ItemKind`.Nicholas Nethercote-2/+2
2025-03-17Mark #[rustc_std_internal_symbol] as extern indicatorbjorn3-4/+1
2025-03-12Adjust `Map`'s `to_string` functionality.Nicholas Nethercote-1/+1
2025-02-22Make asm a named fieldMichael Goulet-1/+1
2025-02-17Move some `Map` methods onto `TyCtxt`.Nicholas Nethercote-1/+1
2025-01-04turn hir::ItemKind::Fn into a named-field variantRalf Jung-2/+2
2024-10-22Rollup merge of #131049 - compiler-errors:more-validation, r=spastorinoMatthias Krüger-1/+1
2024-10-04rm `ItemKind::OpaqueTy`Noah Lev-2/+2
2024-09-30Validate ExistentialPredicate argsMichael Goulet-1/+1
2024-09-23Check vtable projections for validity in miriMichael Goulet-2/+2
2024-09-22Reformat using the new identifier sorting from rustfmtMichael Goulet-1/+1
2024-08-29Add `warn(unreachable_pub)` to `rustc_passes`.Nicholas Nethercote-1/+1
2024-07-02Miri function identity hack: account for possible inliningRalf Jung-1/+1
2024-06-28Revert "Rollup merge of #126938 - RalfJung:link_section, r=compiler-errors"Rémy Rakic-2/+10
2024-06-25miri: make sure we can find link_section statics even for the local crateRalf Jung-10/+2
2024-06-11reachable computation: clarify comments around constsRalf Jung-6/+9
2024-06-05Also support generic constantsOli Scherer-9/+9
2024-06-05Don't walk the bodies of free constants for reachability.Oli Scherer-4/+14
2024-06-04Closures are recursively reachableTomasz Miąsko-0/+1
2024-05-23Remove `#[macro_use] extern crate tracing` from `rustc_passes`.Nicholas Nethercote-0/+1
2024-05-09reachable computation: extend explanation of what this does, and whyRalf Jung-10/+22
2024-04-29Remove `extern crate rustc_middle` from numerous crates.Nicholas Nethercote-0/+1
2024-03-28Rollup merge of #123063 - tmiasko:reachability-abi, r=michaelwoeristerMatthias Krüger-12/+1
2024-03-25Rollup merge of #122769 - RalfJung:reachable, r=tmiaskoJubilee-23/+49
2024-03-25extend doc comment for reachability set computationRalf Jung-23/+49
2024-03-25Function ABI is irrelevant for reachabilityTomasz Miąsko-12/+1
2024-03-21rename items -> free_itemsRalf Jung-1/+1
2024-03-19The AssocOpaqueTy HIR node is not actually needed to differentiate from other...Oli Scherer-1/+1
2024-03-16Auto merge of #122371 - oli-obk:visit_nested_body, r=tmiaskobors-39/+79
2024-03-14hir: Remove `opt_local_def_id_to_hir_id` and `opt_hir_node_by_def_id`Vadim Petrochenkov-9/+6
2024-03-14Test and implement reachability for trait objects and generic parameters of f...Oli Scherer-4/+31
2024-03-14Stop walking the bodies of statics for reachability, and evaluate them insteadOli Scherer-38/+51
2024-03-13Create some minimal HIR for associated opaque typesVadim Petrochenkov-1/+2
2024-03-12Ensure nested allocations in statics do not get deduplicatedOli Scherer-1/+38
2024-03-12Change `DefKind::Static` to a struct variantOli Scherer-1/+1
2023-12-12Move some methods from `tcx.hir()` to `tcx`zetanumbers-2/+2
2023-11-26rustc: `hir().local_def_id_to_hir_id()` -> `tcx.local_def_id_to_hir_id()` cle...Vadim Petrochenkov-3/+1
2023-10-17Automatically enable cross-crate inlining for small functionsBen Kimock-50/+8
2023-10-13Format all the let chains in compilerMichael Goulet-1/+3
2023-09-10Encode only MIR that can be used by other cratesTomasz Miąsko-0/+4
2023-08-22Contents of reachable statics is reachableTomasz Miąsko-7/+3
2023-08-09rustc: Move `crate_types` from `Session` to `GlobalCtxt`Vadim Petrochenkov-4/+4
2023-07-28Lower generic const items to HIRLeón Orell Valerian Liehr-1/+1