Lines Matching refs:phi_ref
1927 ir_ref phi_ref = cond->op1; in ir_try_split_if_cmp() local
1928 ir_insn *phi = &ctx->ir_base[phi_ref]; in ir_try_split_if_cmp()
1933 && ctx->use_lists[phi_ref].count == 1 in ir_try_split_if_cmp()
1992 MAKE_NOP(phi); CLEAR_USES(phi_ref); in ir_try_split_if_cmp()
2032 MAKE_NOP(phi); CLEAR_USES(phi_ref); in ir_try_split_if_cmp()
2071 ir_use_list_remove_all(ctx, merge_ref, phi_ref); in ir_try_split_if_cmp()
2074 ir_use_list_replace_one(ctx, phi->op3, phi_ref, insn->op2); in ir_try_split_if_cmp()
2089 CLEAR_USES(phi_ref); in ir_try_split_if_cmp()
2124 ir_ref phi_ref = ctx->use_edges[use_list->refs]; in ir_optimize_merge() local
2125 ir_insn *phi = &ctx->ir_base[phi_ref]; in ir_optimize_merge()
2132 if (next->op == IR_IF && next->op1 == merge_ref && ctx->use_lists[phi_ref].count == 1) { in ir_optimize_merge()
2133 if (next->op2 == phi_ref) { in ir_optimize_merge()
2141 && cmp->op1 == phi_ref in ir_optimize_merge()
2151 ir_optimize_phi(ctx, merge_ref, merge, phi_ref, phi, worklist); in ir_optimize_merge()