Home
last modified time | relevance | path

Searched refs:extended_value (Results 1 – 25 of 39) sorted by relevance

12

/PHP-8.0/ext/opcache/Optimizer/
H A Dcompact_literals.c542 opline->extended_value = cache_size; in zend_optimizer_compact_literals()
614 opline->extended_value = cache_size | (opline->extended_value & ZEND_FETCH_OBJ_FLAGS); in zend_optimizer_compact_literals()
627 …opline->extended_value = property_slot[opline->op2.constant] | (opline->extended_value & ZEND_ISEM… in zend_optimizer_compact_literals()
629 opline->extended_value = cache_size | (opline->extended_value & ZEND_ISEMPTY); in zend_optimizer_compact_literals()
693 opline->extended_value = cache_size; in zend_optimizer_compact_literals()
703 opline->extended_value = cache_size; in zend_optimizer_compact_literals()
744 opline->extended_value = cache_size | (opline->extended_value & ZEND_FETCH_OBJ_FLAGS); in zend_optimizer_compact_literals()
752 opline->extended_value = cache_size | (opline->extended_value & ZEND_FETCH_OBJ_FLAGS); in zend_optimizer_compact_literals()
787 …opline->extended_value = class_slot[opline->op1.constant] | (opline->extended_value & ZEND_LAST_CA… in zend_optimizer_compact_literals()
789 opline->extended_value = cache_size | (opline->extended_value & ZEND_LAST_CATCH); in zend_optimizer_compact_literals()
[all …]
H A Dpass1.c108 if (opline->extended_value == ZEND_ADD in zend_optimizer_pass1()
109 || opline->extended_value == ZEND_SUB in zend_optimizer_pass1()
120 || opline->extended_value == ZEND_SL in zend_optimizer_pass1()
148 opline->extended_value = 0; in zend_optimizer_pass1()
194 opline->extended_value = 0; in zend_optimizer_pass1()
221 opline->extended_value = 0; in zend_optimizer_pass1()
296 opline->extended_value = 0; in zend_optimizer_pass1()
411 opline->extended_value = 0; in zend_optimizer_pass1()
454 opline->extended_value = 0; in zend_optimizer_pass1()
473 opline->extended_value = 0; in zend_optimizer_pass1()
[all …]
H A Dpass3.c100 opline->extended_value = ZEND_OPLINE_TO_OFFSET(opline, in zend_optimizer_pass3()
101 ZEND_OFFSET_TO_OPLINE(target, target->extended_value)); in zend_optimizer_pass3()
132 (opline-1)->extended_value = ZEND_OPLINE_TO_OFFSET((opline-1), target); in zend_optimizer_pass3()
134 (opline-1)->extended_value = ZEND_OPLINE_TO_OFFSET((opline-1), ZEND_OP2_JMP_ADDR(opline-1)); in zend_optimizer_pass3()
186 ZEND_OFFSET_TO_OPLINE(target, target->extended_value); in zend_optimizer_pass3()
242 ZEND_OFFSET_TO_OPLINE(target, target->extended_value); in zend_optimizer_pass3()
316 target = ZEND_OFFSET_TO_OPLINE(opline, opline->extended_value); in zend_optimizer_pass3()
334 target = ZEND_OFFSET_TO_OPLINE(target, target->extended_value); in zend_optimizer_pass3()
341 opline->extended_value = ZEND_OPLINE_TO_OFFSET(opline, target); in zend_optimizer_pass3()
351 opline->extended_value = 0; in zend_optimizer_pass3()
H A Dzend_optimizer.c221 …opline->extended_value = alloc_cache_slots(op_array, 1) | (opline->extended_value & ZEND_LAST_CATC… in zend_optimizer_update_op1_const()
280 …opline->extended_value = alloc_cache_slots(op_array, 3) | (opline->extended_value & ZEND_FETCH_OBJ… in zend_optimizer_update_op1_const()
467 … opline->extended_value = alloc_cache_slots(op_array, 3) | (opline->extended_value & ZEND_ISEMPTY); in zend_optimizer_update_op2_const()
550 opline->extended_value = 0; in zend_optimizer_replace_by_const()
555 opline->extended_value = 0; in zend_optimizer_replace_by_const()
700 if (!(opline->extended_value & ZEND_LAST_CATCH)) { in zend_optimizer_migrate_jump()
727extended_value = ZEND_OPLINE_NUM_TO_OFFSET(op_array, opline, ZEND_OFFSET_TO_OPLINE_NUM(op_array, o… in zend_optimizer_shift_jump()
742 if (!(opline->extended_value & ZEND_LAST_CATCH)) { in zend_optimizer_shift_jump()
748extended_value = ZEND_OPLINE_NUM_TO_OFFSET(op_array, opline, ZEND_OFFSET_TO_OPLINE_NUM(op_array, o… in zend_optimizer_shift_jump()
759extended_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 Doptimize_func_calls.c81 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()
200 fcall->op1.num = zend_vm_calc_used_stack(fcall->extended_value, call_stack[call].func); in zend_optimize_func_calls()
206 fcall->op1.num = zend_vm_calc_used_stack(fcall->extended_value, call_stack[call].func); in zend_optimize_func_calls()
H A Dzend_dump.c433 fprintf(stderr, " %u", opline->extended_value); in zend_dump_op()
437 switch (opline->extended_value) { in zend_dump_op()
479 switch (opline->extended_value) { in zend_dump_op()
516 switch (opline->extended_value) { in zend_dump_op()
537 if (opline->extended_value == ZEND_RETURNS_VALUE) { in zend_dump_op()
539 } else if (opline->extended_value & ZEND_RETURNS_FUNCTION) { in zend_dump_op()
544 if (opline->extended_value & ZEND_FETCH_GLOBAL) { in zend_dump_op()
546 } else if (opline->extended_value & ZEND_FETCH_LOCAL) { in zend_dump_op()
553 if (!(opline->extended_value & ZEND_ISEMPTY)) { in zend_dump_op()
561 if (!(opline->extended_value & ZEND_ARRAY_NOT_PACKED)) { in zend_dump_op()
[all …]
H A Dzend_cfg.c309 if (opline->extended_value != ZEND_THROW_IS_EXPR && i + 1 < op_array->last) { in zend_build_cfg()
343 Z_STR_P(zv), opline->extended_value); in zend_build_cfg()
364 BB_START(ZEND_OFFSET_TO_OPLINE_NUM(op_array, opline, opline->extended_value)); in zend_build_cfg()
381 if (!(opline->extended_value & ZEND_LAST_CATCH)) { in zend_build_cfg()
388 BB_START(ZEND_OFFSET_TO_OPLINE_NUM(op_array, opline, opline->extended_value)); in zend_build_cfg()
405 BB_START(ZEND_OFFSET_TO_OPLINE_NUM(op_array, opline, opline->extended_value)); in zend_build_cfg()
417 if (opline->extended_value & ZEND_FETCH_LOCAL) { in zend_build_cfg()
419 } else if ((opline->extended_value & (ZEND_FETCH_GLOBAL | ZEND_FETCH_GLOBAL_LOCK)) && in zend_build_cfg()
522 …ck->successors[1] = block_map[ZEND_OFFSET_TO_OPLINE_NUM(op_array, opline, opline->extended_value)]; in zend_build_cfg()
537 if (!(opline->extended_value & ZEND_LAST_CATCH)) { in zend_build_cfg()
[all …]
H A Ddfa_pass.c354 && (opline->extended_value == IS_ARRAY || opline->extended_value == IS_OBJECT)) { in opline_supports_assign_contraction()
859 opline->extended_value = 0; in zend_dfa_optimize_jmps()
993 opline->extended_value = 0; in zend_dfa_optimize_jmps()
1009 opline->extended_value = 0; in zend_dfa_optimize_jmps()
1618 && opline->extended_value == ZEND_ADD in zend_dfa_optimize_op_array()
1629 opline->extended_value = 0; in zend_dfa_optimize_op_array()
1633 && opline->extended_value == ZEND_SUB in zend_dfa_optimize_op_array()
1644 opline->extended_value = 0; in zend_dfa_optimize_op_array()
1652 && opline->extended_value != ZEND_CONCAT) { in zend_dfa_optimize_op_array()
1661 opline->opcode = opline->extended_value; in zend_dfa_optimize_op_array()
[all …]
H A Dsccp.c261 return !(opline->extended_value & ZEND_ARRAY_ELEMENT_REF); in can_replace_op1()
464 if (!(extended_value & ZEND_ISEMPTY)) { in ct_eval_isset_isempty()
487 return ct_eval_isset_isempty(result, extended_value, value); in ct_eval_isset_dim()
492 ZVAL_BOOL(result, (extended_value & ZEND_ISEMPTY)); in ct_eval_isset_dim()
660 return ct_eval_isset_isempty(result, extended_value, value); in ct_eval_isset_obj()
662 ZVAL_BOOL(result, (extended_value & ZEND_ISEMPTY)); in ct_eval_isset_obj()
744 } else if (extended_value) { in ct_eval_in_array()
1035 uint32_t expected_type_mask = opline->extended_value; in sccp_visit_instr()
1284 || (opline->extended_value & ZEND_ARRAY_ELEMENT_REF)) { in sccp_visit_instr()
1735 switch (opline->extended_value) { in sccp_visit_instr()
[all …]
H A Doptimize_temp_vars_5.c84 …int num = (((opline->extended_value + 1) * sizeof(zend_string*)) + (sizeof(zval) - 1)) / sizeof(zv… in zend_optimize_temporary_variables()
166 …uint32_t num = ((opline->extended_value * sizeof(zend_string*)) + (sizeof(zval) - 1)) / sizeof(zva… in zend_optimize_temporary_variables()
H A Dzend_optimizer_internal.h75 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 Dzend_inference.c1047 if (opline->extended_value == IS_LONG) { in zend_inference_propagate_range()
1229 opline->extended_value, tmp); in zend_inference_propagate_range()
2330 tmp = 1 << opline->extended_value; in _zend_update_type_info()
2343 if (opline->extended_value == IS_ARRAY in _zend_update_type_info()
2436 ssa, opline->extended_value, t1, t2, in _zend_update_type_info()
3818 opcode = opline->extended_value; in can_convert_to_double()
4454 opline->extended_value == ZEND_MOD) { in zend_may_throw_ex()
4463 opline->extended_value == ZEND_MUL || in zend_may_throw_ex()
4464 opline->extended_value == ZEND_POW) { in zend_may_throw_ex()
4468 opline->extended_value == ZEND_SR) { in zend_may_throw_ex()
[all …]
H A Dzend_call_graph.c70 …ena, 1, sizeof(zend_call_info) + (sizeof(zend_send_arg_info) * ((int)opline->extended_value - 1))); in zend_analyze_calls()
75 call_info->num_args = opline->extended_value; in zend_analyze_calls()
H A Dblock_pass.c210 src->extended_value == IS_STRING) { in zend_optimize_block()
323 VAR_SOURCE(opline->op1)->extended_value == 1) { in zend_optimize_block()
623 zend_op *target_opline = ZEND_OFFSET_TO_OPLINE(opline, opline->extended_value); in zend_optimize_block()
632 opline->extended_value = 0; in zend_optimize_block()
752 src->extended_value == IS_STRING && in zend_optimize_block()
765 src->extended_value == IS_STRING && in zend_optimize_block()
781 opline->extended_value = IS_STRING; in zend_optimize_block()
792 opline->extended_value = IS_STRING; in zend_optimize_block()
871 opline->extended_value = 0; in zend_optimize_block()
1055 if (!(opline->extended_value & ZEND_LAST_CATCH)) { in assemble_code_blocks()
[all …]
H A Dcompact_vars.c48 …uint32_t num = ((opline->extended_value * sizeof(zend_string*)) + (sizeof(zval) - 1)) / sizeof(zva… in zend_optimizer_compact_vars()
H A Dzend_dfg.c201 || (opline->extended_value & ZEND_ARRAY_ELEMENT_REF)) in _zend_dfg_add_use_def_op()
231 if ((opline->extended_value & ZEND_BIND_REF) || (build_flags & ZEND_SSA_RC_INFERENCE)) { in _zend_dfg_add_use_def_op()
H A Ddce.c242 && (opline->extended_value & ZEND_BIND_REF) != 0) { in may_have_side_effects()
245 (opline->extended_value & ~ZEND_BIND_REF)); in may_have_side_effects()
/PHP-8.0/Zend/
H A Dzend_vm_def.h3560 fbc, opline->extended_value, obj);
3692 fbc, opline->extended_value, ce);
3720 fbc, opline->extended_value, NULL);
3868 fbc, opline->extended_value, NULL);
3899 fbc, opline->extended_value, NULL);
5724 opline->extended_value, NULL);
5733 opline->extended_value,
5812 c = CACHED_PTR(opline->extended_value);
6126 switch (opline->extended_value) {
7586 CACHE_PTR(opline->extended_value, ce);
[all …]
H A Dzend_vm_execute.h4630 switch (opline->extended_value) { in ZEND_CAST_SPEC_CONST_HANDLER()
6714 fbc, opline->extended_value, ce); in ZEND_INIT_STATIC_METHOD_CALL_SPEC_CONST_CONST_HANDLER()
9007 fbc, opline->extended_value, ce); in ZEND_INIT_STATIC_METHOD_CALL_SPEC_CONST_TMPVAR_HANDLER()
9977 opline->extended_value, NULL); in ZEND_NEW_SPEC_CONST_UNUSED_HANDLER()
9986 opline->extended_value, in ZEND_NEW_SPEC_CONST_UNUSED_HANDLER()
18780 switch (opline->extended_value) { in ZEND_CAST_SPEC_TMP_HANDLER()
21397 switch (opline->extended_value) { in ZEND_CAST_SPEC_VAR_HANDLER()
28573 opline->extended_value, NULL); in ZEND_NEW_SPEC_VAR_UNUSED_HANDLER()
28582 opline->extended_value, in ZEND_NEW_SPEC_VAR_UNUSED_HANDLER()
35399 opline->extended_value, NULL); in ZEND_NEW_SPEC_UNUSED_UNUSED_HANDLER()
[all …]
H A Dzend_compile.c95 op->extended_value = 0; in init_op()
2317 opline->extended_value = in zend_short_circuiting_commit()
2458 ret->extended_value = -1; in zend_emit_final_return()
4828 opline->extended_value = 0; in zend_compile_echo()
4973 opline->extended_value = 0; in zend_resolve_goto_label()
6475 opline->extended_value = in zend_compile_params()
6616 opline->extended_value = in zend_compile_closure_binding()
8142 opline->extended_value = in zend_compile_binary_op()
8151 opline->extended_value = in zend_compile_binary_op()
8612 opline->extended_value = 1; in zend_compile_print()
[all …]
H A Dzend_opcode.c1026 opline->extended_value = ZEND_OPLINE_NUM_TO_OFFSET(op_array, opline, opline->extended_value); in pass_two()
1055 opline->extended_value = ZEND_OPLINE_NUM_TO_OFFSET(op_array, opline, opline->extended_value); in pass_two()
1058 if (!(opline->extended_value & ZEND_LAST_CATCH)) { in pass_two()
1079 opline->extended_value = ZEND_OPLINE_NUM_TO_OFFSET(op_array, opline, opline->extended_value); in pass_two()
/PHP-8.0/sapi/phpdbg/
H A Dphpdbg_opcode.c97 if (opline->extended_value) { in phpdbg_decode_opline()
98 spprintf(&decode[0], 0, "%s<%" PRIi32 ">", opcode_name, opline->extended_value); in phpdbg_decode_opline()
112 if (opline->extended_value & ZEND_LAST_CATCH) { in phpdbg_decode_opline()
H A Dphpdbg_utils.c759 if (!(ce = CACHED_PTR(cur->extended_value & ~ZEND_LAST_CATCH))) { in phpdbg_check_caught_ex()
761 CACHE_PTR(cur->extended_value & ~ZEND_LAST_CATCH, ce); in phpdbg_check_caught_ex()
768 if (cur->extended_value & ZEND_LAST_CATCH) { in phpdbg_check_caught_ex()
/PHP-8.0/ext/opcache/jit/
H A Dzend_jit_trace.c989 && (opline->extended_value == ZEND_ADD in is_checked_guard()
990 || opline->extended_value == ZEND_SUB in is_checked_guard()
991 || opline->extended_value == ZEND_MUL)) { in is_checked_guard()
1577 if (opline->extended_value == ZEND_POW in zend_jit_trace_build_tssa()
1578 || opline->extended_value == ZEND_DIV) { in zend_jit_trace_build_tssa()
1589 if (opline->extended_value == ZEND_POW in zend_jit_trace_build_tssa()
1590 || opline->extended_value == ZEND_DIV) { in zend_jit_trace_build_tssa()
1623 if (opline->extended_value == ZEND_POW in zend_jit_trace_build_tssa()
1624 || opline->extended_value == ZEND_DIV) { in zend_jit_trace_build_tssa()
1733 if (opline->extended_value != op1_type) { in zend_jit_trace_build_tssa()
[all …]
H A Dzend_jit_x86.dasc6819 switch (opline->extended_value) {
6948 switch (opline->extended_value) {
9089 | mov edx, opline->extended_value
9871 | mov CARG3d, opline->extended_value
9874 | push opline->extended_value
11271 mask = opline->extended_value;
12773 if (opline->extended_value) {
13808 | add CARG3, opline->extended_value
13822 | add r0, opline->extended_value
14116 switch (opline->extended_value) {
[all …]

Completed in 366 milliseconds

12