/php-src/Zend/Optimizer/ |
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_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 | 67 if (opline->result_type & (IS_VAR | IS_TMP_VAR)) { in zend_optimize_temporary_variables() 79 if ((opline->op1_type & (IS_VAR | IS_TMP_VAR))) { in zend_optimize_temporary_variables() 138 if ((opline->op2_type & (IS_VAR | IS_TMP_VAR))) { in zend_optimize_temporary_variables() 147 if (opline->result_type & (IS_VAR | IS_TMP_VAR)) { in zend_optimize_temporary_variables()
|
H A D | block_pass.c | 152 if (opline->op1_type == IS_TMP_VAR && in zend_optimize_block() 192 if (opline->op2_type == IS_TMP_VAR) { in zend_optimize_block() 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() 277 if (opline->op1_type == IS_TMP_VAR) { in zend_optimize_block() 330 if (src->op1_type & (IS_VAR|IS_TMP_VAR)) { in zend_optimize_block() 395 if (opline->op1_type & (IS_TMP_VAR|IS_VAR)) { in zend_optimize_block() 478 if (opline->op1_type == IS_TMP_VAR && in zend_optimize_block() 688 opline->op1_type == IS_TMP_VAR) { in zend_optimize_block() 872 if (opline->op1_type == IS_TMP_VAR) { in zend_optimize_block() [all …]
|
H A D | zend_ssa.c | 294 if (opline->op1_type == IS_TMP_VAR && in place_essa_pis() 308 } else if ((opline-1)->op1_type == IS_TMP_VAR) { in place_essa_pis() 315 } else if ((opline-1)->op2_type == IS_TMP_VAR) { in place_essa_pis() 436 } else if (opline->op1_type == IS_TMP_VAR && in place_essa_pis() 458 } else if (opline->op1_type == IS_TMP_VAR && in place_essa_pis() 485 } else if (opline->op1_type == IS_TMP_VAR && in place_essa_pis() 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() [all …]
|
H A D | zend_optimizer.c | 222 } else if (opline->op1_type & (IS_TMP_VAR|IS_VAR)) { in zend_optimizer_convert_to_free_op1() 1156 opline->result_type &= (IS_TMP_VAR|IS_VAR|IS_CV|IS_CONST); in zend_revert_pass_two() 1261 if (opline->result_type & IS_TMP_VAR) { in zend_redo_pass_two() 1265 && (opline+1)->op1_type == IS_TMP_VAR in zend_redo_pass_two() 1267 opline->result_type = IS_SMART_BRANCH_JMPZ | IS_TMP_VAR; in zend_redo_pass_two() 1269 && (opline+1)->op1_type == IS_TMP_VAR in zend_redo_pass_two() 1271 opline->result_type = IS_SMART_BRANCH_JMPNZ | IS_TMP_VAR; in zend_redo_pass_two() 1383 if (opline->result_type & IS_TMP_VAR) { in zend_redo_pass_two_ex() 1387 && (opline+1)->op1_type == IS_TMP_VAR in zend_redo_pass_two_ex() 1389 opline->result_type = IS_SMART_BRANCH_JMPZ | IS_TMP_VAR; in zend_redo_pass_two_ex() [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_dump.c | 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()
|
H A D | optimize_func_calls.c | 242 … && (opline->op1_type == IS_TMP_VAR || call_stack[call - 1].last_check_func_arg_opline == NULL)) { in zend_optimize_func_calls()
|
H A D | dfa_pass.c | 511 call_info->caller_call_opline->result_type = IS_TMP_VAR; in zend_dfa_optimize_calls() 512 op_array->opcodes[use].op1_type = IS_TMP_VAR; in zend_dfa_optimize_calls() 1344 && opline->op1_type & (IS_TMP_VAR|IS_VAR) in zend_dfa_optimize_op_array() 1509 if ((opline->op2_type & (IS_TMP_VAR|IS_VAR)) in zend_dfa_optimize_op_array() 1607 || ((opline->op2_type & (IS_TMP_VAR|IS_VAR|IS_CV)) in zend_dfa_optimize_op_array()
|
H A D | ssa_integrity.c | 89 return (type & (IS_CV|IS_VAR|IS_TMP_VAR)) != 0; in is_var_type()
|
H A D | zend_inference.c | 2161 if ((op_type & (IS_VAR|IS_TMP_VAR)) && (t1 & MAY_BE_RC1)) { in zend_array_element_type() 3109 } else if (opline->op2_type & (IS_TMP_VAR|IS_VAR)) { in _zend_update_type_info() 3752 if ((tmp & (MAY_BE_RC1|MAY_BE_RCN)) == MAY_BE_RCN && opline->result_type == IS_TMP_VAR) { in _zend_update_type_info() 3796 } else if (!(opline->op1_type & (IS_VAR|IS_TMP_VAR)) || !(t1 & MAY_BE_RC1)) { in _zend_update_type_info() 3980 if (opline->op1_type & (IS_TMP_VAR|IS_VAR|IS_CV)) { in _zend_update_type_info() 4076 if (opline->result_type == IS_TMP_VAR) { in _zend_update_type_info() 4953 } else if (opline->op1_type & (IS_TMP_VAR|IS_VAR)) { in zend_may_throw_ex() 4994 } else if (opline->op2_type & (IS_TMP_VAR|IS_VAR)) { in zend_may_throw_ex()
|
/php-src/Zend/ |
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_execute.h | 19346 if (IS_TMP_VAR & (IS_VAR|IS_TMP_VAR)) { in ZEND_RETURN_SPEC_TMP_HANDLER() 19665 if (IS_TMP_VAR != IS_TMP_VAR) { in ZEND_FE_RESET_R_SPEC_TMP_HANDLER() 20198 if (IS_TMP_VAR == IS_TMP_VAR) { in ZEND_ADD_ARRAY_ELEMENT_SPEC_TMP_CONST_HANDLER() 20366 } else if (IS_TMP_VAR == IS_TMP_VAR) { in ZEND_YIELD_SPEC_TMP_CONST_HANDLER() 20432 if (IS_TMP_VAR & (IS_TMP_VAR|IS_VAR)) { in ZEND_IN_ARRAY_SPEC_TMP_CONST_HANDLER() 20642 if (IS_TMP_VAR == IS_TMP_VAR) { in ZEND_ADD_ARRAY_ELEMENT_SPEC_TMP_TMPVAR_HANDLER() 20810 } else if (IS_TMP_VAR == IS_TMP_VAR) { in ZEND_YIELD_SPEC_TMP_TMPVAR_HANDLER() 21103 if (IS_TMP_VAR == IS_TMP_VAR) { in ZEND_ADD_ARRAY_ELEMENT_SPEC_TMP_UNUSED_HANDLER() 21271 } else if (IS_TMP_VAR == IS_TMP_VAR) { in ZEND_YIELD_SPEC_TMP_UNUSED_HANDLER() 21507 if (IS_TMP_VAR == IS_TMP_VAR) { in ZEND_ADD_ARRAY_ELEMENT_SPEC_TMP_CV_HANDLER() [all …]
|
H A D | zend_vm_def.h | 38 if (OP1_TYPE & (IS_TMP_VAR|IS_VAR)) { in ZEND_VM_HELPER() 41 if (OP2_TYPE & (IS_TMP_VAR|IS_VAR)) { in ZEND_VM_HELPER() 97 if (OP1_TYPE & (IS_TMP_VAR|IS_VAR)) { in ZEND_VM_HELPER() 100 if (OP2_TYPE & (IS_TMP_VAR|IS_VAR)) { in ZEND_VM_HELPER() 156 if (OP1_TYPE & (IS_TMP_VAR|IS_VAR)) { in ZEND_VM_HELPER() 159 if (OP2_TYPE & (IS_TMP_VAR|IS_VAR)) { in ZEND_VM_HELPER() 242 if (OP1_TYPE & (IS_TMP_VAR|IS_VAR)) { in ZEND_VM_HELPER() 245 if (OP2_TYPE & (IS_TMP_VAR|IS_VAR)) { in ZEND_VM_HELPER() 290 if (OP1_TYPE & (IS_TMP_VAR|IS_VAR)) { in ZEND_VM_HELPER() 6073 if (OP1_TYPE == IS_TMP_VAR) { [all …]
|
H A D | zend_opcode.c | 860 ((use_opline->op1_type & (IS_TMP_VAR|IS_VAR)) && use_opline->op1.var == rt_var_num) || in emit_live_range() 861 ((use_opline->op2_type & (IS_TMP_VAR|IS_VAR)) && use_opline->op2.var == rt_var_num) in emit_live_range() 933 if ((opline->result_type & (IS_TMP_VAR|IS_VAR)) && !is_fake_def(opline)) { in zend_calc_live_ranges() 959 if ((opline->op1_type & (IS_TMP_VAR|IS_VAR))) { in zend_calc_live_ranges() 968 if (opline->op2_type & (IS_TMP_VAR|IS_VAR)) { in zend_calc_live_ranges() 1179 } else if (opline->op1_type & (IS_VAR|IS_TMP_VAR)) { in pass_two() 1184 } else if (opline->op2_type & (IS_VAR|IS_TMP_VAR)) { in pass_two() 1187 if (opline->result_type & (IS_VAR|IS_TMP_VAR)) { in pass_two()
|
H A D | zend_compile.c | 736 if (op1->op_type == IS_TMP_VAR) { in zend_do_free() 2187 result->op_type = IS_TMP_VAR; in zend_adjust_for_fetch_type() 2197 result->op_type = IS_TMP_VAR; in zend_adjust_for_fetch_type() 2937 result->op_type = IS_TMP_VAR; in zend_compile_simple_var() 2945 result->op_type = IS_TMP_VAR; in zend_compile_simple_var() 3420 result->op_type = IS_TMP_VAR; in zend_compile_assign() 3432 result->op_type = IS_TMP_VAR; in zend_compile_assign() 3445 result->op_type = IS_TMP_VAR; in zend_compile_assign() 3592 result->op_type = IS_TMP_VAR; in zend_compile_compound_assign() 3606 result->op_type = IS_TMP_VAR; in zend_compile_compound_assign() [all …]
|
H A D | zend_execute.c | 175 if ((type) & (IS_TMP_VAR|IS_VAR)) { \ 397 if (op_type & (IS_TMP_VAR|IS_VAR)) { in _get_zval_ptr_tmpvarcv() 398 if (op_type == IS_TMP_VAR) { in _get_zval_ptr_tmpvarcv() 412 if (op_type & (IS_TMP_VAR|IS_VAR)) { in _get_zval_ptr() 432 if (op_type & (IS_TMP_VAR|IS_VAR)) { in _get_op_data_zval_ptr_r() 452 if (op_type & (IS_TMP_VAR|IS_VAR)) { in _get_zval_ptr_deref() 453 if (op_type == IS_TMP_VAR) { in _get_zval_ptr_deref() 472 if (op_type & (IS_TMP_VAR|IS_VAR)) { in _get_op_data_zval_ptr_deref_r() 473 if (op_type == IS_TMP_VAR) { in _get_op_data_zval_ptr_deref_r() 492 if (op_type & (IS_TMP_VAR|IS_VAR)) { in _get_zval_ptr_undef() [all …]
|
/php-src/ext/zend_test/tests/ |
H A D | observer_retval_by_ref_02.phpt | 2 Observer: Retvals by reference are observable that are: IS_TMP_VAR 14 return $retval . 'observable'; // IS_TMP_VAR
|
/php-src/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() 789 if (opline->result_type & (IS_VAR | IS_TMP_VAR)) { in zend_jit_fetch_dim_rw_helper() 2431 if (opline->result_type & (IS_VAR|IS_TMP_VAR)) { in zend_jit_invalid_property_incdec() [all …]
|
H A D | zend_jit.c | 1225 if (opline->result_type == IS_TMP_VAR in zend_jit_next_is_send_result() 1227 && (opline+1)->op1_type == IS_TMP_VAR in zend_jit_next_is_send_result() 1996 if ((opline->result_type & IS_TMP_VAR) in zend_jit() 2002 && (opline+1)->op1_type == IS_TMP_VAR in zend_jit() 2032 if ((opline->result_type & IS_TMP_VAR) in zend_jit() 2038 && (opline+1)->op1_type == IS_TMP_VAR in zend_jit() 2064 if ((opline->result_type & IS_TMP_VAR) in zend_jit() 2068 && (opline+1)->op1_type == IS_TMP_VAR in zend_jit() 2087 if ((opline->result_type & IS_TMP_VAR) in zend_jit() 2091 && (opline+1)->op1_type == IS_TMP_VAR in zend_jit() [all …]
|
H A D | zend_jit_ir.c | 1818 if (op_type & (IS_VAR|IS_TMP_VAR)) { in jit_FREE_OP() 1929 ir_CONST_U8(IS_TMP_VAR|IS_VAR))); in zend_jit_exception_handler_free_op1_op2_stub() 1952 ir_CONST_U8(IS_TMP_VAR|IS_VAR))); in zend_jit_exception_handler_free_op2_stub() 2493 ir_CONST_U8(IS_TMP_VAR|IS_VAR))); in zend_jit_cannot_add_element_stub() 2545 IS_TMP_VAR, val_addr, val_info, in zend_jit_assign_tmp_stub() 2938 opline.op1_type = IS_TMP_VAR; in zend_jit_setup_disasm() 6146 } else if (val_type == IS_TMP_VAR) { in zend_jit_assign_to_variable_call() 6247 } else if (val_type == IS_TMP_VAR) { in zend_jit_assign_to_variable() 6260 } else if (val_type == IS_TMP_VAR) { in zend_jit_assign_to_variable() 14593 if (val_op_type & (IS_TMP_VAR|IS_VAR)) { [all …]
|
H A D | zend_jit_vm_helpers.c | 667 if ((opline->op1_type & (IS_TMP_VAR|IS_VAR|IS_CV)) 696 if (opline->op2_type & (IS_TMP_VAR|IS_VAR|IS_CV) 743 if ((opline+1)->op1_type & (IS_TMP_VAR|IS_VAR|IS_CV)) {
|
/php-src/Zend/tests/ |
H A D | object_handlers.phpt | 65 // IS_TMP_VAR 82 // IS_TMP_VAR + conversion
|
H A D | foreach_003.phpt | 46 // IS_TMP_VAR
|