[−][src]Struct cranelift_codegen_meta::cdsl::typevar::TypeSet
Fields
lanes: BTreeSet<u16>
ints: BTreeSet<u16>
floats: BTreeSet<u16>
bools: BTreeSet<u16>
refs: BTreeSet<u16>
specials: Vec<SpecialType>
Implementations
impl TypeSet
[src]
fn new(
lanes: BTreeSet<u16>,
ints: BTreeSet<u16>,
floats: BTreeSet<u16>,
bools: BTreeSet<u16>,
refs: BTreeSet<u16>,
specials: Vec<SpecialType>
) -> Self
[src]
lanes: BTreeSet<u16>,
ints: BTreeSet<u16>,
floats: BTreeSet<u16>,
bools: BTreeSet<u16>,
refs: BTreeSet<u16>,
specials: Vec<SpecialType>
) -> Self
pub fn size(&self) -> usize
[src]
Return the number of concrete types represented by this typeset.
fn image(&self, derived_func: DerivedFunc) -> TypeSet
[src]
Return the image of self across the derived function func.
fn lane_of(&self) -> TypeSet
[src]
Return a TypeSet describing the image of self across lane_of.
fn as_bool(&self) -> TypeSet
[src]
Return a TypeSet describing the image of self across as_bool.
fn half_width(&self) -> TypeSet
[src]
Return a TypeSet describing the image of self across halfwidth.
fn double_width(&self) -> TypeSet
[src]
Return a TypeSet describing the image of self across doublewidth.
fn half_vector(&self) -> TypeSet
[src]
Return a TypeSet describing the image of self across halfvector.
fn double_vector(&self) -> TypeSet
[src]
Return a TypeSet describing the image of self across doublevector.
fn concrete_types(&self) -> Vec<ValueType>
[src]
fn get_singleton(&self) -> ValueType
[src]
Return the singleton type represented by self. Can only call on typesets containing 1 type.
fn preimage(&self, func: DerivedFunc) -> TypeSet
[src]
Return the inverse image of self across the derived function func.
pub fn inplace_intersect_with(&mut self, other: &TypeSet)
[src]
pub fn is_subset(&self, other: &TypeSet) -> bool
[src]
pub fn is_wider_or_equal(&self, other: &TypeSet) -> bool
[src]
pub fn is_narrower(&self, other: &TypeSet) -> bool
[src]
Trait Implementations
impl Clone for TypeSet
[src]
impl Debug for TypeSet
[src]
impl Eq for TypeSet
[src]
impl Hash for TypeSet
[src]
fn hash<__H: Hasher>(&self, state: &mut __H)
[src]
fn hash_slice<H>(data: &[Self], state: &mut H) where
H: Hasher,
1.3.0[src]
H: Hasher,
impl PartialEq<TypeSet> for TypeSet
[src]
impl StructuralEq for TypeSet
[src]
impl StructuralPartialEq for TypeSet
[src]
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
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> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
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>,