Module cost_checker
rustc_mir_transform
1.82.0-dev
Module cost_checker
Structs
Constants
In crate rustc_mir_transform
Modules
abort_unwinding_calls
add_call_guards
add_moves_for_packed_drops
add_retag
add_subtyping_projections
check_alignment
check_const_item_mutation
check_packed_ref
cleanup_post_borrowck
copy_prop
coroutine
cost_checker
coverage
cross_crate_inline
ctfe_limit
dataflow_const_prop
dead_store_elimination
deduce_param_attrs
deduplicate_blocks
deref_separator
dest_prop
dump_mir
early_otherwise_branch
elaborate_box_derefs
elaborate_drops
errors
ffi_unwind_calls
function_item_references
gvn
inline
instsimplify
jump_threading
known_panics_lint
large_enums
lint
lower_intrinsics
lower_slice_len
match_branches
mentioned_items
multiple_return_terminators
nrvo
pass_manager
prettify
promote_consts
ref_prop
remove_noop_landing_pads
remove_place_mention
remove_storage_markers
remove_uninit_drops
remove_unneeded_drops
remove_zsts
required_consts
reveal_all
shim
simplify
simplify_branches
simplify_comparison_integral
single_use_consts
sroa
ssa
unreachable_enum_branching
unreachable_prop
validate
Statics
DEFAULT_LOCALE_RESOURCE
Functions
inner_mir_for_ctfe
inner_optimized_mir
is_mir_available
mir_built
mir_const_qualif
mir_drops_elaborated_and_const_checked
mir_for_ctfe
mir_keys
mir_promoted
optimized_mir
promoted_mir
provide
remap_mir_for_const_eval_select
run_analysis_cleanup_passes
run_analysis_to_runtime_passes
run_optimization_passes
run_runtime_cleanup_passes
run_runtime_lowering_passes
take_array
?
Settings
Module
rustc_mir_transform
::
cost_checker
Copy item path
source
·
[
−
]
Structs
§
CostChecker
🔒
Verify that the callee body is compatible with the caller.
Constants
§
CALL_PENALTY
🔒
CONST_SWITCH_BONUS
🔒
INSTR_COST
🔒
LANDINGPAD_PENALTY
🔒
LARGE_SWITCH_PENALTY
🔒
RESUME_PENALTY
🔒