[−][src]Enum gf::ai::opt::vn::ValueExpr
⚪ Expression for value numbering.
Variants
An APPLY expression.
An INIT expression.
Fields of Init
constant_value: BitVec
Initializer constant.
A SLICE expression.
Fields of Slice
Var(Var)
A variable.
Implementations
impl ValueExpr
[src]
pub fn from_stmt(stmt: Stmt<'_>) -> Option<Self>
[src]
Create a value expression from a sealed statement.
pub unsafe fn from_unsealed_stmt(
module: &UnsealedModule,
stmt: &UnsealedStmt
) -> Option<Self>
[src]
module: &UnsealedModule,
stmt: &UnsealedStmt
) -> Option<Self>
Create a value expression from an unsealed statement.
Errors
- Panics if a referenced object does not exist.
Trait Implementations
impl Clone for ValueExpr
[src]
impl Debug for ValueExpr
[src]
impl Eq for ValueExpr
[src]
impl Hash for ValueExpr
[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<ValueExpr> for ValueExpr
[src]
impl StructuralEq for ValueExpr
[src]
Auto Trait Implementations
impl RefUnwindSafe for ValueExpr
impl Send for ValueExpr
impl Sync for ValueExpr
impl Unpin for ValueExpr
impl UnwindSafe for ValueExpr
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,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<Q, K> Equivalent<K> for Q where
K: Borrow<Q> + ?Sized,
Q: Eq + ?Sized,
[src]
K: Borrow<Q> + ?Sized,
Q: Eq + ?Sized,
pub fn equivalent(&self, key: &K) -> bool
[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.
pub fn to_owned(&self) -> T
[src]
pub 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.
pub 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>,