Struct cretonne::isa::registers::RegInfo [] [src]

pub struct RegInfo {
    pub banks: &'static [RegBank],
    pub classes: &'static [RegClass],
}

Information about the registers in an ISA.

The RegUnit data structure collects all relevant static information about the registers in an ISA.

Fields

All register banks, ordered by their first_unit. The register banks are disjoint, but there may be holes of unused register unit numbers between banks due to alignment.

All register classes ordered topologically so a sub-class always follows its parent.

Methods

impl RegInfo
[src]

[src]

Get the register bank holding regunit.

[src]

Try to parse a regunit name. The name is not expected to begin with %.

[src]

Make a temporary object that can display a register unit.

[src]

Get the register class corresponding to idx.

[src]

Get the top-level register class containing the idx class.

Trait Implementations

impl Clone for RegInfo
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

Auto Trait Implementations

impl Send for RegInfo

impl Sync for RegInfo