pub enum Expr {
Show 56 variants
Var(String),
Const(Const),
True,
False,
WidthOf(Box<Expr>),
Not(Box<Expr>),
And(Box<Expr>, Box<Expr>),
Or(Box<Expr>, Box<Expr>),
Imp(Box<Expr>, Box<Expr>),
Eq(Box<Expr>, Box<Expr>),
Lte(Box<Expr>, Box<Expr>),
Lt(Box<Expr>, Box<Expr>),
BVSgt(Box<Expr>, Box<Expr>),
BVSgte(Box<Expr>, Box<Expr>),
BVSlt(Box<Expr>, Box<Expr>),
BVSlte(Box<Expr>, Box<Expr>),
BVUgt(Box<Expr>, Box<Expr>),
BVUgte(Box<Expr>, Box<Expr>),
BVUlt(Box<Expr>, Box<Expr>),
BVUlte(Box<Expr>, Box<Expr>),
BVSaddo(Box<Expr>, Box<Expr>),
BVNeg(Box<Expr>),
BVNot(Box<Expr>),
CLZ(Box<Expr>),
CLS(Box<Expr>),
Rev(Box<Expr>),
BVPopcnt(Box<Expr>),
BVMul(Box<Expr>, Box<Expr>),
BVUDiv(Box<Expr>, Box<Expr>),
BVSDiv(Box<Expr>, Box<Expr>),
BVAdd(Box<Expr>, Box<Expr>),
BVSub(Box<Expr>, Box<Expr>),
BVUrem(Box<Expr>, Box<Expr>),
BVSrem(Box<Expr>, Box<Expr>),
BVAnd(Box<Expr>, Box<Expr>),
BVOr(Box<Expr>, Box<Expr>),
BVXor(Box<Expr>, Box<Expr>),
BVRotl(Box<Expr>, Box<Expr>),
BVRotr(Box<Expr>, Box<Expr>),
BVShl(Box<Expr>, Box<Expr>),
BVShr(Box<Expr>, Box<Expr>),
BVAShr(Box<Expr>, Box<Expr>),
BVSubs(Box<Expr>, Box<Expr>, Box<Expr>),
BVZeroExtTo(Box<Width>, Box<Expr>),
BVZeroExtToVarWidth(Box<Expr>, Box<Expr>),
BVSignExtTo(Box<Width>, Box<Expr>),
BVSignExtToVarWidth(Box<Expr>, Box<Expr>),
BVExtract(usize, usize, Box<Expr>),
BVConcat(Vec<Expr>),
BVIntToBv(usize, Box<Expr>),
BVToInt(Box<Expr>),
BVConvTo(Box<Expr>, Box<Expr>),
Conditional(Box<Expr>, Box<Expr>, Box<Expr>),
Switch(Box<Expr>, Vec<(Expr, Expr)>),
LoadEffect(Box<Expr>, Box<Expr>, Box<Expr>),
StoreEffect(Box<Expr>, Box<Expr>, Box<Expr>, Box<Expr>),
}
Expand description
Typed expressions (u32 is the type var)
Variants§
Var(String)
Const(Const)
True
False
WidthOf(Box<Expr>)
Not(Box<Expr>)
And(Box<Expr>, Box<Expr>)
Or(Box<Expr>, Box<Expr>)
Imp(Box<Expr>, Box<Expr>)
Eq(Box<Expr>, Box<Expr>)
Lte(Box<Expr>, Box<Expr>)
Lt(Box<Expr>, Box<Expr>)
BVSgt(Box<Expr>, Box<Expr>)
BVSgte(Box<Expr>, Box<Expr>)
BVSlt(Box<Expr>, Box<Expr>)
BVSlte(Box<Expr>, Box<Expr>)
BVUgt(Box<Expr>, Box<Expr>)
BVUgte(Box<Expr>, Box<Expr>)
BVUlt(Box<Expr>, Box<Expr>)
BVUlte(Box<Expr>, Box<Expr>)
BVSaddo(Box<Expr>, Box<Expr>)
BVNeg(Box<Expr>)
BVNot(Box<Expr>)
CLZ(Box<Expr>)
CLS(Box<Expr>)
Rev(Box<Expr>)
BVPopcnt(Box<Expr>)
BVMul(Box<Expr>, Box<Expr>)
BVUDiv(Box<Expr>, Box<Expr>)
BVSDiv(Box<Expr>, Box<Expr>)
BVAdd(Box<Expr>, Box<Expr>)
BVSub(Box<Expr>, Box<Expr>)
BVUrem(Box<Expr>, Box<Expr>)
BVSrem(Box<Expr>, Box<Expr>)
BVAnd(Box<Expr>, Box<Expr>)
BVOr(Box<Expr>, Box<Expr>)
BVXor(Box<Expr>, Box<Expr>)
BVRotl(Box<Expr>, Box<Expr>)
BVRotr(Box<Expr>, Box<Expr>)
BVShl(Box<Expr>, Box<Expr>)
BVShr(Box<Expr>, Box<Expr>)
BVAShr(Box<Expr>, Box<Expr>)
BVSubs(Box<Expr>, Box<Expr>, Box<Expr>)
BVZeroExtTo(Box<Width>, Box<Expr>)
BVZeroExtToVarWidth(Box<Expr>, Box<Expr>)
BVSignExtTo(Box<Width>, Box<Expr>)
BVSignExtToVarWidth(Box<Expr>, Box<Expr>)
BVExtract(usize, usize, Box<Expr>)
BVConcat(Vec<Expr>)
BVIntToBv(usize, Box<Expr>)
BVToInt(Box<Expr>)
BVConvTo(Box<Expr>, Box<Expr>)
Conditional(Box<Expr>, Box<Expr>, Box<Expr>)
Switch(Box<Expr>, Vec<(Expr, Expr)>)
LoadEffect(Box<Expr>, Box<Expr>, Box<Expr>)
StoreEffect(Box<Expr>, Box<Expr>, Box<Expr>, Box<Expr>)
Implementations§
Trait Implementations§
impl Eq for Expr
impl StructuralPartialEq for Expr
Auto Trait Implementations§
impl Freeze for Expr
impl RefUnwindSafe for Expr
impl Send for Expr
impl Sync for Expr
impl Unpin for Expr
impl UnwindSafe for Expr
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