/php-src/Zend/ |
H A D | zend_verify_type_inference.h | 143 && (opline->result_type & (IS_TMP_VAR|IS_VAR|IS_CV))) { in zend_verify_inference_use() 144 …inference(EX_VAR(opline->result.var), opline->result_use_type, opline->result_type, execute_data, … in zend_verify_inference_use() 174 && (opline->result_type & (IS_TMP_VAR|IS_VAR|IS_CV)) in zend_verify_inference_def() 191 …inference(EX_VAR(opline->result.var), opline->result_def_type, opline->result_type, execute_data, … in zend_verify_inference_def() 200 …ev_execute_data, opline->result.var), opline->result_def_type, opline->result_type, prev_execute_d… in zend_verify_inference_def()
|
H A D | zend_opcode.c | 942 if ((opline->result_type & (IS_TMP_VAR|IS_VAR)) && !is_fake_def(opline)) { in zend_calc_live_ranges() 1149 if (call->result_type == IS_UNUSED) { in pass_two() 1150 opline->result_type = IS_UNUSED; in pass_two() 1196 if (opline->result_type & (IS_VAR|IS_TMP_VAR)) { in pass_two()
|
H A D | zend_compile.c | 803 if (opline->result_type == IS_VAR in zend_do_free() 826 if (opline->result_type == IS_VAR in zend_do_free() 2246 opline->result_type = IS_TMP_VAR; in zend_adjust_for_fetch_type() 2256 opline->result_type = IS_TMP_VAR; in zend_adjust_for_fetch_type() 2273 opline->result_type = IS_VAR; in zend_make_var_result() 2281 opline->result_type = IS_TMP_VAR; in zend_make_tmp_result() 3013 opline->result_type = IS_TMP_VAR; in zend_compile_simple_var() 3021 opline->result_type = IS_TMP_VAR; in zend_compile_simple_var() 3041 opline->result_type = IS_VAR; in zend_separate_if_call_and_write() 3493 opline->result_type = IS_TMP_VAR; in zend_compile_assign() [all …]
|
H A D | zend.h | 55 (EX(prev_execute_data)->opline->result_type != IS_UNUSED))
|
/php-src/Zend/Optimizer/ |
H A D | compact_vars.c | 45 if (opline->result_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 | optimize_temp_vars_5.c | 68 if (opline->result_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 | dfa_pass.c | 860 opline->result_type = IS_UNUSED; in zend_dfa_optimize_jmps() 874 opline->result_type = IS_UNUSED; in zend_dfa_optimize_jmps() 888 opline->result_type = IS_UNUSED; in zend_dfa_optimize_jmps() 914 opline->result_type = IS_UNUSED; in zend_dfa_optimize_jmps() 930 opline->result_type = IS_UNUSED; in zend_dfa_optimize_jmps() 1059 op_array->opcodes[def].result_type = IS_UNUSED; in zend_dfa_try_to_replace_result() 1081 op_array->opcodes[use].result_type = IS_CV; in zend_dfa_try_to_replace_result() 1405 op_array->opcodes[op_2].result_type = opline->result_type; in zend_dfa_optimize_op_array() 1559 op_array->opcodes[op_2].result_type = opline->op1_type; in zend_dfa_optimize_op_array() 1642 opline->result_type = opline->op1_type; in zend_dfa_optimize_op_array() [all …]
|
H A D | zend_cfg.h | 114 ((opline)->result_type != IS_UNUSED)
|
H A D | zend_dump.c | 449 if (opline->result_type & (IS_CV|IS_VAR|IS_TMP_VAR)) { in zend_dump_op() 452 …zend_dump_ssa_var(op_array, ssa, ssa_var_num, opline->result_type, EX_VAR_TO_NUM(opline->result.va… in zend_dump_op() 454 zend_dump_var(op_array, opline->result_type, EX_VAR_TO_NUM(opline->result.var)); in zend_dump_op() 728 if (opline->result_type == IS_CONST) { in zend_dump_op() 731 } else if (opline->result_type & IS_SMART_BRANCH_JMPZ) { in zend_dump_op() 733 } else if (opline->result_type & IS_SMART_BRANCH_JMPNZ) { in zend_dump_op() 737 if (opline->result_type & (IS_CV|IS_VAR|IS_TMP_VAR)) { in zend_dump_op() 742 …zend_dump_ssa_var(op_array, ssa, ssa_var_num, opline->result_type, EX_VAR_TO_NUM(opline->result.va… in zend_dump_op() 746 zend_dump_var(op_array, opline->result_type, EX_VAR_TO_NUM(opline->result.var)); in zend_dump_op() 752 …zend_dump_ssa_var(op_array, ssa, ssa_var_num, opline->result_type, EX_VAR_TO_NUM(opline->result.va… in zend_dump_op()
|
H A D | pass1.c | 44 …if (zend_optimizer_replace_by_const(op_array, opline + 1, opline->result_type, opline->result.var,… in replace_by_const_or_qm_assign() 233 opline->result_type = IS_UNUSED; in zend_optimizer_pass1()
|
H A D | block_pass.c | 307 src->result_type = IS_UNUSED; in zend_optimize_block() 326 src->result_type = IS_UNUSED; in zend_optimize_block() 900 if (opline->op1_type == opline->result_type && in zend_optimize_block() 906 opline->result_type == IS_TMP_VAR && in zend_optimize_block() 927 if (opline->result_type & (IS_VAR|IS_TMP_VAR)) { in zend_optimize_block() 1469 if (opline->result_type == IS_VAR) { in zend_t_usage() 1472 } else if (opline->result_type == IS_TMP_VAR) { in zend_t_usage() 1533 if (opline->result_type & (IS_VAR|IS_TMP_VAR)) { in zend_t_usage() 1548 opline->result_type = IS_UNUSED; in zend_t_usage() 1557 opline->result_type = IS_UNUSED; in zend_t_usage()
|
H A D | zend_dfg.c | 43 && opline->result_type == 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 | zend_optimizer.c | 1058 if ((free_opline->result_type & (IS_TMP_VAR|IS_VAR)) && free_opline->result.var == var) { in zend_optimizer_get_loop_var_def() 1199 opline->result_type &= (IS_TMP_VAR|IS_VAR|IS_CV|IS_CONST); in zend_revert_pass_two() 1300 if (opline->result_type & IS_TMP_VAR) { in zend_redo_pass_two() 1306 opline->result_type = IS_SMART_BRANCH_JMPZ | IS_TMP_VAR; in zend_redo_pass_two() 1310 opline->result_type = IS_SMART_BRANCH_JMPNZ | IS_TMP_VAR; in zend_redo_pass_two() 1361 …(opline->result_type == IS_UNUSED ? 0 : (RES_INFO() & (MAY_BE_UNDEF|MAY_BE_ANY|MAY_BE_REF|MAY_BE_A… in zend_redo_pass_two_ex() 1422 if (opline->result_type & IS_TMP_VAR) { in zend_redo_pass_two_ex() 1428 opline->result_type = IS_SMART_BRANCH_JMPZ | IS_TMP_VAR; in zend_redo_pass_two_ex() 1432 opline->result_type = IS_SMART_BRANCH_JMPNZ | IS_TMP_VAR; in zend_redo_pass_two_ex()
|
H A D | zend_optimizer_internal.h | 43 #define RESULT_UNUSED(op) (op->result_type == IS_UNUSED)
|
H A D | sccp.c | 2137 opline->result_type = IS_UNUSED; in try_remove_definition() 2168 opline->result_type = IS_UNUSED; in try_remove_definition() 2192 && (opline->result_type & (IS_VAR|IS_TMP_VAR)) in try_remove_definition() 2201 uint8_t old_type = opline->result_type; in try_remove_definition() 2218 opline->result_type = old_type; in try_remove_definition() 2240 opline->result_type = IS_UNUSED; in try_remove_definition() 2308 opline->result_type = IS_UNUSED; in try_remove_definition()
|
H A D | escape_analysis.c | 354 if (opline->op2_type == IS_CV || opline->result_type != IS_UNUSED) { in is_escape_use()
|
H A D | ssa_integrity.c | 228 if (is_var_type(opline->result_type)) { in ssa_verify_integrity()
|
H A D | dce.c | 379 def_opline->result_type = IS_UNUSED; in try_remove_var_def()
|
/php-src/ext/pdo_pgsql/ |
H A D | pgsql_driver.c | 1168 zend_long result_type = PDO_FETCH_USE_DEFAULT; in pgsqlGetNotify_internal() local 1173 &result_type, &ms_timeout)) { in pgsqlGetNotify_internal() 1180 if (result_type == PDO_FETCH_USE_DEFAULT) { in pgsqlGetNotify_internal() 1181 result_type = dbh->default_fetch_type; in pgsqlGetNotify_internal() 1184 …if (result_type != PDO_FETCH_BOTH && result_type != PDO_FETCH_ASSOC && result_type != PDO_FETCH_NU… in pgsqlGetNotify_internal() 1224 if (result_type == PDO_FETCH_NUM || result_type == PDO_FETCH_BOTH) { in pgsqlGetNotify_internal() 1231 if (result_type == PDO_FETCH_ASSOC || result_type == PDO_FETCH_BOTH) { in pgsqlGetNotify_internal()
|
/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() 2505 if (opline->result_type & (IS_VAR|IS_TMP_VAR)) { in zend_jit_invalid_property_incdec() [all …]
|
H A D | zend_jit.c | 1232 if (opline->result_type == IS_TMP_VAR in zend_jit_next_is_send_result() 1491 if (opline->result_type == IS_CV in zend_jit() 1549 if (opline->result_type == IS_CV in zend_jit() 1603 if (opline->result_type == IS_CV in zend_jit() 2028 if ((opline->result_type & IS_TMP_VAR) in zend_jit() 2064 if ((opline->result_type & IS_TMP_VAR) in zend_jit() 2096 if ((opline->result_type & IS_TMP_VAR) in zend_jit() 2119 if ((opline->result_type & IS_TMP_VAR) in zend_jit() 2178 if (opline->result_type == IS_UNDEF) { in zend_jit() 2196 if ((opline->result_type & IS_TMP_VAR) in zend_jit() [all …]
|
H A D | zend_jit_trace.c | 1830 if (opline->result_type != IS_UNUSED) { in zend_jit_trace_build_tssa() 1888 if (opline->result_type != IS_UNUSED) { in zend_jit_trace_build_tssa() 2636 if (opline->result_type != IS_UNDEF) { in zend_jit_trace_build_tssa() 3884 if (opline->result_type == IS_TMP_VAR in zend_jit_trace_next_is_send_result() 4427 if (opline->result_type == IS_CV) { in zend_jit_trace() 4464 if (opline->result_type != IS_UNUSED in zend_jit_trace() 4500 if (opline->result_type == IS_CV) { in zend_jit_trace() 4572 if (opline->result_type == IS_CV) { in zend_jit_trace() 5195 if (opline->result_type == IS_CV) { in zend_jit_trace() 6578 || opline->result_type != IS_CV in zend_jit_trace() [all …]
|
H A D | zend_jit_internal.h | 90 OP_ADDR(opline, result_type, result) 99 OP_REG_ADDR(opline, ssa_op, result_type, result, result_def) 108 OP_REG_ADDR(opline, ssa_op, result_type, result, result_use)
|
H A D | zend_jit_ir.c | 1928 ir_ref ref, result_type, if_result_used; in zend_jit_exception_handler_undef_stub() local 1931 result_type = ir_LOAD_U8(ir_ADD_OFFSET(ir_LOAD_A(ref), offsetof(zend_op, result_type))); in zend_jit_exception_handler_undef_stub() 2927 opline.result_type = IS_UNUSED; in zend_jit_setup_disasm() 2932 opline.result_type = IS_VAR; in zend_jit_setup_disasm() 2937 opline.result_type = IS_UNUSED; in zend_jit_setup_disasm() 2942 opline.result_type = IS_VAR; in zend_jit_setup_disasm() 2947 opline.result_type = IS_UNUSED; in zend_jit_setup_disasm() 2952 opline.result_type = IS_VAR; in zend_jit_setup_disasm() 4948 if (opline->result_type != IS_UNUSED) { in zend_jit_inc_dec() 16641 if (opline->result_type == IS_VAR || opline->result_type == IS_TMP_VAR) { [all …]
|
/php-src/ext/pgsql/ |
H A D | pgsql.c | 1973 result_type = PGSQL_ASSOC; in php_pgsql_fetch_hash() 1979 Z_PARAM_LONG(result_type) in php_pgsql_fetch_hash() 1988 if (!(result_type & PGSQL_BOTH)) { in php_pgsql_fetch_hash() 2017 if (result_type & PGSQL_NUM) { in php_pgsql_fetch_hash() 2029 if (result_type & PGSQL_NUM) { in php_pgsql_fetch_hash() 2111 Z_PARAM_LONG(result_type) in PHP_FUNCTION() 4245 Z_PARAM_LONG(result_type) in PHP_FUNCTION() 4277 Z_PARAM_LONG(result_type) in PHP_FUNCTION() 4296 if (result_type & PGSQL_NUM) { in PHP_FUNCTION() 4304 if (result_type & PGSQL_ASSOC) { in PHP_FUNCTION() [all …]
|