Lines Matching refs:pred_idx
1333 struct ir3_block *block, unsigned pred_idx) in is_live_in_pred() argument
1335 struct ir3_block *pred = block->predecessors[pred_idx]; in is_live_in_pred()
1338 def = def->instr->srcs[pred_idx]->def; in is_live_in_pred()
1348 struct ir3_block *block, unsigned pred_idx) in is_live_in_undef() argument
1353 return !def->instr->srcs[pred_idx]->def; in is_live_in_undef()
1358 struct ir3_block *block, unsigned pred_idx) in read_live_in() argument
1360 struct ir3_block *pred = block->predecessors[pred_idx]; in read_live_in()
1364 def = def->instr->srcs[pred_idx]->def; in read_live_in()
1461 struct ir3_block *block, unsigned pred_idx) in live_in_rewrite() argument
1463 struct ir3_block *pred = block->predecessors[pred_idx]; in live_in_rewrite()
1467 def = def->instr->srcs[pred_idx]->def; in live_in_rewrite()
1484 live_in_rewrite(ctx, child, child_val, block, pred_idx); in live_in_rewrite()
1702 unsigned pred_idx = ir3_block_get_pred_index(succ, block); in update_live_out_phis() local
1708 struct ir3_register *def = instr->srcs[pred_idx]->def; in update_live_out_phis()
1715 set_src_val(instr->srcs[pred_idx], &interval->dst); in update_live_out_phis()
1722 struct ir3_block *block, unsigned pred_idx) in record_pred_live_out() argument
1724 struct ir3_block *pred = block->predecessors[pred_idx]; in record_pred_live_out()
1729 def = def->instr->srcs[pred_idx]->def; in record_pred_live_out()
1735 record_pred_live_out(ctx, child, block, pred_idx); in record_pred_live_out()