Expand description

See the docs for RenameReturnPlace.

Structs

This pass looks for MIR that always copies the same local into the return place and eliminates the copy by renaming all uses of that local to _0.

Functions

MIR that is eligible for the NRVO must fulfill two conditions: