Lines Matching refs:op1_use
449 ADD_OP_GUARD(tssa->ops[idx].op1_use, op1_type)
453 ADD_OP_GUARD(tssa->ops[idx+1].op1_use, op3_type)
456 CHECK_OP_TRACE_TYPE(opline->op1.var, ssa_op->op1_use, op1_info, op1_type)
460 CHECK_OP_TRACE_TYPE((opline+1)->op1.var, (ssa_op+1)->op1_use, op1_data_info, op3_type)
840 if (tssa->ops[use].op1_use == var) { in zend_jit_trace_copy_ssa_var_info()
841 no_val = ssa->vars[op->op1_use].no_val; in zend_jit_trace_copy_ssa_var_info()
842 alias = ssa->vars[op->op1_use].alias; in zend_jit_trace_copy_ssa_var_info()
843 info = ssa->var_info + op->op1_use; in zend_jit_trace_copy_ssa_var_info()
1091 if (tssa->ops[idx].op1_use >= 0 in is_checked_guard()
1092 && (tssa->var_info[tssa->ops[idx].op1_use].type & MAY_BE_STRING)) { in is_checked_guard()
1095 if (!(tssa->var_info[tssa->ops[idx].op1_use].type & (MAY_BE_LONG|MAY_BE_DOUBLE))) { in is_checked_guard()
1108 if (!(tssa->var_info[tssa->ops[idx].op1_use].type & (MAY_BE_LONG|MAY_BE_DOUBLE))) { in is_checked_guard()
1128 && tssa->ops[idx].op1_use >= 0 in is_checked_guard()
1129 && (tssa->var_info[tssa->ops[idx].op1_use].type & MAY_BE_REF)) { in is_checked_guard()
1142 } else if (!(tssa->var_info[tssa->ops[idx].op1_use].type & (MAY_BE_LONG|MAY_BE_DOUBLE))) { in is_checked_guard()
1158 && tssa->ops[idx].op1_use >= 0 in is_checked_guard()
1159 && (tssa->var_info[tssa->ops[idx].op1_use].type & MAY_BE_REF)) { in is_checked_guard()
1162 if (!(tssa->var_info[tssa->ops[idx].op1_use].type & (MAY_BE_LONG|MAY_BE_DOUBLE))) { in is_checked_guard()
1491 if (op->op1_use >= 0) { in zend_jit_trace_build_tssa()
1492 op->op1_use_chain = ssa_vars[op->op1_use].use_chain; in zend_jit_trace_build_tssa()
1493 ssa_vars[op->op1_use].use_chain = idx; in zend_jit_trace_build_tssa()
1495 if (op->op2_use >= 0 && op->op2_use != op->op1_use) { in zend_jit_trace_build_tssa()
1499 if (op->result_use >= 0 && op->result_use != op->op1_use && op->result_use != op->op2_use) { in zend_jit_trace_build_tssa()
1744 zend_ssa_var_info *info = &tssa->var_info[tssa->ops[idx].op1_use]; in zend_jit_trace_build_tssa()
1753 zend_ssa_var_info *info = &tssa->var_info[tssa->ops[idx].op1_use]; in zend_jit_trace_build_tssa()
1869 && (tssa->var_info[tssa->ops[idx].op1_use].type & MAY_BE_REF)) { in zend_jit_trace_build_tssa()
1920 zend_ssa_var_info *info = &tssa->var_info[tssa->ops[idx].op1_use]; in zend_jit_trace_build_tssa()
1950 zend_ssa_var_info *info = &tssa->var_info[tssa->ops[idx].op1_use]; in zend_jit_trace_build_tssa()
1989 ZEND_ASSERT(ssa_ops[idx].op1_use >= 0); in zend_jit_trace_build_tssa()
1990 info = ssa_var_info[ssa_ops[idx].op1_use].type & ~MAY_BE_GUARD; in zend_jit_trace_build_tssa()
2027 ZEND_ASSERT(ssa_ops[idx].op1_use >= 0); in zend_jit_trace_build_tssa()
2028 return_value_info = ssa_var_info[ssa_ops[idx].op1_use]; in zend_jit_trace_build_tssa()
2145 if (ssa_ops[idx].op1_use < 0 || !(ssa_var_info[ssa_ops[idx].op1_use].type & MAY_BE_REF)) { in zend_jit_trace_build_tssa()
2164 if (ssa_ops[idx+1].op1_use < 0 || !(ssa_var_info[ssa_ops[idx+1].op1_use].type & MAY_BE_REF)) { in zend_jit_trace_build_tssa()
2219 ssa_var_info[ssa_ops[idx].op1_def] = ssa_var_info[ssa_ops[idx].op1_use]; in zend_jit_trace_build_tssa()
2256 if (ssa_ops[idx].op1_use < 0 || !(ssa_var_info[ssa_ops[idx].op1_use].type & MAY_BE_REF)) { in zend_jit_trace_build_tssa()
2673 if (ssa->ops[line].op1_use == var) { in zend_jit_trace_use_var()
2674 if (zend_ssa_is_last_use(op_array, op_array_ssa, op_array_ssa->ops[use].op1_use, use)) { in zend_jit_trace_use_var()
2817 if (ssa_op->op1_use >= 0 in zend_jit_trace_allocate_registers()
2818 && start[ssa_op->op1_use] >= 0 in zend_jit_trace_allocate_registers()
2819 && !zend_ssa_is_no_val_use(opline, ssa_op, ssa_op->op1_use)) { in zend_jit_trace_allocate_registers()
2821 …zend_jit_trace_use_var(idx, ssa_op->op1_use, ssa_op->op1_def, ssa_op->op1_use_chain, start, end, f… in zend_jit_trace_allocate_registers()
2837 flags[ssa_op->op1_use] |= ZREG_STORE; in zend_jit_trace_allocate_registers()
2839 flags[ssa_op->op1_use] |= ZREG_LAST_USE; in zend_jit_trace_allocate_registers()
2843 start[ssa_op->op1_use] = -1; in zend_jit_trace_allocate_registers()
2844 end[ssa_op->op1_use] = -1; in zend_jit_trace_allocate_registers()
2849 && ssa_op->op2_use != ssa_op->op1_use in zend_jit_trace_allocate_registers()
2864 && ssa_op->result_use != ssa_op->op1_use in zend_jit_trace_allocate_registers()
2947 if (ssa_op->op1_use >= 0 in zend_jit_trace_allocate_registers()
2948 && start[ssa_op->op1_use] >= 0 in zend_jit_trace_allocate_registers()
2949 && !zend_ssa_is_no_val_use(opline, ssa_op, ssa_op->op1_use)) { in zend_jit_trace_allocate_registers()
2951 …zend_jit_trace_use_var(idx, ssa_op->op1_use, ssa_op->op1_def, ssa_op->op1_use_chain, start, end, f… in zend_jit_trace_allocate_registers()
2953 flags[ssa_op->op1_use] |= ZREG_LAST_USE; in zend_jit_trace_allocate_registers()
2956 start[ssa_op->op1_use] = -1; in zend_jit_trace_allocate_registers()
2957 end[ssa_op->op1_use] = -1; in zend_jit_trace_allocate_registers()
3215 if (ssa->ops[line].op1_use >= 0 && in zend_jit_trace_allocate_registers()
3216 intervals[ssa->ops[line].op1_use] && in zend_jit_trace_allocate_registers()
3221 zend_jit_add_hint(intervals, i, ssa->ops[line].op1_use); in zend_jit_trace_allocate_registers()
3232 ssa->ops[line].op1_use >= 0 && in zend_jit_trace_allocate_registers()
3233 intervals[ssa->ops[line].op1_use]) { in zend_jit_trace_allocate_registers()
3234 zend_jit_add_hint(intervals, i, ssa->ops[line].op1_use); in zend_jit_trace_allocate_registers()
3259 if (ssa->ops[line].op1_use >= 0 && in zend_jit_trace_allocate_registers()
3260 intervals[ssa->ops[line].op1_use] && in zend_jit_trace_allocate_registers()
3262 !ssa->vars[ssa->ops[line].op1_use].phi_use_chain && in zend_jit_trace_allocate_registers()
3264 (ssa->var_info[ssa->ops[line].op1_use].type & MAY_BE_ANY)) { in zend_jit_trace_allocate_registers()
3266 zend_ssa_phi *phi = ssa->vars[ssa->ops[line].op1_use].definition_phi; in zend_jit_trace_allocate_registers()
3269 intervals[phi->sources[1]]->hint == intervals[ssa->ops[line].op1_use]) { in zend_jit_trace_allocate_registers()
3272 zend_jit_add_hint(intervals, i, ssa->ops[line].op1_use); in zend_jit_trace_allocate_registers()
3450 if (ssa_op->op1_use >= 0 in zend_jit_trace_clenup_stack()
3451 && ra[ssa_op->op1_use] in zend_jit_trace_clenup_stack()
3452 && ra[ssa_op->op1_use]->range.end == line) { in zend_jit_trace_clenup_stack()
3492 || ssa->ops[use].op1_use != var in zend_jit_may_delay_fetch_this()
3751 if (ssa_op->op1_use >= 0) { in zend_jit_trace_update_condition_ranges()
3753 &ssa->var_info[ssa_op->op1_use], in zend_jit_trace_update_condition_ranges()
3768 if (ssa_op->op1_use >= 0) { in zend_jit_trace_update_condition_ranges()
3770 &ssa->var_info[ssa_op->op1_use], in zend_jit_trace_update_condition_ranges()
3785 if (ssa_op->op1_use >= 0) { in zend_jit_trace_update_condition_ranges()
3787 &ssa->var_info[ssa_op->op1_use], in zend_jit_trace_update_condition_ranges()
3799 if (ssa_op->op1_use >= 0) { in zend_jit_trace_update_condition_ranges()
3801 &ssa->var_info[ssa_op->op1_use], in zend_jit_trace_update_condition_ranges()
3816 if (ssa_op->op1_use >= 0) { in zend_jit_trace_update_condition_ranges()
3818 &ssa->var_info[ssa_op->op1_use], in zend_jit_trace_update_condition_ranges()
3830 if (ssa_op->op1_use >= 0) { in zend_jit_trace_update_condition_ranges()
3832 &ssa->var_info[ssa_op->op1_use], in zend_jit_trace_update_condition_ranges()
3879 if (ssa_op->op1_use >= 0) { in zend_jit_may_skip_comparison()
3880 if ((ssa_op-1)->op1_def == ssa_op->op1_use) { in zend_jit_may_skip_comparison()
3890 } else if ((ssa_op-1)->result_def == ssa_op->op1_use) { in zend_jit_may_skip_comparison()
3907 && prev_ssa_op->op1_use >= 0 in zend_jit_may_skip_comparison()
3908 && prev_ssa_op->op1_use == (prev_ssa_op-1)->result_def) { in zend_jit_may_skip_comparison()
3913 if (ssa_op->op1_use == prev_ssa_op->op1_use in zend_jit_may_skip_comparison()
3923 if (ssa_op->op1_use < 0) { in zend_jit_may_skip_comparison()
4438 !ssa->var_info[ssa_op->op1_use].guarded_reference, 1)) { in zend_jit_trace()
4441 if (ssa->vars[ssa_op->op1_use].alias == NO_ALIAS) { in zend_jit_trace()
4442 ssa->var_info[ssa_op->op1_use].guarded_reference = 1; in zend_jit_trace()
4591 &op1_info, &op1_addr, !ssa->var_info[ssa_op->op1_use].indirect_reference)) { in zend_jit_trace()
4601 !ssa->var_info[ssa_op->op1_use].guarded_reference, 1)) { in zend_jit_trace()
4643 if (ssa_op->op1_use >= 0) { in zend_jit_trace()
4644 delayed_fetch_this = ssa->var_info[ssa_op->op1_use].delayed_fetch_this; in zend_jit_trace()
4656 &op1_info, &op1_addr, !ssa->var_info[ssa_op->op1_use].indirect_reference)) { in zend_jit_trace()
4664 !ssa->var_info[ssa_op->op1_use].guarded_reference, 1)) { in zend_jit_trace()
4678 if (ssa_op->op1_use >= 0) { in zend_jit_trace()
4679 zend_ssa_var_info *op1_ssa = ssa->var_info + ssa_op->op1_use; in zend_jit_trace()
4688 } else if (ssa_op->op1_use >= 0 && ssa->vars[ssa_op->op1_use].definition >= 0) { in zend_jit_trace()
4689 on_this = ssa_opcodes[ssa->vars[ssa_op->op1_use].definition]->opcode == ZEND_FETCH_THIS; in zend_jit_trace()
4692 && op_array_ssa->ops[opline-op_array->opcodes].op1_use >= 0 in zend_jit_trace()
4693 … && op_array_ssa->vars[op_array_ssa->ops[opline-op_array->opcodes].op1_use].definition >= 0) { in zend_jit_trace()
4694 …->opcodes[op_array_ssa->vars[op_array_ssa->ops[opline-op_array->opcodes].op1_use].definition].opco… in zend_jit_trace()
4734 if (ssa_op->op1_use >= 0) { in zend_jit_trace()
4735 delayed_fetch_this = ssa->var_info[ssa_op->op1_use].delayed_fetch_this; in zend_jit_trace()
4747 &op1_info, &op1_addr, !ssa->var_info[ssa_op->op1_use].indirect_reference)) { in zend_jit_trace()
4755 !ssa->var_info[ssa_op->op1_use].guarded_reference, 1)) { in zend_jit_trace()
4769 if (ssa_op->op1_use >= 0) { in zend_jit_trace()
4770 zend_ssa_var_info *op1_ssa = ssa->var_info + ssa_op->op1_use; in zend_jit_trace()
4779 } else if (ssa_op->op1_use >= 0 && ssa->vars[ssa_op->op1_use].definition >= 0) { in zend_jit_trace()
4780 on_this = ssa_opcodes[ssa->vars[ssa_op->op1_use].definition]->opcode == ZEND_FETCH_THIS; in zend_jit_trace()
4783 && op_array_ssa->ops[opline-op_array->opcodes].op1_use >= 0 in zend_jit_trace()
4784 … && op_array_ssa->vars[op_array_ssa->ops[opline-op_array->opcodes].op1_use].definition >= 0) { in zend_jit_trace()
4785 …->opcodes[op_array_ssa->vars[op_array_ssa->ops[opline-op_array->opcodes].op1_use].definition].opco… in zend_jit_trace()
4814 if (ssa_op->op1_use >= 0) { in zend_jit_trace()
4815 delayed_fetch_this = ssa->var_info[ssa_op->op1_use].delayed_fetch_this; in zend_jit_trace()
4827 &op1_info, &op1_addr, !ssa->var_info[ssa_op->op1_use].indirect_reference)) { in zend_jit_trace()
4835 !ssa->var_info[ssa_op->op1_use].guarded_reference, 1)) { in zend_jit_trace()
4849 if (ssa_op->op1_use >= 0) { in zend_jit_trace()
4850 zend_ssa_var_info *op1_ssa = ssa->var_info + ssa_op->op1_use; in zend_jit_trace()
4859 } else if (ssa_op->op1_use >= 0 && ssa->vars[ssa_op->op1_use].definition >= 0) { in zend_jit_trace()
4860 on_this = ssa_opcodes[ssa->vars[ssa_op->op1_use].definition]->opcode == ZEND_FETCH_THIS; in zend_jit_trace()
4863 && op_array_ssa->ops[opline-op_array->opcodes].op1_use >= 0 in zend_jit_trace()
4864 … && op_array_ssa->vars[op_array_ssa->ops[opline-op_array->opcodes].op1_use].definition >= 0) { in zend_jit_trace()
4865 …->opcodes[op_array_ssa->vars[op_array_ssa->ops[opline-op_array->opcodes].op1_use].definition].opco… in zend_jit_trace()
4880 …ssa->var_info[(ssa_op+1)->op1_def].guarded_reference = ssa->var_info[(ssa_op+1)->op1_use].guarded_… in zend_jit_trace()
4897 &op1_info, &op1_addr, !ssa->var_info[ssa_op->op1_use].indirect_reference)) { in zend_jit_trace()
4907 !ssa->var_info[ssa_op->op1_use].guarded_reference, 1)) { in zend_jit_trace()
4929 …ssa->var_info[(ssa_op+1)->op1_def].guarded_reference = ssa->var_info[(ssa_op+1)->op1_use].guarded_… in zend_jit_trace()
4969 !ssa->var_info[ssa_op->op1_use].guarded_reference, 0)) { in zend_jit_trace()
5094 …ssa->var_info[ssa_op->op1_def].guarded_reference = ssa->var_info[ssa_op->op1_use].guarded_referenc… in zend_jit_trace()
5191 …ssa->var_info[ssa_op->op1_def].guarded_reference = ssa->var_info[ssa_op->op1_use].guarded_referenc… in zend_jit_trace()
5564 !ssa->var_info[ssa_op->op1_use].guarded_reference, 1)) { in zend_jit_trace()
5568 && ssa->vars[ssa_op->op1_use].alias == NO_ALIAS) { in zend_jit_trace()
5569 ssa->var_info[ssa_op->op1_use].guarded_reference = 1; in zend_jit_trace()
5640 !ssa->var_info[ssa_op->op1_use].guarded_reference, 1)) { in zend_jit_trace()
5644 && ssa->vars[ssa_op->op1_use].alias == NO_ALIAS) { in zend_jit_trace()
5645 ssa->var_info[ssa_op->op1_use].guarded_reference = 1; in zend_jit_trace()
5657 ssa_op->op1_use >= 0 && in zend_jit_trace()
5658 ssa->var_info[ssa_op->op1_use].avoid_refcounting; in zend_jit_trace()
5660 ssa->var_info[ssa_op->op1_use].type &= ~MAY_BE_PACKED_GUARD; in zend_jit_trace()
5670 … ssa->var_info[ssa_op->op1_use].type &= ~(MAY_BE_ARRAY_NUMERIC_HASH|MAY_BE_ARRAY_STRING_HASH); in zend_jit_trace()
5675 ssa->var_info[ssa_op->op1_use].type &= ~MAY_BE_ARRAY_PACKED; in zend_jit_trace()
5685 ssa->var_info[ssa_op->op1_def].type = ssa->var_info[ssa_op->op1_use].type; in zend_jit_trace()
5703 &op1_info, &op1_addr, !ssa->var_info[ssa_op->op1_use].indirect_reference)) { in zend_jit_trace()
5713 !ssa->var_info[ssa_op->op1_use].guarded_reference, 1)) { in zend_jit_trace()
5747 !ssa->var_info[ssa_op->op1_use].guarded_reference, 1)) { in zend_jit_trace()
5751 && ssa->vars[ssa_op->op1_use].alias == NO_ALIAS) { in zend_jit_trace()
5752 ssa->var_info[ssa_op->op1_use].guarded_reference = 1; in zend_jit_trace()
5767 if (ssa_op->op1_use >= 0 in zend_jit_trace()
5768 && ssa->var_info[ssa_op->op1_use].avoid_refcounting) { in zend_jit_trace()
5789 ssa_op->op1_use >= 0 && in zend_jit_trace()
5790 ssa->var_info[ssa_op->op1_use].avoid_refcounting; in zend_jit_trace()
5792 ssa->var_info[ssa_op->op1_use].type &= ~MAY_BE_PACKED_GUARD; in zend_jit_trace()
5853 &op1_info, &op1_addr, !ssa->var_info[ssa_op->op1_use].indirect_reference)) { in zend_jit_trace()
5861 !ssa->var_info[ssa_op->op1_use].guarded_reference, 1)) { in zend_jit_trace()
5865 && ssa->vars[ssa_op->op1_use].alias == NO_ALIAS) { in zend_jit_trace()
5866 … ssa->var_info[ssa_op->op1_def >= 0 ? ssa_op->op1_def : ssa_op->op1_use].guarded_reference = 1; in zend_jit_trace()
5875 if (ssa_op->op1_use >= 0) { in zend_jit_trace()
5876 zend_ssa_var_info *op1_ssa = ssa->var_info + ssa_op->op1_use; in zend_jit_trace()
5883 if (ssa_op->op1_use >= 0) { in zend_jit_trace()
5884 delayed_fetch_this = ssa->var_info[ssa_op->op1_use].delayed_fetch_this; in zend_jit_trace()
5885 avoid_refcounting = ssa->var_info[ssa_op->op1_use].avoid_refcounting; in zend_jit_trace()
5889 } else if (ssa_op->op1_use >= 0 && ssa->vars[ssa_op->op1_use].definition >= 0) { in zend_jit_trace()
5890 on_this = ssa_opcodes[ssa->vars[ssa_op->op1_use].definition]->opcode == ZEND_FETCH_THIS; in zend_jit_trace()
5893 && op_array_ssa->ops[opline-op_array->opcodes].op1_use >= 0 in zend_jit_trace()
5894 … && op_array_ssa->vars[op_array_ssa->ops[opline-op_array->opcodes].op1_use].definition >= 0) { in zend_jit_trace()
5895 …->opcodes[op_array_ssa->vars[op_array_ssa->ops[opline-op_array->opcodes].op1_use].definition].opco… in zend_jit_trace()
5977 !ssa->var_info[ssa_op->op1_use].guarded_reference, 1)) { in zend_jit_trace()
5981 && ssa->vars[ssa_op->op1_use].alias == NO_ALIAS) { in zend_jit_trace()
5982 ssa->var_info[ssa_op->op1_use].guarded_reference = 1; in zend_jit_trace()
5999 !ssa->var_info[ssa_op->op1_use].guarded_reference, 1)) { in zend_jit_trace()
6003 && ssa->vars[ssa_op->op1_use].alias == NO_ALIAS) { in zend_jit_trace()
6004 ssa->var_info[ssa_op->op1_use].guarded_reference = 1; in zend_jit_trace()
6129 !ssa->var_info[ssa_op->op1_use].guarded_reference, 1)) { in zend_jit_trace()
6133 && ssa->vars[ssa_op->op1_use].alias == NO_ALIAS) { in zend_jit_trace()
6134 ssa->var_info[ssa_op->op1_use].guarded_reference = 1; in zend_jit_trace()
6140 if (ssa_op->op1_use >= 0) { in zend_jit_trace()
6141 zend_ssa_var_info *op1_ssa = ssa->var_info + ssa_op->op1_use; in zend_jit_trace()
6148 if (ssa_op->op1_use >= 0) { in zend_jit_trace()
6149 delayed_fetch_this = ssa->var_info[ssa_op->op1_use].delayed_fetch_this; in zend_jit_trace()
6153 } else if (ssa_op->op1_use >= 0 && ssa->vars[ssa_op->op1_use].definition >= 0) { in zend_jit_trace()
6154 on_this = ssa_opcodes[ssa->vars[ssa_op->op1_use].definition]->opcode == ZEND_FETCH_THIS; in zend_jit_trace()
6157 && op_array_ssa->ops[opline-op_array->opcodes].op1_use >= 0 in zend_jit_trace()
6158 … && op_array_ssa->vars[op_array_ssa->ops[opline-op_array->opcodes].op1_use].definition >= 0) { in zend_jit_trace()
6159 …->opcodes[op_array_ssa->vars[op_array_ssa->ops[opline-op_array->opcodes].op1_use].definition].opco… in zend_jit_trace()
6316 && ssa_op->op1_use >= 0 in zend_jit_trace()
6318 && (ssa->var_info[ssa_op->op1_use].type & MAY_BE_REF) == 0) { in zend_jit_trace()
6407 if (ssa_op->op1_use >= 0) { in zend_jit_trace()
6415 if (!ra[ssa_op->op1_use]) { in zend_jit_trace()