pub enum Predicate {
EqLit(LcnfVarId, LcnfLit),
NeLit(LcnfVarId, LcnfLit),
VarEq(LcnfVarId, LcnfVarId),
}Expand description
A predicate known to hold at a program point, derived from branch conditions. Used to refine value numbering inside conditional branches.
Variants§
EqLit(LcnfVarId, LcnfLit)
Variable equals a literal value.
NeLit(LcnfVarId, LcnfLit)
Variable is not equal to a literal value.
VarEq(LcnfVarId, LcnfVarId)
Two variables are equal.
Trait Implementations§
impl Eq for Predicate
impl StructuralPartialEq for Predicate
Auto Trait Implementations§
impl Freeze for Predicate
impl RefUnwindSafe for Predicate
impl Send for Predicate
impl Sync for Predicate
impl Unpin for Predicate
impl UnsafeUnpin for Predicate
impl UnwindSafe for Predicate
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