Home
last modified time | relevance | path

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

1234

/php-src/Zend/
H A Dzend_operators.c497 op1 = Z_REFVAL_P(op1); \
1530 op1 = Z_REFVAL_P(op1); in boolean_xor_function()
1577 op1 = Z_REFVAL_P(op1); in boolean_not_function()
1631 op1 = Z_REFVAL_P(op1); in bitwise_not_function()
1976 op1 = Z_REFVAL_P(op1); in concat_function()
2328 op1 = Z_REFVAL_P(op1); in zend_compare()
2637 Z_DVAL_P(op1) = Z_DVAL_P(op1) + 1; in increment_function()
2685 op1 = Z_REFVAL_P(op1); in increment_function()
2691 if (Z_OBJ_HANDLER_P(op1, do_operation)(ZEND_ADD, op1, op1, &op2) == SUCCESS) { in increment_function()
2725 Z_DVAL_P(op1) = Z_DVAL_P(op1) - 1; in decrement_function()
[all …]
H A Dzend_operators.h536 : "r"(&op1->value) in fast_long_increment_function()
547 : "r"(&op1->value) in fast_long_increment_function()
560 : "r"(&op1->value) in fast_long_increment_function()
587 Z_LVAL_P(op1)++; in fast_long_increment_function()
599 : "r"(&op1->value) in fast_long_decrement_function()
610 : "r"(&op1->value) in fast_long_decrement_function()
623 : "r"(&op1->value) in fast_long_decrement_function()
650 Z_LVAL_P(op1)--; in fast_long_decrement_function()
666 "r"(&op1->value), in fast_long_add_function()
684 "r"(&op1->value), in fast_long_add_function()
[all …]
H A Dzend_vm_gen.php586 if (($op1 == 'TMP' || $op1 == 'VAR') &&
588 $op1 = "TMPVAR";
589 } else if (($op1 == 'TMP' || $op1 == 'VAR') &&
596 $op1 = "ANY";
632 if (($op1 == 'TMP' || $op1 == 'VAR') &&
634 $op1 = "TMPVAR";
635 } else if (($op1 == 'TMP' || $op1 == 'VAR') &&
642 $op1 = "ANY";
953 return (($op1 === 'UNUSED') || ($op1 === 'CV')) && ($op2 === 'CONST');
1036 $op1 = "ANY";
[all …]
H A Dzend_vm_execute.h2839 op1 = Z_REFVAL_P(op1); in ZEND_ADD_ARRAY_UNPACK_SPEC_HANDLER()
8245 op1 = Z_REFVAL_P(op1); in ZEND_IN_ARRAY_SPEC_CONST_CONST_HANDLER()
8273 op1 = Z_REFVAL_P(op1); in ZEND_IN_ARRAY_SPEC_CONST_CONST_HANDLER()
11351 op1 = Z_REFVAL_P(op1); in ZEND_COUNT_SPEC_CONST_UNUSED_HANDLER()
11393 op1 = Z_REFVAL_P(op1); in ZEND_GET_CLASS_SPEC_CONST_UNUSED_HANDLER()
18829 op1 = Z_REFVAL_P(op1); in ZEND_COUNT_SPEC_TMPVAR_UNUSED_HANDLER()
18886 op1 = Z_REFVAL_P(op1); in ZEND_GET_CLASS_SPEC_TMPVAR_UNUSED_HANDLER()
20985 op1 = Z_REFVAL_P(op1); in ZEND_IN_ARRAY_SPEC_TMP_CONST_HANDLER()
21013 op1 = Z_REFVAL_P(op1); in ZEND_IN_ARRAY_SPEC_TMP_CONST_HANDLER()
26326 op1 = Z_REFVAL_P(op1); in ZEND_IN_ARRAY_SPEC_VAR_CONST_HANDLER()
[all …]
H A Dzend_vm_def.h950 zval *op1; variable
6249 zval *op1; variable
6370 op1 = Z_REFVAL_P(op1);
9157 zval *op1 = EX_VAR(opline->op1.var); variable
9170 zval *op1 = EX_VAR(opline->op1.var); variable
9187 op1 = Z_INDIRECT_P(op1);
9316 zval *op1; variable
9336 op1 = Z_REFVAL_P(op1);
9364 op1 = Z_REFVAL_P(op1);
9425 op1 = Z_REFVAL_P(op1);
[all …]
H A Dzend_ini_parser.y65 static void zend_ini_do_op(char type, zval *result, zval *op1, zval *op2) in zend_ini_do_op() argument
72 i_op1 = get_int_val(op1); in zend_ini_do_op()
118 static void zend_ini_add_string(zval *result, zval *op1, zval *op2) in zend_ini_add_string() argument
122 if (Z_TYPE_P(op1) != IS_STRING) { in zend_ini_add_string()
126 zend_string *str = zval_get_tmp_string(op1, &tmp_str); in zend_ini_add_string()
127 ZVAL_PSTRINGL(op1, ZSTR_VAL(str), ZSTR_LEN(str)); in zend_ini_add_string()
130 ZVAL_STR(op1, zval_get_string_func(op1)); in zend_ini_add_string()
133 op1_len = (int)Z_STRLEN_P(op1); in zend_ini_add_string()
140 ZVAL_NEW_STR(result, zend_string_extend(Z_STR_P(op1), length, ZEND_SYSTEM_INI)); in zend_ini_add_string()
H A Dzend_ast.c574 zval op1, op2; in zend_ast_evaluate_inner() local
614 ret = op(result, &op1); in zend_ast_evaluate_inner()
667 if (zend_is_true(&op1)) { in zend_ast_evaluate_inner()
678 zval_ptr_dtor_nogc(&op1); in zend_ast_evaluate_inner()
685 if (zend_is_true(&op1)) { in zend_ast_evaluate_inner()
696 zval_ptr_dtor_nogc(&op1); in zend_ast_evaluate_inner()
705 *result = op1; in zend_ast_evaluate_inner()
729 *result = op1; in zend_ast_evaluate_inner()
743 ZVAL_LONG(&op1, 0); in zend_ast_evaluate_inner()
752 ZVAL_LONG(&op1, -1); in zend_ast_evaluate_inner()
[all …]
/php-src/ext/opcache/jit/ir/
H A Dir_sccp.c49 op1_insn = (op1 > 0 && IR_IS_CONST_OP(_values[op1].op)) ? _values + op1 : ctx->ir_base + op1; in ir_sccp_fold()
56 op1 = ctx->fold_insn.op1; in ir_sccp_fold()
64 op1 = ctx->fold_insn.op1; in ir_sccp_fold()
68 insn = (op1 > 0 && IR_IS_CONST_OP(_values[op1].op)) ? _values + op1 : ctx->ir_base + op1; in ir_sccp_fold()
74 _values[res].op1 = op1; in ir_sccp_fold()
82 _values[res].op1 = op1; in ir_sccp_fold()
505 op1 = insn->op1; in ir_sccp_fold2()
517 op1 = ctx->fold_insn.op1; in ir_sccp_fold2()
571 op1 = ctx->fold_insn.op1; in ir_sccp_fold2()
1295 next->op1 = root->op1; in ir_try_remove_empty_diamond()
[all …]
H A Dir_fold.h1417 op1 = op1_insn->op1; in IR_FOLD()
1468 op1 = op1_insn->op1; in IR_FOLD()
1509 op1 = op1_insn->op1; in IR_FOLD()
1929 op1 = op1_insn->op1; in IR_FOLD()
2320 op1 = op1_insn->op1; in IR_FOLD()
2324 op1 = op1_insn->op1; in IR_FOLD()
2328 op1 = op1_insn->op1; in IR_FOLD()
2339 op1 = op1_insn->op1; in IR_FOLD()
2353 op1 = op1_insn->op1; in IR_FOLD()
2363 op1 = op1_insn->op1; in IR_FOLD()
[all …]
H A Dir_x86.dasc3753 ir_ref op1 = insn->op1;
3880 ir_ref op1 = insn->op1;
3929 ir_ref op1 = insn->op1;
4173 ir_ref op1 = insn->op1;
4232 ir_ref op1 = insn->op1;
4295 ir_ref op1 = insn->op1;
4499 ir_ref op1 = insn->op1;
4589 ir_ref op1 = insn->op1;
4640 ir_ref op1 = insn->op1;
4807 ir_ref op1 = insn->op1;
[all …]
H A Dir.c804 insn->op1 = op1;
839 if (op1 > limit) {
840 limit = op1;
971 ctx->fold_insn.op1 = op1;
1005 ctx->fold_insn.op1 = op1;
1927 ref = insn->op1;
2777 ref = insn->op1;
2812 ctx->ir_base[prev].op1 = insn->op1;
2831 ref = insn->op1;
2896 ctx->ir_base[prev].op1 = insn->op1;
[all …]
H A Dir_private.h69 IR_ALWAYS_INLINE uint8_t ir_rol8(uint8_t op1, uint8_t op2) in ir_rol8() argument
71 return (op1 << op2) | (op1 >> (8 - op2)); in ir_rol8()
76 return (op1 << op2) | (op1 >> (16 - op2)); in ir_rol16()
81 return (op1 << op2) | (op1 >> (32 - op2)); in ir_rol32()
86 return (op1 << op2) | (op1 >> (64 - op2)); in ir_rol64()
89 IR_ALWAYS_INLINE uint8_t ir_ror8(uint8_t op1, uint8_t op2) in ir_ror8() argument
91 return (op1 >> op2) | (op1 << (8 - op2)); in ir_ror8()
96 return (op1 >> op2) | (op1 << (16 - op2)); in ir_ror16()
101 return (op1 >> op2) | (op1 << (32 - op2)); in ir_ror32()
106 return (op1 >> op2) | (op1 << (64 - op2)); in ir_ror64()
[all …]
/php-src/Zend/Optimizer/
H A Dsccp.c390 if (Z_TYPE_P(op1) == IS_ARRAY || IS_PARTIAL_ARRAY(op1)) { in ct_eval_fetch_dim()
413 ZVAL_BOOL(result, op1 && Z_TYPE_P(op1) != IS_NULL); in ct_eval_isset_isempty()
427 if (Z_TYPE_P(op1) == IS_ARRAY || IS_PARTIAL_ARRAY(op1)) { in ct_eval_isset_dim()
672 if (Z_TYPE_P(op1) != IS_LONG && Z_TYPE_P(op1) != IS_DOUBLE && Z_TYPE_P(op1) != IS_NULL) { in ct_eval_incdec()
744 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()
1101 if (op1) { in sccp_visit_instr()
1130 if ((op1 && IS_BOT(op1)) in sccp_visit_instr()
1233 if ((op1 && IS_BOT(op1)) || (op2 && IS_BOT(op2))) { in sccp_visit_instr()
1279 if (op1) { in sccp_visit_instr()
1337 if (op1 && IS_PARTIAL_OBJECT(op1) in sccp_visit_instr()
[all …]
H A Dpass3.c83 ZEND_SET_OP_JMP_ADDR(opline, opline->op1, target); in zend_optimizer_pass3()
140 SAME_VAR(opline->op1, target->op1)) { in zend_optimizer_pass3()
146 SAME_VAR(opline->op1, target->op1)) { in zend_optimizer_pass3()
176 (SAME_VAR(target->op1, opline->result) || in zend_optimizer_pass3()
177 SAME_VAR(target->op1, opline->op1))) { in zend_optimizer_pass3()
184 (SAME_VAR(target->op1, opline->result) || in zend_optimizer_pass3()
185 SAME_VAR(target->op1, opline->op1))) { in zend_optimizer_pass3()
191 (SAME_VAR(target->op1, opline->result) || in zend_optimizer_pass3()
192 SAME_VAR(target->op1, opline->op1))) { in zend_optimizer_pass3()
199 SAME_VAR(target->op1, opline->op1))) { in zend_optimizer_pass3()
[all …]
H A Dblock_pass.c159 znode_op op1 = opline->op1; in zend_optimize_block() local
162 COPY_NODE(opline->op1, src->op1); in zend_optimize_block()
224 COPY_NODE(opline->op1, src->op1); in zend_optimize_block()
486 COPY_NODE(opline->op1, src->op1); in zend_optimize_block()
494 COPY_NODE(opline->op1, src->op1); in zend_optimize_block()
624 COPY_NODE(opline->op1, src->op1); in zend_optimize_block()
633 COPY_NODE(opline->op1, src->op1); in zend_optimize_block()
669 COPY_NODE(opline->op1, src->op1); in zend_optimize_block()
706 COPY_NODE(opline->op1, src->op1); in zend_optimize_block()
735 COPY_NODE(opline->op1, src->op1); in zend_optimize_block()
[all …]
H A Dcompact_literals.c98 zval *class_name = &op_array->literals[op1]; in add_static_slot()
186 LITERAL_INFO(opline->op1.constant, 1); in zend_optimizer_compact_literals()
194 LITERAL_INFO(opline->op1.constant, 2); in zend_optimizer_compact_literals()
201 LITERAL_INFO(opline->op1.constant, 1); in zend_optimizer_compact_literals()
204 LITERAL_INFO(opline->op1.constant, 2); in zend_optimizer_compact_literals()
256 LITERAL_INFO(opline->op1.constant, 2); in zend_optimizer_compact_literals()
497 opline->op1.constant = map[opline->op1.constant]; in zend_optimizer_compact_literals()
529 opline->op1.constant, in zend_optimizer_compact_literals()
636 opline->op1.constant, in zend_optimizer_compact_literals()
681 opline->op1.constant, in zend_optimizer_compact_literals()
[all …]
H A Dzend_optimizer_internal.h30 #define ZEND_OP1_LITERAL(opline) (op_array)->literals[(opline)->op1.constant]
31 #define ZEND_OP1_JMP_ADDR(opline) OP_JMP_ADDR(opline, (opline)->op1)
44 #define SAME_VAR(op1, op2) (op1 ## _type == op2 ## _type && op1.var == op2.var) argument
86 zend_result zend_optimizer_eval_binary_op(zval *result, uint8_t opcode, zval *op1, zval *op2);
87 zend_result zend_optimizer_eval_unary_op(zval *result, uint8_t opcode, zval *op1);
88 zend_result zend_optimizer_eval_cast(zval *result, uint32_t type, zval *op1);
89 zend_result zend_optimizer_eval_strlen(zval *result, const zval *op1);
H A Dzend_optimizer.c63 return binary_op(result, op1, op2); in zend_optimizer_eval_binary_op()
75 return unary_op(result, op1); in zend_optimizer_eval_unary_op()
101 if (Z_TYPE_P(op1) != IS_ARRAY && Z_TYPE_P(op1) != IS_DOUBLE) { in zend_optimizer_eval_cast()
107 ZVAL_COPY(result, op1); in zend_optimizer_eval_cast()
117 if (Z_TYPE_P(op1) != IS_STRING) { in zend_optimizer_eval_strlen()
120 ZVAL_LONG(result, Z_STRLEN_P(op1)); in zend_optimizer_eval_strlen()
630 opline->op1.var == var) { in zend_optimizer_replace_by_const()
853 zval *op1 = CRT_CONSTANT(opline->op1); in zend_optimizer_get_class_entry_from_op1() local
876 zval *op1 = CRT_CONSTANT(opline->op1); in zend_fetch_class_const_info() local
1253 opline->op1.jmp_addr = &op_array->opcodes[opline->op1.jmp_addr - old_opcodes]; in zend_redo_pass_two()
[all …]
H A Ddfa_pass.c375 && opline->op1.var == cv_var in opline_supports_assign_contraction()
499 call_info->caller_call_opline->op1.num = send_needly->op1.num; in zend_dfa_optimize_calls()
804 COPY_NODE(opline->op1, opline->op2); in zend_dfa_optimize_jmps()
986 SET_UNUSED(opline->op1); in zend_dfa_optimize_jmps()
1068 op_array->opcodes[use].op1.var = cv; in zend_dfa_try_to_replace_result()
1225 opline->op1.var = opline->op2.var; in zend_dfa_optimize_op_array()
1247 opline->op1.var = opline->op2.var; in zend_dfa_optimize_op_array()
1292 opline->op2.var = opline->op1.var; in zend_dfa_optimize_op_array()
1535 src_var, opline->op1.var) in zend_dfa_optimize_op_array()
1645 opline->op1.var = opline->op2.var; in zend_dfa_optimize_op_array()
[all …]
H A Dzend_dfg.c28 var_num = EX_VAR_TO_NUM(opline->op1.var); in _zend_dfg_add_use_def_op()
58 zend_bitset_incl(def, EX_VAR_TO_NUM(opline->op1.var)); in _zend_dfg_add_use_def_op()
73 var_num = EX_VAR_TO_NUM(next->op1.var); in _zend_dfg_add_use_def_op()
88 var_num = EX_VAR_TO_NUM(next->op1.var); in _zend_dfg_add_use_def_op()
103 var_num = EX_VAR_TO_NUM(next->op1.var); in _zend_dfg_add_use_def_op()
115 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.c199 return EX_VAR_TO_NUM(op->op1.var); in find_adjusted_tmp_var()
204 return EX_VAR_TO_NUM(op->op1.var); in find_adjusted_tmp_var()
212 return EX_VAR_TO_NUM(op->op1.var); in find_adjusted_tmp_var()
215 zv = CRT_CONSTANT_EX(op_array, op, op->op1); in find_adjusted_tmp_var()
227 return EX_VAR_TO_NUM(op->op1.var); in find_adjusted_tmp_var()
269 int var = EX_VAR_TO_NUM(opline->op1.var); in place_essa_pis()
277 int var = EX_VAR_TO_NUM(opline->op1.var); in place_essa_pis()
307 var1 = EX_VAR_TO_NUM((opline-1)->op1.var); in place_essa_pis()
441 int var = EX_VAR_TO_NUM((opline-1)->op1.var); in place_essa_pis()
463 int var = EX_VAR_TO_NUM((opline-1)->op1.var); in place_essa_pis()
[all …]
/php-src/ext/zend_test/
H A Dobject_handlers.c50 if (IS_DONC(op1)) { in donc_add()
53 val_1 = zval_get_long(op1); in donc_add()
67 if (IS_DONC(op1)) { in donc_mul()
70 val_1 = zval_get_long(op1); in donc_mul()
86 if (result == op1) { in donc_do_operation()
87 ZVAL_COPY_VALUE(&op1_copy, op1); in donc_do_operation()
88 op1 = &op1_copy; in donc_do_operation()
93 donc_add(result, op1, op2); in donc_do_operation()
98 donc_mul(result, op1, op2); in donc_do_operation()
107 if (status == SUCCESS && op1 == &op1_copy) { in donc_do_operation()
[all …]
/php-src/Zend/tests/
H A Dbug37046.phpt11 echo "op1 $k\n";
20 op1 0
23 op1 1
/php-src/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
171 zend_string *str1 = collator_zval_to_string(op1); in collator_icu_compare_function()
H A Dcollator_sort.h21 typedef int (*collator_compare_func_t)( zval *result, zval *op1, zval *op2 );

Completed in 280 milliseconds

1234