/PHP-7.2/ext/opcache/Optimizer/ |
H A D | pass2.c | 48 if (opline->op1_type == IS_CONST) { in zend_optimizer_pass2() 66 if (opline->op2_type == IS_CONST) { in zend_optimizer_pass2() 79 if (opline->op1_type == IS_CONST) { in zend_optimizer_pass2() 96 if (opline->op2_type == IS_CONST) { in zend_optimizer_pass2() 109 if (opline->op1_type == IS_CONST) { in zend_optimizer_pass2() 120 if (opline->op2_type == IS_CONST) { in zend_optimizer_pass2() 144 if (opline->op1_type == IS_CONST) { in zend_optimizer_pass2() 158 if (opline->op1_type == IS_CONST) { in zend_optimizer_pass2() 201 if (opline->op1_type == IS_CONST) { in zend_optimizer_pass2()
|
H A D | compact_literals.c | 110 if (op_type == IS_CONST) { in optimizer_literal_class_info() 150 if (opline->op1_type == IS_CONST) { in zend_optimizer_compact_literals() 153 if (opline->op2_type == IS_CONST) { in zend_optimizer_compact_literals() 164 if (opline->op1_type == IS_CONST) { in zend_optimizer_compact_literals() 167 if (opline->op2_type == IS_CONST) { in zend_optimizer_compact_literals() 191 if (opline->op1_type == IS_CONST) { in zend_optimizer_compact_literals() 210 if (opline->op2_type == IS_CONST) { in zend_optimizer_compact_literals() 213 if (opline->op1_type == IS_CONST) { in zend_optimizer_compact_literals() 227 if (opline->op2_type == IS_CONST) { in zend_optimizer_compact_literals() 523 if (opline->op1_type == IS_CONST) { in zend_optimizer_compact_literals() [all …]
|
H A D | pass1_5.c | 72 if (opline->op1_type == IS_CONST && in zend_optimizer_pass1() 73 opline->op2_type == IS_CONST) { in zend_optimizer_pass1() 92 if (opline->op1_type == IS_CONST) { in zend_optimizer_pass1() 118 if (opline->op1_type == IS_CONST) { in zend_optimizer_pass1() 208 if (opline->op2_type == IS_CONST && in zend_optimizer_pass1() 236 if (opline->op2_type == IS_CONST && in zend_optimizer_pass1() 262 if (opline->op2_type == IS_CONST && in zend_optimizer_pass1() 267 if (opline->op1_type == IS_CONST && in zend_optimizer_pass1() 395 opline->op1_type = IS_CONST; in zend_optimizer_pass1() 396 opline->op2_type = IS_CONST; in zend_optimizer_pass1() [all …]
|
H A D | block_pass.c | 181 src->op1_type == IS_CONST in zend_optimize_block() 256 src->op1_type == IS_CONST) { in zend_optimize_block() 287 if (opline->op1_type == IS_CONST) { in zend_optimize_block() 388 opline->op1_type = IS_CONST; in zend_optimize_block() 398 opline->op1_type = IS_CONST; in zend_optimize_block() 406 opline->op1_type = IS_CONST; in zend_optimize_block() 427 if (opline->op1_type == IS_CONST) { in zend_optimize_block() 663 src->op2_type == IS_CONST) { in zend_optimize_block() 913 if (op->op1_type == IS_CONST) { in assemble_code_blocks() 916 if (op->op2_type == IS_CONST) { in assemble_code_blocks() [all …]
|
H A D | optimize_func_calls.c | 33 (opline->op1_type == IS_CONST && \ 36 (opline->op2_type == IS_CONST && \ 75 if (opline->op1_type == IS_CONST) { in zend_delete_call_instructions() 102 if (ret_opline->op1_type == IS_CONST) { in zend_try_inline_call() 138 opline->op1_type = IS_CONST; in zend_try_inline_call()
|
H A D | dfa_pass.c | 391 && send_array->op1_type == IS_CONST in zend_dfa_optimize_calls() 508 if (opline->op1_type & (IS_CV|IS_CONST)) { in zend_dfa_optimize_jmps() 617 && opline->op2_type == IS_CONST in zend_dfa_optimize_op_array() 630 && opline->op1_type == IS_CONST in zend_dfa_optimize_op_array() 651 if (opline->op1_type == IS_CONST in zend_dfa_optimize_op_array() 652 && opline->op2_type != IS_CONST in zend_dfa_optimize_op_array() 663 } else if (opline->op1_type != IS_CONST in zend_dfa_optimize_op_array() 664 && opline->op2_type == IS_CONST in zend_dfa_optimize_op_array() 739 } else if (opline->op2_type == IS_CONST in zend_dfa_optimize_op_array() 775 && opline->op2_type == IS_CONST in zend_dfa_optimize_op_array() [all …]
|
H A D | zend_inference.h | 42 if (opline->opN##_type == IS_CONST) { \ 58 if (opline->opN##_type == IS_CONST) { \ 82 if (opline->opN##_type == IS_CONST) { \ 106 if (opline->opN##_type == IS_CONST) { \ 124 if (opline->opN##_type == IS_CONST) { \ 211 if (opline->opN##_type == IS_CONST) { \
|
H A D | zend_optimizer.c | 327 opline->op1_type = IS_CONST; in zend_optimizer_update_op1_const() 475 opline->op2_type = IS_CONST; in zend_optimizer_update_op2_const() 614 m->op1_type = IS_CONST; in zend_optimizer_replace_by_const() 669 m->op1_type = IS_CONST; in zend_optimizer_replace_by_const() 814 if (opline->op1_type == IS_CONST) { in get_class_entry_from_op1() 1083 if (opline->op1_type == IS_CONST) { in zend_revert_pass_two() 1086 if (opline->op2_type == IS_CONST) { in zend_revert_pass_two() 1100 if (opline->op1_type == IS_CONST) { in zend_redo_pass_two() 1103 if (opline->op2_type == IS_CONST) { in zend_redo_pass_two() 1128 if (opline->op1_type == IS_CONST) { in zend_redo_pass_two_ex() [all …]
|
H A D | zend_ssa.c | 196 if (op->op1_type == IS_CV && op->op2_type == IS_CONST) { in find_adjusted_tmp_var() 203 } else if (op->op2_type == IS_CV && op->op1_type == IS_CONST) { in find_adjusted_tmp_var() 212 if (op->op1_type == IS_CV && op->op2_type == IS_CONST) { in find_adjusted_tmp_var() 306 if ((opline-1)->op2_type == IS_CONST) { in place_essa_pis() 328 if ((opline-1)->op1_type == IS_CONST) { in place_essa_pis() 475 if ((opline-1)->op1_type == IS_CV && (opline-1)->op2_type == IS_CONST) { in place_essa_pis() 478 } else if ((opline-1)->op1_type == IS_CONST && (opline-1)->op2_type == IS_CV) { in place_essa_pis() 509 (opline-1)->op2_type == IS_CONST) { in place_essa_pis()
|
H A D | sccp.c | 122 if (opline->op1_type == IS_CONST) { in get_op1_value() 132 if (opline->op2_type == IS_CONST) { in get_op2_value() 337 opline->op1_type = IS_CONST; in try_replace_op1() 1591 if (opline->op2_type == IS_CONST) { in replace_constant_operands() 1618 opline->op2_type = IS_CONST; in replace_constant_operands()
|
H A D | dce.c | 169 if (opline->op2_type != IS_CONST && (OP2_INFO() & MAY_HAVE_DTOR)) { in may_have_side_effects() 449 if (opline->op1_type != IS_CONST) { in simplify_jumps()
|
H A D | zend_dump.c | 544 if (opline->op1_type == IS_CONST) { in zend_dump_op() 580 if (opline->op2_type == IS_CONST) { in zend_dump_op() 646 if (opline->result_type == IS_CONST) { in zend_dump_op()
|
H A D | pass3.c | 106 || (opline->op1_type == IS_CONST in zend_optimizer_pass3()
|
H A D | zend_inference.c | 2107 if (dim_op_type != IS_CONST) { in assign_dim_result_type() 2965 } else if (opline->op2_type == IS_CONST) { in zend_update_type_info() 2979 if (opline->op1_type == IS_CONST && in zend_update_type_info() 3038 if (opline->op2_type != IS_CONST) { in zend_update_type_info() 3165 if (opline->op2_type != IS_CONST) { in zend_update_type_info() 3643 } else if (opline->op1_type == IS_CONST) { in can_convert_to_double() 3656 } else if (opline->op2_type == IS_CONST) { in can_convert_to_double() 3738 opline->op1_type == IS_CV && opline->op2_type == IS_CONST) { in zend_type_narrowing() 3892 if (opline->op1_type == IS_CONST) { in zend_func_return_info()
|
/PHP-7.2/Zend/ |
H A D | zend_vm_execute.h | 2101 if (IS_CONST == IS_CONST) { 3087 if (IS_CONST == IS_CONST) { 3118 if (IS_CONST == IS_CONST) { 3149 if (IS_CONST == IS_CONST) { 3216 if (IS_CONST == IS_CONST) { 4405 if (IS_CONST != IS_CONST && IS_CONST != IS_CV && 5201 if (IS_CONST != IS_CONST && IS_CONST != IS_CV && 8523 if (IS_CONST != IS_CONST && IS_CONST != IS_CV && 9252 if (IS_CONST != IS_CONST && IS_CONST != IS_CV && 10579 if (IS_CONST != IS_CONST && IS_CONST != IS_CV && [all …]
|
H A D | zend_compile.c | 2405 zn.op_type = IS_CONST; in zend_emit_final_return() 2564 result->op_type = IS_CONST; in zend_compile_class_ref_ex() 2571 result->op_type = IS_CONST; in zend_compile_class_ref_ex() 3324 opline->op2_type = IS_CONST; in zend_compile_ns_call() 3754 array.op_type = IS_CONST; in zend_compile_func_in_array() 3865 first.op_type = IS_CONST; in zend_compile_func_array_slice() 4697 result->op_type = IS_CONST; in zend_compile_expr_list() 7053 if (left_node.op_type == IS_CONST && right_node.op_type == IS_CONST) { in zend_compile_binary_op() 7115 if (left_node.op_type == IS_CONST && right_node.op_type == IS_CONST) { in zend_compile_greater() 7382 result->op_type = IS_CONST; in zend_compile_print() [all …]
|
H A D | zend_vm_def.h | 301 if (OP1_TYPE != IS_CONST) { 308 if (OP2_TYPE != IS_CONST) { 1500 if (OP1_TYPE != IS_CONST) { 1627 if (OP1_TYPE != IS_CONST) { 1778 if (OP1_TYPE == IS_CONST || 1899 if (OP1_TYPE == IS_CONST || 2084 if (OP2_TYPE == IS_CONST && 2736 if (OP1_TYPE == IS_CONST) { 2746 if (OP2_TYPE == IS_CONST) { 2802 if (OP2_TYPE == IS_CONST) { [all …]
|
H A D | zend_execute.c | 450 if (op_type == IS_CONST) { in _get_zval_ptr() 471 if (op_type == IS_CONST) { in _get_zval_ptr_r() 492 if (op_type == IS_CONST) { in _get_zval_ptr_deref() 513 if (op_type == IS_CONST) { in _get_zval_ptr_r_deref() 534 if (op_type == IS_CONST) { in _get_zval_ptr_undef() 1522 if (dim_type != IS_CONST) { in zend_fetch_dimension_address_inner() 1905 if (prop_op_type == IS_CONST && in zend_fetch_property_address() 1963 if (varname_type == IS_CONST) { in zend_fetch_static_property_address() 1975 if (op2_type == IS_CONST) { in zend_fetch_static_property_address() 2032 if (varname_type != IS_CONST) { in zend_fetch_static_property_address() [all …]
|
H A D | zend_execute.h | 95 if (value_type & (IS_CONST|IS_CV)) { in zend_assign_to_variable() 118 if (value_type & (IS_CONST|IS_CV)) { in zend_assign_to_variable()
|
H A D | zend_opcode.c | 673 if (opline->op1_type == IS_CONST) { in pass_two() 678 if (opline->op2_type == IS_CONST) { in pass_two()
|
H A D | zend_compile.h | 696 #define IS_CONST (1<<0) macro
|
/PHP-7.2/Zend/tests/ |
H A D | object_handlers.phpt | 39 // IS_CONST 57 // IS_CONST + conversion
|
/PHP-7.2/sapi/phpdbg/ |
H A D | phpdbg_opcode.c | 58 case IS_CONST: { in phpdbg_decode_op()
|
/PHP-7.2/ext/opcache/ |
H A D | zend_file_cache.c | 421 if (opline->op1_type == IS_CONST) { 424 if (opline->op2_type == IS_CONST) { 1070 if (opline->op1_type == IS_CONST) { 1073 if (opline->op2_type == IS_CONST) {
|
H A D | zend_persist.c | 436 if (opline->op1_type == IS_CONST) { in zend_persist_op_array_ex() 439 if (opline->op2_type == IS_CONST) { in zend_persist_op_array_ex()
|