/PHP-8.0/ext/opcache/Optimizer/ |
H A D | zend_dfg.c | 28 if (opline->op1_type & (IS_CV|IS_VAR|IS_TMP_VAR)) { in _zend_dfg_add_use_def_op() 57 if (opline->op1_type == IS_CV) { in _zend_dfg_add_use_def_op() 66 if (opline->op1_type == IS_CV) { in _zend_dfg_add_use_def_op() 82 if (opline->op1_type == IS_CV) { in _zend_dfg_add_use_def_op() 93 if (next->op1_type == IS_CV) { in _zend_dfg_add_use_def_op() 97 if (opline->op1_type == IS_CV) { in _zend_dfg_add_use_def_op() 120 if (next->op1_type == IS_CV) { in _zend_dfg_add_use_def_op() 143 if (opline->op1_type == IS_CV) { in _zend_dfg_add_use_def_op() 173 if (opline->op1_type == IS_CV) { in _zend_dfg_add_use_def_op() 202 && opline->op1_type == IS_CV) { in _zend_dfg_add_use_def_op() [all …]
|
H A D | pass1.c | 50 if (opline->op1_type == IS_CONST) { in zend_optimizer_pass1() 59 if (opline->op1_type == IS_CONST) { in zend_optimizer_pass1() 86 if (opline->op1_type == IS_CONST && in zend_optimizer_pass1() 138 if (opline->op1_type == IS_CONST) { in zend_optimizer_pass1() 158 if (opline->op1_type == IS_CONST) { in zend_optimizer_pass1() 234 if (opline->op1_type == IS_CONST && in zend_optimizer_pass1() 252 opline->op1_type == IS_UNUSED && in zend_optimizer_pass1() 257 opline->op1_type == IS_VAR && in zend_optimizer_pass1() 360 opline->op1_type = IS_CONST; in zend_optimizer_pass1() 632 opline->op1_type = IS_UNUSED; in zend_optimizer_pass1() [all …]
|
H A D | block_pass.c | 158 src->op1_type == IS_CONST in zend_optimize_block() 187 src->op1_type == IS_CONST) { in zend_optimize_block() 321 if((opline->op1_type & IS_VAR) && in zend_optimize_block() 342 opline->op1_type = IS_CONST; in zend_optimize_block() 352 opline->op1_type = IS_CONST; in zend_optimize_block() 360 opline->op1_type = IS_CONST; in zend_optimize_block() 388 opline->op1_type = IS_UNUSED; in zend_optimize_block() 514 tmp_type = src->op1_type; in zend_optimize_block() 532 tmp_type = src->op1_type; in zend_optimize_block() 631 opline->op1_type = IS_UNUSED; in zend_optimize_block() [all …]
|
H A D | compact_literals.c | 184 if (opline->op1_type == IS_CONST) { in zend_optimizer_compact_literals() 192 if (opline->op1_type == IS_CONST) { in zend_optimizer_compact_literals() 213 if (opline->op1_type == IS_CONST) { in zend_optimizer_compact_literals() 236 if (opline->op1_type == IS_CONST) { in zend_optimizer_compact_literals() 247 if (opline->op1_type == IS_CONST) { in zend_optimizer_compact_literals() 266 if (opline->op1_type == IS_CONST) { in zend_optimizer_compact_literals() 301 if (opline->op1_type == IS_CONST) { in zend_optimizer_compact_literals() 313 if (opline->op1_type == IS_CONST) { in zend_optimizer_compact_literals() 529 if (opline->op1_type == IS_CONST) { in zend_optimizer_compact_literals() 557 if (opline->op1_type == IS_CONST) { in zend_optimizer_compact_literals() [all …]
|
H A D | zend_ssa.c | 198 if (op->op1_type == IS_CV) { in find_adjusted_tmp_var() 203 if (op->op1_type == IS_CV) { in find_adjusted_tmp_var() 270 if (opline->op1_type == IS_CV) { in place_essa_pis() 278 if (opline->op1_type == IS_CV) { in place_essa_pis() 575 if (opline->op1_type == IS_CV) { in _zend_ssa_rename_op() 590 if (opline->op1_type == IS_CV) { in _zend_ssa_rename_op() 596 if (opline->op1_type == IS_CV) { in _zend_ssa_rename_op() 615 if (opline->op1_type == IS_CV) { in _zend_ssa_rename_op() 625 if (next->op1_type == IS_CV) { in _zend_ssa_rename_op() 651 if (next->op1_type == IS_CV) { in _zend_ssa_rename_op() [all …]
|
H A D | dfa_pass.c | 363 && opline->op1_type == IS_CV in opline_supports_assign_contraction() 424 && send_array->op1_type == IS_CONST in zend_dfa_optimize_calls() 486 call_info->caller_call_opline->op1_type = send_needly->op1_type; in zend_dfa_optimize_calls() 787 if (opline->op1_type == IS_CONST) { in zend_dfa_optimize_jmps() 818 if (opline->op1_type == IS_CONST) { in zend_dfa_optimize_jmps() 858 opline->op1_type = IS_UNUSED; in zend_dfa_optimize_jmps() 883 opline->op1_type = IS_UNUSED; in zend_dfa_optimize_jmps() 938 if (opline->op1_type == IS_CONST in zend_dfa_optimize_jmps() 960 if (opline->op1_type == IS_CONST in zend_dfa_optimize_jmps() 1203 && opline->op1_type == IS_CONST in zend_dfa_optimize_op_array() [all …]
|
H A D | pass3.c | 93 if (opline->op1_type == IS_CONST) { in zend_optimizer_pass3() 110 if (opline->op1_type == IS_CONST) { in zend_optimizer_pass3() 120 if ((opline-1)->op1_type == IS_CV) { in zend_optimizer_pass3() 123 } else if ((opline-1)->op1_type & (IS_TMP_VAR|IS_VAR)) { in zend_optimizer_pass3() 198 if (opline->op1_type == IS_CV) { in zend_optimizer_pass3() 201 } else if (opline->op1_type & (IS_TMP_VAR|IS_VAR)) { in zend_optimizer_pass3() 345 !(opline->op1_type & (IS_VAR|IS_TMP_VAR))) { in zend_optimizer_pass3()
|
H A D | escape_analysis.c | 178 if (opline->op1_type == IS_CONST) { in is_allocation_def() 193 if (opline->op1_type == IS_CONST in is_allocation_def() 197 if (opline->op1_type == IS_CV && (OP1_INFO() & MAY_BE_ARRAY)) { in is_allocation_def() 202 if (opline->op1_type == IS_CV && (OP1_INFO() & MAY_BE_ARRAY)) { in is_allocation_def() 245 if (opline->op1_type == IS_CONST) { in is_local_def() 285 if (opline->op1_type == IS_CV) { in is_escape_use() 335 if (opline->op1_type != IS_CV in is_escape_use() 351 if (opline->op1_type != IS_CV in is_escape_use()
|
H A D | optimize_func_calls.c | 33 (opline->op1_type == IS_CONST && \ 77 if (opline->op1_type == IS_CONST) { in zend_delete_call_instructions() 79 } else if (opline->op1_type == IS_CV) { in zend_delete_call_instructions() 106 if (ret_opline->op1_type == IS_CONST) { in zend_try_inline_call() 141 opline->op1_type = IS_CONST; in zend_try_inline_call()
|
H A D | zend_optimizer.c | 334 opline->op1_type = IS_CONST; in zend_optimizer_update_op1_const() 390 if (opline->op1_type != IS_CONST) { in zend_optimizer_update_op2_const() 437 if (opline->op1_type != IS_CONST) { in zend_optimizer_update_op2_const() 537 if (opline->op1_type == type && in zend_optimizer_replace_by_const() 577 m->op1_type == type && in zend_optimizer_replace_by_const() 585 m->op1_type = IS_CONST; in zend_optimizer_replace_by_const() 622 opline->op1_type = IS_CONST; in zend_optimizer_replace_by_const() 767 if (opline->op1_type == IS_CONST) { in get_class_entry_from_op1() 850 if (opline->op1_type == IS_UNUSED in zend_optimizer_get_called_func() 1046 if (opline->op1_type == IS_CONST) { in zend_revert_pass_two() [all …]
|
H A D | compact_vars.c | 39 if (opline->op1_type & (IS_CV|IS_VAR|IS_TMP_VAR)) { in zend_optimizer_compact_vars() 87 if (opline->op1_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() 224 if (opline->op1_type != IS_CONST in may_have_side_effects() 401 if ((opline->op1_type & (IS_VAR|IS_TMP_VAR))&& !is_var_dead(ctx, ssa_op->op1_use)) { in dce_instr() 406 free_var_type = opline->op1_type; in dce_instr() 430 opline->op1_type = free_var_type; in dce_instr()
|
H A D | zend_inference.c | 2114 if (opline->op1_type == IS_UNUSED) { in zend_fetch_prop_info() 2134 if (opline->op1_type == IS_CONST) { in zend_fetch_static_prop_info() 2446 if (opline->op1_type == IS_CV) { in _zend_update_type_info() 2452 if (opline->op1_type == IS_CV) { in _zend_update_type_info() 2618 if (opline->op1_type == IS_CV) { in _zend_update_type_info() 2661 if (opline->op1_type == IS_CV) { in _zend_update_type_info() 2704 if (opline->op1_type == IS_CV) { in _zend_update_type_info() 2795 if (opline->op1_type == IS_CV) { in _zend_update_type_info() 3042 if (opline->op1_type != IS_UNUSED in _zend_update_type_info() 3319 opline->op1_type, in _zend_update_type_info() [all …]
|
H A D | optimize_temp_vars_5.c | 81 if ((opline->op1_type & (IS_VAR | IS_TMP_VAR))) { in zend_optimize_temporary_variables()
|
H A D | zend_dump.c | 580 if (opline->op1_type == IS_CONST) { in zend_dump_op() 582 } else if (opline->op1_type & (IS_CV|IS_VAR|IS_TMP_VAR)) { in zend_dump_op() 587 …zend_dump_ssa_var(op_array, ssa, ssa_var_num, opline->op1_type, EX_VAR_TO_NUM(opline->op1.var), du… in zend_dump_op() 590 zend_dump_var(op_array, opline->op1_type, EX_VAR_TO_NUM(opline->op1.var)); in zend_dump_op() 594 zend_dump_var(op_array, opline->op1_type, EX_VAR_TO_NUM(opline->op1.var)); in zend_dump_op() 600 …zend_dump_ssa_var(op_array, ssa, ssa_var_num, opline->op1_type, EX_VAR_TO_NUM(opline->op1.var), du… in zend_dump_op()
|
/PHP-8.0/ext/opcache/jit/ |
H A D | zend_jit_x86.h | 291 OP_ADDR(opline, op1_type, op1) 297 OP_ADDR(opline + 1, op1_type, op1) 304 OP_REG_ADDR(opline, op1_type, op1, op1_use) 310 OP_REG_ADDR(opline + 1, op1_type, op1, op1_use) 313 OP_REG_ADDR(opline, op1_type, op1, op1_def) 319 OP_REG_ADDR(opline + 1, op1_type, op1, op1_def)
|
H A D | zend_jit_trace.c | 1550 op1_type = orig_op1_type = p->op1_type; in zend_jit_trace_build_tssa() 1554 op1_type = IS_UNKNOWN; in zend_jit_trace_build_tssa() 1755 if (opline->op1_type == IS_VAR || opline->op1_type == IS_TMP_VAR) { in zend_jit_trace_build_tssa() 1773 && op1_type == IS_ARRAY in zend_jit_trace_build_tssa() 3975 uint8_t op1_type = p->op1_type; in zend_jit_trace() local 3986 op1_type = IS_UNKNOWN; in zend_jit_trace() 4860 op1_type = IS_NULL; in zend_jit_trace() 4924 op1_type = IS_NULL; in zend_jit_trace() 5118 res_type = op1_type; in zend_jit_trace() 5300 if (opline->op1_type == IS_VAR || opline->op1_type == IS_TMP_VAR) { in zend_jit_trace() [all …]
|
H A D | zend_jit_vm_helpers.c | 360 trace_buffer[idx].op1_type = _op1_type; \ 557 uint8_t trace_flags, op1_type, op2_type, op3_type; local 619 op1_type = op2_type = op3_type = IS_UNKNOWN; 620 if ((opline->op1_type & (IS_TMP_VAR|IS_VAR|IS_CV)) 627 op1_type = Z_TYPE_P(zv); 630 if (op1_type == IS_INDIRECT) { 632 op1_type = Z_TYPE_P(zv); 635 if (op1_type == IS_REFERENCE) { 637 op1_type = Z_TYPE_P(zv); 647 op1_type |= flags; [all …]
|
H A D | zend_jit_x86.dasc | 10730 if (opline->op1_type == IS_VAR) { 13122 if (opline->op1_type == IS_VAR 13447 if (opline->op1_type == IS_VAR 13469 && opline->op1_type != IS_VAR 13520 if (opline->op1_type == IS_VAR 13902 if (opline->op1_type == IS_VAR 14247 if (opline->op1_type == IS_VAR 15441 ZEND_ASSERT(opline->op1_type != IS_VAR && opline->op1_type != IS_TMP_VAR); 15671 opline->op1_type == IS_CV && 15900 if (opline->op1_type == IS_CV [all …]
|
H A D | zend_jit_disasm_x86.c | 543 opline.op1_type = IS_CONST; in zend_jit_disasm_init() 548 opline.op1_type = IS_TMP_VAR; in zend_jit_disasm_init() 553 opline.op1_type = IS_VAR; in zend_jit_disasm_init() 558 opline.op1_type = IS_CV; in zend_jit_disasm_init()
|
H A D | zend_jit_internal.h | 282 uint8_t op1_type;/* recorded zval op1_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() 525 return (opline->op1_type != IS_CONST); in zend_jit_may_be_polymorphic_call()
|
H A D | zend_jit.c | 2338 if (opline->op1_type != IS_CV) { in zend_jit() 2577 if (opline->op1_type != IS_CV) { in zend_jit() 2603 if (opline->op1_type == IS_UNUSED) { in zend_jit() 2650 if (opline->op1_type == IS_UNUSED) { in zend_jit() 2690 if (opline->op1_type == IS_UNUSED) { in zend_jit() 2720 if (opline->op1_type != IS_CV) { in zend_jit() 3095 if (opline->op1_type == IS_VAR || opline->op1_type == IS_TMP_VAR) { in zend_jit() 3144 if (opline->op1_type != IS_CV) { in zend_jit() 3196 if (opline->op1_type == IS_UNUSED) { in zend_jit() 3284 if (opline->op1_type == IS_UNUSED) { in zend_jit() [all …]
|
H A D | zend_jit_helpers.c | 99 if (Z_TYPE_P(object) == IS_UNDEF && opline->op1_type == IS_CV) { in zend_jit_invalid_method_call() 864 && ((opline+1)->op1_type & (IS_VAR | IS_TMP_VAR))) { in zend_jit_fetch_dim_w_helper() 890 && ((EG(opline_before_exception)+1)->op1_type & (IS_VAR|IS_TMP_VAR))) { in zend_jit_fetch_dim_w_helper() 1139 if (opline->op1_type == IS_VAR && opline->op1.var == var) { in zend_wrong_string_offset() 1273 ZEND_ASSERT(op_data->opcode == ZEND_OP_DATA && op_data->op1_type == IS_CV); in zend_assign_to_string_offset() 1461 ZEND_ASSERT(op_data->opcode == ZEND_OP_DATA && op_data->op1_type == IS_CV); in zend_jit_assign_dim_helper() 1493 ZEND_ASSERT(op_data->opcode == ZEND_OP_DATA && op_data->op1_type == IS_CV); in zend_jit_assign_dim_helper() 2308 if (Z_TYPE_P(container) == IS_UNDEF && opline->op1_type == IS_CV) { in zend_jit_invalid_property_incdec() 2319 if (opline->op1_type == IS_VAR) { in zend_jit_invalid_property_incdec() 2415 ZEND_ASSERT(op_data->opcode == ZEND_OP_DATA && op_data->op1_type == IS_CV); in zend_jit_assign_obj_helper() [all …]
|
/PHP-8.0/sapi/phpdbg/ |
H A D | phpdbg_opcode.c | 103 ops, opline, opline->op1, opline->op1_type, ZEND_VM_OP1_FLAGS(flags)); in phpdbg_decode_opline()
|
/PHP-8.0/Zend/ |
H A D | zend_execute.c | 1323 FREE_OP((opline+1)->op1_type, (opline+1)->op1.var); in zend_binary_assign_op_obj_dim() 3018 zend_uchar op1_type = opline->op1_type, op2_type = opline->op2_type; in zend_fetch_static_property_address_ex() local 3028 FREE_OP(op1_type, opline->op1.var); in zend_fetch_static_property_address_ex() 3031 if (UNEXPECTED(op1_type != IS_CONST)) { in zend_fetch_static_property_address_ex() 3039 FREE_OP(op1_type, opline->op1.var); in zend_fetch_static_property_address_ex() 3052 if (EXPECTED(op1_type == IS_CONST)) { in zend_fetch_static_property_address_ex() 3069 if (UNEXPECTED(op1_type != IS_CONST)) { in zend_fetch_static_property_address_ex() 3072 FREE_OP(op1_type, opline->op1.var); in zend_fetch_static_property_address_ex() 3082 if (EXPECTED(op1_type == IS_CONST)) { in zend_fetch_static_property_address_ex() 4188 tmp_type = op->op1_type; in zend_swap_operands() [all …]
|