[−][src]Struct cranelift_codegen_meta::gen_encodings::Level2Table
Level 2 table mapping instruction opcodes to EncList
objects.
A level 2 table can be completely empty if it only holds a custom legalization action for ty
.
Fields
typ: Option<ValueType>
legalize_code: TransformGroupIndex
inst_to_encodings: BTreeMap<String, EncodingList>
hash_table_offset: Option<usize>
hash_table_len: Option<usize>
Implementations
impl Level2Table
[src]
fn new(typ: Option<ValueType>, legalize_code: TransformGroupIndex) -> Self
[src]
fn enclist_for(&mut self, inst: &Rc<InstructionContent>) -> &mut EncodingList
[src]
fn enclists(&mut self) -> ValuesMut<String, EncodingList>
[src]
fn is_empty(&self) -> bool
[src]
fn layout_hashtable(
&mut self,
level2_hashtables: &mut Vec<Option<Level2HashTableEntry>>,
level2_doc: &mut HashMap<usize, Vec<String>>
)
[src]
&mut self,
level2_hashtables: &mut Vec<Option<Level2HashTableEntry>>,
level2_doc: &mut HashMap<usize, Vec<String>>
)
Auto Trait Implementations
impl !RefUnwindSafe for Level2Table
impl !Send for Level2Table
impl !Sync for Level2Table
impl Unpin for Level2Table
impl !UnwindSafe for Level2Table
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>,