Lines Matching refs:next_ref
1289 ir_ref next_ref = ctx->use_edges[ctx->use_lists[ref].refs]; in ir_try_remove_empty_diamond() local
1290 ir_insn *next = &ctx->ir_base[next_ref]; in ir_try_remove_empty_diamond()
1296 ir_use_list_replace_one(ctx, root->op1, root_ref, next_ref); in ir_try_remove_empty_diamond()
1346 ir_ref next_ref = ctx->use_edges[ctx->use_lists[ref].refs]; in ir_try_remove_empty_diamond() local
1347 ir_insn *next = &ctx->ir_base[next_ref]; in ir_try_remove_empty_diamond()
1351 ir_use_list_replace_one(ctx, root->op1, root_ref, next_ref); in ir_try_remove_empty_diamond()
1449 ir_ref next_ref = ctx->use_edges[ctx->use_lists[merge_ref].refs]; in ir_optimize_phi() local
1452 if (next_ref == ref) { in ir_optimize_phi()
1453 next_ref = ctx->use_edges[ctx->use_lists[merge_ref].refs + 1]; in ir_optimize_phi()
1455 next = &ctx->ir_base[next_ref]; in ir_optimize_phi()
1475 ir_use_list_replace_one(ctx, root->op1, root_ref, next_ref); in ir_optimize_phi()
1535 ir_ref next_ref = ctx->use_edges[ctx->use_lists[merge_ref].refs]; in ir_optimize_phi() local
1538 if (next_ref == ref) { in ir_optimize_phi()
1539 next_ref = ctx->use_edges[ctx->use_lists[merge_ref].refs + 1]; in ir_optimize_phi()
1541 next = &ctx->ir_base[next_ref]; in ir_optimize_phi()
1559 ir_use_list_replace_one(ctx, root->op1, root_ref, next_ref); in ir_optimize_phi()
1600 ir_ref next_ref = ctx->use_edges[ctx->use_lists[merge_ref].refs]; in ir_optimize_phi()
1603 if (next_ref == ref) { in ir_optimize_phi()
1604 next_ref = ctx->use_edges[ctx->use_lists[merge_ref].refs + 1]; in ir_optimize_phi()
1606 next = &ctx->ir_base[next_ref]; in ir_optimize_phi()
1620 ir_use_list_replace_one(ctx, root->op1, root_ref, next_ref); in ir_optimize_phi()
2127 ir_ref next_ref = ctx->use_edges[use_list->refs + 1]; in ir_optimize_merge() local
2128 ir_insn *next = &ctx->ir_base[next_ref]; in ir_optimize_merge()
2134 if (ir_try_split_if(ctx, next_ref, next, worklist)) { in ir_optimize_merge()
2145 if (ir_try_split_if_cmp(ctx, next_ref, next, worklist)) { in ir_optimize_merge()