Home
last modified time | relevance | path

Searched refs:op2_type (Results 1 – 24 of 24) sorted by relevance

/PHP-7.1/ext/opcache/Optimizer/
H A Ddfa_pass.c367 && (opline->op2_type != IS_CV || opline->op2.var != cv_var); in opline_supports_assign_contraction()
406 && opline->op2_type == IS_CONST in zend_dfa_optimize_op_array()
441 && opline->op2_type != IS_CONST in zend_dfa_optimize_op_array()
453 && opline->op2_type == IS_CONST in zend_dfa_optimize_op_array()
484 if ((opline->op2_type & (IS_TMP_VAR|IS_VAR)) in zend_dfa_optimize_op_array()
523 } else if (opline->op2_type == IS_CONST in zend_dfa_optimize_op_array()
524 || ((opline->op2_type & (IS_TMP_VAR|IS_VAR|IS_CV)) in zend_dfa_optimize_op_array()
543 opline->op1_type = opline->op2_type; in zend_dfa_optimize_op_array()
545 opline->op2_type = IS_UNUSED; in zend_dfa_optimize_op_array()
555 && opline->op2_type == IS_CONST in zend_dfa_optimize_op_array()
[all …]
H A Dblock_pass.c364 opline->op2_type == IS_CONST) { in zend_optimize_block()
372 opline->op2_type == IS_CONST) { in zend_optimize_block()
471 src->op1_type = src->op2_type; in zend_optimize_block()
472 src->op2_type = tmp_type; in zend_optimize_block()
488 src->op1_type = src->op2_type; in zend_optimize_block()
489 src->op2_type = tmp_type; in zend_optimize_block()
584 src->op2_type == IS_CONST) { in zend_optimize_block()
647 opline->op2_type = IS_UNUSED; in zend_optimize_block()
656 opline->op2_type = IS_UNUSED; in zend_optimize_block()
1550 if (opline->op2_type == IS_VAR) { in zend_t_usage()
[all …]
H A Dzend_ssa.c187 if (op->op1_type == IS_CV && op->op2_type == IS_CONST) { in find_adjusted_tmp_var()
203 if (op->op1_type == IS_CV && op->op2_type == IS_CONST) { in find_adjusted_tmp_var()
279 if ((opline-1)->op2_type == IS_CV) { in place_essa_pis()
281 } else if ((opline-1)->op2_type == IS_TMP_VAR) { in place_essa_pis()
297 if ((opline-1)->op2_type == IS_CONST) { in place_essa_pis()
501 (opline-1)->op2_type == IS_CONST) { in place_essa_pis()
567 if (next->op2_type == IS_CV) { in zend_ssa_rename()
570 } else if (next->op2_type & (IS_VAR|IS_TMP_VAR)) { in zend_ssa_rename()
580 if (opline->op2_type == IS_CV) { in zend_ssa_rename()
587 } else if (opline->op2_type & (IS_CV|IS_VAR|IS_TMP_VAR)) { in zend_ssa_rename()
[all …]
H A Dzend_dfg.c59 if (next->op2_type & (IS_CV|IS_VAR|IS_TMP_VAR)) { in zend_build_dfg()
154 if (opline->op2_type == IS_CV) { in zend_build_dfg()
182 } else if (opline->op2_type & (IS_VAR|IS_TMP_VAR)) { in zend_build_dfg()
H A Dzend_optimizer.c94 if (opline->op2_type & (IS_TMP_VAR|IS_VAR)) { in zend_optimizer_lookup_cv()
616 if (opline->op2_type == IS_CONST && Z_TYPE_P(GET_OP(op2)) == IS_STRING) { in zend_optimizer_get_called_func()
633 if (opline->op2_type == IS_CONST && Z_TYPE_P(GET_OP(op2)) == IS_STRING) { in zend_optimizer_get_called_func()
644 && opline->op2_type == IS_CONST && Z_TYPE_P(GET_OP(op2)) == IS_STRING in zend_optimizer_get_called_func()
824 if (opline->op2_type == IS_CONST) { in zend_revert_pass_two()
841 if (opline->op2_type == IS_CONST) { in zend_redo_pass_two()
859 …opline->op2_type == IS_UNUSED ? 0 : (OP2_INFO() & (MAY_BE_UNDEF|MAY_BE_ANY|MAY_BE_REF|MAY_BE_ARRAY… in zend_redo_pass_two_ex()
869 if (opline->op2_type == IS_CONST) { in zend_redo_pass_two_ex()
H A Dzend_optimizer_internal.h33 #define ZEND_OP2_TYPE(opline) (opline)->op2_type
H A Dzend_dump.c583 if (opline->op2_type == IS_CONST) { in zend_dump_op()
585 } else if (opline->op2_type & (IS_CV|IS_VAR|IS_TMP_VAR)) { in zend_dump_op()
590 …zend_dump_ssa_var(op_array, ssa, ssa_var_num, opline->op2_type, EX_VAR_TO_NUM(opline->op2.var), du… in zend_dump_op()
593 zend_dump_var(op_array, opline->op2_type, EX_VAR_TO_NUM(opline->op2.var)); in zend_dump_op()
597 zend_dump_var(op_array, opline->op2_type, EX_VAR_TO_NUM(opline->op2.var)); in zend_dump_op()
603 …zend_dump_ssa_var(op_array, ssa, ssa_var_num, opline->op2_type, EX_VAR_TO_NUM(opline->op2.var), du… in zend_dump_op()
H A Dzend_inference.c2401 if (opline->op2_type == IS_UNUSED) { in zend_update_type_info()
2552 if (opline->op2_type == IS_UNUSED) { in zend_update_type_info()
2657 if (opline->op2_type == IS_CV) { in zend_update_type_info()
2830 if (opline->op2_type == IS_UNUSED) { in zend_update_type_info()
2851 } else if (opline->op2_type == IS_CONST) { in zend_update_type_info()
2916 if (opline->op2_type == IS_UNUSED) { in zend_update_type_info()
2924 if (opline->op2_type != IS_CONST) { in zend_update_type_info()
3041 if (opline->op2_type == IS_UNUSED) { in zend_update_type_info()
3049 if (opline->op2_type != IS_CONST) { in zend_update_type_info()
3138 opline->op2_type == IS_UNUSED); in zend_update_type_info()
[all …]
H A Doptimize_func_calls.c237 && opline->op2_type == IS_UNUSED) { in zend_optimize_func_calls()
H A Dcompact_literals.c215 opline->op2_type, in zend_optimizer_compact_literals()
H A Dpass1_5.c423 opline->op2_type = IS_CONST; in zend_optimizer_pass1()
/PHP-7.1/sapi/phpdbg/
H A Dphpdbg_opcode.c108 ops, opline, opline->op2, opline->op2_type, ZEND_VM_OP2_FLAGS(flags)); in phpdbg_decode_opline()
/PHP-7.1/Zend/
H A Dzend_compile.c2797 opline->op2_type = IS_CONST; in zend_compile_static_prop_common()
3325 opline->op2_type = IS_CONST; in zend_compile_ns_call()
3538 opline->op2_type = IS_CONST; in zend_try_compile_ct_bound_init_user_func()
3807 opline->op2_type = IS_CONST; in zend_compile_method_call()
3868 opline->op2_type = IS_CONST; in zend_compile_static_call()
4552 opline->op2_type = IS_VAR; in zend_compile_foreach()
4806 opline->op2_type = IS_CV; in zend_compile_try()
5315 opline->op2_type = IS_CV; in zend_compile_closure_binding()
5856 opline->op2_type = IS_CONST; in zend_compile_use_trait()
5898 opline->op2_type = IS_CONST; in zend_compile_implements()
[all …]
H A Dzend.c434 EG(exception_op)[0].op2_type = IS_UNUSED; in zend_init_exception_op()
439 EG(exception_op)[1].op2_type = IS_UNUSED; in zend_init_exception_op()
444 EG(exception_op)[2].op2_type = IS_UNUSED; in zend_init_exception_op()
455 EG(call_trampoline_op).op2_type = IS_UNUSED; in zend_init_call_trampoline_op()
H A Dzend_opcode.c655 if (opline->op2_type == IS_CONST) { in pass_two()
657 } else if (opline->op2_type & (IS_VAR|IS_TMP_VAR)) { in pass_two()
H A Dzend_compile.h42 (opline)->op2_type = IS_UNUSED; \
150 zend_uchar op2_type; member
H A Dzend_vm_gen.php203 $op2_type = array( variable
677 global $op1_type, $op2_type, $op1_get_zval_ptr, $op2_get_zval_ptr,
752 $op2_type[$op2],
H A Dzend_execute.c1283 if (opline->op2_type == IS_VAR && opline->op2.var == var) { in zend_wrong_string_offset()
2557 op->op1_type = op->op2_type; in zend_swap_operands()
2559 op->op2_type = tmp_type; in zend_swap_operands()
H A Dzend_vm_execute.h16888 if (EXPECTED(opline->op2_type == IS_CV)) {
62770 if (op->op1_type > op->op2_type) {
62778 if (op->op1_type > op->op2_type) {
62786 if (op->op1_type > op->op2_type) {
62815 if (op->op1_type > op->op2_type) {
62823 if (op->op1_type > op->op2_type) {
62831 if (op->op1_type > op->op2_type) {
62842 if (op->op1_type > op->op2_type) {
62850 if (op->op1_type > op->op2_type) {
62861 if (op->op1_type > op->op2_type) {
[all …]
H A Dzend_inheritance.c502 if (precv && precv->opcode == ZEND_RECV_INIT && precv->op2_type != IS_UNUSED) { in zend_get_function_declaration()
H A Dzend_vm_def.h7220 && (EX(func)->op_array.opcodes[fast_call->u2.lineno].op2_type & (IS_TMP_VAR | IS_VAR))) {
7648 && (EX(func)->op_array.opcodes[fast_call->u2.lineno].op2_type & (IS_TMP_VAR | IS_VAR))) {
/PHP-7.1/ext/opcache/
H A Dzend_file_cache.c420 if (opline->op2_type == IS_CONST) { in zend_file_cache_serialize_op_array()
1046 if (opline->op2_type == IS_CONST) { in zend_file_cache_unserialize_op_array()
H A Dzend_persist.c445 if (opline->op2_type == IS_CONST) { in zend_persist_op_array_ex()
/PHP-7.1/ext/reflection/
H A Dphp_reflection.c743 if (precv && precv->opcode == ZEND_RECV_INIT && precv->op2_type != IS_UNUSED) { in _parameter_string()
1558 if (!precv || precv->opcode != ZEND_RECV_INIT || precv->op2_type == IS_UNUSED) { in _reflection_param_get_default_precv()
2897 if (!precv || precv->opcode != ZEND_RECV_INIT || precv->op2_type == IS_UNUSED) { in ZEND_METHOD()

Completed in 273 milliseconds