Enum rustc_middle::mir::pretty::PassWhere[][src]

pub enum PassWhere {
    BeforeCFG,
    AfterCFG,
    BeforeBlock(BasicBlock),
    BeforeLocation(Location),
    AfterLocation(Location),
    AfterTerminator(BasicBlock),
}
Expand description

An indication of where we are in the control flow graph. Used for printing extra information in dump_mir

Variants

BeforeCFG

We have not started dumping the control flow graph, but we are about to.

AfterCFG

We just finished dumping the control flow graph. This is right before EOF

BeforeBlock(BasicBlock)

We are about to start dumping the given basic block.

Tuple Fields of BeforeBlock

0: BasicBlock
BeforeLocation(Location)

We are just about to dump the given statement or terminator.

Tuple Fields of BeforeLocation

0: Location
AfterLocation(Location)

We just dumped the given statement or terminator.

Tuple Fields of AfterLocation

0: Location
AfterTerminator(BasicBlock)

We just dumped the terminator for a block but not the closing }.

Tuple Fields of AfterTerminator

0: BasicBlock

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.

Layout

Note: Most layout information is completely unstable and may even differ between compilations. The only exception is types with certain repr(...) attributes. Please see the Rust Reference’s “Type Layout” chapter for details on type layout guarantees.

Size: 24 bytes

Size for each variant: