Enum cretonne_codegen::ir::ValueLoc [] [src]

pub enum ValueLoc {
    Unassigned,
    Reg(RegUnit),
    Stack(StackSlot),
}

Value location.

Variants

This value has not been assigned to a location yet.

Value is assigned to a register.

Value is assigned to a stack slot.

Methods

impl ValueLoc
[src]

[src]

Is this an assigned location? (That is, not Unassigned).

[src]

Get the register unit of this location, or panic.

[src]

Get the stack slot of this location, or panic.

[src]

Return an object that can display this value location, using the register info from the target ISA.

Trait Implementations

impl Copy for ValueLoc
[src]

impl Clone for ValueLoc
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl Debug for ValueLoc
[src]

[src]

Formats the value using the given formatter. Read more

impl PartialEq for ValueLoc
[src]

[src]

This method tests for self and other values to be equal, and is used by ==. Read more

[src]

This method tests for !=.

impl Eq for ValueLoc
[src]

impl Default for ValueLoc
[src]

[src]

Returns the "default value" for a type. Read more

Auto Trait Implementations

impl Send for ValueLoc

impl Sync for ValueLoc