Lines Matching refs:phi_insn
1106 ir_insn *phi_insn = &ctx->ir_base[ref]; in ir_try_promote_ext() local
1112 if (phi_insn->op != IR_PHI in ir_try_promote_ext()
1113 || phi_insn->inputs_count != 3 /* (2 values) */ in ir_try_promote_ext()
1114 || ctx->ir_base[phi_insn->op1].op != IR_LOOP_BEGIN) { in ir_try_promote_ext()
1118 op_ref = phi_insn->op3; in ir_try_promote_ext()
1147 phi_insn->type = insn->type; in ir_try_promote_ext()
1185 phi_insn = &ctx->ir_base[ref]; in ir_try_promote_ext()
1186 if (IR_IS_CONST_REF(phi_insn->op2) in ir_try_promote_ext()
1187 && !IR_IS_SYM_CONST(ctx->ir_base[phi_insn->op2].op)) { in ir_try_promote_ext()
1188 ctx->ir_base[ref].op2 = ir_ext_const(ctx, &ctx->ir_base[phi_insn->op2], op, type); in ir_try_promote_ext()
1190 ctx->ir_base[ref].op2 = ir_ext_ref(ctx, ref, phi_insn->op2, op, type, worklist); in ir_try_promote_ext()