Module rustc_mir::build [] [src]

Unstable (rustc_private)

Structs

BlockAnd [Unstable]

The BlockAnd "monad" packages up the new basic block along with a produced value (sometimes just unit, of course). The unpack! macro (and methods below) makes working with BlockAnd much more convenient.

Builder [Unstable]
Location [Unstable]
ScopeAuxiliary [Unstable]

For each scope, we track the extent (from the HIR) and a single-entry-multiple-exit subgraph that contains all the statements/terminators within it.

ScopeAuxiliaryVec [Unstable]

Functions

construct_const [Unstable]
construct_fn [Unstable]

the main entry point for building MIR for a function