pub struct StoreSymbolOp { /* private fields */ }Expand description
Store symbol pseudo instruction.
Implementations§
Trait Implementations§
source§impl ControlFlow for StoreSymbolOp
impl ControlFlow for StoreSymbolOp
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 StoreSymbolOp
impl DataFlow for StoreSymbolOp
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 StoreSymbolOp
impl IntegerLikeOperands for StoreSymbolOp
source§impl NumOperands<1> for StoreSymbolOp
impl NumOperands<1> for StoreSymbolOp
source§impl NumRegions<0> for StoreSymbolOp
impl NumRegions<0> for StoreSymbolOp
source§impl NumResults<0> for StoreSymbolOp
impl NumResults<0> for StoreSymbolOp
source§impl Op for StoreSymbolOp
impl Op for StoreSymbolOp
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 OperandTysAre<IReg> for StoreSymbolOp
impl OperandTysAre<IReg> for StoreSymbolOp
source§impl Parse for StoreSymbolOp
impl Parse for StoreSymbolOp
source§impl Print for StoreSymbolOp
impl Print for StoreSymbolOp
fn print(&self, __ctx: &Context, __state: &mut PrintState) -> PrintResult<()>
source§impl RegionInterface for StoreSymbolOp
impl RegionInterface for StoreSymbolOp
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 ResultTysAre<IReg> for StoreSymbolOp
impl ResultTysAre<IReg> for StoreSymbolOp
source§impl RunVerifiers for StoreSymbolOp
impl RunVerifiers for StoreSymbolOp
fn run_verifiers(&self, ctx: &Context) -> VerifyResult<()>
source§impl SameOperandTys for StoreSymbolOp
impl SameOperandTys for StoreSymbolOp
Auto Trait Implementations§
impl Freeze for StoreSymbolOp
impl !RefUnwindSafe for StoreSymbolOp
impl !Send for StoreSymbolOp
impl !Sync for StoreSymbolOp
impl Unpin for StoreSymbolOp
impl !UnwindSafe for StoreSymbolOp
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.