rust/compiler/rustc_passes/src
David Wood f86169a58f
mir_transform: implement forced inlining
Adds `#[rustc_force_inline]` which is similar to always inlining but
reports an error if the inlining was not possible, and which always
attempts to inline annotated items, regardless of optimisation levels.
It can only be applied to free functions to guarantee that the MIR
inliner will be able to resolve calls.
2025-01-10 18:37:54 +00:00
..
liveness Reformat use declarations. 2024-07-29 08:26:52 +10:00
abi_test.rs Re-export more rustc_span::symbol things from rustc_span. 2024-12-18 13:38:53 +11:00
check_attr.rs mir_transform: implement forced inlining 2025-01-10 18:37:54 +00:00
dead.rs Re-export more rustc_span::symbol things from rustc_span. 2024-12-18 13:38:53 +11:00
debugger_visualizer.rs Use SourceMap to load debugger visualizer files 2024-12-08 18:57:04 +00:00
diagnostic_items.rs Re-export more rustc_span::symbol things from rustc_span. 2024-12-18 13:38:53 +11:00
entry.rs Re-export more rustc_span::symbol things from rustc_span. 2024-12-18 13:38:53 +11:00
errors.rs mir_transform: implement forced inlining 2025-01-10 18:37:54 +00:00
hir_id_validator.rs Reformat using the new identifier sorting from rustfmt 2024-09-22 19:11:29 -04:00
input_stats.rs Rename PatKind::Lit to Expr 2025-01-08 07:34:59 +00:00
lang_items.rs Re-export more rustc_span::symbol things from rustc_span. 2024-12-18 13:38:53 +11:00
layout_test.rs Re-export more rustc_span::symbol things from rustc_span. 2024-12-18 13:38:53 +11:00
lib_features.rs Re-export more rustc_span::symbol things from rustc_span. 2024-12-18 13:38:53 +11:00
lib.rs Get rid of HIR const checker 2024-11-22 02:32:26 +00:00
liveness.rs Re-export more rustc_span::symbol things from rustc_span. 2024-12-18 13:38:53 +11:00
loops.rs Reformat using the new identifier sorting from rustfmt 2024-09-22 19:11:29 -04:00
naked_functions.rs turn hir::ItemKind::Fn into a named-field variant 2025-01-04 11:35:31 +01:00
reachable.rs turn hir::ItemKind::Fn into a named-field variant 2025-01-04 11:35:31 +01:00
stability.rs turn hir::ItemKind::Fn into a named-field variant 2025-01-04 11:35:31 +01:00
upvars.rs Add warn(unreachable_pub) to rustc_passes. 2024-08-29 20:18:40 +10:00
weak_lang_items.rs Add support for wasm exception handling to Emscripten target 2025-01-06 10:29:54 +01:00