/PHP-8.4/Zend/Optimizer/ |
H A D | zend_dfg.c | 36 || (opline->op2_type == IS_CV)) { in _zend_dfg_add_use_def_op() 43 && opline->result_type == IS_CV in _zend_dfg_add_use_def_op() 56 if (opline->op1_type == IS_CV) { in _zend_dfg_add_use_def_op() 62 if (opline->op2_type == IS_CV) { in _zend_dfg_add_use_def_op() 65 if (opline->op1_type == IS_CV) { in _zend_dfg_add_use_def_op() 81 if (opline->op1_type == IS_CV) { in _zend_dfg_add_use_def_op() 92 if (next->op1_type == IS_CV) { in _zend_dfg_add_use_def_op() 96 if (opline->op1_type == IS_CV) { in _zend_dfg_add_use_def_op() 119 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() [all …]
|
H A D | compact_vars.c | 39 if (opline->op1_type & (IS_CV|IS_VAR|IS_TMP_VAR)) { in zend_optimizer_compact_vars() 42 if (opline->op2_type & (IS_CV|IS_VAR|IS_TMP_VAR)) { in zend_optimizer_compact_vars() 45 if (opline->result_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() 90 if (opline->op2_type & (IS_CV|IS_VAR|IS_TMP_VAR)) { in zend_optimizer_compact_vars() 93 if (opline->result_type & (IS_CV|IS_VAR|IS_TMP_VAR)) { in zend_optimizer_compact_vars()
|
H A D | zend_ssa.c | 197 if (op->op1_type == IS_CV) { in find_adjusted_tmp_var() 202 if (op->op1_type == IS_CV) { in find_adjusted_tmp_var() 268 if (opline->op1_type == IS_CV) { in place_essa_pis() 276 if (opline->op1_type == IS_CV) { in place_essa_pis() 556 && opline->result_type == IS_CV in _zend_ssa_rename_op() 570 if (opline->op1_type == IS_CV) { in _zend_ssa_rename_op() 579 if (opline->op2_type == IS_CV) { in _zend_ssa_rename_op() 620 if (next->op1_type == IS_CV) { in _zend_ssa_rename_op() 646 if (next->op1_type == IS_CV) { in _zend_ssa_rename_op() 730 if (opline->op1_type == IS_CV in _zend_ssa_rename_op() [all …]
|
H A D | escape_analysis.c | 187 if (opline->op1_type == IS_CV && (OP1_INFO() & MAY_BE_ARRAY)) { in is_allocation_def() 192 if (opline->op1_type == IS_CV && (OP1_INFO() & MAY_BE_ARRAY)) { in is_allocation_def() 204 if (opline->op2_type == IS_CV && (OP2_INFO() & MAY_BE_ARRAY)) { in is_allocation_def() 282 if (opline->op1_type == IS_CV) { in is_escape_use() 332 if (opline->op1_type != IS_CV in is_escape_use() 348 if (opline->op1_type != IS_CV in is_escape_use() 354 if (opline->op2_type == IS_CV || opline->result_type != IS_UNUSED) { in is_escape_use()
|
H A D | zend_dump.c | 142 if (var_type == IS_CV && var_num < op_array->last_var) { in zend_dump_var() 376 zend_dump_var(op_array, (var_num < op_array->last_var ? IS_CV : var_type), var_num); in zend_dump_ssa_var() 414 …zend_dump_ssa_var(op_array, ssa, r->min_ssa_var, (r->min_var < op_array->last_var ? IS_CV : 0), r-… in zend_dump_range_constraint() 449 if (opline->result_type & (IS_CV|IS_VAR|IS_TMP_VAR)) { in zend_dump_op() 624 } else if (opline->op1_type & (IS_CV|IS_VAR|IS_TMP_VAR)) { in zend_dump_op() 685 } else if (opline->op2_type & (IS_CV|IS_VAR|IS_TMP_VAR)) { in zend_dump_op() 737 if (opline->result_type & (IS_CV|IS_VAR|IS_TMP_VAR)) { in zend_dump_op() 1019 zend_dump_ssa_var(op_array, ssa, i, IS_CV, i, dump_flags); in zend_dump_op_array() 1189 zend_dump_ssa_var(op_array, ssa, j, IS_CV, ssa->vars[j].var, dump_flags); in zend_dump_ssa_variables() 1216 zend_dump_var(op_array, IS_CV, i); in zend_dump_var_set() [all …]
|
H A D | dfa_pass.c | 353 return opline->op1_type != IS_CV || opline->op1.var != cv_var; in opline_supports_assign_contraction() 358 return (opline->op1_type != IS_CV || opline->op1.var != cv_var) in opline_supports_assign_contraction() 359 && (opline->op2_type != IS_CV || opline->op2.var != cv_var); in opline_supports_assign_contraction() 366 return opline->op1_type != IS_CV || opline->op1.var != cv_var; in opline_supports_assign_contraction() 374 && opline->op1_type == IS_CV in opline_supports_assign_contraction() 1045 if ((opline->op1_type == IS_CV && opline->op1.var == cv) in zend_dfa_try_to_replace_result() 1046 || (opline->op2_type == IS_CV && opline->op2.var == cv) in zend_dfa_try_to_replace_result() 1067 op_array->opcodes[use].op1_type = IS_CV; in zend_dfa_try_to_replace_result() 1074 op_array->opcodes[use].op2_type = IS_CV; in zend_dfa_try_to_replace_result() 1081 op_array->opcodes[use].result_type = IS_CV; in zend_dfa_try_to_replace_result() [all …]
|
H A D | zend_inference.c | 2777 if (opline->op1_type == IS_CV) { in _zend_update_type_info() 2783 if (opline->op1_type == IS_CV) { in _zend_update_type_info() 2977 if (opline->op1_type == IS_CV) { in _zend_update_type_info() 3021 if (opline->op1_type == IS_CV) { in _zend_update_type_info() 3071 if (opline->op1_type == IS_CV) { in _zend_update_type_info() 3141 if (opline->op2_type == IS_CV) { in _zend_update_type_info() 3498 if (opline->op2_type == IS_CV) { in _zend_update_type_info() 3506 if (opline->op2_type != IS_CV) { in _zend_update_type_info() 4916 if (opline->op1_type == IS_CV) { in zend_may_throw_ex() 4972 if (opline->op2_type == IS_CV) { in zend_may_throw_ex() [all …]
|
H A D | ssa_integrity.c | 89 return (type & (IS_CV|IS_VAR|IS_TMP_VAR)) != 0; in is_var_type()
|
/PHP-8.4/Zend/ |
H A D | zend_vm_execute.h | 24571 if (IS_CV == IS_CV || IS_CV == IS_VAR) { in ZEND_ASSIGN_OBJ_SPEC_VAR_CONST_OP_DATA_CV_HANDLER() 27562 if (IS_CV == IS_CV || IS_CV == IS_VAR) { in ZEND_ASSIGN_OBJ_SPEC_VAR_TMPVAR_OP_DATA_CV_HANDLER() 31915 if (IS_CV == IS_CV || IS_CV == IS_VAR) { in ZEND_ASSIGN_OBJ_SPEC_VAR_CV_OP_DATA_CV_HANDLER() 34662 if (IS_CV == IS_CV || IS_CV == IS_VAR) { in ZEND_ASSIGN_OBJ_SPEC_UNUSED_CONST_OP_DATA_CV_HANDLER() 36830 if (IS_CV == IS_CV || IS_CV == IS_VAR) { in ZEND_ASSIGN_OBJ_SPEC_UNUSED_TMPVAR_OP_DATA_CV_HANDLER() 39476 if (IS_CV == IS_CV || IS_CV == IS_VAR) { in ZEND_ASSIGN_OBJ_SPEC_UNUSED_CV_OP_DATA_CV_HANDLER() 41183 if (IS_CV == IS_VAR || IS_CV == IS_CV) { in ZEND_FE_RESET_RW_SPEC_CV_HANDLER() 41193 if (IS_CV == IS_VAR || IS_CV == IS_CV) { in ZEND_FE_RESET_RW_SPEC_CV_HANDLER() 43876 if (IS_CV == IS_CV || IS_CV == IS_VAR) { in ZEND_ASSIGN_OBJ_SPEC_CV_CONST_OP_DATA_CV_HANDLER() 47828 if (IS_CV == IS_CV || IS_CV == IS_VAR) { in ZEND_ASSIGN_OBJ_SPEC_CV_TMPVAR_OP_DATA_CV_HANDLER() [all …]
|
H A D | zend_verify_type_inference.h | 133 && (opline->op1_type & (IS_TMP_VAR|IS_VAR|IS_CV)) in zend_verify_inference_use() 139 && (opline->op2_type & (IS_TMP_VAR|IS_VAR|IS_CV))) { in zend_verify_inference_use() 143 && (opline->result_type & (IS_TMP_VAR|IS_VAR|IS_CV))) { in zend_verify_inference_use() 158 && (opline->op1_type & (IS_TMP_VAR|IS_VAR|IS_CV)) in zend_verify_inference_def() 167 && (opline->op2_type & (IS_TMP_VAR|IS_VAR|IS_CV)) in zend_verify_inference_def() 174 && (opline->result_type & (IS_TMP_VAR|IS_VAR|IS_CV)) in zend_verify_inference_def()
|
H A D | zend_vm_def.h | 1033 if (OP1_TYPE == IS_CV 1301 if (OP1_TYPE == IS_CV 1371 if (OP1_TYPE == IS_CV 3668 if (OP1_TYPE == IS_CV) { 4886 if (OP1_TYPE == IS_CV) { 5081 if (OP1_TYPE == IS_CV) { 7786 if (OP1_TYPE == IS_CV 7820 if (OP1_TYPE == IS_CV) { 9154 if (OP1_TYPE == IS_CV) { 10259 if (OP1_TYPE == IS_CV) { [all …]
|
H A D | zend_execute.c | 407 ZEND_ASSERT(op_type == IS_CV); in _get_zval_ptr_tmpvarcv() 424 } else if (op_type == IS_CV) { in _get_zval_ptr() 444 } else if (op_type == IS_CV) { in _get_op_data_zval_ptr_r() 464 } else if (op_type == IS_CV) { in _get_zval_ptr_deref() 484 } else if (op_type == IS_CV) { in _get_op_data_zval_ptr_deref_r() 504 } else if (op_type == IS_CV) { in _get_zval_ptr_undef() 524 if (op_type == IS_CV) { in _get_zval_ptr_ptr() 3035 if (ZEND_CONST_COND(dim_type == IS_CV, 1) && UNEXPECTED(Z_TYPE_P(dim) == IS_UNDEF)) { in zend_fetch_dimension_address_read() 3351 if (container_op_type == IS_CV in zend_fetch_property_address() 3584 if (op1_type == IS_CV && UNEXPECTED(Z_TYPE_P(varname) == IS_UNDEF)) { in zend_fetch_static_property_address_ex() [all …]
|
H A D | zend_execute.h | 138 if (ZEND_CONST_COND(value_type & (IS_VAR|IS_CV), 1) && Z_ISREF_P(value)) { in zend_copy_to_variable() 148 } else if (value_type & (IS_CONST|IS_CV)) { in zend_copy_to_variable()
|
H A D | zend_compile.c | 2918 result->op_type = IS_CV; in zend_try_compile_cv() 3583 && source_node.op_type != IS_CV) { in zend_compile_assign_ref() 3887 } else if (arg_node.op_type == IS_CV) { in zend_compile_args() 5480 opline->op1_type = IS_CV; in zend_compile_static_var_common() 5523 opline->op1_type = IS_CV; in zend_compile_static_var() 5531 opline->op1_type = IS_CV; in zend_compile_static_var() 6695 opline->result_type = var_name ? IS_CV : IS_UNUSED; in zend_compile_try() 7613 var_node.op_type = IS_CV; in zend_compile_params() 7835 value_node.op_type = IS_CV; in zend_compile_params() 7883 opline->op2_type = IS_CV; in zend_compile_closure_binding() [all …]
|
/PHP-8.4/ext/zend_test/tests/ |
H A D | observer_retval_06.phpt | 2 Observer: Retvals are observable that are: IS_CV 14 return $retval; // IS_CV
|
H A D | observer_retval_by_ref_01.phpt | 2 Observer: Retvals by reference are observable that are: IS_CV 14 return $retval; // IS_CV
|
H A D | observer_retval_03.phpt | 2 Observer: Retvals are observable that are: refcounted, IS_CV 16 return $retval; // IS_CV
|
H A D | observer_retval_05.phpt | 2 Observer: Retvals are observable that are: IS_CV, IS_UNDEF 13 return $i_do_not_exist; // IS_CV && IS_UNDEF
|
/PHP-8.4/Zend/tests/ |
H A D | object_handlers.phpt | 89 // IS_CV 112 // IS_CV + conversion
|
H A D | foreach_003.phpt | 31 // IS_CV
|
/PHP-8.4/ext/opcache/jit/ |
H A D | zend_jit_trace.c | 1904 if (opline->op1_type == IS_CV in zend_jit_trace_build_tssa() 2075 if (opline->op1_type != IS_CV in zend_jit_trace_build_tssa() 2929 && opline->op1_type == IS_CV in zend_jit_trace_allocate_registers() 3442 if (opline->op1_type == IS_CV in zend_jit_may_delay_fetch_this() 3443 && (opline+1)->op1_type == IS_CV in zend_jit_may_delay_fetch_this() 4534 && opline->op1_type == IS_CV in zend_jit_trace() 4548 && opline->op2_type == IS_CV in zend_jit_trace() 4692 if (opline->op1_type == IS_CV in zend_jit_trace() 4832 if (opline->op1_type == IS_CV in zend_jit_trace() 5012 if (opline->op1_type == IS_CV in zend_jit_trace() [all …]
|
H A D | zend_jit_vm_helpers.c | 688 if ((opline->op1_type & (IS_TMP_VAR|IS_VAR|IS_CV)) 723 if (opline->op2_type & (IS_TMP_VAR|IS_VAR|IS_CV) 740 && (opline->op2_type == IS_CV 770 if ((opline+1)->op1_type & (IS_TMP_VAR|IS_VAR|IS_CV)) {
|
H A D | zend_jit.c | 491 if (opline->op1_type == IS_CV && opline->op1.var == EX_NUM_TO_VAR(var)) { in zend_ssa_cv_info() 659 (((opline->opN##_type & (IS_TMP_VAR|IS_VAR|IS_CV)) && \ 1483 if (opline->op1_type != IS_CV) { in zend_jit() 1493 if (opline->result_type == IS_CV in zend_jit() 1551 if (opline->result_type == IS_CV in zend_jit() 1605 if (opline->result_type == IS_CV in zend_jit() 1666 if (opline->op1_type != IS_CV || opline->result_type != IS_UNUSED) { in zend_jit() 1696 if (opline->op1_type != IS_CV || opline->result_type != IS_UNUSED) { in zend_jit() 1716 if (opline->op1_type != IS_CV) { in zend_jit() 1879 if (opline->op1_type != IS_CV) { in zend_jit() [all …]
|
H A D | zend_jit_ir.c | 2609 IS_CV, val_addr, val_info, in zend_jit_assign_cv_noref_stub() 2641 IS_CV, val_addr, val_info, in zend_jit_assign_cv_stub() 2972 opline.op1_type = IS_CV; in zend_jit_setup_disasm() 6228 if (val_type == IS_CV) { in zend_jit_simple_assign() 6347 } else if (val_type == IS_CV) { in zend_jit_assign_to_variable_call() 6450 } else if (val_type == IS_CV) { in zend_jit_assign_to_variable() 6463 } else if (val_type == IS_CV) { in zend_jit_assign_to_variable() 8550 if (opline->op2_type == IS_CV) { 11457 if (opline->op2_type == IS_CV) { 13299 val_op_type = IS_CV; [all …]
|
H A D | zend_jit_helpers.c | 103 if (Z_TYPE_P(object) == IS_UNDEF && opline->op1_type == IS_CV) { in zend_jit_invalid_method_call() 1282 ZEND_ASSERT(op_data->opcode == ZEND_OP_DATA && op_data->op1_type == IS_CV); in zend_assign_to_string_offset() 1489 ZEND_ASSERT(op_data->opcode == ZEND_OP_DATA && op_data->op1_type == IS_CV); in zend_jit_assign_dim_helper() 1515 ZEND_ASSERT(op_data->opcode == ZEND_OP_DATA && op_data->op1_type == IS_CV); in zend_jit_assign_dim_helper() 2264 return zend_jit_assign_to_typed_ref_helper(ref, value, IS_CV); in zend_jit_assign_cv_to_typed_ref() 2310 return zend_jit_assign_to_typed_ref2_helper(ref, value, result, IS_CV); in zend_jit_assign_cv_to_typed_ref2() 2500 if (Z_TYPE_P(container) == IS_UNDEF && opline->op1_type == IS_CV) { in zend_jit_invalid_property_incdec() 2615 ZEND_ASSERT(op_data->opcode == ZEND_OP_DATA && op_data->op1_type == IS_CV); in zend_jit_assign_obj_helper() 2651 ZEND_ASSERT(op_data->opcode == ZEND_OP_DATA && op_data->op1_type == IS_CV); in zend_jit_assign_to_typed_prop()
|