pub struct SrlOp { /* private fields */ }Implementations§
Trait Implementations§
source§impl ControlFlow for SrlOp
impl ControlFlow for SrlOp
source§fn num_successors(&self) -> usize
fn num_successors(&self) -> usize
Get the number of successors.
source§fn get_successor(&self, index: usize) -> Option<&Successor>
fn get_successor(&self, index: usize) -> Option<&Successor>
Get the successor at the given index.
source§fn set_successor(
&mut self,
index: usize,
successor: Successor
) -> Option<Successor>
fn set_successor( &mut self, index: usize, successor: Successor ) -> Option<Successor>
Set the successor at the given index and return the old successor (if
any).
source§fn successors(&self) -> Vec<&Successor>
fn successors(&self) -> Vec<&Successor>
Get all successors.
source§impl DataFlow for SrlOp
impl DataFlow for SrlOp
source§fn num_operands(&self) -> usize
fn num_operands(&self) -> usize
Get the number of operands. Read more
source§fn get_operand(&self, index: usize) -> Option<ArenaPtr<Value>>
fn get_operand(&self, index: usize) -> Option<ArenaPtr<Value>>
Get the operand at the given index.
source§fn set_operand(
&mut self,
index: usize,
value: ArenaPtr<Value>
) -> Option<ArenaPtr<Value>>
fn set_operand( &mut self, index: usize, value: ArenaPtr<Value> ) -> Option<ArenaPtr<Value>>
Set the operand at the given index and return the old operand (if any).
source§fn num_results(&self) -> usize
fn num_results(&self) -> usize
Get the number of results. Read more
source§fn get_result(&self, index: usize) -> Option<ArenaPtr<Value>>
fn get_result(&self, index: usize) -> Option<ArenaPtr<Value>>
Get the result at the given index.
source§impl IntegerLikeOperands for SrlOp
impl IntegerLikeOperands for SrlOp
source§impl NumOperands<2> for SrlOp
impl NumOperands<2> for SrlOp
source§impl NumRegions<0> for SrlOp
impl NumRegions<0> for SrlOp
source§impl NumResults<1> for SrlOp
impl NumResults<1> for SrlOp
source§impl Op for SrlOp
impl Op for SrlOp
source§fn mnemonic_static() -> Mnemonic
fn mnemonic_static() -> Mnemonic
Get the mnemonic of the type statically.
source§fn register(ctx: &mut Context, parse_fn: OpParseFn)where
Self: Sized,
fn register(ctx: &mut Context, parse_fn: OpParseFn)where
Self: Sized,
Register the operation to the context. Read more
fn metadata(&self) -> &OpMetadata
fn metadata_mut(&mut self) -> &mut OpMetadata
source§impl Print for SrlOp
impl Print for SrlOp
fn print(&self, __ctx: &Context, __state: &mut PrintState) -> PrintResult<()>
source§impl RegionInterface for SrlOp
impl RegionInterface for SrlOp
source§fn num_regions(&self) -> usize
fn num_regions(&self) -> usize
Get the number of regions.
source§fn get_region(&self, index: usize) -> Option<ArenaPtr<Region>>
fn get_region(&self, index: usize) -> Option<ArenaPtr<Region>>
Get the region at the given index.
source§fn set_region(
&mut self,
index: usize,
region: ArenaPtr<Region>
) -> Option<ArenaPtr<Region>>
fn set_region( &mut self, index: usize, region: ArenaPtr<Region> ) -> Option<ArenaPtr<Region>>
Set the region at the given index and return the old region (if any).
source§fn get_region_kind(&self, ctx: &Context, index: usize) -> RegionKind
fn get_region_kind(&self, ctx: &Context, index: usize) -> RegionKind
Get the region kind at the given index.
source§impl RunVerifiers for SrlOp
impl RunVerifiers for SrlOp
fn run_verifiers(&self, ctx: &Context) -> VerifyResult<()>
source§impl SameOperandAndResultTys for SrlOp
impl SameOperandAndResultTys for SrlOp
source§impl SameOperandTys for SrlOp
impl SameOperandTys for SrlOp
source§impl SameResultTys for SrlOp
impl SameResultTys for SrlOp
Auto Trait Implementations§
impl Freeze for SrlOp
impl !RefUnwindSafe for SrlOp
impl !Send for SrlOp
impl !Sync for SrlOp
impl Unpin for SrlOp
impl !UnwindSafe for SrlOp
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
§impl<T> Downcast for Twhere
T: Any,
impl<T> Downcast for Twhere
T: Any,
§fn into_any(self: Box<T>) -> Box<dyn Any>
fn into_any(self: Box<T>) -> Box<dyn Any>
Convert
Box<dyn Trait> (where Trait: Downcast) to Box<dyn Any>. Box<dyn Any> can
then be further downcast into Box<ConcreteType> where ConcreteType implements Trait.§fn into_any_rc(self: Rc<T>) -> Rc<dyn Any>
fn into_any_rc(self: Rc<T>) -> Rc<dyn Any>
Convert
Rc<Trait> (where Trait: Downcast) to Rc<Any>. Rc<Any> can then be
further downcast into Rc<ConcreteType> where ConcreteType implements Trait.§fn as_any(&self) -> &(dyn Any + 'static)
fn as_any(&self) -> &(dyn Any + 'static)
Convert
&Trait (where Trait: Downcast) to &Any. This is needed since Rust cannot
generate &Any’s vtable from &Trait’s.§fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)
fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)
Convert
&mut Trait (where Trait: Downcast) to &Any. This is needed since Rust cannot
generate &mut Any’s vtable from &mut Trait’s.