Lines Matching refs:successors
74 pred->successors[0] = succ1; in link_blocks()
78 pred->successors[1] = succ2; in link_blocks()
86 if (pred->successors[0] == succ) { in unlink_blocks()
87 pred->successors[0] = pred->successors[1]; in unlink_blocks()
88 pred->successors[1] = NULL; in unlink_blocks()
90 assert(pred->successors[1] == succ); in unlink_blocks()
91 pred->successors[1] = NULL; in unlink_blocks()
100 if (block->successors[1] != NULL) in unlink_block_successors()
101 unlink_blocks(block, block->successors[1]); in unlink_block_successors()
102 if (block->successors[0] != NULL) in unlink_block_successors()
103 unlink_blocks(block, block->successors[0]); in unlink_block_successors()
173 if (block->successors[0] == old_succ) { in replace_successor()
174 block->successors[0] = new_succ; in replace_successor()
176 assert(block->successors[1] == old_succ); in replace_successor()
177 block->successors[1] = new_succ; in replace_successor()
272 nir_block *succ1 = source->successors[0]; in move_successors()
273 nir_block *succ2 = source->successors[1]; in move_successors()
504 if (block->successors[0]) in unlink_jump()
505 remove_phi_src(block->successors[0], block); in unlink_jump()
506 if (block->successors[1]) in unlink_jump()
507 remove_phi_src(block->successors[1], block); in unlink_jump()
558 if (after->successors[0]) in stitch_blocks()
559 remove_phi_src(after->successors[0], after); in stitch_blocks()
560 if (after->successors[1]) in stitch_blocks()
561 remove_phi_src(after->successors[1], after); in stitch_blocks()