Lines Matching refs:BlockCall
6 use crate::ir::BlockCall;
27 table: Vec<BlockCall>,
32 pub fn new(def: BlockCall, table: &[BlockCall]) -> Self { in new() argument
39 pub fn default_block(&self) -> BlockCall { in default_block() argument
44 pub fn default_block_mut(&mut self) -> &mut BlockCall { in default_block_mut() argument
49 pub fn all_branches(&self) -> &[BlockCall] { in all_branches() argument
55 pub fn all_branches_mut(&mut self) -> &mut [BlockCall] { in all_branches_mut() argument
60 pub fn as_slice(&self) -> &[BlockCall] { in as_slice() argument
65 pub fn as_mut_slice(&mut self) -> &mut [BlockCall] { in as_mut_slice() argument
71 pub fn iter(&self) -> Iter<'_, BlockCall> { in iter() argument
77 pub fn iter_mut(&mut self) -> IterMut<'_, BlockCall> { in iter_mut() argument
116 use crate::ir::{Block, BlockArg, BlockCall, Value};
123 let def = BlockCall::new(Block::new(0), core::iter::empty(), &mut pool); in empty()
149 let def = BlockCall::new(e0, core::iter::empty(), &mut pool); in insert()
150 let b1 = BlockCall::new(e1, core::iter::once(v0.into()), &mut pool); in insert()
151 let b2 = BlockCall::new(e2, core::iter::empty(), &mut pool); in insert()
152 let b3 = BlockCall::new(e1, core::iter::once(v1.into()), &mut pool); in insert()