[−][src]Struct cranelift_codegen_meta::shared::Definitions
Fields
settings: SettingGroup
all_instructions: PrimaryMap<OpcodeNumber, Rc<InstructionContent>>
instructions: InstructionGroup
imm: Immediates
formats: Formats
transform_groups: TransformGroups
entities: EntityRefs
Implementations
impl Definitions
[src]
pub fn verify_instruction_formats(&self) -> Vec<&InstructionFormat>
[src]
Verifies certain properties of formats.
- Formats must be uniquely named: if two formats have the same name, they must refer to the same data. Otherwise, two format variants in the codegen crate would have the same name.
- Formats must be structurally different from each other. Otherwise, this would lead to code duplicate in the codegen crate.
Returns a list of all the instruction formats effectively used.
Auto Trait Implementations
impl !RefUnwindSafe for Definitions
impl !Send for Definitions
impl !Sync for Definitions
impl Unpin for Definitions
impl !UnwindSafe for Definitions
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,