Struct cranelift_codegen_meta::cdsl::typevar::TypeSet
source · pub(crate) struct TypeSet {
pub lanes: BTreeSet<u16>,
pub dynamic_lanes: BTreeSet<u16>,
pub ints: BTreeSet<u16>,
pub floats: BTreeSet<u16>,
pub refs: BTreeSet<u16>,
}
Fields§
§lanes: BTreeSet<u16>
§dynamic_lanes: BTreeSet<u16>
§ints: BTreeSet<u16>
§floats: BTreeSet<u16>
§refs: BTreeSet<u16>
Implementations§
source§impl TypeSet
impl TypeSet
fn new( lanes: BTreeSet<u16>, dynamic_lanes: BTreeSet<u16>, ints: BTreeSet<u16>, floats: BTreeSet<u16>, refs: BTreeSet<u16> ) -> Self
sourcefn image(&self, derived_func: DerivedFunc) -> TypeSet
fn image(&self, derived_func: DerivedFunc) -> TypeSet
Return the image of self across the derived function func.
sourcefn half_width(&self) -> TypeSet
fn half_width(&self) -> TypeSet
Return a TypeSet describing the image of self across halfwidth.
sourcefn double_width(&self) -> TypeSet
fn double_width(&self) -> TypeSet
Return a TypeSet describing the image of self across doublewidth.
sourcefn half_vector(&self) -> TypeSet
fn half_vector(&self) -> TypeSet
Return a TypeSet describing the image of self across halfvector.
sourcefn double_vector(&self) -> TypeSet
fn double_vector(&self) -> TypeSet
Return a TypeSet describing the image of self across doublevector.
fn dynamic_to_vector(&self) -> TypeSet
fn concrete_types(&self) -> Vec<ValueType>
sourcefn get_singleton(&self) -> ValueType
fn get_singleton(&self) -> ValueType
Return the singleton type represented by self. Can only call on typesets containing 1 type.
Trait Implementations§
source§impl PartialEq<TypeSet> for TypeSet
impl PartialEq<TypeSet> for TypeSet
impl Eq for TypeSet
impl StructuralEq for TypeSet
impl StructuralPartialEq for TypeSet
Auto Trait Implementations§
impl RefUnwindSafe for TypeSet
impl Send for TypeSet
impl Sync for TypeSet
impl Unpin for TypeSet
impl UnwindSafe for TypeSet
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more