/PHP-8.1/Zend/Optimizer/ |
H A D | compact_literals.c | 533 opline->extended_value = cache_size; in zend_optimizer_compact_literals() 605 opline->extended_value = cache_size | (opline->extended_value & ZEND_FETCH_OBJ_FLAGS); in zend_optimizer_compact_literals() 618 …opline->extended_value = property_slot[opline->op2.constant] | (opline->extended_value & ZEND_ISEM… in zend_optimizer_compact_literals() 620 opline->extended_value = cache_size | (opline->extended_value & ZEND_ISEMPTY); in zend_optimizer_compact_literals() 684 opline->extended_value = cache_size; in zend_optimizer_compact_literals() 694 opline->extended_value = cache_size; in zend_optimizer_compact_literals() 735 opline->extended_value = cache_size | (opline->extended_value & ZEND_FETCH_OBJ_FLAGS); in zend_optimizer_compact_literals() 743 opline->extended_value = cache_size | (opline->extended_value & ZEND_FETCH_OBJ_FLAGS); in zend_optimizer_compact_literals() 778 …opline->extended_value = class_slot[opline->op1.constant] | (opline->extended_value & ZEND_LAST_CA… in zend_optimizer_compact_literals() 780 opline->extended_value = cache_size | (opline->extended_value & ZEND_LAST_CATCH); in zend_optimizer_compact_literals() [all …]
|
H A D | pass3.c | 99 opline->extended_value = ZEND_OPLINE_TO_OFFSET(opline, in zend_optimizer_pass3() 100 ZEND_OFFSET_TO_OPLINE(target, target->extended_value)); in zend_optimizer_pass3() 131 (opline-1)->extended_value = ZEND_OPLINE_TO_OFFSET((opline-1), target); in zend_optimizer_pass3() 133 (opline-1)->extended_value = ZEND_OPLINE_TO_OFFSET((opline-1), ZEND_OP2_JMP_ADDR(opline-1)); in zend_optimizer_pass3() 185 ZEND_OFFSET_TO_OPLINE(target, target->extended_value); in zend_optimizer_pass3() 241 ZEND_OFFSET_TO_OPLINE(target, target->extended_value); in zend_optimizer_pass3() 315 target = ZEND_OFFSET_TO_OPLINE(opline, opline->extended_value); in zend_optimizer_pass3() 333 target = ZEND_OFFSET_TO_OPLINE(target, target->extended_value); in zend_optimizer_pass3() 340 opline->extended_value = ZEND_OPLINE_TO_OFFSET(opline, target); in zend_optimizer_pass3() 350 opline->extended_value = 0; in zend_optimizer_pass3()
|
H A D | zend_optimizer.c | 218 …opline->extended_value = alloc_cache_slots(op_array, 1) | (opline->extended_value & ZEND_LAST_CATC… in zend_optimizer_update_op1_const() 277 …opline->extended_value = alloc_cache_slots(op_array, 3) | (opline->extended_value & ZEND_FETCH_OBJ… in zend_optimizer_update_op1_const() 471 … opline->extended_value = alloc_cache_slots(op_array, 3) | (opline->extended_value & ZEND_ISEMPTY); in zend_optimizer_update_op2_const() 554 opline->extended_value = 0; in zend_optimizer_replace_by_const() 559 opline->extended_value = 0; in zend_optimizer_replace_by_const() 670 if (!(opline->extended_value & ZEND_LAST_CATCH)) { in zend_optimizer_migrate_jump() 697 …extended_value = ZEND_OPLINE_NUM_TO_OFFSET(op_array, opline, ZEND_OFFSET_TO_OPLINE_NUM(op_array, o… in zend_optimizer_shift_jump() 712 if (!(opline->extended_value & ZEND_LAST_CATCH)) { in zend_optimizer_shift_jump() 718 …extended_value = ZEND_OPLINE_NUM_TO_OFFSET(op_array, opline, ZEND_OFFSET_TO_OPLINE_NUM(op_array, o… in zend_optimizer_shift_jump() 729 …extended_value = ZEND_OPLINE_NUM_TO_OFFSET(op_array, opline, ZEND_OFFSET_TO_OPLINE_NUM(op_array, o… in zend_optimizer_shift_jump() [all …]
|
H A D | pass1.c | 124 opline->extended_value = 0; in zend_optimizer_pass1() 170 opline->extended_value = 0; in zend_optimizer_pass1() 197 opline->extended_value = 0; in zend_optimizer_pass1() 268 opline->extended_value = 0; in zend_optimizer_pass1() 382 opline->extended_value = 0; in zend_optimizer_pass1() 425 opline->extended_value = 0; in zend_optimizer_pass1() 444 opline->extended_value = 0; in zend_optimizer_pass1() 469 opline->extended_value = 0; in zend_optimizer_pass1() 546 (opline + 1)->extended_value = ZEND_FETCH_GLOBAL; in zend_optimizer_pass1() 549 (opline + 1)->extended_value |= ZEND_FETCH_GLOBAL; in zend_optimizer_pass1() [all …]
|
H A D | optimize_func_calls.c | 81 opline->extended_value = 0; in zend_delete_call_instructions() 85 opline->extended_value = 0; in zend_delete_call_instructions() 101 && fcall->extended_value >= func->op_array.required_num_args in zend_try_inline_call() 124 if (fcall->extended_value < func->op_array.num_args) { in zend_try_inline_call() 126 i = fcall->extended_value; in zend_try_inline_call() 215 fcall->op1.num = zend_vm_calc_used_stack(fcall->extended_value, call_stack[call].func); in zend_optimize_func_calls() 223 fcall->op1.num = zend_vm_calc_used_stack(fcall->extended_value, call_stack[call].func); in zend_optimize_func_calls()
|
H A D | zend_dump.c | 449 fprintf(stderr, " %u", opline->extended_value); in zend_dump_op() 453 switch (opline->extended_value) { in zend_dump_op() 498 switch (opline->extended_value) { in zend_dump_op() 535 switch (opline->extended_value) { in zend_dump_op() 556 if (opline->extended_value == ZEND_RETURNS_VALUE) { in zend_dump_op() 558 } else if (opline->extended_value & ZEND_RETURNS_FUNCTION) { in zend_dump_op() 563 if (opline->extended_value & ZEND_FETCH_GLOBAL) { in zend_dump_op() 565 } else if (opline->extended_value & ZEND_FETCH_LOCAL) { in zend_dump_op() 572 if (!(opline->extended_value & ZEND_ISEMPTY)) { in zend_dump_op() 580 if (!(opline->extended_value & ZEND_ARRAY_NOT_PACKED)) { in zend_dump_op() [all …]
|
H A D | zend_cfg.c | 310 if (opline->extended_value != ZEND_THROW_IS_EXPR && i + 1 < op_array->last) { in zend_build_cfg() 345 Z_STR_P(zv), opline->extended_value); in zend_build_cfg() 366 BB_START(ZEND_OFFSET_TO_OPLINE_NUM(op_array, opline, opline->extended_value)); in zend_build_cfg() 383 if (!(opline->extended_value & ZEND_LAST_CATCH)) { in zend_build_cfg() 390 BB_START(ZEND_OFFSET_TO_OPLINE_NUM(op_array, opline, opline->extended_value)); in zend_build_cfg() 407 BB_START(ZEND_OFFSET_TO_OPLINE_NUM(op_array, opline, opline->extended_value)); in zend_build_cfg() 419 if (opline->extended_value & ZEND_FETCH_LOCAL) { in zend_build_cfg() 421 } else if ((opline->extended_value & (ZEND_FETCH_GLOBAL | ZEND_FETCH_GLOBAL_LOCK)) && in zend_build_cfg() 525 …ck->successors[1] = block_map[ZEND_OFFSET_TO_OPLINE_NUM(op_array, opline, opline->extended_value)]; in zend_build_cfg() 540 if (!(opline->extended_value & ZEND_LAST_CATCH)) { in zend_build_cfg() [all …]
|
H A D | dfa_pass.c | 364 && (opline->extended_value == IS_ARRAY || opline->extended_value == IS_OBJECT)) { in opline_supports_assign_contraction() 872 opline->extended_value = 0; in zend_dfa_optimize_jmps() 1010 opline->extended_value = 0; in zend_dfa_optimize_jmps() 1032 opline->extended_value = 0; in zend_dfa_optimize_jmps() 1678 && opline->extended_value == ZEND_ADD in zend_dfa_optimize_op_array() 1689 opline->extended_value = 0; in zend_dfa_optimize_op_array() 1693 && opline->extended_value == ZEND_SUB in zend_dfa_optimize_op_array() 1704 opline->extended_value = 0; in zend_dfa_optimize_op_array() 1712 && opline->extended_value != ZEND_CONCAT) { in zend_dfa_optimize_op_array() 1721 opline->opcode = opline->extended_value; in zend_dfa_optimize_op_array() [all …]
|
H A D | sccp.c | 261 return !(opline->extended_value & ZEND_ARRAY_ELEMENT_REF); in can_replace_op1() 469 if (!(extended_value & ZEND_ISEMPTY)) { in ct_eval_isset_isempty() 492 return ct_eval_isset_isempty(result, extended_value, value); in ct_eval_isset_dim() 497 ZVAL_BOOL(result, (extended_value & ZEND_ISEMPTY)); in ct_eval_isset_dim() 676 return ct_eval_isset_isempty(result, extended_value, value); in ct_eval_isset_obj() 678 ZVAL_BOOL(result, (extended_value & ZEND_ISEMPTY)); in ct_eval_isset_obj() 760 } else if (extended_value) { in ct_eval_in_array() 1015 uint32_t expected_type_mask = opline->extended_value; in sccp_visit_instr() 1264 || (opline->extended_value & ZEND_ARRAY_ELEMENT_REF)) { in sccp_visit_instr() 1715 switch (opline->extended_value) { in sccp_visit_instr() [all …]
|
H A D | optimize_temp_vars_5.c | 83 …int num = (((opline->extended_value + 1) * sizeof(zend_string*)) + (sizeof(zval) - 1)) / sizeof(zv… in zend_optimize_temporary_variables() 165 …uint32_t num = ((opline->extended_value * sizeof(zend_string*)) + (sizeof(zval) - 1)) / sizeof(zva… in zend_optimize_temporary_variables()
|
H A D | zend_optimizer_internal.h | 75 return (opline->opcode == ZEND_FE_FREE && opline->extended_value != ZEND_FREE_ON_RETURN) in zend_optimizer_is_loop_var_free() 76 || (opline->opcode == ZEND_FREE && opline->extended_value == ZEND_FREE_SWITCH); in zend_optimizer_is_loop_var_free()
|
H A D | zend_inference.c | 1325 if (opline->extended_value == IS_LONG) { in zend_inference_propagate_range() 1507 opline->extended_value, tmp); in zend_inference_propagate_range() 2621 tmp = 1 << opline->extended_value; in _zend_update_type_info() 2634 if (opline->extended_value == IS_ARRAY in _zend_update_type_info() 2727 ssa, opline->extended_value, t1, t2, in _zend_update_type_info() 4172 opcode = opline->extended_value; in can_convert_to_double() 4952 opline->extended_value == ZEND_MOD) { in zend_may_throw_ex() 4961 opline->extended_value == ZEND_MUL || in zend_may_throw_ex() 4962 opline->extended_value == ZEND_POW) { in zend_may_throw_ex() 4966 opline->extended_value == ZEND_SR) { in zend_may_throw_ex() [all …]
|
H A D | block_pass.c | 221 src->extended_value == IS_STRING) { in zend_optimize_block() 342 VAR_SOURCE(opline->op1)->extended_value == 1) { in zend_optimize_block() 642 zend_op *target_opline = ZEND_OFFSET_TO_OPLINE(opline, opline->extended_value); in zend_optimize_block() 651 opline->extended_value = 0; in zend_optimize_block() 771 src->extended_value == IS_STRING && in zend_optimize_block() 784 src->extended_value == IS_STRING && in zend_optimize_block() 800 opline->extended_value = IS_STRING; in zend_optimize_block() 811 opline->extended_value = IS_STRING; in zend_optimize_block() 890 opline->extended_value = 0; in zend_optimize_block() 1066 if (!(opline->extended_value & ZEND_LAST_CATCH)) { in assemble_code_blocks() [all …]
|
H A D | zend_call_graph.c | 68 …ena, 1, sizeof(zend_call_info) + (sizeof(zend_send_arg_info) * ((int)opline->extended_value - 1))); in zend_analyze_calls() 73 call_info->num_args = opline->extended_value; in zend_analyze_calls()
|
H A D | compact_vars.c | 47 …uint32_t num = ((opline->extended_value * sizeof(zend_string*)) + (sizeof(zval) - 1)) / sizeof(zva… in zend_optimizer_compact_vars()
|
H A D | zend_dfg.c | 200 || (opline->extended_value & ZEND_ARRAY_ELEMENT_REF)) in _zend_dfg_add_use_def_op() 230 if ((opline->extended_value & ZEND_BIND_REF) || (build_flags & ZEND_SSA_RC_INFERENCE)) { in _zend_dfg_add_use_def_op()
|
H A D | dce.c | 246 if ((opline->extended_value & (ZEND_BIND_IMPLICIT|ZEND_BIND_EXPLICIT))) { in may_have_side_effects() 250 if ((opline->extended_value & ZEND_BIND_REF) != 0) { in may_have_side_effects() 253 (opline->extended_value & ~ZEND_BIND_REF)); in may_have_side_effects()
|
/PHP-8.1/Zend/ |
H A D | zend_vm_def.h | 3586 fbc, opline->extended_value, obj); 3719 fbc, opline->extended_value, ce); 3747 fbc, opline->extended_value, NULL); 3895 fbc, opline->extended_value, NULL); 3926 fbc, opline->extended_value, NULL); 5777 opline->extended_value, NULL); 5786 opline->extended_value, 5865 c = CACHED_PTR(opline->extended_value); 6191 switch (opline->extended_value) { 7676 CACHE_PTR(opline->extended_value, ce); [all …]
|
H A D | zend_vm_execute.h | 4784 switch (opline->extended_value) { in ZEND_CAST_SPEC_CONST_HANDLER() 7690 if (opline->extended_value) { in ZEND_IN_ARRAY_SPEC_CONST_CONST_HANDLER() 10219 opline->extended_value, NULL); in ZEND_NEW_SPEC_CONST_UNUSED_HANDLER() 10228 opline->extended_value, in ZEND_NEW_SPEC_CONST_UNUSED_HANDLER() 19913 if (opline->extended_value) { in ZEND_IN_ARRAY_SPEC_TMP_CONST_HANDLER() 25038 if (opline->extended_value) { in ZEND_IN_ARRAY_SPEC_VAR_CONST_HANDLER() 28944 opline->extended_value, NULL); in ZEND_NEW_SPEC_VAR_UNUSED_HANDLER() 28953 opline->extended_value, in ZEND_NEW_SPEC_VAR_UNUSED_HANDLER() 35785 opline->extended_value, NULL); in ZEND_NEW_SPEC_UNUSED_UNUSED_HANDLER() 35794 opline->extended_value, in ZEND_NEW_SPEC_UNUSED_UNUSED_HANDLER() [all …]
|
H A D | zend_compile.c | 103 op->extended_value = 0; in init_op() 2381 opline->extended_value = in zend_short_circuiting_commit() 2537 ret->extended_value = -1; in zend_emit_final_return() 3732 opline->extended_value = 0; in zend_compile_call_common() 5046 opline->extended_value = 0; in zend_compile_echo() 5191 opline->extended_value = 0; in zend_resolve_goto_label() 6793 opline->extended_value = in zend_compile_params() 6938 opline->extended_value = in zend_compile_closure_binding() 8689 opline->extended_value = in zend_compile_binary_op() 9152 opline->extended_value = 1; in zend_compile_print() [all …]
|
H A D | zend_opcode.c | 1091 opline->extended_value = ZEND_OPLINE_NUM_TO_OFFSET(op_array, opline, opline->extended_value); in pass_two() 1120 opline->extended_value = ZEND_OPLINE_NUM_TO_OFFSET(op_array, opline, opline->extended_value); in pass_two() 1123 if (!(opline->extended_value & ZEND_LAST_CATCH)) { in pass_two() 1144 opline->extended_value = ZEND_OPLINE_NUM_TO_OFFSET(op_array, opline, opline->extended_value); in pass_two()
|
/PHP-8.1/sapi/phpdbg/ |
H A D | phpdbg_utils.c | 636 if (!(ce = CACHED_PTR(cur->extended_value & ~ZEND_LAST_CATCH))) { in phpdbg_check_caught_ex() 638 CACHE_PTR(cur->extended_value & ~ZEND_LAST_CATCH, ce); in phpdbg_check_caught_ex() 645 if (cur->extended_value & ZEND_LAST_CATCH) { in phpdbg_check_caught_ex()
|
/PHP-8.1/ext/opcache/jit/ |
H A D | zend_jit_trace.c | 1100 && (opline->extended_value == ZEND_ADD in is_checked_guard() 1101 || opline->extended_value == ZEND_SUB in is_checked_guard() 1102 || opline->extended_value == ZEND_MUL)) { in is_checked_guard() 1693 if (opline->extended_value == ZEND_POW in zend_jit_trace_build_tssa() 1694 || opline->extended_value == ZEND_DIV) { in zend_jit_trace_build_tssa() 1705 if (opline->extended_value == ZEND_POW in zend_jit_trace_build_tssa() 1706 || opline->extended_value == ZEND_DIV) { in zend_jit_trace_build_tssa() 1763 if (opline->extended_value == ZEND_POW in zend_jit_trace_build_tssa() 1764 || opline->extended_value == ZEND_DIV) { in zend_jit_trace_build_tssa() 1874 if (opline->extended_value != op1_type) { in zend_jit_trace_build_tssa() [all …]
|
H A D | zend_jit_x86.dasc | 6958 switch (opline->extended_value) { 7101 switch (opline->extended_value) { 9186 | mov edx, opline->extended_value 9808 | mov CARG3d, opline->extended_value 9811 | push opline->extended_value 11217 mask = opline->extended_value; 12764 if (opline->extended_value) { 13914 | add CARG3, opline->extended_value 13928 | add r0, opline->extended_value 14262 switch (opline->extended_value) { [all …]
|
H A D | zend_jit_arm64.dasc | 6383 switch (opline->extended_value) { 6509 switch (opline->extended_value) { 8740 | LOAD_32BIT_VAL TMP1w, opline->extended_value 10389 | // if (CACHED_PTR(opline->extended_value)) { 10481 if (opline->extended_value & MAY_BE_NULL) { 10508 mask = opline->extended_value; 12002 if (opline->extended_value) { 13415 switch (opline->extended_value) { 13421 if (opline->extended_value != ZEND_ADD || 13459 if (opline->extended_value != ZEND_ADD || [all …]
|