pub struct Block {
pub id: u32,
pub preds: Vec<u32>,
pub succs: Vec<u32>,
pub defs: HashSet<u32>,
pub uses: HashSet<u32>,
}Expand description
Basic block summary used by the SSA builder.
Fields§
§id: u32Stable block id.
preds: Vec<u32>Predecessor block ids.
succs: Vec<u32>Successor block ids.
defs: HashSet<u32>Variable ids defined in this block.
uses: HashSet<u32>Variable ids used in this block.
Trait Implementations§
impl StructuralPartialEq for Block
Auto Trait Implementations§
impl Freeze for Block
impl RefUnwindSafe for Block
impl Send for Block
impl Sync for Block
impl Unpin for Block
impl UnsafeUnpin for Block
impl UnwindSafe for Block
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