Home
last modified time | relevance | path

Searched refs:op1_type (Results 1 – 25 of 38) sorted by relevance

12

/php-src/Zend/Optimizer/
H A Dzend_dfg.c27 if (opline->op1_type & (IS_CV|IS_VAR|IS_TMP_VAR)) { in _zend_dfg_add_use_def_op()
56 if (opline->op1_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()
174 if (opline->op1_type == IS_CV) { in _zend_dfg_add_use_def_op()
203 && opline->op1_type == IS_CV) { in _zend_dfg_add_use_def_op()
[all …]
H A Dpass1.c38 if (opline->op1_type == IS_CONST) { in replace_by_const_or_qm_assign()
94 if (opline->op1_type == IS_CONST && opline->op2_type == IS_CONST && in zend_optimizer_pass1()
108 if (opline->op1_type == IS_CONST && in zend_optimizer_pass1()
116 if (opline->op1_type == IS_CONST && in zend_optimizer_pass1()
188 send1_opline->op1_type != IS_CONST) { in zend_optimizer_pass1()
200 send1_opline->op1_type != IS_CONST) { in zend_optimizer_pass1()
231 opline->op1_type = IS_CONST; in zend_optimizer_pass1()
262 if (opline->op1_type == IS_CONST && in zend_optimizer_pass1()
287 if (opline->op1_type == IS_CONST) { in zend_optimizer_pass1()
311 if (opline->op1_type == IS_CONST) { in zend_optimizer_pass1()
[all …]
H A Dblock_pass.c157 src->op1_type == IS_CONST in zend_optimize_block()
196 src->op1_type == IS_CONST) { in zend_optimize_block()
347 if((opline->op1_type & IS_VAR) && in zend_optimize_block()
368 opline->op1_type = IS_CONST; in zend_optimize_block()
378 opline->op1_type = IS_CONST; in zend_optimize_block()
386 opline->op1_type = IS_CONST; in zend_optimize_block()
414 opline->op1_type = IS_UNUSED; in zend_optimize_block()
540 tmp_type = src->op1_type; in zend_optimize_block()
558 tmp_type = src->op1_type; in zend_optimize_block()
878 if ((op->op1_type == opline->op1_type in zend_optimize_block()
[all …]
H A Dcompact_literals.c185 if (opline->op1_type == IS_CONST) { in zend_optimizer_compact_literals()
193 if (opline->op1_type == IS_CONST) { in zend_optimizer_compact_literals()
214 if (opline->op1_type == IS_CONST) { in zend_optimizer_compact_literals()
239 if (opline->op1_type == IS_CONST) { in zend_optimizer_compact_literals()
250 if (opline->op1_type == IS_CONST) { in zend_optimizer_compact_literals()
273 if (opline->op1_type == IS_CONST) { in zend_optimizer_compact_literals()
285 if (opline->op1_type == IS_CONST) { in zend_optimizer_compact_literals()
496 if (opline->op1_type == IS_CONST) { in zend_optimizer_compact_literals()
524 if (opline->op1_type == IS_CONST) { in zend_optimizer_compact_literals()
676 if (opline->op1_type == IS_CONST in zend_optimizer_compact_literals()
[all …]
H A Dzend_ssa.c197 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()
570 if (opline->op1_type == IS_CV) { in _zend_ssa_rename_op()
585 if (opline->op1_type == IS_CV) { in _zend_ssa_rename_op()
602 if (opline->op1_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()
663 if (opline->op1_type == IS_CV) { in _zend_ssa_rename_op()
[all …]
H A Ddfa_pass.c374 && opline->op1_type == IS_CV in opline_supports_assign_contraction()
436 && send_array->op1_type == IS_CONST in zend_dfa_optimize_calls()
498 call_info->caller_call_opline->op1_type = send_needly->op1_type; in zend_dfa_optimize_calls()
796 if (opline->op1_type == IS_CONST) { in zend_dfa_optimize_jmps()
827 if (opline->op1_type == IS_CONST) { in zend_dfa_optimize_jmps()
904 if (opline->op1_type == IS_CONST in zend_dfa_optimize_jmps()
926 if (opline->op1_type == IS_CONST in zend_dfa_optimize_jmps()
948 if (opline->op1_type == IS_CONST) { in zend_dfa_optimize_jmps()
1178 && opline->op1_type == IS_CONST in zend_dfa_optimize_op_array()
1304 && opline->op1_type != IS_CONST in zend_dfa_optimize_op_array()
[all …]
H A Descape_analysis.c183 if (opline->op1_type == IS_CONST in is_allocation_def()
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()
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()
H A Dzend_optimizer.c216 if (opline->op1_type == IS_CV) { in zend_optimizer_convert_to_free_op1()
431 opline->op1_type = IS_CONST; in zend_optimizer_update_op1_const()
482 if (opline->op1_type != IS_CONST) { in zend_optimizer_update_op2_const()
529 if (opline->op1_type != IS_CONST) { in zend_optimizer_update_op2_const()
629 if (opline->op1_type == type && in zend_optimizer_replace_by_const()
852 if (opline->op1_type == IS_CONST) { in zend_optimizer_get_class_entry_from_op1()
875 if (opline->op1_type == IS_CONST) { in zend_fetch_class_const_info()
971 if (opline->op1_type == IS_UNUSED in zend_optimizer_get_called_func()
1192 if (opline->op1_type == IS_CONST) { in zend_revert_pass_two()
1242 if (opline->op1_type == IS_CONST) { in zend_redo_pass_two()
[all …]
H A Dcompact_vars.c39 if (opline->op1_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()
H A Ddce.c132 if ((opline->op1_type & (IS_VAR|IS_TMP_VAR)) && (opline->op2_type & (IS_VAR|IS_TMP_VAR))) { in may_have_side_effects()
230 if (opline->op1_type != IS_CONST 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()
432 free_var_type = opline->op1_type; in dce_instr()
456 opline->op1_type = free_var_type; in dce_instr()
H A Doptimize_func_calls.c90 if (ret_opline->op1_type == IS_CONST) { in zend_try_inline_call()
125 opline->op1_type = IS_CONST; in zend_try_inline_call()
247 … && (opline->op1_type == IS_TMP_VAR || call_stack[call - 1].last_check_func_arg_opline == NULL)) { in zend_optimize_func_calls()
H A Dzend_inference.c2455 if (opline->op1_type == IS_CONST) { in zend_fetch_static_prop_info()
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()
3183 if ((opline+1)->op1_type == IS_CV) { in _zend_update_type_info()
3435 if (opline->op1_type != IS_UNUSED in _zend_update_type_info()
3732 opline->op1_type, in _zend_update_type_info()
3773 if (opline->op1_type != IS_UNUSED in _zend_update_type_info()
[all …]
H A Doptimize_temp_vars_5.c80 if ((opline->op1_type & (IS_VAR | IS_TMP_VAR))) { in zend_optimize_temporary_variables()
H A Dzend_dump.c622 if (opline->op1_type == IS_CONST) { in zend_dump_op()
624 } else if (opline->op1_type & (IS_CV|IS_VAR|IS_TMP_VAR)) { in zend_dump_op()
629 …zend_dump_ssa_var(op_array, ssa, ssa_var_num, opline->op1_type, EX_VAR_TO_NUM(opline->op1.var), du… in zend_dump_op()
632 zend_dump_var(op_array, opline->op1_type, EX_VAR_TO_NUM(opline->op1.var)); in zend_dump_op()
636 zend_dump_var(op_array, opline->op1_type, EX_VAR_TO_NUM(opline->op1.var)); in zend_dump_op()
642 …zend_dump_ssa_var(op_array, ssa, ssa_var_num, opline->op1_type, EX_VAR_TO_NUM(opline->op1.var), du… in zend_dump_op()
H A Dpass3.c95 if (opline->op1_type == IS_CONST) { in zend_optimizer_pass3()
/php-src/ext/opcache/jit/
H A Dzend_jit_vm_helpers.c402 trace_buffer[idx].op1_type = _op1_type; \
679 op1_type = Z_TYPE_P(zv);
682 if (op1_type == IS_INDIRECT) {
684 op1_type = Z_TYPE_P(zv);
687 if (op1_type == IS_REFERENCE) {
689 op1_type = Z_TYPE_P(zv);
699 op1_type |= flags;
703 op1_type = IS_OBJECT;
796 if (opline->op1_type == IS_CONST) {
798 op1_type = Z_TYPE_P(arr);
[all …]
H A Dzend_jit_trace.c1781 op1_type = orig_op1_type = p->op1_type; in zend_jit_trace_build_tssa()
1785 op1_type = IS_UNKNOWN; in zend_jit_trace_build_tssa()
2034 if (opline->op1_type == IS_VAR || opline->op1_type == IS_TMP_VAR) { in zend_jit_trace_build_tssa()
2213 if (opline->op1_type != IS_UNUSED && op1_type == IS_OBJECT) { in zend_jit_trace_build_tssa()
2336 && op1_type == IS_ARRAY in zend_jit_trace_build_tssa()
4356 uint8_t op1_type = p->op1_type; in zend_jit_trace() local
4369 op1_type = IS_UNKNOWN; in zend_jit_trace()
5528 res_type = op1_type; in zend_jit_trace()
5747 if (opline->op1_type == IS_VAR || opline->op1_type == IS_TMP_VAR) { in zend_jit_trace()
7751 op1_type = p->op1_type; in zend_jit_dump_trace()
[all …]
H A Dzend_jit_internal.h86 OP_ADDR(opline, op1_type, op1)
92 OP_ADDR(opline + 1, op1_type, op1)
95 OP_REG_ADDR(opline, ssa_op, op1_type, op1, op1_use)
101 OP_REG_ADDR(opline + 1, ssa_op + 1, op1_type, op1, op1_use)
104 OP_REG_ADDR(opline, ssa_op, op1_type, op1, op1_def)
110 OP_REG_ADDR(opline + 1, ssa_op + 1, op1_type, op1, op1_def)
392 uint8_t op1_type;/* recorded zval op1_type for ZEND_JIT_TRACE_VM */
703 return (opline->op1_type != IS_CONST || opline->op2_type != IS_CONST); in zend_jit_may_be_polymorphic_call()
707 return (opline->op1_type != IS_CONST); in zend_jit_may_be_polymorphic_call()
H A Dzend_jit_ir.c2957 opline.op1_type = IS_CONST; in zend_jit_setup_disasm()
2962 opline.op1_type = IS_TMP_VAR; in zend_jit_setup_disasm()
2967 opline.op1_type = IS_VAR; in zend_jit_setup_disasm()
2972 opline.op1_type = IS_CV; in zend_jit_setup_disasm()
5967 if (op1_type == IS_CV || op1_type == IS_CONST) { in zend_jit_concat_helper()
11378 ZEND_ASSERT(opline->op1_type != IS_VAR && opline->op1_type != IS_TMP_VAR);
13839 if (opline->op1_type == IS_VAR
14272 if (opline->op1_type == IS_VAR
14369 if (opline->op1_type == IS_VAR
14719 if (opline->op1_type == IS_VAR
[all …]
H A Dzend_jit.c1234 && (opline+1)->op1_type == IS_TMP_VAR in zend_jit_next_is_send_result()
1481 if (opline->op1_type != IS_CV) { in zend_jit()
1714 if (opline->op1_type != IS_CV) { in zend_jit()
1747 if (opline->op1_type == IS_UNUSED) { in zend_jit()
1798 if (opline->op1_type == IS_UNUSED) { in zend_jit()
1842 if (opline->op1_type == IS_UNUSED) { in zend_jit()
1877 if (opline->op1_type != IS_CV) { in zend_jit()
2218 if (opline->op1_type == IS_VAR || opline->op1_type == IS_TMP_VAR) { in zend_jit()
2266 if (opline->op1_type != IS_CV) { in zend_jit()
2319 if (opline->op1_type == IS_UNUSED) { in zend_jit()
[all …]
H A Dzend_jit_helpers.c103 if (Z_TYPE_P(object) == IS_UNDEF && opline->op1_type == IS_CV) { in zend_jit_invalid_method_call()
926 && ((opline+1)->op1_type & (IS_VAR | IS_TMP_VAR))) { in zend_jit_fetch_dim_w_helper()
1008 && ((EG(opline_before_exception)+1)->op1_type & (IS_VAR|IS_TMP_VAR))) { in zend_jit_fetch_dim_w_helper()
1282 ZEND_ASSERT(op_data->opcode == ZEND_OP_DATA && op_data->op1_type == IS_CV); in zend_assign_to_string_offset()
1489 ZEND_ASSERT(op_data->opcode == ZEND_OP_DATA && op_data->op1_type == IS_CV); in zend_jit_assign_dim_helper()
1515 ZEND_ASSERT(op_data->opcode == ZEND_OP_DATA && op_data->op1_type == IS_CV); in zend_jit_assign_dim_helper()
2500 if (Z_TYPE_P(container) == IS_UNDEF && opline->op1_type == IS_CV) { in zend_jit_invalid_property_incdec()
2511 if (opline->op1_type == IS_VAR) { in zend_jit_invalid_property_incdec()
2615 ZEND_ASSERT(op_data->opcode == ZEND_OP_DATA && op_data->op1_type == IS_CV); in zend_jit_assign_obj_helper()
2651 ZEND_ASSERT(op_data->opcode == ZEND_OP_DATA && op_data->op1_type == IS_CV); in zend_jit_assign_to_typed_prop()
/php-src/Zend/
H A Dzend_verify_type_inference.h133 && (opline->op1_type & (IS_TMP_VAR|IS_VAR|IS_CV)) in zend_verify_inference_use()
136 …zend_verify_type_inference(EX_VAR(opline->op1.var), opline->op1_use_type, opline->op1_type, execut… in zend_verify_inference_use()
158 && (opline->op1_type & (IS_TMP_VAR|IS_VAR|IS_CV)) in zend_verify_inference_def()
164 …zend_verify_type_inference(EX_VAR(opline->op1.var), opline->op1_def_type, opline->op1_type, execut… in zend_verify_inference_def()
H A Dzend_execute.c1662 value = get_op_data_zval_ptr_r((opline+1)->op1_type, (opline+1)->op1); in zend_binary_assign_op_obj_dim()
1681 FREE_OP((opline+1)->op1_type, (opline+1)->op1.var); in zend_binary_assign_op_obj_dim()
3540 uint8_t op1_type = opline->op1_type, op2_type = opline->op2_type; in zend_fetch_static_property_address_ex() local
3550 FREE_OP(op1_type, opline->op1.var); in zend_fetch_static_property_address_ex()
3553 if (UNEXPECTED(op1_type != IS_CONST)) { in zend_fetch_static_property_address_ex()
3561 FREE_OP(op1_type, opline->op1.var); in zend_fetch_static_property_address_ex()
3574 if (EXPECTED(op1_type == IS_CONST)) { in zend_fetch_static_property_address_ex()
3593 FREE_OP(op1_type, opline->op1.var); in zend_fetch_static_property_address_ex()
3602 if (EXPECTED(op1_type == IS_CONST) in zend_fetch_static_property_address_ex()
4831 tmp_type = op->op1_type; in zend_swap_operands()
[all …]
H A Dzend_opcode.c869 ((use_opline->op1_type & (IS_TMP_VAR|IS_VAR)) && use_opline->op1.var == rt_var_num) || in emit_live_range()
968 if ((opline->op1_type & (IS_TMP_VAR|IS_VAR))) { in zend_calc_live_ranges()
1186 if (opline->op1_type == IS_CONST) { in pass_two()
1188 } else if (opline->op1_type & (IS_VAR|IS_TMP_VAR)) { in pass_two()
H A Dzend_vm_execute.h4430 uint8_t op1_type; in ZEND_JMPZ_SPEC_CONST_HANDLER() local
4448 op1_type = IS_CONST; in ZEND_JMPZ_SPEC_CONST_HANDLER()
4464 uint8_t op1_type; in ZEND_JMPNZ_SPEC_CONST_HANDLER() local
4482 op1_type = IS_CONST; in ZEND_JMPNZ_SPEC_CONST_HANDLER()
14951 uint8_t op1_type; in ZEND_JMPZ_SPEC_TMPVAR_HANDLER() local
14969 op1_type = (IS_TMP_VAR|IS_VAR); in ZEND_JMPZ_SPEC_TMPVAR_HANDLER()
14985 uint8_t op1_type; in ZEND_JMPNZ_SPEC_TMPVAR_HANDLER() local
40411 uint8_t op1_type; in ZEND_JMPZ_SPEC_CV_HANDLER() local
40429 op1_type = IS_CV; in ZEND_JMPZ_SPEC_CV_HANDLER()
40445 uint8_t op1_type; in ZEND_JMPNZ_SPEC_CV_HANDLER() local
[all …]

Completed in 305 milliseconds

12