Home
last modified time | relevance | path

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

12

/php-src/Zend/Optimizer/
H A Dcompact_vars.c38 if (opline->op1_type & (IS_CV|IS_VAR|IS_TMP_VAR)) { in zend_optimizer_compact_vars()
41 if (opline->op2_type & (IS_CV|IS_VAR|IS_TMP_VAR)) { in zend_optimizer_compact_vars()
44 if (opline->result_type & (IS_CV|IS_VAR|IS_TMP_VAR)) { in zend_optimizer_compact_vars()
86 if (opline->op1_type & (IS_CV|IS_VAR|IS_TMP_VAR)) { in zend_optimizer_compact_vars()
89 if (opline->op2_type & (IS_CV|IS_VAR|IS_TMP_VAR)) { in zend_optimizer_compact_vars()
92 if (opline->result_type & (IS_CV|IS_VAR|IS_TMP_VAR)) { in zend_optimizer_compact_vars()
H A Dzend_dfg.c27 if (opline->op1_type & (IS_CV|IS_VAR|IS_TMP_VAR)) { in _zend_dfg_add_use_def_op()
33 if (((opline->op2_type & (IS_VAR|IS_TMP_VAR)) != 0 in _zend_dfg_add_use_def_op()
72 if (next->op1_type & (IS_CV|IS_VAR|IS_TMP_VAR)) { in _zend_dfg_add_use_def_op()
87 if (next->op1_type & (IS_CV|IS_VAR|IS_TMP_VAR)) { in _zend_dfg_add_use_def_op()
102 if (next->op1_type & (IS_CV|IS_VAR|IS_TMP_VAR)) { in _zend_dfg_add_use_def_op()
114 if (next->op1_type & (IS_CV|IS_VAR|IS_TMP_VAR)) { in _zend_dfg_add_use_def_op()
127 if (next->op1_type & (IS_CV|IS_VAR|IS_TMP_VAR)) { in _zend_dfg_add_use_def_op()
137 if (next->op1_type & (IS_CV|IS_VAR|IS_TMP_VAR)) { in _zend_dfg_add_use_def_op()
217 if (opline->op1_type & (IS_TMP_VAR|IS_VAR|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 Doptimize_temp_vars_5.c67 if (opline->result_type & (IS_VAR | IS_TMP_VAR)) { in zend_optimize_temporary_variables()
79 if ((opline->op1_type & (IS_VAR | IS_TMP_VAR))) { in zend_optimize_temporary_variables()
138 if ((opline->op2_type & (IS_VAR | IS_TMP_VAR))) { in zend_optimize_temporary_variables()
147 if (opline->result_type & (IS_VAR | IS_TMP_VAR)) { in zend_optimize_temporary_variables()
H A Dblock_pass.c217 if (opline->op1_type & (IS_TMP_VAR|IS_VAR)) { in zend_optimize_block()
266 if (opline->op1_type & (IS_TMP_VAR|IS_VAR)) { in zend_optimize_block()
316 } else if (opline->op1_type == IS_VAR) { in zend_optimize_block()
330 if (src->op1_type & (IS_VAR|IS_TMP_VAR)) { in zend_optimize_block()
347 if((opline->op1_type & IS_VAR) && in zend_optimize_block()
395 if (opline->op1_type & (IS_TMP_VAR|IS_VAR)) { in zend_optimize_block()
404 if (opline->op1_type & (IS_TMP_VAR|IS_VAR)) { in zend_optimize_block()
424 if (opline->op1_type & (IS_TMP_VAR|IS_VAR)) { in zend_optimize_block()
1455 if (opline->op2_type == IS_VAR) { in zend_t_usage()
1471 if (opline->result_type == IS_VAR) { in zend_t_usage()
[all …]
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()
427 if ((opline->op1_type & (IS_VAR|IS_TMP_VAR))&& !is_var_dead(ctx, ssa_op->op1_use)) { in dce_instr()
436 if ((opline->op2_type & (IS_VAR|IS_TMP_VAR)) && !is_var_dead(ctx, ssa_op->op2_use)) { in dce_instr()
H A Dzend_ssa.c547 if (opline->op1_type & (IS_CV|IS_VAR|IS_TMP_VAR)) { in _zend_ssa_rename_op()
551 if (opline->op2_type & (IS_CV|IS_VAR|IS_TMP_VAR)) { in _zend_ssa_rename_op()
592 if (next->op1_type & (IS_CV|IS_VAR|IS_TMP_VAR)) { in _zend_ssa_rename_op()
617 if (next->op1_type & (IS_CV|IS_VAR|IS_TMP_VAR)) { in _zend_ssa_rename_op()
630 if (next->op1_type & (IS_CV|IS_VAR|IS_TMP_VAR)) { in _zend_ssa_rename_op()
643 if (next->op1_type & (IS_CV|IS_VAR|IS_TMP_VAR)) { in _zend_ssa_rename_op()
656 if (next->op1_type & (IS_CV|IS_VAR|IS_TMP_VAR)) { in _zend_ssa_rename_op()
670 if (next->op1_type & (IS_CV|IS_VAR|IS_TMP_VAR)) { in _zend_ssa_rename_op()
739 if (opline->op1_type & (IS_TMP_VAR|IS_VAR|IS_CV)) { in _zend_ssa_rename_op()
786 if (next->op1_type & (IS_CV|IS_VAR|IS_TMP_VAR)) { in _zend_ssa_rename_op()
[all …]
H A Dzend_dump.c144 } else if (var_type == IS_VAR) { in zend_dump_var()
146 } else if ((var_type & (IS_VAR|IS_TMP_VAR)) == IS_TMP_VAR) { in zend_dump_var()
449 if (opline->result_type & (IS_CV|IS_VAR|IS_TMP_VAR)) { in zend_dump_op()
624 } else if (opline->op1_type & (IS_CV|IS_VAR|IS_TMP_VAR)) { in zend_dump_op()
685 } else if (opline->op2_type & (IS_CV|IS_VAR|IS_TMP_VAR)) { in zend_dump_op()
737 if (opline->result_type & (IS_CV|IS_VAR|IS_TMP_VAR)) { in zend_dump_op()
/php-src/Zend/
H A Dzend_vm_execute.h22376 if (IS_VAR == IS_VAR || IS_VAR == IS_CV) { in ZEND_FE_RESET_RW_SPEC_VAR_HANDLER()
22386 if (IS_VAR == IS_VAR || IS_VAR == IS_CV) { in ZEND_FE_RESET_RW_SPEC_VAR_HANDLER()
23866 if (IS_VAR == IS_CV || IS_VAR == IS_VAR) { in ZEND_ASSIGN_OBJ_SPEC_VAR_CONST_OP_DATA_VAR_HANDLER()
26792 if (IS_VAR == IS_CV || IS_VAR == IS_VAR) { in ZEND_ASSIGN_OBJ_SPEC_VAR_TMPVAR_OP_DATA_VAR_HANDLER()
31084 if (IS_VAR == IS_CV || IS_VAR == IS_VAR) { in ZEND_ASSIGN_OBJ_SPEC_VAR_CV_OP_DATA_VAR_HANDLER()
33717 if (IS_VAR == IS_CV || IS_VAR == IS_VAR) { in ZEND_ASSIGN_OBJ_SPEC_UNUSED_CONST_OP_DATA_VAR_HANDLER()
35771 if (IS_VAR == IS_CV || IS_VAR == IS_VAR) { in ZEND_ASSIGN_OBJ_SPEC_UNUSED_TMPVAR_OP_DATA_VAR_HANDLER()
38277 if (IS_VAR == IS_CV || IS_VAR == IS_VAR) { in ZEND_ASSIGN_OBJ_SPEC_UNUSED_CV_OP_DATA_VAR_HANDLER()
42552 if (IS_VAR == IS_CV || IS_VAR == IS_VAR) { in ZEND_ASSIGN_OBJ_SPEC_CV_CONST_OP_DATA_VAR_HANDLER()
46391 if (IS_VAR == IS_CV || IS_VAR == IS_VAR) { in ZEND_ASSIGN_OBJ_SPEC_CV_TMPVAR_OP_DATA_VAR_HANDLER()
[all …]
H A Dzend_verify_type_inference.h75 if (Z_TYPE_P(value) == IS_UNUSED && op_type == IS_VAR && (type_mask & MAY_BE_NULL)) { in zend_verify_type_inference()
133 && (opline->op1_type & (IS_TMP_VAR|IS_VAR|IS_CV)) in zend_verify_inference_use()
139 && (opline->op2_type & (IS_TMP_VAR|IS_VAR|IS_CV))) { in zend_verify_inference_use()
143 && (opline->result_type & (IS_TMP_VAR|IS_VAR|IS_CV))) { in zend_verify_inference_use()
158 && (opline->op1_type & (IS_TMP_VAR|IS_VAR|IS_CV)) in zend_verify_inference_def()
167 && (opline->op2_type & (IS_TMP_VAR|IS_VAR|IS_CV)) in zend_verify_inference_def()
174 && (opline->result_type & (IS_TMP_VAR|IS_VAR|IS_CV)) in zend_verify_inference_def()
H A Dzend_vm_def.h1946 if (OP1_TYPE == IS_VAR) {
1961 if (OP1_TYPE == IS_VAR) {
2032 if (OP1_TYPE == IS_VAR) {
2181 if (OP1_TYPE == IS_VAR) {
2198 if (OP1_TYPE == IS_VAR) {
2344 if (OP1_TYPE == IS_VAR) {
2371 if (OP1_TYPE == IS_VAR
2748 if (OP1_TYPE == IS_VAR &&
4467 if (OP1_TYPE == IS_VAR) {
7628 if (OP1_TYPE == IS_VAR) {
[all …]
H A Dzend_opcode.c860 ((use_opline->op1_type & (IS_TMP_VAR|IS_VAR)) && use_opline->op1.var == rt_var_num) || in emit_live_range()
861 ((use_opline->op2_type & (IS_TMP_VAR|IS_VAR)) && use_opline->op2.var == rt_var_num) in emit_live_range()
933 if ((opline->result_type & (IS_TMP_VAR|IS_VAR)) && !is_fake_def(opline)) { in zend_calc_live_ranges()
959 if ((opline->op1_type & (IS_TMP_VAR|IS_VAR))) { in zend_calc_live_ranges()
968 if (opline->op2_type & (IS_TMP_VAR|IS_VAR)) { in zend_calc_live_ranges()
1179 } else if (opline->op1_type & (IS_VAR|IS_TMP_VAR)) { in pass_two()
1184 } else if (opline->op2_type & (IS_VAR|IS_TMP_VAR)) { in pass_two()
1187 if (opline->result_type & (IS_VAR|IS_TMP_VAR)) { in pass_two()
H A Dzend_execute.c175 if ((type) & (IS_TMP_VAR|IS_VAR)) { \
397 if (op_type & (IS_TMP_VAR|IS_VAR)) { in _get_zval_ptr_tmpvarcv()
401 ZEND_ASSERT(op_type == IS_VAR); in _get_zval_ptr_tmpvarcv()
412 if (op_type & (IS_TMP_VAR|IS_VAR)) { in _get_zval_ptr()
432 if (op_type & (IS_TMP_VAR|IS_VAR)) { in _get_op_data_zval_ptr_r()
452 if (op_type & (IS_TMP_VAR|IS_VAR)) { in _get_zval_ptr_deref()
456 ZEND_ASSERT(op_type == IS_VAR); in _get_zval_ptr_deref()
476 ZEND_ASSERT(op_type == IS_VAR); in _get_op_data_zval_ptr_deref_r()
525 ZEND_ASSERT(op_type == IS_VAR); in _get_zval_ptr_ptr()
3356 zend_assign_to_property_reference(container, IS_VAR, prop_ptr, IS_VAR, value_ptr in zend_assign_to_property_reference_var_var()
[all …]
H A Dzend_execute.h132 if (ZEND_CONST_COND(value_type & (IS_VAR|IS_CV), 1) && Z_ISREF_P(value)) { in zend_copy_to_variable()
146 } else if (ZEND_CONST_COND(value_type == IS_VAR, 1) && UNEXPECTED(ref)) { in zend_copy_to_variable()
H A Dzend_compile.c780 } else if (op1->op_type == IS_VAR) { in zend_do_free()
787 if (opline->result_type == IS_VAR in zend_do_free()
805 opline->op1_type == IS_VAR && in zend_do_free()
810 if (opline->result_type == IS_VAR in zend_do_free()
2213 opline->result_type = IS_VAR; in zend_make_var_result()
2530 if (result->op_type == IS_VAR) { in zend_compile_memoized_expr()
2962 if (node->op_type == IS_VAR) { in zend_separate_if_call_and_write()
2964 opline->result_type = IS_VAR; in zend_separate_if_call_and_write()
3803 if (arg_node.op_type == IS_VAR) { in zend_compile_args()
5757 opline->op2_type = IS_VAR; in zend_compile_foreach()
[all …]
/php-src/ext/zend_test/tests/
H A Dobserver_retval_04.phpt2 Observer: Retvals are observable that are: refcounted, IS_VAR
19 return getObj(); // IS_VAR
26 return 'This gets ' . $what . ' in the return handler when unused'; // Refcounted + IS_VAR
H A Dobserver_retval_07.phpt2 Observer: Retvals are observable that are: IS_REFERENCE, IS_VAR
18 return getMessage(); // IS_REFERENCE + IS_VAR
H A Dobserver_retval_by_ref_03.phpt2 Observer: Retvals by reference are observable that are: IS_VAR, ZEND_RETURNS_FUNCTION
18 return getMessage(); // IS_VAR + ZEND_RETURNS_FUNCTION
/php-src/ext/opcache/tests/jit/
H A Dassign_039.phpt2 JIT ASSIGN: Assign reference IS_VAR
H A Dadd_008.phpt2 JIT ADD: 008 Addition with reference IS_VAR
/php-src/Zend/tests/
H A Dbug70262.phpt20 $a->getObj($array) //use function call to get a refcount == 1 IS_VAR object
H A Dobject_handlers.phpt120 // IS_VAR
136 // IS_VAR + conversion
H A Dforeach_003.phpt39 // IS_VAR
/php-src/ext/opcache/jit/
H A Dzend_jit_helpers.c405 if (opline->result_type & (IS_VAR | IS_TMP_VAR)) { in zend_jit_fetch_dim_r_helper()
415 if (opline->result_type & (IS_VAR | IS_TMP_VAR)) { in zend_jit_fetch_dim_r_helper()
465 if (opline->result_type & (IS_VAR | IS_TMP_VAR)) { in zend_jit_fetch_dim_r_helper()
475 if (opline->result_type & (IS_VAR | IS_TMP_VAR)) { in zend_jit_fetch_dim_r_helper()
547 if (opline->result_type & (IS_VAR | IS_TMP_VAR)) { in zend_jit_fetch_dim_is_helper()
557 if (opline->result_type & (IS_VAR | IS_TMP_VAR)) { in zend_jit_fetch_dim_is_helper()
607 if (opline->result_type & (IS_VAR | IS_TMP_VAR)) { in zend_jit_fetch_dim_is_helper()
617 if (opline->result_type & (IS_VAR | IS_TMP_VAR)) { in zend_jit_fetch_dim_is_helper()
2431 if (opline->result_type & (IS_VAR|IS_TMP_VAR)) { in zend_jit_invalid_property_incdec()
2437 if (opline->op1_type == IS_VAR) { in zend_jit_invalid_property_incdec()
[all …]
H A Dzend_jit_ir.c2565 IS_VAR, val_addr, val_info, in zend_jit_assign_var_stub()
2908 opline.result_type = IS_VAR; in zend_jit_setup_disasm()
2918 opline.result_type = IS_VAR; in zend_jit_setup_disasm()
2928 opline.result_type = IS_VAR; in zend_jit_setup_disasm()
2943 opline.op1_type = IS_VAR; in zend_jit_setup_disasm()
6148 } else if (val_type == IS_VAR) { in zend_jit_assign_to_variable_call()
13631 if (opline->op1_type == IS_VAR
14003 if (opline->op1_type == IS_VAR
14093 if (opline->op1_type == IS_VAR
14360 if (opline->op1_type == IS_VAR
[all …]
H A Dzend_jit_vm_helpers.c667 if ((opline->op1_type & (IS_TMP_VAR|IS_VAR|IS_CV))
696 if (opline->op2_type & (IS_TMP_VAR|IS_VAR|IS_CV)
743 if ((opline+1)->op1_type & (IS_TMP_VAR|IS_VAR|IS_CV)) {

Completed in 300 milliseconds

12