Lines Matching refs:BlockIndex
72 pub type BlockIndex = regalloc2::Block; typedef
134 entry: BlockIndex,
327 pub fn set_entry(&mut self, block: BlockIndex) { in set_entry() argument
371 pub fn add_succ(&mut self, block: BlockIndex, args: &[Reg]) { in add_succ() argument
443 self.vcode.block_preds.resize(end, BlockIndex::invalid()); in compute_preds_from_succs()
445 let pred = BlockIndex::new(pred); in compute_preds_from_succs()
637 entry: BlockIndex::new(0), in new()
760 let mut final_order: SmallVec<[BlockIndex; 16]> = smallvec![]; in emit()
761 let mut cold_blocks: SmallVec<[BlockIndex; 16]> = smallvec![]; in emit()
763 let block = BlockIndex::new(block); in emit()
1150 let succs = self.block_succs(BlockIndex::new(block)); in emit()
1508 pub fn bindex_to_bb(&self, block: BlockIndex) -> Option<ir::Block> { in bindex_to_bb()
1535 fn entry_block(&self) -> BlockIndex { in entry_block() argument
1539 fn block_insns(&self, block: BlockIndex) -> InstRange { in block_insns()
1544 fn block_succs(&self, block: BlockIndex) -> &[BlockIndex] { in block_succs() argument
1549 fn block_preds(&self, block: BlockIndex) -> &[BlockIndex] { in block_preds() argument
1554 fn block_params(&self, block: BlockIndex) -> &[VReg] { in block_params()
1565 fn branch_blockparams(&self, block: BlockIndex, _insn: InsnIndex, succ_idx: usize) -> &[VReg] { in branch_blockparams() argument
1640 let block = BlockIndex::new(block); in fmt()