[][src]Struct cranelift_codegen_meta::cdsl::xform::TransformGroup

pub(crate) struct TransformGroup {
    pub name: &'static str,
    pub doc: &'static str,
    pub chain_with: Option<TransformGroupIndex>,
    pub isa_name: Option<&'static str>,
    pub id: TransformGroupIndex,
    pub custom_legalizes: HashMap<String, &'static str>,
    pub transforms: Vec<Transform>,
}

A group of related transformations.

Fields

name: &'static strdoc: &'static strchain_with: Option<TransformGroupIndex>isa_name: Option<&'static str>id: TransformGroupIndexcustom_legalizes: HashMap<String, &'static str>

Maps Instruction camel_case names to custom legalization functions names.

transforms: Vec<Transform>

Methods

impl TransformGroup[src]

pub fn rust_name(&self) -> String[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.