[−][src]Module rustc_mir::transform::const_prop

Propagates constants for early reporting of statically known assertion failures

Structs

CanConstProp
ConstProp
ConstPropMachine
ConstPropagator

Finds optimization opportunities on the MIR.

Enums

ConstPropMode

The mode that ConstProp is allowed to run in for a given Local.

Constants

MAX_ALLOC_LIMIT

The maximum number of bytes that we'll allocate space for a local or the return value. Needed for #66397, because otherwise we eval into large places and that can cause OOM or just Severely regress performance.