Struct test_generation::control_flow_graph::BasicBlock
source · [−]pub struct BasicBlock { /* private fields */ }Expand description
This represents a basic block in a control flow graph
Implementations
sourceimpl BasicBlock
impl BasicBlock
pub fn new() -> BasicBlock
sourcepub fn get_locals_in(&self) -> &HashMap<usize, (AbstractValue, BorrowState)>
pub fn get_locals_in(&self) -> &HashMap<usize, (AbstractValue, BorrowState)>
Get the locals coming into the block
sourcepub fn get_locals_out(&self) -> &HashMap<usize, (AbstractValue, BorrowState)>
pub fn get_locals_out(&self) -> &HashMap<usize, (AbstractValue, BorrowState)>
Get the locals going out of the block
sourcepub fn set_instructions(&mut self, instructions: Vec<Bytecode>)
pub fn set_instructions(&mut self, instructions: Vec<Bytecode>)
Set the list of instructions that comprise the block
Trait Implementations
sourceimpl Clone for BasicBlock
impl Clone for BasicBlock
sourcefn clone(&self) -> BasicBlock
fn clone(&self) -> BasicBlock
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source. Read more
sourceimpl Debug for BasicBlock
impl Debug for BasicBlock
sourceimpl Default for BasicBlock
impl Default for BasicBlock
sourcefn default() -> BasicBlock
fn default() -> BasicBlock
Returns the “default value” for a type. Read more
Auto Trait Implementations
impl RefUnwindSafe for BasicBlock
impl Send for BasicBlock
impl Sync for BasicBlock
impl Unpin for BasicBlock
impl UnwindSafe for BasicBlock
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> Instrument for T
impl<T> Instrument for T
sourcefn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
sourcefn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
fn vzip(self) -> V
sourceimpl<T> WithSubscriber for T
impl<T> WithSubscriber for T
sourcefn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
Attaches the provided Subscriber to this type, returning a
WithDispatch wrapper. Read more
sourcefn with_current_subscriber(self) -> WithDispatch<Self>
fn with_current_subscriber(self) -> WithDispatch<Self>
Attaches the current default Subscriber to this type, returning a
WithDispatch wrapper. Read more