Lines Matching refs:layout

38     fn layout(&self) -> &ir::Layout;  in layout()  method
227 At(inst) => self.layout().inst_block(inst), in current_block()
244 debug_assert!(self.layout().inst_block(inst).is_some()); in goto_after_inst()
245 let new_pos = if let Some(next) = self.layout().next_inst(inst) { in goto_after_inst()
249 self.layout() in goto_after_inst()
260 debug_assert!(self.layout().inst_block(inst).is_some()); in goto_inst()
268 if let Some(inst) = self.layout().first_inst(block) { in goto_first_insertion_point()
277 let inst = self.layout().first_inst(block).expect("Empty block"); in goto_first_inst()
283 let inst = self.layout().last_inst(block).expect("Empty block"); in goto_last_inst()
291 debug_assert!(self.layout().is_block_inserted(block)); in goto_top()
298 debug_assert!(self.layout().is_block_inserted(block)); in goto_bottom()
320 self.layout().next_block(block) in next_block_position()
322 self.layout().entry_block() in next_block_position()
360 self.layout().prev_block(block) in prev_block_position()
362 self.layout().last_block() in prev_block_position()
403 if let Some(next) = self.layout().next_inst(inst) { in next_inst_position()
407 self.layout() in next_inst_position()
414 if let Some(next) = self.layout().first_inst(block) { in next_inst_position()
476 if let Some(prev) = self.layout().prev_inst(inst) { in prev_inst_position()
480 self.layout() in prev_inst_position()
487 if let Some(prev) = self.layout().last_inst(block) { in prev_inst_position()
664 fn layout(&self) -> &ir::Layout { in layout() method
665 &self.func.layout in layout()
669 &mut self.func.layout in layout_mut()