Home
last modified time | relevance | path

Searched refs:op1 (Results 1 – 25 of 60) sorted by relevance

123

/PHP-8.0/Zend/
H A Dzend_operators.c382 op1 = Z_REFVAL_P(op1); \
1391 op1 = Z_REFVAL_P(op1); in boolean_xor_function()
1438 op1 = Z_REFVAL_P(op1); in boolean_not_function()
1481 op1 = Z_REFVAL_P(op1); in bitwise_not_function()
1825 op1 = Z_REFVAL_P(op1); in concat_function()
2143 op1 = Z_REFVAL_P(op1); in zend_compare()
2419 Z_DVAL_P(op1) = Z_DVAL_P(op1) + 1; in increment_function()
2455 op1 = Z_REFVAL_P(op1); in increment_function()
2461 if (Z_OBJ_HANDLER_P(op1, do_operation)(ZEND_ADD, op1, op1, &op2) == SUCCESS) { in increment_function()
2487 Z_DVAL_P(op1) = Z_DVAL_P(op1) - 1; in decrement_function()
[all …]
H A Dzend_operators.h523 : "r"(&op1->value) in fast_long_increment_function()
534 : "r"(&op1->value) in fast_long_increment_function()
547 : "r"(&op1->value) in fast_long_increment_function()
574 Z_LVAL_P(op1)++; in fast_long_increment_function()
586 : "r"(&op1->value) in fast_long_decrement_function()
597 : "r"(&op1->value) in fast_long_decrement_function()
610 : "r"(&op1->value) in fast_long_decrement_function()
637 Z_LVAL_P(op1)--; in fast_long_decrement_function()
653 "r"(&op1->value), in fast_long_add_function()
671 "r"(&op1->value), in fast_long_add_function()
[all …]
H A Dzend_vm_gen.php619 if (($op1 == 'TMP' || $op1 == 'VAR') &&
621 $op1 = "TMPVAR";
622 } else if (($op1 == 'TMP' || $op1 == 'VAR') &&
629 $op1 = "ANY";
664 if (($op1 == 'TMP' || $op1 == 'VAR') &&
666 $op1 = "TMPVAR";
667 } else if (($op1 == 'TMP' || $op1 == 'VAR') &&
674 $op1 = "ANY";
988 return (($op1 === 'UNUSED') || ($op1 === 'CV')) && ($op2 === 'CONST');
1071 $op1 = "ANY";
[all …]
H A Dzend_vm_execute.h2604 op1 = Z_REFVAL_P(op1); in ZEND_ADD_ARRAY_UNPACK_SPEC_HANDLER()
10404 op1 = Z_REFVAL_P(op1); in ZEND_COUNT_SPEC_CONST_UNUSED_HANDLER()
10442 op1 = Z_REFVAL_P(op1); in ZEND_GET_CLASS_SPEC_CONST_UNUSED_HANDLER()
11870 op1 = EX_VAR(opline->op1.var); in ZEND_BW_NOT_SPEC_TMPVARCV_HANDLER()
17619 op1 = Z_REFVAL_P(op1); in ZEND_COUNT_SPEC_TMPVAR_UNUSED_HANDLER()
17657 op1 = Z_REFVAL_P(op1); in ZEND_GET_CLASS_SPEC_TMPVAR_UNUSED_HANDLER()
28868 op1 = Z_INDIRECT_P(op1); in ZEND_MAKE_REF_SPEC_VAR_UNUSED_HANDLER()
35610 op1 = Z_REFVAL_P(op1); in ZEND_GET_CLASS_SPEC_UNUSED_UNUSED_HANDLER()
47942 op1 = Z_INDIRECT_P(op1); in ZEND_MAKE_REF_SPEC_CV_UNUSED_HANDLER()
47994 op1 = Z_REFVAL_P(op1); in ZEND_COUNT_SPEC_CV_UNUSED_HANDLER()
[all …]
H A Dzend_vm_def.h947 zval *op1; variable
5992 zval *op1; variable
6085 op1 = Z_REFVAL_P(op1);
8776 zval *op1 = EX_VAR(opline->op1.var); variable
8789 zval *op1 = EX_VAR(opline->op1.var); variable
8806 op1 = Z_INDIRECT_P(op1);
8935 zval *op1; variable
8971 zval *op1; variable
9007 op1 = Z_REFVAL_P(op1);
9045 op1 = Z_REFVAL_P(op1);
[all …]
H A Dzend_ini_parser.y64 static void zend_ini_do_op(char type, zval *result, zval *op1, zval *op2) in zend_ini_do_op() argument
71 i_op1 = get_int_val(op1); in zend_ini_do_op()
112 static void zend_ini_add_string(zval *result, zval *op1, zval *op2) in zend_ini_add_string() argument
116 if (Z_TYPE_P(op1) != IS_STRING) { in zend_ini_add_string()
120 zend_string *str = zval_get_tmp_string(op1, &tmp_str); in zend_ini_add_string()
121 ZVAL_PSTRINGL(op1, ZSTR_VAL(str), ZSTR_LEN(str)); in zend_ini_add_string()
124 ZVAL_STR(op1, zval_get_string_func(op1)); in zend_ini_add_string()
127 op1_len = (int)Z_STRLEN_P(op1); in zend_ini_add_string()
134 ZVAL_NEW_STR(result, zend_string_extend(Z_STR_P(op1), length, ZEND_SYSTEM_INI)); in zend_ini_add_string()
H A Dzend_ast.c509 zval op1, op2; in zend_ast_evaluate() local
547 ret = op(result, &op1); in zend_ast_evaluate()
600 if (zend_is_true(&op1)) { in zend_ast_evaluate()
611 zval_ptr_dtor_nogc(&op1); in zend_ast_evaluate()
618 if (zend_is_true(&op1)) { in zend_ast_evaluate()
629 zval_ptr_dtor_nogc(&op1); in zend_ast_evaluate()
638 *result = op1; in zend_ast_evaluate()
662 *result = op1; in zend_ast_evaluate()
676 ZVAL_LONG(&op1, 0); in zend_ast_evaluate()
685 ZVAL_LONG(&op1, 0); in zend_ast_evaluate()
[all …]
/PHP-8.0/ext/opcache/Optimizer/
H A Dpass3.c172 SAME_VAR(opline->op1, target->op1)) { in zend_optimizer_pass3()
178 SAME_VAR(opline->op1, target->op1)) { in zend_optimizer_pass3()
183 SAME_VAR(opline->op1, target->op1)) { in zend_optimizer_pass3()
223 SAME_VAR(target->op1, opline->op1))) { in zend_optimizer_pass3()
231 SAME_VAR(target->op1, opline->op1))) { in zend_optimizer_pass3()
238 SAME_VAR(target->op1, opline->op1))) { in zend_optimizer_pass3()
299 SAME_VAR(target->op1, opline->op1)) { in zend_optimizer_pass3()
304 SAME_VAR(target->op1, opline->op1)) { in zend_optimizer_pass3()
323 SAME_VAR(target->op1, opline->op1)) { in zend_optimizer_pass3()
328 SAME_VAR(target->op1, opline->op1)) { in zend_optimizer_pass3()
[all …]
H A Dsccp.c442 if (Z_TYPE_P(op1) == IS_ARRAY || IS_PARTIAL_ARRAY(op1)) { in ct_eval_fetch_dim()
465 ZVAL_BOOL(result, op1 && Z_TYPE_P(op1) != IS_NULL); in ct_eval_isset_isempty()
479 if (Z_TYPE_P(op1) == IS_ARRAY || IS_PARTIAL_ARRAY(op1)) { in ct_eval_isset_dim()
775 if (Z_TYPE_P(op1) != IS_STRING && Z_TYPE_P(op1) != IS_LONG && Z_TYPE_P(op1) != IS_NULL) { in ct_eval_array_key_exists()
1254 if (op1) { in sccp_visit_instr()
1283 if ((op1 && IS_BOT(op1)) in sccp_visit_instr()
1386 if ((op1 && IS_BOT(op1)) || (op2 && IS_BOT(op2))) { in sccp_visit_instr()
1432 if (op1) { in sccp_visit_instr()
1490 if (op1 && IS_PARTIAL_OBJECT(op1) in sccp_visit_instr()
1538 if (op1) { in sccp_visit_instr()
[all …]
H A Dblock_pass.c160 znode_op op1 = opline->op1; in zend_optimize_block() local
163 COPY_NODE(opline->op1, src->op1); in zend_optimize_block()
213 COPY_NODE(opline->op1, src->op1); in zend_optimize_block()
460 COPY_NODE(opline->op1, src->op1); in zend_optimize_block()
468 COPY_NODE(opline->op1, src->op1); in zend_optimize_block()
598 COPY_NODE(opline->op1, src->op1); in zend_optimize_block()
607 COPY_NODE(opline->op1, src->op1); in zend_optimize_block()
644 COPY_NODE(opline->op1, src->op1); in zend_optimize_block()
727 COPY_NODE(opline->op1, src->op1); in zend_optimize_block()
756 COPY_NODE(opline->op1, src->op1); in zend_optimize_block()
[all …]
H A Dzend_optimizer_internal.h28 #define ZEND_OP1_LITERAL(opline) (op_array)->literals[(opline)->op1.constant]
29 #define ZEND_OP1_JMP_ADDR(opline) OP_JMP_ADDR(opline, (opline)->op1)
42 #define SAME_VAR(op1, op2) (op1 ## _type == op2 ## _type && op1.var == op2.var) argument
83 int zend_optimizer_eval_binary_op(zval *result, zend_uchar opcode, zval *op1, zval *op2);
84 int zend_optimizer_eval_unary_op(zval *result, zend_uchar opcode, zval *op1);
85 int zend_optimizer_eval_cast(zval *result, uint32_t type, zval *op1);
86 int zend_optimizer_eval_strlen(zval *result, zval *op1);
H A Dzend_optimizer.c63 ret = binary_op(result, op1, op2); in zend_optimizer_eval_binary_op()
76 && Z_TYPE_P(op1) != IS_LONG in zend_optimizer_eval_unary_op()
77 && Z_TYPE_P(op1) != IS_DOUBLE in zend_optimizer_eval_unary_op()
82 return unary_op(result, op1); in zend_optimizer_eval_unary_op()
108 if (Z_TYPE_P(op1) != IS_ARRAY && Z_TYPE_P(op1) != IS_DOUBLE) { in zend_optimizer_eval_cast()
114 ZVAL_COPY(result, op1); in zend_optimizer_eval_cast()
538 opline->op1.var == var) { in zend_optimizer_replace_by_const()
578 m->op1.var == var) { in zend_optimizer_replace_by_const()
768 zval *op1 = CRT_CONSTANT(opline->op1); in get_class_entry_from_op1() local
1107 opline->op1.jmp_addr = &op_array->opcodes[opline->op1.jmp_addr - old_opcodes]; in zend_redo_pass_two()
[all …]
H A Dcompact_literals.c89 uint32_t op1, in add_static_slot() argument
95 zval *class_name = &op_array->literals[op1]; in add_static_slot()
530 opline->op1.constant = map[opline->op1.constant]; in zend_optimizer_compact_literals()
562 opline->op1.constant, in zend_optimizer_compact_literals()
669 opline->op1.constant, in zend_optimizer_compact_literals()
679 if (class_slot[opline->op1.constant] >= 0) { in zend_optimizer_compact_literals()
690 if (const_slot[opline->op1.constant] >= 0) { in zend_optimizer_compact_literals()
712 opline->op1.constant, in zend_optimizer_compact_literals()
740 opline->op1.constant, in zend_optimizer_compact_literals()
774 if (class_slot[opline->op1.constant] >= 0) { in zend_optimizer_compact_literals()
[all …]
H A Ddfa_pass.c364 && opline->op1.var == cv_var in opline_supports_assign_contraction()
487 call_info->caller_call_opline->op1.num = send_needly->op1.num; in zend_dfa_optimize_calls()
795 COPY_NODE(opline->op1, opline->op2); in zend_dfa_optimize_jmps()
821 COPY_NODE(opline->op1, opline->op2); in zend_dfa_optimize_jmps()
884 opline->op1.num = opline->op2.num; in zend_dfa_optimize_jmps()
1010 SET_UNUSED(opline->op1); in zend_dfa_optimize_jmps()
1093 op_array->opcodes[use].op1.var = cv; in zend_dfa_try_to_replace_result()
1250 opline->op1.var = opline->op2.var; in zend_dfa_optimize_op_array()
1499 src_var, opline->op1.var) in zend_dfa_optimize_op_array()
1610 opline->op1.var = opline->op2.var; in zend_dfa_optimize_op_array()
[all …]
H A Dzend_dfg.c29 var_num = EX_VAR_TO_NUM(opline->op1.var); in _zend_dfg_add_use_def_op()
59 zend_bitset_incl(def, EX_VAR_TO_NUM(opline->op1.var)); in _zend_dfg_add_use_def_op()
74 var_num = EX_VAR_TO_NUM(next->op1.var); in _zend_dfg_add_use_def_op()
89 var_num = EX_VAR_TO_NUM(next->op1.var); in _zend_dfg_add_use_def_op()
104 var_num = EX_VAR_TO_NUM(next->op1.var); in _zend_dfg_add_use_def_op()
116 var_num = EX_VAR_TO_NUM(next->op1.var); in _zend_dfg_add_use_def_op()
128 var_num = EX_VAR_TO_NUM(next->op1.var); in _zend_dfg_add_use_def_op()
138 var_num = EX_VAR_TO_NUM(next->op1.var); in _zend_dfg_add_use_def_op()
H A Dzend_ssa.c200 return EX_VAR_TO_NUM(op->op1.var); in find_adjusted_tmp_var()
205 return EX_VAR_TO_NUM(op->op1.var); in find_adjusted_tmp_var()
213 return EX_VAR_TO_NUM(op->op1.var); in find_adjusted_tmp_var()
216 zv = CRT_CONSTANT_EX(op_array, op, op->op1); in find_adjusted_tmp_var()
228 return EX_VAR_TO_NUM(op->op1.var); in find_adjusted_tmp_var()
271 int var = EX_VAR_TO_NUM(opline->op1.var); in place_essa_pis()
279 int var = EX_VAR_TO_NUM(opline->op1.var); in place_essa_pis()
309 var1 = EX_VAR_TO_NUM((opline-1)->op1.var); in place_essa_pis()
443 int var = EX_VAR_TO_NUM((opline-1)->op1.var); in place_essa_pis()
465 int var = EX_VAR_TO_NUM((opline-1)->op1.var); in place_essa_pis()
[all …]
H A Dcompact_vars.c40 zend_bitset_incl(used_vars, VAR_NUM(opline->op1.var)); in zend_optimizer_compact_vars()
88 opline->op1.var = NUM_VAR(vars_map[VAR_NUM(opline->op1.var)]); in zend_optimizer_compact_vars()
H A Dpass1.c243 Z_STR(op_array->literals[opline->op1.constant + 1]))) == NULL || in zend_optimizer_pass1()
253 (opline->op1.num & ZEND_FETCH_CLASS_MASK) == ZEND_FETCH_CLASS_SELF) { in zend_optimizer_pass1()
260 ((opline - 1)->op1.num & ZEND_FETCH_CLASS_MASK) == ZEND_FETCH_CLASS_SELF) && in zend_optimizer_pass1()
261 (opline - 1)->result.var == opline->op1.var) { in zend_optimizer_pass1()
363 opline->op1.constant = send1_opline->op1.constant; in zend_optimizer_pass1()
364 opline->op2.constant = send2_opline->op1.constant; in zend_optimizer_pass1()
569 (opline + 1)->op1.var == opline->result.var && in zend_optimizer_pass1()
584 (opline + 1)->op1 = (opline + 1)->op2; in zend_optimizer_pass1()
635 COPY_NODE(opline->op1, opline->op2); in zend_optimizer_pass1()
655 ZEND_SET_OP_JMP_ADDR(opline, opline->op1, target_opline); in zend_optimizer_pass1()
H A Dzend_inference.h137 DEFINE_SSA_OP_HAS_RANGE(op1)
138 DEFINE_SSA_OP_MIN_RANGE(op1) in DEFINE_SSA_OP_MIN_RANGE() argument
139 DEFINE_SSA_OP_MAX_RANGE(op1) in DEFINE_SSA_OP_MIN_RANGE()
140 DEFINE_SSA_OP_RANGE_UNDERFLOW(op1) in DEFINE_SSA_OP_MIN_RANGE()
141 DEFINE_SSA_OP_RANGE_OVERFLOW(op1) in DEFINE_SSA_OP_MIN_RANGE()
224 DEFINE_SSA_OP_INFO(op1)
227 DEFINE_SSA_OP_DEF_INFO(op1) in DEFINE_SSA_OP_INFO()
/PHP-8.0/Zend/tests/
H A Dbug37046.phpt11 echo "op1 $k\n";
20 op1 0
23 op1 1
/PHP-8.0/ext/intl/collator/
H A Dcollator_sort.c51 static int collator_regular_compare_function(zval *result, zval *op1, zval *op2) in collator_regular_compare_function() argument
62 str1_p = collator_convert_object_to_string( op1, &str1 ); in collator_regular_compare_function()
136 static int collator_numeric_compare_function(zval *result, zval *op1, zval *op2) in collator_numeric_compare_function() argument
142 if( Z_TYPE_P(op1) == IS_STRING ) in collator_numeric_compare_function()
144 num1_p = collator_convert_string_to_double( op1, &num1 ); in collator_numeric_compare_function()
145 op1 = num1_p; in collator_numeric_compare_function()
154 ZVAL_LONG(result, numeric_compare_function(op1, op2)); in collator_numeric_compare_function()
168 static int collator_icu_compare_function(zval *result, zval *op1, zval *op2) in collator_icu_compare_function() argument
175 str1_p = collator_make_printable_zval( op1, &str1); in collator_icu_compare_function()
H A Dcollator_sort.h21 typedef int (*collator_compare_func_t)( zval *result, zval *op1, zval *op2 );
/PHP-8.0/ext/standard/
H A Dphp_string.h62 PHPAPI int string_natural_compare_function_ex(zval *result, zval *op1, zval *op2, zend_bool case_in…
63 PHPAPI int string_natural_compare_function(zval *result, zval *op1, zval *op2);
64 PHPAPI int string_natural_case_compare_function(zval *result, zval *op1, zval *op2);
/PHP-8.0/ext/opcache/tests/opt/
H A Dinference_008.phpt2 Type inference 008: ASSIGN_DIM with invalid op1
/PHP-8.0/ext/opcache/jit/
H A Dzend_jit_x86.h291 OP_ADDR(opline, op1_type, op1)
297 OP_ADDR(opline + 1, op1_type, op1)
304 OP_REG_ADDR(opline, op1_type, op1, op1_use)
310 OP_REG_ADDR(opline + 1, op1_type, op1, op1_use)
313 OP_REG_ADDR(opline, op1_type, op1, op1_def)
319 OP_REG_ADDR(opline + 1, op1_type, op1, op1_def)

Completed in 323 milliseconds

123