/PHP-8.0/ext/opcache/Optimizer/ |
H A D | optimize_func_calls.c | 36 (opline->op2_type == IS_CONST && \ 243 && opline->op2_type == IS_UNUSED) { in zend_optimize_func_calls() 260 if (opline->op2_type == IS_CONST) { in zend_optimize_func_calls() 275 if (opline->op2_type == IS_CONST) { in zend_optimize_func_calls() 288 if (opline->op2_type == IS_CONST) { in zend_optimize_func_calls() 303 if (opline->op2_type == IS_CONST) { in zend_optimize_func_calls() 320 if (opline->op2_type == IS_CONST) { in zend_optimize_func_calls()
|
H A D | compact_literals.c | 187 if (opline->op2_type == IS_CONST) { in zend_optimizer_compact_literals() 195 if (opline->op2_type == IS_CONST) { in zend_optimizer_compact_literals() 233 if (opline->op2_type == IS_CONST) { in zend_optimizer_compact_literals() 242 if (opline->op2_type == IS_CONST) { in zend_optimizer_compact_literals() 269 if (opline->op2_type == IS_CONST) { in zend_optimizer_compact_literals() 285 if (opline->op2_type == IS_CONST) { in zend_optimizer_compact_literals() 304 if (opline->op2_type == IS_CONST) { in zend_optimizer_compact_literals() 316 if (opline->op2_type == IS_CONST) { in zend_optimizer_compact_literals() 532 if (opline->op2_type == IS_CONST) { in zend_optimizer_compact_literals() 581 if (opline->op2_type == IS_CONST) { in zend_optimizer_compact_literals() [all …]
|
H A D | pass1.c | 55 if (opline->op2_type == IS_CONST) { in zend_optimizer_pass1() 87 opline->op2_type == IS_CONST) { in zend_optimizer_pass1() 107 if (opline->op2_type == IS_CONST) { in zend_optimizer_pass1() 175 if (opline->op2_type == IS_CONST && in zend_optimizer_pass1() 203 if (opline->op2_type == IS_CONST && in zend_optimizer_pass1() 229 if (opline->op2_type == IS_CONST && in zend_optimizer_pass1() 259 ((opline - 1)->op2_type == IS_UNUSED && in zend_optimizer_pass1() 337 init_opline->op2_type != IS_CONST || in zend_optimizer_pass1() 361 opline->op2_type = IS_CONST; in zend_optimizer_pass1() 570 ((opline + 1)->op2_type != IS_CONST || in zend_optimizer_pass1() [all …]
|
H A D | zend_dfg.c | 34 if (((opline->op2_type & (IS_VAR|IS_TMP_VAR)) != 0 in _zend_dfg_add_use_def_op() 37 || (opline->op2_type == IS_CV)) { in _zend_dfg_add_use_def_op() 54 if ((build_flags & ZEND_SSA_RC_INFERENCE) && opline->op2_type == IS_CV) { in _zend_dfg_add_use_def_op() 63 if (opline->op2_type == IS_CV) { in _zend_dfg_add_use_def_op() 224 if (opline->op2_type != IS_CV) { in _zend_dfg_add_use_def_op()
|
H A D | block_pass.c | 183 if (opline->op2_type == IS_TMP_VAR) { in zend_optimize_block() 389 opline->op2_type = IS_UNUSED; in zend_optimize_block() 408 opline->op2_type == IS_CONST) { in zend_optimize_block() 516 src->op2_type = tmp_type; in zend_optimize_block() 534 src->op2_type = tmp_type; in zend_optimize_block() 715 src->op2_type == IS_CONST) { in zend_optimize_block() 783 opline->op2_type = IS_UNUSED; in zend_optimize_block() 793 opline->op2_type = IS_UNUSED; in zend_optimize_block() 1005 if (op->op2_type == IS_CONST) { in assemble_code_blocks() 1616 if (opline->op2_type == IS_VAR) { in zend_t_usage() [all …]
|
H A D | dfa_pass.c | 1099 op_array->opcodes[use].op2_type = IS_CV; in zend_dfa_try_to_replace_result() 1190 && opline->op2_type == IS_CONST in zend_dfa_optimize_op_array() 1249 opline->op1_type = opline->op2_type; in zend_dfa_optimize_op_array() 1251 opline->op2_type = IS_UNUSED; in zend_dfa_optimize_op_array() 1282 opline->op2_type = IS_UNUSED; in zend_dfa_optimize_op_array() 1487 if ((opline->op2_type & (IS_TMP_VAR|IS_VAR)) in zend_dfa_optimize_op_array() 1584 } else if (opline->op2_type == IS_CONST in zend_dfa_optimize_op_array() 1609 opline->op1_type = opline->op2_type; in zend_dfa_optimize_op_array() 1611 opline->op2_type = IS_UNUSED; in zend_dfa_optimize_op_array() 1620 && opline->op2_type == IS_CONST in zend_dfa_optimize_op_array() [all …]
|
H A D | compact_vars.c | 42 if (opline->op2_type & (IS_CV|IS_VAR|IS_TMP_VAR)) { in zend_optimizer_compact_vars() 90 if (opline->op2_type & (IS_CV|IS_VAR|IS_TMP_VAR)) { in zend_optimizer_compact_vars()
|
H A D | dce.c | 132 if ((opline->op1_type & (IS_VAR|IS_TMP_VAR)) && (opline->op2_type & (IS_VAR|IS_TMP_VAR))) { in may_have_side_effects() 184 if (opline->op2_type != IS_CONST in may_have_side_effects() 410 if ((opline->op2_type & (IS_VAR|IS_TMP_VAR)) && !is_var_dead(ctx, ssa_op->op2_use)) { in dce_instr() 419 free_var_type = opline->op2_type; in dce_instr() 497 return opline->opcode == ZEND_ADD_ARRAY_ELEMENT && opline->op2_type == IS_UNUSED; in may_throw_dce_exception()
|
H A D | zend_optimizer.c | 242 if (opline->op2_type != IS_CONST) { in zend_optimizer_update_op1_const() 251 if (opline->op2_type != IS_CONST) { in zend_optimizer_update_op1_const() 325 if (opline->opcode == ZEND_CONCAT && opline->op2_type == IS_CONST) { in zend_optimizer_update_op1_const() 521 opline->op2_type = IS_CONST; in zend_optimizer_update_op2_const() 663 if (opline->op2_type == type && in zend_optimizer_replace_by_const() 816 if (opline->op2_type == IS_CONST && Z_TYPE_P(CRT_CONSTANT(opline->op2)) == IS_STRING) { in zend_optimizer_get_called_func() 833 if (opline->op2_type == IS_CONST && Z_TYPE_P(CRT_CONSTANT(opline->op2)) == IS_STRING) { in zend_optimizer_get_called_func() 851 && opline->op2_type == IS_CONST && Z_TYPE_P(CRT_CONSTANT(opline->op2)) == IS_STRING in zend_optimizer_get_called_func() 1049 if (opline->op2_type == IS_CONST) { in zend_revert_pass_two() 1099 if (opline->op2_type == IS_CONST) { in zend_redo_pass_two() [all …]
|
H A D | zend_ssa.c | 208 if (op->op1_type == IS_CV && op->op2_type == IS_CONST) { in find_adjusted_tmp_var() 215 } else if (op->op2_type == IS_CV && op->op1_type == IS_CONST) { in find_adjusted_tmp_var() 224 if (op->op1_type == IS_CV && op->op2_type == IS_CONST) { in find_adjusted_tmp_var() 315 if ((opline-1)->op2_type == IS_CV) { in place_essa_pis() 317 } else if ((opline-1)->op2_type == IS_TMP_VAR) { in place_essa_pis() 333 if ((opline-1)->op2_type == IS_CONST) { in place_essa_pis() 528 (opline-1)->op2_type == IS_CONST) { in place_essa_pis() 556 if (opline->op2_type & (IS_CV|IS_VAR|IS_TMP_VAR)) { in _zend_ssa_rename_op() 584 if (opline->op2_type == IS_CV) { in _zend_ssa_rename_op() 749 if (opline->op2_type != IS_CV) { in _zend_ssa_rename_op() [all …]
|
H A D | escape_analysis.c | 210 if (opline->op2_type == IS_CONST in is_allocation_def() 214 if (opline->op2_type == IS_CV && (OP2_INFO() & MAY_BE_ARRAY)) { in is_allocation_def() 357 if (opline->op2_type == IS_CV || opline->result_type != IS_UNUSED) { in is_escape_use()
|
H A D | zend_inference.c | 2111 if (opline->op2_type == IS_CONST) { in zend_fetch_prop_info() 2136 if (opline->op2_type == IS_UNUSED) { in zend_fetch_static_prop_info() 2774 if (opline->op2_type == IS_CV) { in _zend_update_type_info() 2965 if (opline->op2_type == IS_UNUSED) { in _zend_update_type_info() 3043 && (opline->op2_type == IS_UNUSED in _zend_update_type_info() 3321 opline->op2_type == IS_UNUSED); in _zend_update_type_info() 4307 if (opline->op2_type == IS_CV) { in zend_may_throw_ex() 4368 return opline->op2_type == IS_CONST; in zend_may_throw_ex() 4528 if (opline->op2_type != IS_CONST) { in zend_may_throw_ex() 4616 if (opline->op2_type == IS_CV in zend_may_throw_ex() [all …]
|
H A D | optimize_temp_vars_5.c | 142 if ((opline->op2_type & (IS_VAR | IS_TMP_VAR))) { in zend_optimize_temporary_variables()
|
H A D | zend_dump.c | 616 if (opline->op2_type == IS_CONST) { in zend_dump_op() 643 } else if (opline->op2_type & (IS_CV|IS_VAR|IS_TMP_VAR)) { in zend_dump_op() 648 …zend_dump_ssa_var(op_array, ssa, ssa_var_num, opline->op2_type, EX_VAR_TO_NUM(opline->op2.var), du… in zend_dump_op() 651 zend_dump_var(op_array, opline->op2_type, EX_VAR_TO_NUM(opline->op2.var)); in zend_dump_op() 655 zend_dump_var(op_array, opline->op2_type, EX_VAR_TO_NUM(opline->op2.var)); in zend_dump_op() 661 …zend_dump_ssa_var(op_array, ssa, ssa_var_num, opline->op2_type, EX_VAR_TO_NUM(opline->op2.var), du… in zend_dump_op()
|
H A D | zend_call_graph.c | 127 if (opline->op2_type == IS_CONST) { in zend_analyze_calls()
|
H A D | sccp.c | 202 if (opline->op2_type == IS_CONST) { in get_op2_value() 326 opline->op2_type = IS_UNUSED; in try_replace_op1() 2312 } else if ((opline->op2_type & (IS_VAR|IS_TMP_VAR)) in try_remove_definition() 2369 if (opline->op2_type == IS_UNUSED) { in try_remove_definition() 2395 if (opline->op2_type == IS_CONST) { in try_remove_definition() 2425 opline->op2_type = IS_CONST; in try_remove_definition()
|
/PHP-8.0/ext/opcache/jit/ |
H A D | zend_jit_vm_helpers.c | 361 trace_buffer[idx].op2_type = _op2_type; \ 557 uint8_t trace_flags, op1_type, op2_type, op3_type; local 619 op1_type = op2_type = op3_type = IS_UNKNOWN; 649 if (opline->op2_type & (IS_TMP_VAR|IS_VAR|IS_CV) 666 && (opline->op2_type == IS_CV 672 op2_type = Z_TYPE_P(zv); 673 if (op2_type == IS_INDIRECT) { 675 op2_type = Z_TYPE_P(zv); 678 if (op2_type == IS_REFERENCE) { 680 op2_type = Z_TYPE_P(zv); [all …]
|
H A D | zend_jit_x86.h | 293 OP_ADDR(opline, op2_type, op2) 306 OP_REG_ADDR(opline, op2_type, op2, op2_use) 315 OP_REG_ADDR(opline, op2_type, op2, op2_def)
|
H A D | zend_jit_trace.c | 1551 op2_type = orig_op2_type = p->op2_type; in zend_jit_trace_build_tssa() 1560 op2_type = IS_UNKNOWN; in zend_jit_trace_build_tssa() 1637 if (opline->op2_type != IS_CONST in zend_jit_trace_build_tssa() 1777 && op2_type == IS_LONG))) { in zend_jit_trace_build_tssa() 3252 if (opline->op2_type != IS_CONST in zend_jit_may_delay_fetch_this() 3976 uint8_t op2_type = p->op2_type; in zend_jit_trace() local 3979 uint8_t orig_op2_type = op2_type; in zend_jit_trace() 3992 op2_type = IS_UNKNOWN; in zend_jit_trace() 4781 if (opline->op2_type == IS_CV in zend_jit_trace() 6929 op2_type = p->op2_type; in zend_jit_dump_trace() [all …]
|
H A D | zend_jit_internal.h | 283 uint8_t op2_type;/* recorded zval op2_type for ZEND_JIT_TRACE_VM */ 521 return (opline->op1_type != IS_CONST || opline->op2_type != IS_CONST); in zend_jit_may_be_polymorphic_call() 523 return (opline->op2_type != IS_CONST); in zend_jit_may_be_polymorphic_call()
|
H A D | zend_jit_x86.dasc | 2009 | cmp byte OP:r0->op2_type, IS_CONST 2069 | cmp byte OP:r0->op2_type, IS_CONST 5049 && opline->op2_type != IS_CONST) { 6523 if (opline->op2_type == IS_UNUSED) { 8231 if (opline->op2_type != IS_CONST) { 8265 if (opline->op2_type != IS_CONST) { 8453 if (opline->op2_type == IS_CONST) { 9233 if (opline->op2_type == IS_CV) { 11982 && opline->op2_type == IS_CONST 15344 if (opline->op2_type == IS_CV) { [all …]
|
H A D | zend_jit.c | 2402 && (opline+1)->op2_type != IS_CONST in zend_jit() 2460 && (opline+1)->op2_type != IS_CONST in zend_jit() 2593 if (opline->op2_type != IS_CONST in zend_jit() 2636 if (opline->op2_type != IS_CONST in zend_jit() 2680 if (opline->op2_type != IS_CONST in zend_jit() 2792 if (opline->op2_type == IS_CONST) { in zend_jit() 2806 if (opline->op2_type == IS_CONST) { in zend_jit() 2820 if (opline->op2_type == IS_CONST) { in zend_jit() 2843 if (opline->op2_type == IS_CONST) { in zend_jit() 3189 if (opline->op2_type != IS_CONST in zend_jit() [all …]
|
/PHP-8.0/sapi/phpdbg/ |
H A D | phpdbg_opcode.c | 107 ops, opline, opline->op2, opline->op2_type, ZEND_VM_OP2_FLAGS(flags)); in phpdbg_decode_opline()
|
/PHP-8.0/Zend/ |
H A D | zend_opcode.c | 767 ((use_opline->op2_type & (IS_TMP_VAR|IS_VAR)) && use_opline->op2.var == rt_var_num) in emit_live_range() 874 if (opline->op2_type & (IS_TMP_VAR|IS_VAR)) { in zend_calc_live_ranges() 1088 if (opline->op2_type == IS_CONST) { in pass_two() 1090 } else if (opline->op2_type & (IS_VAR|IS_TMP_VAR)) { in pass_two()
|
H A D | zend_compile.h | 38 (opline)->op2_type = IS_UNUSED; \ 151 zend_uchar op2_type; member
|