Enum cretonne_codegen::ir::ExpandedProgramPoint
[−]
[src]
pub enum ExpandedProgramPoint { Inst(Inst), Ebb(Ebb), }
An expanded program point directly exposes the variants, but takes twice the space to represent.
Variants
Inst(Inst)
An instruction in the function.
Ebb(Ebb)
An EBB header.
Methods
impl ExpandedProgramPoint
[src]
pub fn unwrap_inst(self) -> Inst
[src]
Get the instruction we know is inside.
Trait Implementations
impl PartialEq for ExpandedProgramPoint
[src]
fn eq(&self, __arg_0: &ExpandedProgramPoint) -> bool
[src]
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, __arg_0: &ExpandedProgramPoint) -> bool
[src]
This method tests for !=
.
impl Eq for ExpandedProgramPoint
[src]
impl Clone for ExpandedProgramPoint
[src]
fn clone(&self) -> ExpandedProgramPoint
[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more
impl Copy for ExpandedProgramPoint
[src]
impl From<Inst> for ExpandedProgramPoint
[src]
impl From<Ebb> for ExpandedProgramPoint
[src]
impl From<ValueDef> for ExpandedProgramPoint
[src]
impl From<ProgramPoint> for ExpandedProgramPoint
[src]
fn from(pp: ProgramPoint) -> Self
[src]
Performs the conversion.
impl Display for ExpandedProgramPoint
[src]
fn fmt(&self, f: &mut Formatter) -> Result
[src]
Formats the value using the given formatter. Read more