Struct cretonne_codegen::ir::entities::Ebb [−][src]
pub struct Ebb(_);
An opaque reference to an extended basic block in a function.
Methods
impl Ebb
[src]
impl Ebb
pub fn with_number(n: u32) -> Option<Self>
[src]
pub fn with_number(n: u32) -> Option<Self>
Create a new EBB reference from its number. This corresponds to the ebbNN
representation.
This method is for use by the parser.
Trait Implementations
impl Copy for Ebb
[src]
impl Copy for Ebb
impl Clone for Ebb
[src]
impl Clone for Ebb
fn clone(&self) -> Ebb
[src]
fn clone(&self) -> Ebb
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
impl PartialEq for Ebb
[src]
impl PartialEq for Ebb
fn eq(&self, other: &Ebb) -> bool
[src]
fn eq(&self, other: &Ebb) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, other: &Ebb) -> bool
[src]
fn ne(&self, other: &Ebb) -> bool
This method tests for !=
.
impl Eq for Ebb
[src]
impl Eq for Ebb
impl Hash for Ebb
[src]
impl Hash for Ebb
fn hash<__H: Hasher>(&self, state: &mut __H)
[src]
fn hash<__H: Hasher>(&self, state: &mut __H)
Feeds this value into the given [Hasher
]. Read more
fn hash_slice<H>(data: &[Self], state: &mut H) where
H: Hasher,
1.3.0[src]
fn hash_slice<H>(data: &[Self], state: &mut H) where
H: Hasher,
Feeds a slice of this type into the given [Hasher
]. Read more
impl PartialOrd for Ebb
[src]
impl PartialOrd for Ebb
fn partial_cmp(&self, other: &Ebb) -> Option<Ordering>
[src]
fn partial_cmp(&self, other: &Ebb) -> Option<Ordering>
This method returns an ordering between self
and other
values if one exists. Read more
fn lt(&self, other: &Ebb) -> bool
[src]
fn lt(&self, other: &Ebb) -> bool
This method tests less than (for self
and other
) and is used by the <
operator. Read more
fn le(&self, other: &Ebb) -> bool
[src]
fn le(&self, other: &Ebb) -> bool
This method tests less than or equal to (for self
and other
) and is used by the <=
operator. Read more
fn gt(&self, other: &Ebb) -> bool
[src]
fn gt(&self, other: &Ebb) -> bool
This method tests greater than (for self
and other
) and is used by the >
operator. Read more
fn ge(&self, other: &Ebb) -> bool
[src]
fn ge(&self, other: &Ebb) -> bool
This method tests greater than or equal to (for self
and other
) and is used by the >=
operator. Read more
impl Ord for Ebb
[src]
impl Ord for Ebb
fn cmp(&self, other: &Ebb) -> Ordering
[src]
fn cmp(&self, other: &Ebb) -> Ordering
This method returns an Ordering
between self
and other
. Read more
fn max(self, other: Self) -> Self
1.21.0[src]
fn max(self, other: Self) -> Self
Compares and returns the maximum of two values. Read more
fn min(self, other: Self) -> Self
1.21.0[src]
fn min(self, other: Self) -> Self
Compares and returns the minimum of two values. Read more
impl EntityRef for Ebb
impl EntityRef for Ebb
fn new(index: usize) -> Self
fn new(index: usize) -> Self
Create a new entity reference from a small integer. This should crash if the requested index is not representable. Read more
fn index(self) -> usize
fn index(self) -> usize
Get the index that was used to create this entity reference.
impl ReservedValue for Ebb
impl ReservedValue for Ebb
fn reserved_value() -> Ebb
fn reserved_value() -> Ebb
Create an instance of the reserved value.
impl Display for Ebb
impl Display for Ebb
impl Debug for Ebb
impl Debug for Ebb
impl From<Ebb> for AnyEntity
[src]
impl From<Ebb> for AnyEntity
impl From<Ebb> for ProgramPoint
[src]
impl From<Ebb> for ProgramPoint
impl From<Ebb> for ExpandedProgramPoint
[src]
impl From<Ebb> for ExpandedProgramPoint
impl<PO: ProgramOrder> Comparator<Ebb> for PO
[src]
impl<PO: ProgramOrder> Comparator<Ebb> for PO