Lines Matching refs:merge

1389 static bool ir_optimize_phi(ir_ctx *ctx, ir_ref merge_ref, ir_insn *merge, ir_ref ref, ir_insn *ins…  in ir_optimize_phi()  argument
1394 ir_ref end1_ref = merge->op1, end2_ref = merge->op2; in ir_optimize_phi()
1489 MAKE_NOP(merge); CLEAR_USES(merge_ref); in ir_optimize_phi()
1571 MAKE_NOP(merge); CLEAR_USES(merge_ref); in ir_optimize_phi()
1628 MAKE_NOP(merge); CLEAR_USES(merge_ref); in ir_optimize_phi()
1753 ir_insn *merge = &ctx->ir_base[merge_ref]; in ir_try_split_if() local
1756 ir_ref end1_ref = merge->op1, end2_ref = merge->op2; in ir_try_split_if()
1770 SWAP_REFS(merge->op1, merge->op2); in ir_try_split_if()
1804 MAKE_NOP(merge); CLEAR_USES(merge_ref); in ir_try_split_if()
1840 MAKE_NOP(merge); CLEAR_USES(merge_ref); in ir_try_split_if()
1888 merge->optx = IR_OPTX(op, IR_VOID, 1); in ir_try_split_if()
1889 merge->op1 = end2_ref; in ir_try_split_if()
1890 merge->op2 = IR_UNUSED; in ir_try_split_if()
1937 ir_insn *merge = &ctx->ir_base[merge_ref]; in ir_try_split_if_cmp() local
1940 ir_ref end1_ref = merge->op1, end2_ref = merge->op2; in ir_try_split_if_cmp()
1954 SWAP_REFS(merge->op1, merge->op2); in ir_try_split_if_cmp()
1991 MAKE_NOP(merge); CLEAR_USES(merge_ref); in ir_try_split_if_cmp()
2031 MAKE_NOP(merge); CLEAR_USES(merge_ref); in ir_try_split_if_cmp()
2083 merge->optx = IR_OPTX(op, IR_VOID, 1); in ir_try_split_if_cmp()
2084 merge->op1 = end2_ref; in ir_try_split_if_cmp()
2085 merge->op2 = IR_UNUSED; in ir_try_split_if_cmp()
2116 static void ir_optimize_merge(ir_ctx *ctx, ir_ref merge_ref, ir_insn *merge, ir_bitqueue *worklist) in ir_optimize_merge() argument
2121 ir_try_remove_empty_diamond(ctx, merge_ref, merge, worklist); in ir_optimize_merge()
2123 if (merge->inputs_count == 2) { in ir_optimize_merge()
2151 ir_optimize_phi(ctx, merge_ref, merge, phi_ref, phi, worklist); in ir_optimize_merge()