/php-src/Zend/Optimizer/ |
H A D | zend_inference.h | 122 DEFINE_SSA_OP_HAS_RANGE(op1) 123 DEFINE_SSA_OP_MIN_RANGE(op1) 124 DEFINE_SSA_OP_MAX_RANGE(op1) 125 DEFINE_SSA_OP_RANGE_UNDERFLOW(op1) 126 DEFINE_SSA_OP_RANGE_OVERFLOW(op1) 191 DEFINE_SSA_OP_INFO(op1) 194 DEFINE_SSA_OP_DEF_INFO(op1) in DEFINE_SSA_OP_INFO()
|
H A D | compact_vars.c | 39 zend_bitset_incl(used_vars, VAR_NUM(opline->op1.var)); in zend_optimizer_compact_vars() 87 opline->op1.var = NUM_VAR(vars_map[VAR_NUM(opline->op1.var)]); in zend_optimizer_compact_vars()
|
H A D | optimize_temp_vars_5.c | 80 currT = VAR_NUM(opline->op1.var) - offset; in zend_optimize_temporary_variables() 93 opline->op1.var = NUM_VAR(var + offset); in zend_optimize_temporary_variables() 134 opline->op1.var = NUM_VAR(map_T[currT] + offset); in zend_optimize_temporary_variables()
|
H A D | pass1.c | 234 opline->op1.constant = send1_opline->op1.constant; in zend_optimizer_pass1() 235 opline->op2.constant = send2_opline->op1.constant; in zend_optimizer_pass1() 321 COPY_NODE(opline->op1, opline->op2); in zend_optimizer_pass1()
|
H A D | optimize_func_calls.c | 122 ZVAL_COPY(&zv, CRT_CONSTANT_EX(&func->op_array, ret_opline, ret_opline->op1)); in zend_try_inline_call() 125 opline->op1.constant = zend_optimizer_add_literal(op_array, &zv); in zend_try_inline_call() 198 fcall->op1.num = zend_vm_calc_used_stack(fcall->extended_value, call_stack[call].func); in zend_optimize_func_calls() 206 fcall->op1.num = zend_vm_calc_used_stack(fcall->extended_value, call_stack[call].func); in zend_optimize_func_calls()
|
/php-src/Zend/ |
H A D | zend_frameless_function.h | 111 typedef void (*zend_frameless_function_1)(zval *return_value, zval *op1); 112 typedef void (*zend_frameless_function_2)(zval *return_value, zval *op1, zval *op2); 113 typedef void (*zend_frameless_function_3)(zval *return_value, zval *op1, zval *op2, zval *op3);
|
H A D | zend_object_handlers.h | 161 typedef zend_result (*zend_object_do_operation_t)(uint8_t opcode, zval *result, zval *op1, zval *op… 275 #define ZEND_COMPARE_OBJECTS_FALLBACK(op1, op2) \ argument 276 if (Z_TYPE_P(op1) != IS_OBJECT || \ 278 Z_OBJ_HT_P(op1)->compare != Z_OBJ_HT_P(op2)->compare) { \ 279 return zend_std_compare_objects(op1, op2); \
|
H A D | zend_opcode.c | 701 int array_offset = opline->op1.num; in zend_get_brk_cont_target() 860 ((use_opline->op1_type & (IS_TMP_VAR|IS_VAR)) && use_opline->op1.var == rt_var_num) || in emit_live_range() 960 uint32_t var_num = EX_VAR_TO_NUM(opline->op1.var) - var_offset; in zend_calc_live_ranges() 1094 opline->op1.opline_num = op_array->try_catch_array[opline->op1.num].finally_op; in pass_two() 1095 ZEND_PASS_TWO_UPDATE_JMP_TARGET(op_array, opline, opline->op1); in pass_two() 1106 opline->op1.opline_num = jmp_target; in pass_two() 1108 ZEND_PASS_TWO_UPDATE_JMP_TARGET(op_array, opline, opline->op1); in pass_two() 1114 zend_check_finally_breakout(op_array, opline - op_array->opcodes, opline->op1.opline_num); in pass_two() 1118 ZEND_PASS_TWO_UPDATE_JMP_TARGET(op_array, opline, opline->op1); in pass_two() 1178 ZEND_PASS_TWO_UPDATE_CONSTANT(op_array, opline, opline->op1); in pass_two() [all …]
|
H A D | zend_ast.h | 363 …_always_inline zend_ast *zend_ast_create_binary_op(uint32_t opcode, zend_ast *op0, zend_ast *op1) { in zend_ast_create_binary_op() argument 364 return zend_ast_create_ex(ZEND_AST_BINARY_OP, opcode, op0, op1); in zend_ast_create_binary_op() 367 zend_ast *zend_ast_create_concat_op(zend_ast *op0, zend_ast *op1); 369 …_always_inline zend_ast *zend_ast_create_assign_op(uint32_t opcode, zend_ast *op0, zend_ast *op1) { in zend_ast_create_assign_op() argument 370 return zend_ast_create_ex(ZEND_AST_ASSIGN_OP, opcode, op0, op1); in zend_ast_create_assign_op()
|
H A D | zend_compile.c | 808 opline->op1.var == op1->u.op.var) { in zend_do_free() 2234 if (op1 != NULL) { in zend_emit_op() 2235 SET_NODE(opline->op1, op1); in zend_emit_op() 2254 if (op1 != NULL) { in zend_emit_op_tmp() 2255 SET_NODE(opline->op1, op1); in zend_emit_op_tmp() 2389 if (op1 != NULL) { in zend_delayed_emit_op() 2390 SET_NODE(tmp_opline.op1, op1); in zend_delayed_emit_op() 4680 znode op1; in zend_compile_ns_call() local 9017 fn(result, op1, op2); in zend_try_ct_eval_binary_op() 9059 fn(result, op2, op1); in zend_ct_eval_greater() [all …]
|
H A D | zend_verify_type_inference.h | 136 …zend_verify_type_inference(EX_VAR(opline->op1.var), opline->op1_use_type, opline->op1_type, execut… in zend_verify_inference_use() 164 …zend_verify_type_inference(EX_VAR(opline->op1.var), opline->op1_def_type, opline->op1_type, execut… in zend_verify_inference_def()
|
/php-src/ext/standard/ |
H A D | php_string.h | 61 PHPAPI int string_natural_compare_function_ex(zval *result, zval *op1, zval *op2, bool case_insensi… 62 PHPAPI int string_natural_compare_function(zval *result, zval *op1, zval *op2); 63 PHPAPI int string_natural_case_compare_function(zval *result, zval *op1, zval *op2);
|
/php-src/ext/opcache/jit/ir/ |
H A D | ir_aarch64.dasc | 1793 ir_ref op1 = insn->op1; 1942 ir_ref op1 = insn->op1; 2139 ir_ref op1 = insn->op1; 2176 ir_ref op1 = insn->op1; 2234 ir_ref op1 = insn->op1; 2385 ir_ref op1 = insn->op1; 2469 ir_ref op1 = insn->op1; 2525 ir_ref op1 = insn->op1; 2578 ir_ref op1 = insn->op1; 2614 ir_ref op1 = insn->op1; [all …]
|
H A D | ir_gcm.c | 383 if (insn->op1 > 0) ir_use_list_add(ctx, insn->op1, clone); in ir_split_partially_dead_node() 550 ref = insn->op1; /* control predecessor */ in ir_gcm() 599 ref = insn->op1; /* control predecessor */ in ir_gcm() 611 ref = insn->op1; /* control predecessor */ in ir_gcm() 1143 new_insn->op1 = insn->op1; in ir_schedule() 1148 new_insn->op1 = _xlat[insn->op1]; in ir_schedule() 1161 new_insn->op1 = _xlat[insn->op1]; in ir_schedule() 1166 if (new_insn->op1 < new_insn->op2) { in ir_schedule() 1197 new_insn->op1 = _xlat[insn->op1]; in ir_schedule() 1211 ref = insn->op1; in ir_schedule() [all …]
|
H A D | ir.h | 367 #define IR_OP_ENUM(name, flags, op1, op2, op3) IR_ ## name, argument 466 ir_ref op1; 698 ir_ref ir_emit(ir_ctx *ctx, uint32_t opt, ir_ref op1, ir_ref op2, ir_ref op3); 701 ir_ref ir_emit1(ir_ctx *ctx, uint32_t opt, ir_ref op1); 702 ir_ref ir_emit2(ir_ctx *ctx, uint32_t opt, ir_ref op1, ir_ref op2); 703 ir_ref ir_emit3(ir_ctx *ctx, uint32_t opt, ir_ref op1, ir_ref op2, ir_ref op3); 710 ctx->ir_base[ref].op1 = val; in ir_set_op1() 735 ir_ref ir_fold(ir_ctx *ctx, uint32_t opt, ir_ref op1, ir_ref op2, ir_ref op3); 738 ir_ref ir_fold1(ir_ctx *ctx, uint32_t opt, ir_ref op1); 739 ir_ref ir_fold2(ir_ctx *ctx, uint32_t opt, ir_ref op1, ir_ref op2); [all …]
|
H A D | ir_check.c | 130 && !(insn->op == IR_PHI && ctx->ir_base[insn->op1].op == IR_LOOP_BEGIN)) { in ir_check() 221 ir_insn *merge_insn = &ctx->ir_base[insn->op1]; in ir_check() 258 if (insn->inputs_count != ctx->ir_base[insn->op1].inputs_count + 1) { in ir_check() 260 i, insn->inputs_count, ctx->ir_base[insn->op1].inputs_count + 1); in ir_check()
|
H A D | ir_ra.c | 769 if (!IR_IS_CONST_REF(insn->op1) && ctx->vregs[insn->op1]) { in ir_compute_live_ranges() 770 hint_ref = insn->op1; in ir_compute_live_ranges() 1385 if (!IR_IS_CONST_REF(insn->op1) && ctx->vregs[insn->op1]) { in ir_compute_live_ranges() 1386 hint_ref = insn->op1; in ir_compute_live_ranges() 1727 tmp = insn->op1; in ir_swap_operands() 1728 insn->op1 = insn->op2; in ir_swap_operands() 1747 p->hint_ref = insn->op1; in ir_swap_operands() 1816 if (ctx->vregs[insn->op1] in ir_try_swap_operands() 1997 && insn->op1 > 0 in ir_coalesce() 2003 if (insn->op1 > 0 in ir_coalesce() [all …]
|
/php-src/ext/opcache/tests/opt/ |
H A D | inference_008.phpt | 2 Type inference 008: ASSIGN_DIM with invalid op1
|
/php-src/Zend/tests/ |
H A D | pow_array_leak.phpt | 2 Memory leak on ** with result==op1 array
|
H A D | runtime_compile_time_binary_operands.phpt | 114 function prepareBinaryLine($op1, $op2, $cmp, $operator) { 115 $op1_p = makeParam($op1);
|
/php-src/ext/opcache/jit/ |
H A D | zend_jit_helpers.c | 1641 size_t op1_len = Z_STRLEN_P(op1); in zend_jit_fast_assign_concat_helper() 1653 if (Z_REFCOUNTED_P(op1)) { in zend_jit_fast_assign_concat_helper() 1654 if (GC_REFCOUNT(Z_STR_P(op1)) == 1) { in zend_jit_fast_assign_concat_helper() 1663 GC_DELREF(Z_STR_P(op1)); in zend_jit_fast_assign_concat_helper() 1670 ZVAL_NEW_STR(op1, result_str); in zend_jit_fast_assign_concat_helper() 1677 size_t op1_len = Z_STRLEN_P(op1); in zend_jit_fast_concat_helper() 1700 zend_string *op1_str = Z_STR_P(op1); in zend_jit_fast_concat_tmp_helper() 1715 Z_STR_P(op1) = result_str = in zend_jit_fast_concat_tmp_helper() 2289 var = (opline + 1)->op1.var; in zend_jit_assign_cv_to_typed_ref() 2335 var = (opline + 1)->op1.var; in zend_jit_assign_cv_to_typed_ref2() [all …]
|
H A D | zend_jit_ir.c | 470 ref = insn->op1; in jit_TLS() 877 ref = insn->op1; in jit_FP() 3613 ref = insn->op1; in zend_jit_bb_start() 4229 ref = insn->op1; in zend_jit_deopt_rload() 4948 op1 = ir_INT2D(op1); in zend_jit_math_long_long() 4974 ir_ref op1, op2, ref; in zend_jit_math_long_double() local 5579 ir_ref op1, op2; in zend_jit_long_math_helper() local 6946 op1 = zend_jit_zval_check_undef(jit, op1, opline->op1.var, NULL, 0); in zend_jit_cmp() 7048 op1 = zend_jit_zval_check_undef(jit, op1, opline->op1.var, opline, 0); in zend_jit_identical() 7362 opline->op1.var, in zend_jit_bool_jmpznz() [all …]
|
H A D | zend_jit_internal.h | 86 OP_ADDR(opline, op1_type, op1) 92 OP_ADDR(opline + 1, op1_type, op1) 95 OP_REG_ADDR(opline, ssa_op, op1_type, op1, op1_use) 101 OP_REG_ADDR(opline + 1, ssa_op + 1, op1_type, op1, op1_use) 104 OP_REG_ADDR(opline, ssa_op, op1_type, op1, op1_def) 110 OP_REG_ADDR(opline + 1, ssa_op + 1, op1_type, op1, op1_def)
|
/php-src/ext/gmp/ |
H A D | gmp.c | 351 FETCH_GMP_ZVAL(gmpnum_op, op1, temp, 1); in shift_operator_helper() 368 gmp_zval_unary_op(result, op1, op); \ 384 shift_operator_helper(mpz_pow_ui, result, op1, op2, opcode); in gmp_do_operation_ex() 416 if (result == op1) { in gmp_do_operation() 417 ZVAL_COPY_VALUE(&op1_copy, op1); in gmp_do_operation() 418 op1 = &op1_copy; in gmp_do_operation() 421 retval = gmp_do_operation_ex(opcode, result, op1, op2); in gmp_do_operation() 423 if (retval == SUCCESS && op1 == &op1_copy) { in gmp_do_operation() 424 zval_ptr_dtor(op1); in gmp_do_operation() 431 static int gmp_compare(zval *op1, zval *op2) /* {{{ */ in gmp_compare() argument [all …]
|
/php-src/ext/reflection/tests/ |
H A D | closures_bound_getDeclaringFunction.phpt | 9 $closure = function($op1, $op2 = 0): self { };
|