[][src]Enum raptor::analysis::ksets::KSetValue

pub enum KSetValue {
    Top(usize),
    Value(BTreeSet<Constant>),
    Bottom(usize),
}

Variants

Top(usize)
Bottom(usize)

Methods

impl KSetValue[src]

pub fn value(&self) -> Option<&BTreeSet<Constant>>[src]

pub fn bits(&self) -> usize[src]

pub fn join(&self, other: &KSetValue) -> KSetValue[src]

pub fn binop<F>(&self, rhs: &KSetValue, f: F) -> Result<KSetValue> where
    F: Fn(&Constant, &Constant) -> Result<Constant>, 
[src]

pub fn cmpop<F>(&self, rhs: &KSetValue, f: F) -> Result<KSetValue> where
    F: Fn(&Constant, &Constant) -> Result<Constant>, 
[src]

pub fn extop<F>(&self, bits: usize, f: F) -> Result<KSetValue> where
    F: Fn(&Constant, usize) -> Result<Constant>, 
[src]

pub fn add(&self, rhs: &KSetValue) -> Result<KSetValue>[src]

pub fn sub(&self, rhs: &KSetValue) -> Result<KSetValue>[src]

pub fn mul(&self, rhs: &KSetValue) -> Result<KSetValue>[src]

pub fn divu(&self, rhs: &KSetValue) -> Result<KSetValue>[src]

pub fn modu(&self, rhs: &KSetValue) -> Result<KSetValue>[src]

pub fn divs(&self, rhs: &KSetValue) -> Result<KSetValue>[src]

pub fn mods(&self, rhs: &KSetValue) -> Result<KSetValue>[src]

pub fn and(&self, rhs: &KSetValue) -> Result<KSetValue>[src]

pub fn or(&self, rhs: &KSetValue) -> Result<KSetValue>[src]

pub fn xor(&self, rhs: &KSetValue) -> Result<KSetValue>[src]

pub fn shl(&self, rhs: &KSetValue) -> Result<KSetValue>[src]

pub fn shr(&self, rhs: &KSetValue) -> Result<KSetValue>[src]

pub fn cmpeq(&self, rhs: &KSetValue) -> Result<KSetValue>[src]

pub fn cmpneq(&self, rhs: &KSetValue) -> Result<KSetValue>[src]

pub fn cmplts(&self, rhs: &KSetValue) -> Result<KSetValue>[src]

pub fn cmpltu(&self, rhs: &KSetValue) -> Result<KSetValue>[src]

pub fn zext(&self, bits: usize) -> Result<KSetValue>[src]

pub fn sext(&self, bits: usize) -> Result<KSetValue>[src]

pub fn trun(&self, bits: usize) -> Result<KSetValue>[src]

pub fn ite(
    cond: &KSetValue,
    then: &KSetValue,
    else_: &KSetValue
) -> Result<KSetValue>
[src]

Trait Implementations

impl Clone for KSetValue[src]

impl Debug for KSetValue[src]

impl Display for KSetValue[src]

impl Eq for KSetValue[src]

impl Hash for KSetValue[src]

impl PartialEq<KSetValue> for KSetValue[src]

impl PartialOrd<KSetValue> for KSetValue[src]

impl StructuralEq for KSetValue[src]

impl StructuralPartialEq for KSetValue[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> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T> ToString for T where
    T: Display + ?Sized
[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.