Home
last modified time | relevance | path

Searched refs:op2_use (Results 1 – 14 of 14) sorted by relevance

/PHP-8.0/ext/opcache/Optimizer/
H A Dzend_ssa.h85 int op2_use; member
196 } else if (ssa_op->op2_use == var) { in END_EXTERN_C()
224 return ssa_op->op1_use == var && ssa_op->op2_use != var; in zend_ssa_is_no_val_use()
227 return ssa_op->op2_use == var && ssa_op->op1_use != var; in zend_ssa_is_no_val_use()
232 return ssa_op->op1_use != var && ssa_op->op2_use != var; in zend_ssa_is_no_val_use()
247 if (ssa_op->op2_use >= 0) { in zend_ssa_rename_defs_of_instr()
248 zend_ssa_rename_var_uses(ssa, ssa_op->op2_def, ssa_op->op2_use, 1); in zend_ssa_rename_defs_of_instr()
H A Dssa_integrity.c48 || (ssa_op->op2_use == check) in is_used_by_op()
190 if (ssa_op->op2_use < 0 && ssa_op->op2_def < 0) { in ssa_verify_integrity()
194 if (ssa_op->op2_use >= 0 || ssa_op->op2_def >= 0) { in ssa_verify_integrity()
221 if (ssa_op->op2_use >= 0) { in ssa_verify_integrity()
222 if (ssa_op->op2_use >= ssa->vars_count) { in ssa_verify_integrity()
223 FAIL("op2 use %d out of range\n", ssa_op->op2_use); in ssa_verify_integrity()
225 if (!is_in_use_chain(ssa, ssa_op->op2_use, i)) { in ssa_verify_integrity()
227 VAR(ssa_op->op2_use), INSTR(i)); in ssa_verify_integrity()
229 if (VAR_NUM(opline->op2.var) != ssa->vars[ssa_op->op2_use].var) { in ssa_verify_integrity()
231 VAR(ssa_op->op2_use), VAR_NUM(opline->op2.var), INSTR(i)); in ssa_verify_integrity()
H A Ddce.c186 && ssa->vars[ssa_op->op2_use].escape_state != ESCAPE_STATE_NO_ESCAPE) { in may_have_side_effects()
293 if (ssa_op->op2_use >= 0) { in add_operands_to_worklists()
294 if (!zend_ssa_is_no_val_use(opline, ssa_op, ssa_op->op2_use) in add_operands_to_worklists()
296 && (ssa->var_info[ssa_op->op2_use].type & MAY_BE_REF) != 0)) { in add_operands_to_worklists()
297 add_to_worklists(ctx, ssa_op->op2_use, check); in add_operands_to_worklists()
299 add_to_phi_worklist_no_val(ctx, ssa_op->op2_use); in add_operands_to_worklists()
410 if ((opline->op2_type & (IS_VAR|IS_TMP_VAR)) && !is_var_dead(ctx, ssa_op->op2_use)) { in dce_instr()
411 if (!try_remove_var_def(ctx, ssa_op->op2_use, ssa_op->op2_use_chain, opline)) { in dce_instr()
412 if (may_be_refcounted(ssa->var_info[ssa_op->op2_use].type)) { in dce_instr()
418 free_var = ssa_op->op2_use; in dce_instr()
H A Descape_analysis.c113 if (opline->opcode == ZEND_ASSIGN && op->op2_use >= 0) { in zend_build_equi_escape_sets()
114 union_find_unite(parent, size, op->op1_def, op->op2_use); in zend_build_equi_escape_sets()
118 if (op->op2_use >= 0) { in zend_build_equi_escape_sets()
119 union_find_unite(parent, size, op->op2_def, op->op2_use); in zend_build_equi_escape_sets()
131 if (opline->opcode == ZEND_ASSIGN && op->op2_use >= 0) { in zend_build_equi_escape_sets()
132 union_find_unite(parent, size, op->result_def, op->op2_use); in zend_build_equi_escape_sets()
348 if (ssa_op->op2_use == var) { in is_escape_use()
H A Dsccp.c204 } else if (ssa_op->op2_use != -1) { in get_op2_value()
205 return &ctx->values[ssa_op->op2_use]; in get_op2_value()
327 if (ssa_op->op2_use >= 0) { in try_replace_op1()
330 ssa_op->op2_use = -1; in try_replace_op1()
359 next_op->op2_use = -1; in try_replace_op2()
2354 if ((ssa_op->op2_use >= 0 && !value_known(&ctx->values[ssa_op->op2_use])) in try_remove_definition()
2363 if (ssa_op->op2_use >= 0 && !value_known(&ctx->values[ssa_op->op2_use])) { in try_remove_definition()
2397 } else if (ssa_op->op2_use >= 0) { in try_remove_definition()
2398 if (ssa_op->op2_use != ssa_op->op1_use) { in try_remove_definition()
2401 ssa_op->op2_use = -1; in try_remove_definition()
[all …]
H A Dzend_ssa.c750 ssa_ops[k].op2_use = -1; /* not used */ in _zend_ssa_rename_op()
1092 if (op->op2_use >= 0 && op->op2_use != op->op1_use) { in zend_ssa_compute_use_def_chains()
1094 ssa_vars[op->op2_use].use_chain = i; in zend_ssa_compute_use_def_chains()
1239 if (ssa_op->op2_use >= 0) { in zend_ssa_remove_instr()
1241 ssa_op->op2_use = -1; in zend_ssa_remove_instr()
1384 if (ssa_op->op2_use == var_num) { in zend_ssa_remove_uses_of_var()
1385 ssa_op->op2_use = -1; in zend_ssa_remove_uses_of_var()
1556 } else if (ssa_op->op2_use == new) { in zend_ssa_rename_var_uses()
1574 if (ssa_op->op2_use == old) { in zend_ssa_rename_var_uses()
1575 ssa_op->op2_use = new; in zend_ssa_rename_var_uses()
[all …]
H A Ddfa_pass.c380 (ssa_op->op2_use >= 0 && ssa->vars[ssa_op->op2_use].var == var) || in variable_defined_or_used_in_range()
1095 ssa->ops[use].op2_use = cv_var; in zend_dfa_try_to_replace_result()
1255 ssa->ops[op_1].op2_use = -1; in zend_dfa_optimize_op_array()
1413 && ssa->ops[op_2].op2_use >= 0 in zend_dfa_optimize_op_array()
1426 ssa->ops[op_2].op2_use = -1; in zend_dfa_optimize_op_array()
1485 int src_var = ssa->ops[op_1].op2_use; in zend_dfa_optimize_op_array()
1518 ssa->ops[op_1].op2_use = -1; in zend_dfa_optimize_op_array()
1567 && ssa->ops[op_2].op2_use >= 0 in zend_dfa_optimize_op_array()
1580 ssa->ops[op_2].op2_use = -1; in zend_dfa_optimize_op_array()
1586 && ssa->ops[op_1].op2_use >= 0 in zend_dfa_optimize_op_array()
[all …]
H A Dzend_dfg.c225 op2_use = -1; /* not used */ in _zend_dfg_add_use_def_op()
H A Dzend_inference.c2205 || (use_op->op2_use == tmp_var && use_op->op2_use_chain < 0)) { in result_may_be_separated()
2746 COPY_SSA_OBJ_TYPE(ssa_op->op2_use, ssa_op->op1_def); in _zend_update_type_info()
2769 COPY_SSA_OBJ_TYPE(ssa_op->op2_use, ssa_op->result_def); in _zend_update_type_info()
2870 COPY_SSA_OBJ_TYPE(ssa_op->op2_use, ssa_op->op2_def); in _zend_update_type_info()
2995 COPY_SSA_OBJ_TYPE(ssa_op->op2_use, ssa_op->result_def); in _zend_update_type_info()
3786 if (ssa_op->op2_use == var_num) { in can_convert_to_double()
H A Dzend_dump.c645 int ssa_var_num = ssa_op->op2_use; in zend_dump_op()
/PHP-8.0/ext/opcache/jit/
H A Dzend_jit_trace.c1384 if (op->op2_use >= 0 && op->op2_use != op->op1_use) { in zend_jit_trace_build_tssa()
2581 if (ssa_op->op2_use >= 0 in zend_jit_trace_allocate_registers()
2592 end[ssa_op->op2_use] = -1; in zend_jit_trace_allocate_registers()
3187 if (ssa_op->op2_use >= 0 in zend_jit_trace_clenup_stack()
3188 && ra[ssa_op->op2_use] in zend_jit_trace_clenup_stack()
3489 if (ssa_op->op2_use >= 0) { in zend_jit_trace_update_condition_ranges()
3506 if (ssa_op->op2_use >= 0) { in zend_jit_trace_update_condition_ranges()
3523 if (ssa_op->op2_use >= 0) { in zend_jit_trace_update_condition_ranges()
3586 if (ssa_op->op2_use >= 0) { in zend_jit_may_skip_comparison()
3646 && ssa_op->op2_use == prev_ssa_op->op2_use) { in zend_jit_may_skip_comparison()
[all …]
H A Dzend_jit.c1250 if (op->op2_use >= 0 in zend_jit_compute_liveness()
1251 && zend_bitset_in(candidates, op->op2_use) in zend_jit_compute_liveness()
1252 && !zend_ssa_is_no_val_use(opline, op, op->op2_use)) { in zend_jit_compute_liveness()
1253 zend_bitset_incl(live, op->op2_use); in zend_jit_compute_liveness()
1373 if (ssa->ops[line].op2_use >= 0 && in zend_jit_compute_liveness()
1374 intervals[ssa->ops[line].op2_use] && in zend_jit_compute_liveness()
1384 zend_jit_add_hint(intervals, i, ssa->ops[line].op2_use); in zend_jit_compute_liveness()
1402 ssa->ops[line].op2_use >= 0 && in zend_jit_compute_liveness()
1403 intervals[ssa->ops[line].op2_use] && in zend_jit_compute_liveness()
1405 !ssa->vars[ssa->ops[line].op2_use].phi_use_chain && in zend_jit_compute_liveness()
[all …]
H A Dzend_jit_x86.h306 OP_REG_ADDR(opline, op2_type, op2, op2_use)
H A Dzend_jit_x86.dasc9934 if (ssa->var_info[ssa_op->op2_use].ce != zend_ce_closure
9935 && !(ssa->var_info[ssa_op->op2_use].type & MAY_BE_CLASS_GUARD)) {
9954 if (ssa->var_info && ssa_op->op2_use >= 0) {
9955 ssa->var_info[ssa_op->op2_use].type |= MAY_BE_CLASS_GUARD;
9956 ssa->var_info[ssa_op->op2_use].ce = zend_ce_closure;
9957 ssa->var_info[ssa_op->op2_use].is_instanceof = 0;
15891 if (ssa_op->op2_use == current_var ||
15979 (!zend_is_commutative(opline->opcode) || ssa_op->op2_use != current_var || !last_use)) {
16026 if (opline->op2_type != IS_CONST && ssa_op->op2_use != current_var) {
16082 ssa_op->op2_use != current_var) {
[all …]

Completed in 119 milliseconds