/php-src/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 | 38 if (opline->op1_type & (IS_CV|IS_VAR|IS_TMP_VAR)) { in zend_optimizer_compact_vars() 41 if (opline->op2_type & (IS_CV|IS_VAR|IS_TMP_VAR)) { in zend_optimizer_compact_vars() 44 if (opline->result_type & (IS_CV|IS_VAR|IS_TMP_VAR)) { in zend_optimizer_compact_vars() 86 if (opline->op1_type & (IS_CV|IS_VAR|IS_TMP_VAR)) { in zend_optimizer_compact_vars() 89 if (opline->op2_type & (IS_CV|IS_VAR|IS_TMP_VAR)) { in zend_optimizer_compact_vars() 92 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 | 340 return opline->op1_type != IS_CV || opline->op1.var != cv_var; in opline_supports_assign_contraction() 345 return (opline->op1_type != IS_CV || opline->op1.var != cv_var) in opline_supports_assign_contraction() 346 && (opline->op2_type != IS_CV || opline->op2.var != cv_var); in opline_supports_assign_contraction() 353 return opline->op1_type != IS_CV || opline->op1.var != cv_var; in opline_supports_assign_contraction() 361 && opline->op1_type == IS_CV in opline_supports_assign_contraction() 1032 if ((opline->op1_type == IS_CV && opline->op1.var == cv) in zend_dfa_try_to_replace_result() 1033 || (opline->op2_type == IS_CV && opline->op2.var == cv) in zend_dfa_try_to_replace_result() 1054 op_array->opcodes[use].op1_type = IS_CV; in zend_dfa_try_to_replace_result() 1061 op_array->opcodes[use].op2_type = IS_CV; in zend_dfa_try_to_replace_result() 1068 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-src/Zend/ |
H A D | zend_vm_execute.h | 24001 if (IS_CV == IS_CV || IS_CV == IS_VAR) { in ZEND_ASSIGN_OBJ_SPEC_VAR_CONST_OP_DATA_CV_HANDLER() 26927 if (IS_CV == IS_CV || IS_CV == IS_VAR) { in ZEND_ASSIGN_OBJ_SPEC_VAR_TMPVAR_OP_DATA_CV_HANDLER() 31219 if (IS_CV == IS_CV || IS_CV == IS_VAR) { in ZEND_ASSIGN_OBJ_SPEC_VAR_CV_OP_DATA_CV_HANDLER() 33852 if (IS_CV == IS_CV || IS_CV == IS_VAR) { in ZEND_ASSIGN_OBJ_SPEC_UNUSED_CONST_OP_DATA_CV_HANDLER() 35906 if (IS_CV == IS_CV || IS_CV == IS_VAR) { in ZEND_ASSIGN_OBJ_SPEC_UNUSED_TMPVAR_OP_DATA_CV_HANDLER() 38412 if (IS_CV == IS_CV || IS_CV == IS_VAR) { in ZEND_ASSIGN_OBJ_SPEC_UNUSED_CV_OP_DATA_CV_HANDLER() 40117 if (IS_CV == IS_VAR || IS_CV == IS_CV) { in ZEND_FE_RESET_RW_SPEC_CV_HANDLER() 40127 if (IS_CV == IS_VAR || IS_CV == IS_CV) { in ZEND_FE_RESET_RW_SPEC_CV_HANDLER() 42687 if (IS_CV == IS_CV || IS_CV == IS_VAR) { in ZEND_ASSIGN_OBJ_SPEC_CV_CONST_OP_DATA_CV_HANDLER() 46526 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 | 1032 if (OP1_TYPE == IS_CV 1304 if (OP1_TYPE == IS_CV 1377 if (OP1_TYPE == IS_CV 3609 if (OP1_TYPE == IS_CV) { 4812 if (OP1_TYPE == IS_CV) { 5007 if (OP1_TYPE == IS_CV) { 7729 if (OP1_TYPE == IS_CV 7763 if (OP1_TYPE == IS_CV) { 9105 if (OP1_TYPE == IS_CV) { 10112 if (OP1_TYPE == IS_CV) { [all …]
|
H A D | zend_execute.c | 405 ZEND_ASSERT(op_type == IS_CV); in _get_zval_ptr_tmpvarcv() 422 } else if (op_type == IS_CV) { in _get_zval_ptr() 442 } else if (op_type == IS_CV) { in _get_op_data_zval_ptr_r() 462 } else if (op_type == IS_CV) { in _get_zval_ptr_deref() 482 } else if (op_type == IS_CV) { in _get_op_data_zval_ptr_deref_r() 502 } else if (op_type == IS_CV) { in _get_zval_ptr_undef() 522 if (op_type == IS_CV) { in _get_zval_ptr_ptr() 2837 if (ZEND_CONST_COND(dim_type == IS_CV, 1) && UNEXPECTED(Z_TYPE_P(dim) == IS_UNDEF)) { in zend_fetch_dimension_address_read() 3169 if (container_op_type == IS_CV in zend_fetch_property_address() 3405 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 | 132 if (ZEND_CONST_COND(value_type & (IS_VAR|IS_CV), 1) && Z_ISREF_P(value)) { in zend_copy_to_variable() 142 } else if (value_type & (IS_CONST|IS_CV)) { in zend_copy_to_variable()
|
H A D | zend_compile.c | 2853 result->op_type = IS_CV; in zend_try_compile_cv() 3524 && source_node.op_type != IS_CV) { in zend_compile_assign_ref() 3828 } else if (arg_node.op_type == IS_CV) { in zend_compile_args() 5150 opline->op1_type = IS_CV; in zend_compile_static_var_common() 5194 opline->op1_type = IS_CV; in zend_compile_static_var() 5202 opline->op1_type = IS_CV; in zend_compile_static_var() 6369 opline->result_type = var_name ? IS_CV : IS_UNUSED; in zend_compile_try() 7208 var_node.op_type = IS_CV; in zend_compile_params() 7418 value_node.op_type = IS_CV; in zend_compile_params() 7466 opline->op2_type = IS_CV; in zend_compile_closure_binding() [all …]
|
/php-src/ext/zend_test/tests/ |
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_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_05.phpt | 2 Observer: Retvals are observable that are: IS_CV, IS_UNDEF 13 return $i_do_not_exist; // IS_CV && IS_UNDEF
|
/php-src/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-src/ext/opcache/jit/ |
H A D | zend_jit_trace.c | 1848 if (opline->op1_type == IS_CV in zend_jit_trace_build_tssa() 2019 if (opline->op1_type != IS_CV in zend_jit_trace_build_tssa() 2872 && opline->op1_type == IS_CV in zend_jit_trace_allocate_registers() 3384 if (opline->op1_type == IS_CV in zend_jit_may_delay_fetch_this() 3385 && (opline+1)->op1_type == IS_CV in zend_jit_may_delay_fetch_this() 4476 && opline->op1_type == IS_CV in zend_jit_trace() 4490 && opline->op2_type == IS_CV in zend_jit_trace() 4634 if (opline->op1_type == IS_CV in zend_jit_trace() 4774 if (opline->op1_type == IS_CV in zend_jit_trace() 4954 if (opline->op1_type == IS_CV in zend_jit_trace() [all …]
|
H A D | zend_jit_vm_helpers.c | 667 if ((opline->op1_type & (IS_TMP_VAR|IS_VAR|IS_CV)) 702 if (opline->op2_type & (IS_TMP_VAR|IS_VAR|IS_CV) 719 && (opline->op2_type == IS_CV 749 if ((opline+1)->op1_type & (IS_TMP_VAR|IS_VAR|IS_CV)) {
|
H A D | zend_jit.c | 489 if (opline->op1_type == IS_CV && opline->op1.var == EX_NUM_TO_VAR(var)) { in zend_ssa_cv_info() 653 (((opline->opN##_type & (IS_TMP_VAR|IS_VAR|IS_CV)) && \ 1476 if (opline->op1_type != IS_CV) { in zend_jit() 1486 if (opline->result_type == IS_CV in zend_jit() 1544 if (opline->result_type == IS_CV in zend_jit() 1598 if (opline->result_type == IS_CV in zend_jit() 1659 if (opline->op1_type != IS_CV || opline->result_type != IS_UNUSED) { in zend_jit() 1689 if (opline->op1_type != IS_CV || opline->result_type != IS_UNUSED) { in zend_jit() 1709 if (opline->op1_type != IS_CV) { in zend_jit() 1872 if (opline->op1_type != IS_CV) { in zend_jit() [all …]
|
H A D | zend_jit_ir.c | 2594 IS_CV, val_addr, val_info, in zend_jit_assign_cv_noref_stub() 2626 IS_CV, val_addr, val_info, in zend_jit_assign_cv_stub() 2957 opline.op1_type = IS_CV; in zend_jit_setup_disasm() 6094 if (val_type == IS_CV) { in zend_jit_simple_assign() 6213 } else if (val_type == IS_CV) { in zend_jit_assign_to_variable_call() 6316 } else if (val_type == IS_CV) { in zend_jit_assign_to_variable() 6329 } else if (val_type == IS_CV) { in zend_jit_assign_to_variable() 8411 if (opline->op2_type == IS_CV) { 11324 if (opline->op2_type == IS_CV) { 13153 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() 1496 ZEND_ASSERT(op_data->opcode == ZEND_OP_DATA && op_data->op1_type == IS_CV); in zend_jit_assign_dim_helper() 1522 ZEND_ASSERT(op_data->opcode == ZEND_OP_DATA && op_data->op1_type == IS_CV); in zend_jit_assign_dim_helper() 2294 return zend_jit_assign_to_typed_ref_helper(ref, value, IS_CV); in zend_jit_assign_cv_to_typed_ref() 2340 return zend_jit_assign_to_typed_ref2_helper(ref, value, result, IS_CV); in zend_jit_assign_cv_to_typed_ref2() 2530 if (Z_TYPE_P(container) == IS_UNDEF && opline->op1_type == IS_CV) { in zend_jit_invalid_property_incdec() 2645 ZEND_ASSERT(op_data->opcode == ZEND_OP_DATA && op_data->op1_type == IS_CV); in zend_jit_assign_obj_helper() 2665 ZEND_ASSERT(op_data->opcode == ZEND_OP_DATA && op_data->op1_type == IS_CV); in zend_jit_assign_to_typed_prop()
|