Struct cranelift_codegen::isa::registers::RegInfo [−][src]
pub struct RegInfo {
pub banks: &'static [RegBank],
pub classes: &'static [RegClass],
}Expand description
Information about the registers in an ISA.
The RegUnit data structure collects all relevant static information about the registers in an
ISA.
Fields
banks: &'static [RegBank]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.
classes: &'static [RegClass]All register classes ordered topologically so a sub-class always follows its parent.
Implementations
Get the register bank holding regunit.
Try to parse a regunit name. The name is not expected to begin with %.
Make a temporary object that can display a register unit.
Get the register class corresponding to idx.
Get the top-level register class containing the idx class.
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for RegInfo
impl UnwindSafe for RegInfo
Blanket Implementations
Mutably borrows from an owned value. Read more