Home
last modified time | relevance | path

Searched refs:result_type (Results 1 – 25 of 35) sorted by relevance

12

/php-src/Zend/
H A Dzend_verify_type_inference.h143 && (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 Dzend_opcode.c942 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 Dzend_compile.c807 if (opline->result_type == IS_VAR in zend_do_free()
830 if (opline->result_type == IS_VAR in zend_do_free()
2241 opline->result_type = IS_TMP_VAR; in zend_adjust_for_fetch_type()
2251 opline->result_type = IS_TMP_VAR; in zend_adjust_for_fetch_type()
2268 opline->result_type = IS_VAR; in zend_make_var_result()
2276 opline->result_type = IS_TMP_VAR; in zend_make_tmp_result()
3008 opline->result_type = IS_TMP_VAR; in zend_compile_simple_var()
3016 opline->result_type = IS_TMP_VAR; in zend_compile_simple_var()
3036 opline->result_type = IS_VAR; in zend_separate_if_call_and_write()
3488 opline->result_type = IS_TMP_VAR; in zend_compile_assign()
[all …]
H A Dzend.h55 (EX(prev_execute_data)->opline->result_type != IS_UNUSED))
/php-src/Zend/Optimizer/
H A Dcompact_vars.c45 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 Doptimize_temp_vars_5.c68 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 Ddfa_pass.c860 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 Dzend_cfg.h114 ((opline)->result_type != IS_UNUSED)
H A Dzend_dump.c449 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 Dpass1.c50 …if (zend_optimizer_replace_by_const(op_array, opline + 1, opline->result_type, opline->result.var,… in replace_by_const_or_qm_assign()
239 opline->result_type = IS_UNUSED; in zend_optimizer_pass1()
H A Dblock_pass.c307 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 Dzend_dfg.c43 && 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 Dzend_optimizer.c1058 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 Dzend_optimizer_internal.h43 #define RESULT_UNUSED(op) (op->result_type == IS_UNUSED)
H A Dsccp.c2137 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 Descape_analysis.c354 if (opline->op2_type == IS_CV || opline->result_type != IS_UNUSED) { in is_escape_use()
H A Dssa_integrity.c228 if (is_var_type(opline->result_type)) { in ssa_verify_integrity()
H A Ddce.c379 def_opline->result_type = IS_UNUSED; in try_remove_var_def()
/php-src/ext/pdo_pgsql/
H A Dpgsql_driver.c1183 zend_long result_type = PDO_FETCH_USE_DEFAULT; in pgsqlGetNotify_internal() local
1188 &result_type, &ms_timeout)) { in pgsqlGetNotify_internal()
1195 if (result_type == PDO_FETCH_USE_DEFAULT) { in pgsqlGetNotify_internal()
1196 result_type = dbh->default_fetch_type; in pgsqlGetNotify_internal()
1199 …if (result_type != PDO_FETCH_BOTH && result_type != PDO_FETCH_ASSOC && result_type != PDO_FETCH_NU… in pgsqlGetNotify_internal()
1239 if (result_type == PDO_FETCH_NUM || result_type == PDO_FETCH_BOTH) { in pgsqlGetNotify_internal()
1246 if (result_type == PDO_FETCH_ASSOC || result_type == PDO_FETCH_BOTH) { in pgsqlGetNotify_internal()
/php-src/ext/pgsql/
H A Dpgsql.c1974 result_type = PGSQL_ASSOC; in php_pgsql_fetch_hash()
1980 Z_PARAM_LONG(result_type) in php_pgsql_fetch_hash()
1989 if (!(result_type & PGSQL_BOTH)) { in php_pgsql_fetch_hash()
2018 if (result_type & PGSQL_NUM) { in php_pgsql_fetch_hash()
2030 if (result_type & PGSQL_NUM) { in php_pgsql_fetch_hash()
2112 Z_PARAM_LONG(result_type) in PHP_FUNCTION()
4275 Z_PARAM_LONG(result_type) in PHP_FUNCTION()
4307 Z_PARAM_LONG(result_type) in PHP_FUNCTION()
4326 if (result_type & PGSQL_NUM) { in PHP_FUNCTION()
4334 if (result_type & PGSQL_ASSOC) { in PHP_FUNCTION()
[all …]
/php-src/ext/opcache/jit/
H A Dzend_jit_helpers.c491 if (opline->result_type & (IS_VAR | IS_TMP_VAR)) { in zend_jit_fetch_dim_r_helper()
501 if (opline->result_type & (IS_VAR | IS_TMP_VAR)) { in zend_jit_fetch_dim_r_helper()
551 if (opline->result_type & (IS_VAR | IS_TMP_VAR)) { in zend_jit_fetch_dim_r_helper()
561 if (opline->result_type & (IS_VAR | IS_TMP_VAR)) { in zend_jit_fetch_dim_r_helper()
633 if (opline->result_type & (IS_VAR | IS_TMP_VAR)) { in zend_jit_fetch_dim_is_helper()
643 if (opline->result_type & (IS_VAR | IS_TMP_VAR)) { in zend_jit_fetch_dim_is_helper()
693 if (opline->result_type & (IS_VAR | IS_TMP_VAR)) { in zend_jit_fetch_dim_is_helper()
703 if (opline->result_type & (IS_VAR | IS_TMP_VAR)) { in zend_jit_fetch_dim_is_helper()
875 if (opline->result_type & (IS_VAR | IS_TMP_VAR)) { in zend_jit_fetch_dim_rw_helper()
2597 if (opline->result_type & (IS_VAR|IS_TMP_VAR)) { in zend_jit_invalid_property_incdec()
[all …]
H A Dzend_jit.c1343 if (opline->result_type == IS_TMP_VAR in zend_jit_next_is_send_result()
1604 if (opline->result_type == IS_CV in zend_jit()
1662 if (opline->result_type == IS_CV in zend_jit()
1716 if (opline->result_type == IS_CV in zend_jit()
2141 if ((opline->result_type & IS_TMP_VAR) in zend_jit()
2177 if ((opline->result_type & IS_TMP_VAR) in zend_jit()
2209 if ((opline->result_type & IS_TMP_VAR) in zend_jit()
2232 if ((opline->result_type & IS_TMP_VAR) in zend_jit()
2291 if (opline->result_type == IS_UNDEF) { in zend_jit()
2309 if ((opline->result_type & IS_TMP_VAR) in zend_jit()
[all …]
H A Dzend_jit_trace.c1863 if (opline->result_type != IS_UNUSED) { in zend_jit_trace_build_tssa()
1916 if (opline->result_type != IS_UNUSED) { in zend_jit_trace_build_tssa()
2665 if (opline->result_type != IS_UNDEF) { in zend_jit_trace_build_tssa()
3912 if (opline->result_type == IS_TMP_VAR in zend_jit_trace_next_is_send_result()
4455 if (opline->result_type == IS_CV) { in zend_jit_trace()
4492 if (opline->result_type != IS_UNUSED in zend_jit_trace()
4528 if (opline->result_type == IS_CV) { in zend_jit_trace()
4600 if (opline->result_type == IS_CV) { in zend_jit_trace()
5228 if (opline->result_type == IS_CV) { in zend_jit_trace()
6652 || opline->result_type != IS_CV in zend_jit_trace()
[all …]
H A Dzend_jit_internal.h90 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 Dzend_jit_ir.c1931 ir_ref ref, result_type, if_result_used; in zend_jit_exception_handler_undef_stub() local
1934 result_type = ir_LOAD_U8(ir_ADD_OFFSET(ir_LOAD_A(ref), offsetof(zend_op, result_type))); in zend_jit_exception_handler_undef_stub()
2930 opline.result_type = IS_UNUSED; in zend_jit_setup_disasm()
2935 opline.result_type = IS_VAR; in zend_jit_setup_disasm()
2940 opline.result_type = IS_UNUSED; in zend_jit_setup_disasm()
2945 opline.result_type = IS_VAR; in zend_jit_setup_disasm()
2950 opline.result_type = IS_UNUSED; in zend_jit_setup_disasm()
2955 opline.result_type = IS_VAR; in zend_jit_setup_disasm()
4955 if (opline->result_type != IS_UNUSED) { in zend_jit_inc_dec()
17029 if (opline->result_type == IS_VAR || opline->result_type == IS_TMP_VAR) {
[all …]

Completed in 178 milliseconds

12