[−][src]Struct libfirm_rs::Tarval
Methods
impl Tarval
[src]
impl Tarval
pub fn unknown() -> Self
[src]
pub fn unknown() -> Self
pub fn bad() -> Self
[src]
pub fn bad() -> Self
pub fn bool_val(val: bool) -> Self
[src]
pub fn bool_val(val: bool) -> Self
pub fn mj_int(val: i64) -> Self
[src]
pub fn mj_int(val: i64) -> Self
pub fn mj_size(val: i64) -> Self
[src]
pub fn mj_size(val: i64) -> Self
used for mjrt_new
pub fn zero(mode: Mode) -> Self
[src]
pub fn zero(mode: Mode) -> Self
pub fn is_zero(self) -> bool
[src]
pub fn is_zero(self) -> bool
pub fn val(val: i64, mode: Mode) -> Self
[src]
pub fn val(val: i64, mode: Mode) -> Self
pub fn is_bool_val(self, val: bool) -> bool
[src]
pub fn is_bool_val(self, val: bool) -> bool
pub fn is_long(self) -> bool
[src]
pub fn is_long(self) -> bool
pub fn is_constant(self) -> bool
[src]
pub fn is_constant(self) -> bool
- Returns non-zero if the tarval is a constant (i.e.
- NOT a reserved tarval like bad, undef, reachable etc.)
pub fn is_bad(self) -> bool
[src]
pub fn is_bad(self) -> bool
pub fn is_unknown(self) -> bool
[src]
pub fn is_unknown(self) -> bool
pub fn mode(self) -> Mode
[src]
pub fn mode(self) -> Mode
pub fn kind(self) -> TarvalKind
[src]
pub fn kind(self) -> TarvalKind
pub fn cast(self, mode: Mode) -> Option<Self>
[src]
pub fn cast(self, mode: Mode) -> Option<Self>
pub fn can_be_cast_into(self, mode: Mode) -> bool
[src]
pub fn can_be_cast_into(self, mode: Mode) -> bool
pub fn get_long(self) -> i64
[src]
pub fn get_long(self) -> i64
pub fn lattice_cmp(self, rel: Type, other: Self) -> Self
[src]
pub fn lattice_cmp(self, rel: Type, other: Self) -> Self
pub fn lattice_eq(self, o: Self) -> bool
[src]
pub fn lattice_eq(self, o: Self) -> bool
pub fn join(self, o: Self) -> Self
[src]
pub fn join(self, o: Self) -> Self
Trait Implementations
impl PartialEq<Tarval> for Tarval
[src]
impl PartialEq<Tarval> for Tarval
fn eq(&self, o: &Self) -> bool
[src]
fn eq(&self, o: &Self) -> bool
#[must_use]
fn ne(&self, other: &Rhs) -> bool
1.0.0[src]
#[must_use]
fn ne(&self, other: &Rhs) -> bool
1.0.0
[src]This method tests for !=
.
impl From<*mut ir_tarval> for Tarval
[src]
impl From<*mut ir_tarval> for Tarval
impl From<Tarval> for *mut ir_tarval
[src]
impl From<Tarval> for *mut ir_tarval
impl Clone for Tarval
[src]
impl Clone for Tarval
fn clone(&self) -> Tarval
[src]
fn clone(&self) -> Tarval
fn clone_from(&mut self, source: &Self)
1.0.0[src]
fn clone_from(&mut self, source: &Self)
1.0.0
[src]Performs copy-assignment from source
. Read more
impl Copy for Tarval
[src]
impl Copy for Tarval
impl Eq for Tarval
[src]
impl Eq for Tarval
impl Into<*const ir_tarval> for Tarval
[src]
impl Into<*const ir_tarval> for Tarval
impl Debug for Tarval
[src]
impl Debug for Tarval
impl Rem<Tarval> for Tarval
[src]
impl Rem<Tarval> for Tarval
type Output = Tarval
The resulting type after applying the %
operator.
fn rem(self, other: Tarval) -> Tarval
[src]
fn rem(self, other: Tarval) -> Tarval
impl Div<Tarval> for Tarval
[src]
impl Div<Tarval> for Tarval
type Output = Tarval
The resulting type after applying the /
operator.
fn div(self, other: Tarval) -> Tarval
[src]
fn div(self, other: Tarval) -> Tarval
impl Add<Tarval> for Tarval
[src]
impl Add<Tarval> for Tarval
type Output = Tarval
The resulting type after applying the +
operator.
fn add(self, other: Tarval) -> Tarval
[src]
fn add(self, other: Tarval) -> Tarval
impl Sub<Tarval> for Tarval
[src]
impl Sub<Tarval> for Tarval
type Output = Tarval
The resulting type after applying the -
operator.
fn sub(self, other: Tarval) -> Tarval
[src]
fn sub(self, other: Tarval) -> Tarval
impl Mul<Tarval> for Tarval
[src]
impl Mul<Tarval> for Tarval
type Output = Tarval
The resulting type after applying the *
operator.
fn mul(self, other: Tarval) -> Tarval
[src]
fn mul(self, other: Tarval) -> Tarval
impl Neg for Tarval
[src]
impl Neg for Tarval
impl BitXor<Tarval> for Tarval
[src]
impl BitXor<Tarval> for Tarval
Auto Trait Implementations
Blanket Implementations
impl<T> From for T
[src]
impl<T> From for T
impl<T, U> Into for T where
U: From<T>,
[src]
impl<T, U> Into for T where
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
impl<T> ToOwned for T where
T: Clone,
impl<T, U> TryFrom for T where
T: From<U>,
[src]
impl<T, U> TryFrom for T where
T: From<U>,
type Error = !
🔬 This is a nightly-only experimental API. (
try_from
)The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
impl<T> Borrow for T where
T: ?Sized,
[src]
impl<T> Borrow for T where
T: ?Sized,
impl<T> BorrowMut for T where
T: ?Sized,
[src]
impl<T> BorrowMut for T where
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
fn borrow_mut(&mut self) -> &mut T
impl<T, U> TryInto for T where
U: TryFrom<T>,
[src]
impl<T, U> TryInto for T where
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
🔬 This is a nightly-only experimental API. (
try_from
)The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
impl<T> Any for T where
T: 'static + ?Sized,
[src]
impl<T> Any for T where
T: 'static + ?Sized,
fn get_type_id(&self) -> TypeId
[src]
fn get_type_id(&self) -> TypeId