/PHP-8.4/Zend/Optimizer/ |
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_dfg.c | 27 if (opline->op1_type & (IS_CV|IS_VAR|IS_TMP_VAR)) { in _zend_dfg_add_use_def_op() 33 if (((opline->op2_type & (IS_VAR|IS_TMP_VAR)) != 0 in _zend_dfg_add_use_def_op() 72 if (next->op1_type & (IS_CV|IS_VAR|IS_TMP_VAR)) { in _zend_dfg_add_use_def_op() 87 if (next->op1_type & (IS_CV|IS_VAR|IS_TMP_VAR)) { in _zend_dfg_add_use_def_op() 102 if (next->op1_type & (IS_CV|IS_VAR|IS_TMP_VAR)) { in _zend_dfg_add_use_def_op() 114 if (next->op1_type & (IS_CV|IS_VAR|IS_TMP_VAR)) { in _zend_dfg_add_use_def_op() 127 if (next->op1_type & (IS_CV|IS_VAR|IS_TMP_VAR)) { in _zend_dfg_add_use_def_op() 137 if (next->op1_type & (IS_CV|IS_VAR|IS_TMP_VAR)) { in _zend_dfg_add_use_def_op() 217 if (opline->op1_type & (IS_TMP_VAR|IS_VAR|IS_CV)) { in _zend_dfg_add_use_def_op() 240 if (opline->result_type & (IS_CV|IS_VAR|IS_TMP_VAR)) { in _zend_dfg_add_use_def_op()
|
H A D | optimize_temp_vars_5.c | 68 if (opline->result_type & (IS_VAR | IS_TMP_VAR)) { in zend_optimize_temporary_variables() 80 if ((opline->op1_type & (IS_VAR | IS_TMP_VAR))) { in zend_optimize_temporary_variables() 139 if ((opline->op2_type & (IS_VAR | IS_TMP_VAR))) { in zend_optimize_temporary_variables() 148 if (opline->result_type & (IS_VAR | IS_TMP_VAR)) { in zend_optimize_temporary_variables()
|
H A D | block_pass.c | 217 if (opline->op1_type & (IS_TMP_VAR|IS_VAR)) { in zend_optimize_block() 266 if (opline->op1_type & (IS_TMP_VAR|IS_VAR)) { in zend_optimize_block() 316 } else if (opline->op1_type == IS_VAR) { in zend_optimize_block() 330 if (src->op1_type & (IS_VAR|IS_TMP_VAR)) { in zend_optimize_block() 347 if((opline->op1_type & IS_VAR) && in zend_optimize_block() 395 if (opline->op1_type & (IS_TMP_VAR|IS_VAR)) { in zend_optimize_block() 404 if (opline->op1_type & (IS_TMP_VAR|IS_VAR)) { in zend_optimize_block() 424 if (opline->op1_type & (IS_TMP_VAR|IS_VAR)) { in zend_optimize_block() 1453 if (opline->op2_type == IS_VAR) { in zend_t_usage() 1469 if (opline->result_type == IS_VAR) { in zend_t_usage() [all …]
|
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() 427 if ((opline->op1_type & (IS_VAR|IS_TMP_VAR))&& !is_var_dead(ctx, ssa_op->op1_use)) { in dce_instr() 436 if ((opline->op2_type & (IS_VAR|IS_TMP_VAR)) && !is_var_dead(ctx, ssa_op->op2_use)) { in dce_instr()
|
H A D | zend_ssa.c | 547 if (opline->op1_type & (IS_CV|IS_VAR|IS_TMP_VAR)) { in _zend_ssa_rename_op() 551 if (opline->op2_type & (IS_CV|IS_VAR|IS_TMP_VAR)) { in _zend_ssa_rename_op() 592 if (next->op1_type & (IS_CV|IS_VAR|IS_TMP_VAR)) { in _zend_ssa_rename_op() 617 if (next->op1_type & (IS_CV|IS_VAR|IS_TMP_VAR)) { in _zend_ssa_rename_op() 630 if (next->op1_type & (IS_CV|IS_VAR|IS_TMP_VAR)) { in _zend_ssa_rename_op() 643 if (next->op1_type & (IS_CV|IS_VAR|IS_TMP_VAR)) { in _zend_ssa_rename_op() 656 if (next->op1_type & (IS_CV|IS_VAR|IS_TMP_VAR)) { in _zend_ssa_rename_op() 670 if (next->op1_type & (IS_CV|IS_VAR|IS_TMP_VAR)) { in _zend_ssa_rename_op() 739 if (opline->op1_type & (IS_TMP_VAR|IS_VAR|IS_CV)) { in _zend_ssa_rename_op() 786 if (next->op1_type & (IS_CV|IS_VAR|IS_TMP_VAR)) { in _zend_ssa_rename_op() [all …]
|
H A D | zend_dump.c | 144 } else if (var_type == IS_VAR) { in zend_dump_var() 146 } else if ((var_type & (IS_VAR|IS_TMP_VAR)) == IS_TMP_VAR) { in zend_dump_var() 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()
|
/PHP-8.4/Zend/ |
H A D | zend_vm_execute.h | 22869 if (IS_VAR == IS_VAR || IS_VAR == IS_CV) { in ZEND_FE_RESET_RW_SPEC_VAR_HANDLER() 22879 if (IS_VAR == IS_VAR || IS_VAR == IS_CV) { in ZEND_FE_RESET_RW_SPEC_VAR_HANDLER() 24417 if (IS_VAR == IS_CV || IS_VAR == IS_VAR) { in ZEND_ASSIGN_OBJ_SPEC_VAR_CONST_OP_DATA_VAR_HANDLER() 27408 if (IS_VAR == IS_CV || IS_VAR == IS_VAR) { in ZEND_ASSIGN_OBJ_SPEC_VAR_TMPVAR_OP_DATA_VAR_HANDLER() 31761 if (IS_VAR == IS_CV || IS_VAR == IS_VAR) { in ZEND_ASSIGN_OBJ_SPEC_VAR_CV_OP_DATA_VAR_HANDLER() 34508 if (IS_VAR == IS_CV || IS_VAR == IS_VAR) { in ZEND_ASSIGN_OBJ_SPEC_UNUSED_CONST_OP_DATA_VAR_HANDLER() 36676 if (IS_VAR == IS_CV || IS_VAR == IS_VAR) { in ZEND_ASSIGN_OBJ_SPEC_UNUSED_TMPVAR_OP_DATA_VAR_HANDLER() 39322 if (IS_VAR == IS_CV || IS_VAR == IS_VAR) { in ZEND_ASSIGN_OBJ_SPEC_UNUSED_CV_OP_DATA_VAR_HANDLER() 43722 if (IS_VAR == IS_CV || IS_VAR == IS_VAR) { in ZEND_ASSIGN_OBJ_SPEC_CV_CONST_OP_DATA_VAR_HANDLER() 47674 if (IS_VAR == IS_CV || IS_VAR == IS_VAR) { in ZEND_ASSIGN_OBJ_SPEC_CV_TMPVAR_OP_DATA_VAR_HANDLER() [all …]
|
H A D | zend_verify_type_inference.h | 75 if (Z_TYPE_P(value) == IS_UNUSED && op_type == IS_VAR && (type_mask & MAY_BE_NULL)) { in zend_verify_type_inference() 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 | 1935 if (OP1_TYPE == IS_VAR) { 1950 if (OP1_TYPE == IS_VAR) { 2021 if (OP1_TYPE == IS_VAR) { 2211 if (OP1_TYPE == IS_VAR) { 2228 if (OP1_TYPE == IS_VAR) { 2383 if (OP1_TYPE == IS_VAR) { 2410 if (OP1_TYPE == IS_VAR 2807 if (OP1_TYPE == IS_VAR && 4541 if (OP1_TYPE == IS_VAR) { 7685 if (OP1_TYPE == IS_VAR) { [all …]
|
H A D | zend_opcode.c | 869 ((use_opline->op1_type & (IS_TMP_VAR|IS_VAR)) && use_opline->op1.var == rt_var_num) || in emit_live_range() 870 ((use_opline->op2_type & (IS_TMP_VAR|IS_VAR)) && use_opline->op2.var == rt_var_num) in emit_live_range() 942 if ((opline->result_type & (IS_TMP_VAR|IS_VAR)) && !is_fake_def(opline)) { in zend_calc_live_ranges() 968 if ((opline->op1_type & (IS_TMP_VAR|IS_VAR))) { in zend_calc_live_ranges() 977 if (opline->op2_type & (IS_TMP_VAR|IS_VAR)) { in zend_calc_live_ranges() 1188 } else if (opline->op1_type & (IS_VAR|IS_TMP_VAR)) { in pass_two() 1193 } else if (opline->op2_type & (IS_VAR|IS_TMP_VAR)) { in pass_two() 1196 if (opline->result_type & (IS_VAR|IS_TMP_VAR)) { in pass_two()
|
H A D | zend_execute.c | 177 if ((type) & (IS_TMP_VAR|IS_VAR)) { \ 399 if (op_type & (IS_TMP_VAR|IS_VAR)) { in _get_zval_ptr_tmpvarcv() 403 ZEND_ASSERT(op_type == IS_VAR); in _get_zval_ptr_tmpvarcv() 414 if (op_type & (IS_TMP_VAR|IS_VAR)) { in _get_zval_ptr() 434 if (op_type & (IS_TMP_VAR|IS_VAR)) { in _get_op_data_zval_ptr_r() 454 if (op_type & (IS_TMP_VAR|IS_VAR)) { in _get_zval_ptr_deref() 458 ZEND_ASSERT(op_type == IS_VAR); in _get_zval_ptr_deref() 478 ZEND_ASSERT(op_type == IS_VAR); in _get_op_data_zval_ptr_deref_r() 527 ZEND_ASSERT(op_type == IS_VAR); in _get_zval_ptr_ptr() 3531 zend_assign_to_property_reference(container, IS_VAR, prop_ptr, IS_VAR, value_ptr in zend_assign_to_property_reference_var_var() [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() 152 } else if (ZEND_CONST_COND(value_type == IS_VAR, 1) && UNEXPECTED(ref)) { in zend_copy_to_variable()
|
H A D | zend_compile.c | 796 } else if (op1->op_type == IS_VAR) { in zend_do_free() 803 if (opline->result_type == IS_VAR in zend_do_free() 821 opline->op1_type == IS_VAR && in zend_do_free() 826 if (opline->result_type == IS_VAR in zend_do_free() 2273 opline->result_type = IS_VAR; in zend_make_var_result() 2597 if (result->op_type == IS_VAR) { in zend_compile_memoized_expr() 3039 if (node->op_type == IS_VAR) { in zend_separate_if_call_and_write() 3041 opline->result_type = IS_VAR; in zend_separate_if_call_and_write() 3874 if (arg_node.op_type == IS_VAR) { in zend_compile_args() 6095 opline->op2_type = IS_VAR; in zend_compile_foreach() [all …]
|
/PHP-8.4/ext/zend_test/tests/ |
H A D | observer_retval_04.phpt | 2 Observer: Retvals are observable that are: refcounted, IS_VAR 19 return getObj(); // IS_VAR 26 return 'This gets ' . $what . ' in the return handler when unused'; // Refcounted + IS_VAR
|
H A D | observer_retval_07.phpt | 2 Observer: Retvals are observable that are: IS_REFERENCE, IS_VAR 18 return getMessage(); // IS_REFERENCE + IS_VAR
|
H A D | observer_retval_by_ref_03.phpt | 2 Observer: Retvals by reference are observable that are: IS_VAR, ZEND_RETURNS_FUNCTION 18 return getMessage(); // IS_VAR + ZEND_RETURNS_FUNCTION
|
/PHP-8.4/ext/opcache/tests/jit/ |
H A D | assign_039.phpt | 2 JIT ASSIGN: Assign reference IS_VAR
|
H A D | add_008.phpt | 2 JIT ADD: 008 Addition with reference IS_VAR
|
/PHP-8.4/Zend/tests/ |
H A D | bug70262.phpt | 20 $a->getObj($array) //use function call to get a refcount == 1 IS_VAR object
|
H A D | object_handlers.phpt | 120 // IS_VAR 136 // IS_VAR + conversion
|
H A D | foreach_003.phpt | 39 // IS_VAR
|
/PHP-8.4/ext/opcache/jit/ |
H A D | zend_jit_helpers.c | 405 if (opline->result_type & (IS_VAR | IS_TMP_VAR)) { in zend_jit_fetch_dim_r_helper() 415 if (opline->result_type & (IS_VAR | IS_TMP_VAR)) { in zend_jit_fetch_dim_r_helper() 465 if (opline->result_type & (IS_VAR | IS_TMP_VAR)) { in zend_jit_fetch_dim_r_helper() 475 if (opline->result_type & (IS_VAR | IS_TMP_VAR)) { in zend_jit_fetch_dim_r_helper() 547 if (opline->result_type & (IS_VAR | IS_TMP_VAR)) { in zend_jit_fetch_dim_is_helper() 557 if (opline->result_type & (IS_VAR | IS_TMP_VAR)) { in zend_jit_fetch_dim_is_helper() 607 if (opline->result_type & (IS_VAR | IS_TMP_VAR)) { in zend_jit_fetch_dim_is_helper() 617 if (opline->result_type & (IS_VAR | IS_TMP_VAR)) { in zend_jit_fetch_dim_is_helper() 2505 if (opline->result_type & (IS_VAR|IS_TMP_VAR)) { in zend_jit_invalid_property_incdec() 2511 if (opline->op1_type == IS_VAR) { in zend_jit_invalid_property_incdec() [all …]
|
H A D | zend_jit_ir.c | 2589 IS_VAR, val_addr, val_info, in zend_jit_assign_var_stub() 2932 opline.result_type = IS_VAR; in zend_jit_setup_disasm() 2942 opline.result_type = IS_VAR; in zend_jit_setup_disasm() 2952 opline.result_type = IS_VAR; in zend_jit_setup_disasm() 2967 opline.op1_type = IS_VAR; in zend_jit_setup_disasm() 6341 } else if (val_type == IS_VAR) { in zend_jit_assign_to_variable_call() 13870 if (opline->op1_type == IS_VAR 14303 if (opline->op1_type == IS_VAR 14400 if (opline->op1_type == IS_VAR 14750 if (opline->op1_type == IS_VAR [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) 770 if ((opline+1)->op1_type & (IS_TMP_VAR|IS_VAR|IS_CV)) {
|