Lines Matching refs:op2_info
5246 uint32_t op2_info, in zend_jit_math_helper() argument
5270 if (!has_concrete_type(op2_info & MAY_BE_ANY) && jit->ra[Z_SSA_VAR(op1_addr)].ref == IR_NULL) { in zend_jit_math_helper()
5286 …if ((res_info & MAY_BE_GUARD) && (res_info & MAY_BE_LONG) && (op1_info & MAY_BE_LONG) && (op2_info… in zend_jit_math_helper()
5291 if (!same_ops && (op2_info & (MAY_BE_ANY-MAY_BE_LONG))) { in zend_jit_math_helper()
5307 …} else if ((op1_info & MAY_BE_LONG) && (op2_info & MAY_BE_LONG) && (res_info & (MAY_BE_LONG|MAY_BE… in zend_jit_math_helper()
5312 if (!same_ops && (op2_info & (MAY_BE_ANY-MAY_BE_LONG))) { in zend_jit_math_helper()
5315 if (op2_info & MAY_BE_DOUBLE) { in zend_jit_math_helper()
5316 if (op2_info & (MAY_BE_ANY-(MAY_BE_LONG|MAY_BE_DOUBLE))) { in zend_jit_math_helper()
5347 if (op2_info & MAY_BE_DOUBLE) { in zend_jit_math_helper()
5348 if (!same_ops && (op2_info & (MAY_BE_ANY-MAY_BE_DOUBLE))) { in zend_jit_math_helper()
5361 if (op2_info & (MAY_BE_ANY-(MAY_BE_LONG|MAY_BE_DOUBLE))) { in zend_jit_math_helper()
5379 (op2_info & (MAY_BE_LONG|MAY_BE_DOUBLE)) && in zend_jit_math_helper()
5387 if (op2_info & MAY_BE_DOUBLE) { in zend_jit_math_helper()
5388 if (!same_ops && (op2_info & (MAY_BE_ANY-MAY_BE_DOUBLE))) { in zend_jit_math_helper()
5400 if (!same_ops && (op2_info & MAY_BE_LONG)) { in zend_jit_math_helper()
5401 if (op2_info & (MAY_BE_ANY-(MAY_BE_DOUBLE|MAY_BE_LONG))) { in zend_jit_math_helper()
5414 } else if ((op2_info & MAY_BE_DOUBLE) && in zend_jit_math_helper()
5415 !(op2_info & MAY_BE_LONG) && in zend_jit_math_helper()
5418 if (op2_info & (MAY_BE_ANY-MAY_BE_DOUBLE)) { in zend_jit_math_helper()
5454 (op2_info & ((MAY_BE_ANY|MAY_BE_UNDEF)-(MAY_BE_LONG|MAY_BE_DOUBLE)))) { in zend_jit_math_helper()
5470 if (!zend_jit_spill_store_inv(jit, op2_addr, real_addr, op2_info)) { in zend_jit_math_helper()
5497 jit_FREE_OP(jit, op2_type, op2, op2_info, NULL); in zend_jit_math_helper()
5538 …st zend_op *opline, uint32_t op1_info, zend_jit_addr op1_addr, uint32_t op2_info, zend_jit_addr op… in zend_jit_math() argument
5540 ZEND_ASSERT(!(op1_info & MAY_BE_UNDEF) && !(op2_info & MAY_BE_UNDEF)); in zend_jit_math()
5542 …line->op1, op1_addr, op1_info, opline->op2_type, opline->op2, op2_addr, op2_info, opline->result.v… in zend_jit_math()
5551 …st zend_op *opline, uint32_t op1_info, zend_jit_addr op1_addr, uint32_t op2_info, zend_jit_addr op… in zend_jit_add_arrays() argument
5561 jit_FREE_OP(jit, opline->op2_type, opline->op2, op2_info, opline); in zend_jit_add_arrays()
5576 uint32_t op2_info, in zend_jit_long_math_helper() argument
5609 if (!same_ops && (op2_info & ((MAY_BE_ANY|MAY_BE_UNDEF)-MAY_BE_LONG))) { in zend_jit_long_math_helper()
5774 || (op2_info & ((MAY_BE_ANY|MAY_BE_UNDEF)-MAY_BE_LONG)))) { in zend_jit_long_math_helper()
5789 (op2_info & ((MAY_BE_ANY|MAY_BE_UNDEF)-MAY_BE_LONG))) { in zend_jit_long_math_helper()
5821 if (op2_info & MAY_BE_UNDEF) { in zend_jit_long_math_helper()
5846 if (!zend_jit_spill_store_inv(jit, op2_addr, real_addr, op2_info)) { in zend_jit_long_math_helper()
5876 if (op1_addr == res_addr && (op2_info & MAY_BE_RCN)) { in zend_jit_long_math_helper()
5878 op2_info |= MAY_BE_RC1; in zend_jit_long_math_helper()
5882 jit_FREE_OP(jit, op2_type, op2, op2_info, NULL); in zend_jit_long_math_helper()
5921 …t op1_info, zend_ssa_range *op1_range, zend_jit_addr op1_addr, uint32_t op2_info, zend_ssa_range *… in zend_jit_long_math() argument
5923 ZEND_ASSERT((op1_info & MAY_BE_LONG) && (op2_info & MAY_BE_LONG)); in zend_jit_long_math()
5927 opline->op2_type, opline->op2, op2_addr, op2_info, op2_range, in zend_jit_long_math()
5946 uint32_t op2_info, in zend_jit_concat_helper() argument
5954 if ((op1_info & MAY_BE_STRING) && (op2_info & MAY_BE_STRING)) { in zend_jit_concat_helper()
5959 if (op2_info & ((MAY_BE_UNDEF|MAY_BE_ANY|MAY_BE_REF) - MAY_BE_STRING)) { in zend_jit_concat_helper()
5969 op2_info |= MAY_BE_RC1; in zend_jit_concat_helper()
5982 op2_info |= MAY_BE_RCN; in zend_jit_concat_helper()
5983 jit_FREE_OP(jit, op2_type, op2, op2_info, opline); in zend_jit_concat_helper()
5989 (op2_info & ((MAY_BE_UNDEF|MAY_BE_ANY|MAY_BE_REF) - MAY_BE_STRING))) { in zend_jit_concat_helper()
5990 if ((op1_info & MAY_BE_STRING) && (op2_info & MAY_BE_STRING)) { in zend_jit_concat_helper()
6008 op2_info |= MAY_BE_RCN; in zend_jit_concat_helper()
6010 jit_FREE_OP(jit, op2_type, op2, op2_info, NULL); in zend_jit_concat_helper()
6021 if ((op1_info & MAY_BE_STRING) && (op2_info & MAY_BE_STRING)) { in zend_jit_concat_helper()
6028 …t(zend_jit_ctx *jit, const zend_op *opline, uint32_t op1_info, uint32_t op2_info, zend_jit_addr re… in zend_jit_concat() argument
6032 ZEND_ASSERT(!(op1_info & MAY_BE_UNDEF) && !(op2_info & MAY_BE_UNDEF)); in zend_jit_concat()
6033 ZEND_ASSERT((op1_info & MAY_BE_STRING) && (op2_info & MAY_BE_STRING)); in zend_jit_concat()
6038 …line->op1, op1_addr, op1_info, opline->op2_type, opline->op2, op2_addr, op2_info, res_addr, may_th… in zend_jit_concat()
6049 uint32_t op2_info, in zend_jit_assign_op() argument
6059 ZEND_ASSERT(!(op1_info & MAY_BE_UNDEF) && !(op2_info & MAY_BE_UNDEF)); in zend_jit_assign_op()
6079 if (!zend_jit_spill_store_inv(jit, op2_addr, real_addr, op2_info)) { in zend_jit_assign_op()
6088 && (op2_info & (MAY_BE_STRING|MAY_BE_ARRAY|MAY_BE_OBJECT|MAY_BE_RESOURCE))) { in zend_jit_assign_op()
6112 …line->op1, op1_addr, op1_info, opline->op2_type, opline->op2, op2_addr, op2_info, opline->op1.var,… in zend_jit_assign_op()
6122 opline->op2_type, opline->op2, op2_addr, op2_info, op2_range, in zend_jit_assign_op()
6126 …line->op1, op1_addr, op1_info, opline->op2_type, opline->op2, op2_addr, op2_info, op1_def_addr, ma… in zend_jit_assign_op()
6641 uint32_t op2_info, in zend_jit_assign() argument
6652 if (!zend_jit_update_regs(jit, opline->op2.var, op2_addr, op2_def_addr, op2_info)) { in zend_jit_assign()
6668 opline->op2_type, op2_addr, op2_info, res_addr, ref_addr, may_throw)) { in zend_jit_assign()
6912 uint32_t op2_info, in zend_jit_cmp() argument
6935 (op2_info & (MAY_BE_LONG|MAY_BE_DOUBLE)) && in zend_jit_cmp()
6937 (op2_info & ((MAY_BE_ANY|MAY_BE_UNDEF)-(MAY_BE_LONG|MAY_BE_DOUBLE)))); in zend_jit_cmp()
6943 if (!has_concrete_type(op2_info & MAY_BE_ANY) && jit->ra[Z_SSA_VAR(op1_addr)].ref == IR_NULL) { in zend_jit_cmp()
6954 if ((op1_info & MAY_BE_LONG) && (op2_info & MAY_BE_LONG)) { in zend_jit_cmp()
6959 if (!same_ops && (op2_info & ((MAY_BE_ANY|MAY_BE_UNDEF)-MAY_BE_LONG))) { in zend_jit_cmp()
6962 if (op2_info & MAY_BE_DOUBLE) { in zend_jit_cmp()
6963 if (op2_info & ((MAY_BE_ANY|MAY_BE_UNDEF)-(MAY_BE_LONG|MAY_BE_DOUBLE))) { in zend_jit_cmp()
6995 if (op2_info & MAY_BE_DOUBLE) { in zend_jit_cmp()
6996 if (!same_ops && (op2_info & ((MAY_BE_ANY|MAY_BE_UNDEF)-MAY_BE_DOUBLE))) { in zend_jit_cmp()
7010 if (op2_info & ((MAY_BE_ANY|MAY_BE_UNDEF)-(MAY_BE_LONG|MAY_BE_DOUBLE))) { in zend_jit_cmp()
7029 (op2_info & (MAY_BE_LONG|MAY_BE_DOUBLE))) { in zend_jit_cmp()
7036 if (op2_info & MAY_BE_DOUBLE) { in zend_jit_cmp()
7037 if (!same_ops && (op2_info & ((MAY_BE_ANY|MAY_BE_UNDEF)-MAY_BE_DOUBLE))) { in zend_jit_cmp()
7050 if (!same_ops && (op2_info & MAY_BE_LONG)) { in zend_jit_cmp()
7051 if (op2_info & ((MAY_BE_ANY|MAY_BE_UNDEF)-(MAY_BE_DOUBLE|MAY_BE_LONG))) { in zend_jit_cmp()
7065 } else if ((op2_info & MAY_BE_DOUBLE) && in zend_jit_cmp()
7066 !(op2_info & MAY_BE_LONG) && in zend_jit_cmp()
7068 if (op2_info & ((MAY_BE_ANY|MAY_BE_UNDEF)-MAY_BE_DOUBLE)) { in zend_jit_cmp()
7107 (op2_info & ((MAY_BE_ANY|MAY_BE_UNDEF)-(MAY_BE_LONG|MAY_BE_DOUBLE)))) { in zend_jit_cmp()
7124 if (!zend_jit_spill_store_inv(jit, op2_addr, real_addr, op2_info)) { in zend_jit_cmp()
7135 if (opline->op2_type == IS_CV && (op2_info & MAY_BE_UNDEF)) { in zend_jit_cmp()
7142 jit_FREE_OP(jit, opline->op2_type, opline->op2, op2_info, NULL); in zend_jit_cmp()
7218 uint32_t op2_info, in zend_jit_identical() argument
7238 if (opline->op2_type == IS_CV && (op2_info & MAY_BE_UNDEF)) { in zend_jit_identical()
7241 op2_info |= MAY_BE_NULL; in zend_jit_identical()
7245 if ((op1_info & op2_info & MAY_BE_ANY) == 0) { in zend_jit_identical()
7248 && has_concrete_type(op2_info) in zend_jit_identical()
7249 && concrete_type(op1_info) == concrete_type(op2_info) in zend_jit_identical()
7264 jit_FREE_OP(jit, opline->op2_type, opline->op2, op2_info, opline); in zend_jit_identical()
7295 jit_FREE_OP(jit, opline->op2_type, opline->op2, op2_info, opline); in zend_jit_identical()
7329 if ((opline->op2_type & (IS_CV|IS_VAR)) && (op2_info & MAY_BE_REF)) { in zend_jit_identical()
7336 (op2_info & (MAY_BE_REF|MAY_BE_ANY|MAY_BE_UNDEF)) == MAY_BE_LONG) { in zend_jit_identical()
7342 (op2_info & (MAY_BE_REF|MAY_BE_ANY|MAY_BE_UNDEF)) == MAY_BE_DOUBLE) { in zend_jit_identical()
7360 if (!zend_jit_spill_store_inv(jit, op2_addr, real_addr, op2_info)) { in zend_jit_identical()
7384 if (!zend_jit_spill_store_inv(jit, op2_addr, real_addr, op2_info)) { in zend_jit_identical()
7410 jit_FREE_OP(jit, opline->op2_type, opline->op2, op2_info, NULL); in zend_jit_identical()
11657 static int zend_jit_rope(zend_jit_ctx *jit, const zend_op *opline, uint32_t op2_info) argument
11677 ZEND_ASSERT((op2_info & (MAY_BE_UNDEF|MAY_BE_ANY|MAY_BE_REF)) == MAY_BE_STRING);
11799 uint32_t op2_info, argument
11831 if (op2_info & MAY_BE_LONG) {
11839 if (op2_info & ((MAY_BE_ANY|MAY_BE_UNDEF) - MAY_BE_LONG)) {
12160 if (op2_info & MAY_BE_STRING) {
12168 if (op2_info & ((MAY_BE_ANY|MAY_BE_UNDEF) - (MAY_BE_LONG|MAY_BE_STRING))) {
12293 if (op2_info & ((MAY_BE_ANY|MAY_BE_UNDEF) - (MAY_BE_LONG|MAY_BE_STRING))) {
12358 && !(op2_info & (MAY_BE_ANY|MAY_BE_UNDEF))) {
12363 && (op2_info & (MAY_BE_LONG|MAY_BE_STRING))
12398 uint32_t op2_info, argument
12432 if (!(op2_info & ((MAY_BE_ANY|MAY_BE_UNDEF|MAY_BE_REF) - (MAY_BE_STRING|MAY_BE_LONG)))) {
12444 && !(op2_info & ((MAY_BE_ANY|MAY_BE_UNDEF|MAY_BE_REF) - (MAY_BE_STRING|MAY_BE_LONG)))
12463 && (op2_info & (MAY_BE_STRING|MAY_BE_ARRAY|MAY_BE_OBJECT|MAY_BE_RESOURCE))) {
12513 if ((op2_info & ((MAY_BE_ANY|MAY_BE_UNDEF) - (MAY_BE_LONG|MAY_BE_STRING))) ||
12520 op1_info, op2_info, op2_addr, op2_range, dim_type, NULL, not_found_exit_addr, exit_addr,
12541 && (op2_info & (MAY_BE_STRING|MAY_BE_ARRAY|MAY_BE_OBJECT|MAY_BE_RESOURCE))) {
12606 if ((op2_info & (MAY_BE_ANY|MAY_BE_UNDEF|MAY_BE_GUARD)) == MAY_BE_LONG) {
12673 …if ((opline->opcode != ZEND_FETCH_DIM_IS && (op1_info & MAY_BE_UNDEF)) || (op2_info & MAY_BE_UNDEF…
12680 if (op2_info & MAY_BE_UNDEF) {
12690 if ((op1_info & MAY_BE_UNDEF) || (op2_info & MAY_BE_UNDEF)) {
12710 op2_info |= MAY_BE_RCN;
12715 if ((op2_info & MAY_HAVE_DTOR) && (op2_info & MAY_BE_RC1)) {
12718 jit_FREE_OP(jit, opline->op2_type, opline->op2, op2_info, opline);
12860 uint32_t op2_info, argument
12923 if (op2_info & ((MAY_BE_ANY|MAY_BE_UNDEF) - (MAY_BE_LONG|MAY_BE_STRING))) {
12927 op2_info, op2_addr, op2_range, dim_type, NULL, NULL, NULL,
12932 … if (type == BP_VAR_RW || (op2_info & ((MAY_BE_ANY|MAY_BE_UNDEF) - (MAY_BE_LONG|MAY_BE_STRING)))) {
12938 } else if (!(op2_info & (MAY_BE_ANY|MAY_BE_UNDEF))) {
13008 op2_info |= MAY_BE_RCN;
13013 && (op2_info & MAY_HAVE_DTOR)
13014 && (op2_info & MAY_BE_RC1)) {
13022 jit_FREE_OP(jit, opline->op2_type, opline->op2, op2_info, opline);
13036 uint32_t op2_info, argument
13080 …&& (!(opline->op2_type & (IS_TMP_VAR|IS_VAR)) || !(op2_info & ((MAY_BE_ANY|MAY_BE_UNDEF)-MAY_BE_LO…
13088 op2_info, op2_addr, op2_range, dim_type, found_exit_addr, not_found_exit_addr, NULL,
13126 if (op2_info & MAY_BE_UNDEF) {
13129 if (op2_info & MAY_BE_ANY) {
13148 op2_info |= MAY_BE_RCN;
13155 jit_FREE_OP(jit, opline->op2_type, opline->op2, op2_info, opline);
13187 jit_FREE_OP(jit, opline->op2_type, opline->op2, op2_info, opline);
13231 uint32_t op2_info, argument
13303 op2_info, op2_addr, op2_range, dim_type, NULL, NULL, NULL,
13384 op2_info |= MAY_BE_RCN;
13389 jit_FREE_OP(jit, opline->op2_type, opline->op2, op2_info, opline);
13408 uint32_t op2_info, argument
13472 && (op2_info & (MAY_BE_LONG|MAY_BE_STRING))
13473 && !(op2_info & ((MAY_BE_ANY|MAY_BE_UNDEF) - (MAY_BE_LONG|MAY_BE_STRING)))) {
13482 op2_info, op2_addr, op2_range, dim_type, NULL, not_found_exit_addr, NULL,
13605 jit_FREE_OP(jit, opline->op2_type, opline->op2, op2_info, NULL);
13660 …h(zend_jit_ctx *jit, const zend_op *opline, uint32_t op1_info, uint32_t op2_info, unsigned int tar… argument
13962 …if (!zend_jit_assign_to_variable(jit, opline, var_addr, var_addr, op2_info, -1, IS_CV, val_addr, v…
17256 uint32_t op1_info, op2_info; local
17281 op2_info = OP2_INFO();
17282 return zend_jit_supported_binary_op(opline->extended_value, op1_info, op2_info);
17287 op2_info = OP2_INFO();
17288 if ((op1_info & MAY_BE_UNDEF) || (op2_info & MAY_BE_UNDEF)) {
17295 op2_info &= 1U << (trace->op2_type & ~(IS_TRACE_REFERENCE|IS_TRACE_INDIRECT|IS_TRACE_PACKED));
17298 && !(op2_info & MAY_BE_UNDEF)
17300 && (op2_info & (MAY_BE_LONG|MAY_BE_DOUBLE));
17308 op2_info = OP2_INFO();
17313 op2_info &= 1U << (trace->op2_type & ~(IS_TRACE_REFERENCE|IS_TRACE_INDIRECT|IS_TRACE_PACKED));
17316 && (op2_info & MAY_BE_LONG);
17361 op2_info = OP2_INFO();
17368 (((op2_info & (MAY_BE_ANY|MAY_BE_UNDEF)) == MAY_BE_LONG) ||
17369 ((op2_info & (MAY_BE_ANY|MAY_BE_UNDEF)) == MAY_BE_STRING));
17383 op2_info = OP2_INFO();
17410 (((op2_info & (MAY_BE_ANY|MAY_BE_UNDEF)) == MAY_BE_LONG) ||
17411 ((op2_info & (MAY_BE_ANY|MAY_BE_UNDEF)) == MAY_BE_STRING));
17639 …it_frameless_icall2(zend_jit_ctx *jit, const zend_op *opline, uint32_t op1_info, uint32_t op2_info) argument
17647 if (op2_info & MAY_BE_RC1) {
17648 op2_info |= MAY_BE_RCN;
17665 if (opline->op2_type == IS_CV && (op2_info & MAY_BE_UNDEF)) {
17667 op2_info &= ~MAY_BE_UNDEF;
17668 op2_info |= MAY_BE_NULL;
17674 if (op2_info & MAY_BE_REF) {
17694 jit_FREE_OP(jit, opline->op2_type, opline->op2, op2_info, NULL);
17698 …3(zend_jit_ctx *jit, const zend_op *opline, uint32_t op1_info, uint32_t op2_info, uint32_t op1_dat… argument
17706 if (op2_info & MAY_BE_RC1) {
17707 op2_info |= MAY_BE_RCN;
17730 if (opline->op2_type == IS_CV && (op2_info & MAY_BE_UNDEF)) {
17732 op2_info &= ~MAY_BE_UNDEF;
17733 op2_info |= MAY_BE_NULL;
17745 if (op2_info & MAY_BE_REF) {
17770 jit_FREE_OP(jit, opline->op2_type, opline->op2, op2_info, NULL);