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.c44 if (opline->op1_type == IS_CONST) { in replace_by_const_or_qm_assign()
100 if (opline->op1_type == IS_CONST && opline->op2_type == IS_CONST && in zend_optimizer_pass1()
114 if (opline->op1_type == IS_CONST && in zend_optimizer_pass1()
122 if (opline->op1_type == IS_CONST && in zend_optimizer_pass1()
194 send1_opline->op1_type != IS_CONST) { in zend_optimizer_pass1()
206 send1_opline->op1_type != IS_CONST) { in zend_optimizer_pass1()
237 opline->op1_type = IS_CONST; in zend_optimizer_pass1()
268 if (opline->op1_type == IS_CONST && in zend_optimizer_pass1()
293 if (opline->op1_type == IS_CONST) { in zend_optimizer_pass1()
317 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/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.c1681 FREE_OP((opline+1)->op1_type, (opline+1)->op1.var); in zend_binary_assign_op_obj_dim()
3541 uint8_t op1_type = opline->op1_type, op2_type = opline->op2_type; in zend_fetch_static_property_address_ex() local
3551 FREE_OP(op1_type, opline->op1.var); in zend_fetch_static_property_address_ex()
3554 if (UNEXPECTED(op1_type != IS_CONST)) { in zend_fetch_static_property_address_ex()
3562 FREE_OP(op1_type, opline->op1.var); in zend_fetch_static_property_address_ex()
3575 if (EXPECTED(op1_type == IS_CONST)) { in zend_fetch_static_property_address_ex()
3594 FREE_OP(op1_type, opline->op1.var); in zend_fetch_static_property_address_ex()
3603 if (EXPECTED(op1_type == IS_CONST) in zend_fetch_static_property_address_ex()
3617 if (opline->op1_type == IS_CONST in zend_fetch_static_property_address()
4879 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.h4441 uint8_t op1_type; in ZEND_JMPZ_SPEC_CONST_HANDLER() local
4459 op1_type = IS_CONST; in ZEND_JMPZ_SPEC_CONST_HANDLER()
4475 uint8_t op1_type; in ZEND_JMPNZ_SPEC_CONST_HANDLER() local
4493 op1_type = IS_CONST; in ZEND_JMPNZ_SPEC_CONST_HANDLER()
15009 uint8_t op1_type; in ZEND_JMPZ_SPEC_TMPVAR_HANDLER() local
15027 op1_type = (IS_TMP_VAR|IS_VAR); in ZEND_JMPZ_SPEC_TMPVAR_HANDLER()
15043 uint8_t op1_type; in ZEND_JMPNZ_SPEC_TMPVAR_HANDLER() local
40503 uint8_t op1_type; in ZEND_JMPZ_SPEC_CV_HANDLER() local
40521 op1_type = IS_CV; in ZEND_JMPZ_SPEC_CV_HANDLER()
40537 uint8_t op1_type; in ZEND_JMPNZ_SPEC_CV_HANDLER() local
[all …]
/php-src/ext/opcache/jit/
H A Dzend_jit_vm_helpers.c411 trace_buffer[idx].op1_type = _op1_type; \
691 op1_type = Z_TYPE_P(zv);
694 if (op1_type == IS_INDIRECT) {
696 op1_type = Z_TYPE_P(zv);
699 if (op1_type == IS_REFERENCE) {
701 op1_type = Z_TYPE_P(zv);
711 op1_type |= flags;
715 op1_type = IS_OBJECT;
808 if (opline->op1_type == IS_CONST) {
810 op1_type = Z_TYPE_P(arr);
[all …]
H A Dzend_jit_trace.c1820 op1_type = orig_op1_type = p->op1_type; in zend_jit_trace_build_tssa()
1824 op1_type = IS_UNKNOWN; in zend_jit_trace_build_tssa()
2063 if (opline->op1_type == IS_VAR || opline->op1_type == IS_TMP_VAR) { in zend_jit_trace_build_tssa()
2242 if (opline->op1_type != IS_UNUSED && op1_type == IS_OBJECT) { in zend_jit_trace_build_tssa()
2365 && op1_type == IS_ARRAY in zend_jit_trace_build_tssa()
4385 uint8_t op1_type = p->op1_type; in zend_jit_trace() local
4398 op1_type = IS_UNKNOWN; in zend_jit_trace()
5562 res_type = op1_type; in zend_jit_trace()
5784 if (opline->op1_type == IS_VAR || opline->op1_type == IS_TMP_VAR) { in zend_jit_trace()
7847 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)
401 uint8_t op1_type;/* recorded zval op1_type for ZEND_JIT_TRACE_VM */
697 return (opline->op1_type != IS_CONST || opline->op2_type != IS_CONST); in zend_jit_may_be_polymorphic_call()
701 return (opline->op1_type != IS_CONST); in zend_jit_may_be_polymorphic_call()
H A Dzend_jit_ir.c2960 opline.op1_type = IS_CONST; in zend_jit_setup_disasm()
2965 opline.op1_type = IS_TMP_VAR; in zend_jit_setup_disasm()
2970 opline.op1_type = IS_VAR; in zend_jit_setup_disasm()
2975 opline.op1_type = IS_CV; in zend_jit_setup_disasm()
5975 if (op1_type == IS_CV || op1_type == IS_CONST) { in zend_jit_concat_helper()
11617 ZEND_ASSERT(opline->op1_type != IS_VAR && opline->op1_type != IS_TMP_VAR);
14107 if (opline->op1_type == IS_VAR
14540 if (opline->op1_type == IS_VAR
14637 if (opline->op1_type == IS_VAR
14987 if (opline->op1_type == IS_VAR
[all …]
H A Dzend_jit.c1345 && (opline+1)->op1_type == IS_TMP_VAR in zend_jit_next_is_send_result()
1594 if (opline->op1_type != IS_CV) { in zend_jit()
1827 if (opline->op1_type != IS_CV) { in zend_jit()
1860 if (opline->op1_type == IS_UNUSED) { in zend_jit()
1990 if (opline->op1_type != IS_CV) { in zend_jit()
2331 if (opline->op1_type == IS_VAR || opline->op1_type == IS_TMP_VAR) { in zend_jit()
2379 if (opline->op1_type != IS_CV) { in zend_jit()
2470 if (!(opline->op1_type == IS_CONST in zend_jit()
2554 if (opline->op1_type == IS_CONST) { in zend_jit()
2638 && (opline->op1_type == IS_CONST 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()
198 if (opline->op1_type == IS_CONST) { in zend_jit_find_class_helper()
204 } else if (opline->op1_type == IS_UNUSED) { in zend_jit_find_class_helper()
219 if (opline->op1_type == IS_CONST && in zend_jit_find_static_method_helper()
222 } else if (opline->op1_type != IS_CONST && in zend_jit_find_static_method_helper()
1012 && ((opline+1)->op1_type & (IS_VAR | IS_TMP_VAR))) { in zend_jit_fetch_dim_w_helper()
1094 && ((EG(opline_before_exception)+1)->op1_type & (IS_VAR|IS_TMP_VAR))) { in zend_jit_fetch_dim_w_helper()
1368 ZEND_ASSERT(op_data->opcode == ZEND_OP_DATA && op_data->op1_type == IS_CV); in zend_assign_to_string_offset()
1601 ZEND_ASSERT(op_data->opcode == ZEND_OP_DATA && op_data->op1_type == IS_CV); in zend_jit_assign_dim_helper()
2592 if (Z_TYPE_P(container) == IS_UNDEF && opline->op1_type == IS_CV) { in zend_jit_invalid_property_incdec()
[all …]

Completed in 319 milliseconds

12