Lines Matching refs:op1_use
417 ADD_OP_GUARD(tssa->ops[idx].op1_use, op1_type)
421 ADD_OP_GUARD(tssa->ops[idx+1].op1_use, op3_type)
424 CHECK_OP_TRACE_TYPE(opline->op1.var, ssa_op->op1_use, op1_info, op1_type)
428 CHECK_OP_TRACE_TYPE((opline+1)->op1.var, (ssa_op+1)->op1_use, op1_data_info, op3_type)
911 if (tssa->ops[use].op1_use == var) { in zend_jit_trace_copy_ssa_var_info()
912 src = op->op1_use; in zend_jit_trace_copy_ssa_var_info()
1209 if (tssa->ops[idx].op1_use >= 0 in is_checked_guard()
1210 && (tssa->var_info[tssa->ops[idx].op1_use].type & MAY_BE_STRING)) { in is_checked_guard()
1213 if (!(tssa->var_info[tssa->ops[idx].op1_use].type & (MAY_BE_LONG|MAY_BE_DOUBLE))) { in is_checked_guard()
1226 if (!(tssa->var_info[tssa->ops[idx].op1_use].type & (MAY_BE_LONG|MAY_BE_DOUBLE))) { in is_checked_guard()
1246 && tssa->ops[idx].op1_use >= 0 in is_checked_guard()
1247 && (tssa->var_info[tssa->ops[idx].op1_use].type & MAY_BE_REF)) { in is_checked_guard()
1260 } else if (!(tssa->var_info[tssa->ops[idx].op1_use].type & (MAY_BE_LONG|MAY_BE_DOUBLE))) { in is_checked_guard()
1277 && tssa->ops[idx].op1_use >= 0 in is_checked_guard()
1278 && (tssa->var_info[tssa->ops[idx].op1_use].type & MAY_BE_REF)) { in is_checked_guard()
1281 if (!(tssa->var_info[tssa->ops[idx].op1_use].type & (MAY_BE_LONG|MAY_BE_DOUBLE))) { in is_checked_guard()
1651 if (op->op1_use >= 0) { in zend_jit_trace_build_tssa()
1652 op->op1_use_chain = ssa_vars[op->op1_use].use_chain; in zend_jit_trace_build_tssa()
1653 ssa_vars[op->op1_use].use_chain = idx; in zend_jit_trace_build_tssa()
1655 if (op->op2_use >= 0 && op->op2_use != op->op1_use) { in zend_jit_trace_build_tssa()
1659 if (op->result_use >= 0 && op->result_use != op->op1_use && op->result_use != op->op2_use) { in zend_jit_trace_build_tssa()
1892 zend_ssa_var_info *info = &tssa->var_info[tssa->ops[idx].op1_use]; in zend_jit_trace_build_tssa()
1901 zend_ssa_var_info *info = &tssa->var_info[tssa->ops[idx].op1_use]; in zend_jit_trace_build_tssa()
1985 zend_ssa_var_info *info = &tssa->var_info[tssa->ops[idx].op1_use]; in zend_jit_trace_build_tssa()
2037 && (tssa->var_info[tssa->ops[idx].op1_use].type & MAY_BE_REF)) { in zend_jit_trace_build_tssa()
2087 zend_ssa_var_info *info = &tssa->var_info[tssa->ops[idx].op1_use]; in zend_jit_trace_build_tssa()
2117 zend_ssa_var_info *info = &tssa->var_info[tssa->ops[idx].op1_use]; in zend_jit_trace_build_tssa()
2156 ZEND_ASSERT(ssa_ops[idx].op1_use >= 0); in zend_jit_trace_build_tssa()
2157 info = ssa_var_info[ssa_ops[idx].op1_use].type & ~MAY_BE_GUARD; in zend_jit_trace_build_tssa()
2194 ZEND_ASSERT(ssa_ops[idx].op1_use >= 0); in zend_jit_trace_build_tssa()
2195 return_value_info = ssa_var_info[ssa_ops[idx].op1_use]; in zend_jit_trace_build_tssa()
2312 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()
2331 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()
2386 ssa_var_info[ssa_ops[idx].op1_def] = ssa_var_info[ssa_ops[idx].op1_use]; in zend_jit_trace_build_tssa()
2423 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()
2837 if (ssa->ops[line].op1_use == var) { in zend_jit_trace_use_var()
2838 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()
2965 if (ssa_op->op1_use >= 0 in zend_jit_trace_allocate_registers()
2966 && RA_HAS_IVAL(ssa_op->op1_use)) { in zend_jit_trace_allocate_registers()
2968 RA_IVAL_DEL(ssa_op->op1_use); in zend_jit_trace_allocate_registers()
2970 } else if (!zend_ssa_is_no_val_use(opline, ssa_op, ssa_op->op1_use)) { in zend_jit_trace_allocate_registers()
2971 zend_jit_trace_use_var(idx, ssa_op->op1_use, ssa_op->op1_def, ssa_op->op1_use_chain, in zend_jit_trace_allocate_registers()
2989 RA_IVAL_FLAGS(ssa_op->op1_use) |= ZREG_STORE; in zend_jit_trace_allocate_registers()
2991 RA_IVAL_FLAGS(ssa_op->op1_use) |= ZREG_LAST_USE; in zend_jit_trace_allocate_registers()
2997 && ssa_op->op2_use != ssa_op->op1_use in zend_jit_trace_allocate_registers()
3012 && ssa_op->result_use != ssa_op->op1_use in zend_jit_trace_allocate_registers()
3103 if (ssa_op->op1_use >= 0 in zend_jit_trace_allocate_registers()
3104 && RA_HAS_IVAL(ssa_op->op1_use) in zend_jit_trace_allocate_registers()
3105 && !zend_ssa_is_no_val_use(opline, ssa_op, ssa_op->op1_use)) { in zend_jit_trace_allocate_registers()
3107 zend_jit_trace_use_var(idx, ssa_op->op1_use, ssa_op->op1_def, ssa_op->op1_use_chain, in zend_jit_trace_allocate_registers()
3111 RA_IVAL_FLAGS(ssa_op->op1_use) |= ZREG_LAST_USE; in zend_jit_trace_allocate_registers()
3114 RA_IVAL_DEL(ssa_op->op1_use); in zend_jit_trace_allocate_registers()
3384 if (ssa_op->op1_use >= 0 in zend_jit_trace_cleanup_stack()
3385 && jit->ra[ssa_op->op1_use].ref in zend_jit_trace_cleanup_stack()
3386 && (jit->ra[ssa_op->op1_use].flags & ZREG_LAST_USE) in zend_jit_trace_cleanup_stack()
3388 …_val_use(ssa_opcodes[ssa_op->op1_use_chain], ssa->ops + ssa_op->op1_use_chain, ssa_op->op1_use))) { in zend_jit_trace_cleanup_stack()
3392 && ssa_op->op2_use != ssa_op->op1_use in zend_jit_trace_cleanup_stack()
3400 && ssa_op->result_use != ssa_op->op1_use in zend_jit_trace_cleanup_stack()
3435 || ssa->ops[use].op1_use != var in zend_jit_may_delay_fetch_this()
3719 if (ssa_op->op1_use >= 0) { in zend_jit_trace_update_condition_ranges()
3721 &ssa->var_info[ssa_op->op1_use], in zend_jit_trace_update_condition_ranges()
3736 if (ssa_op->op1_use >= 0) { in zend_jit_trace_update_condition_ranges()
3738 &ssa->var_info[ssa_op->op1_use], in zend_jit_trace_update_condition_ranges()
3753 if (ssa_op->op1_use >= 0) { in zend_jit_trace_update_condition_ranges()
3755 &ssa->var_info[ssa_op->op1_use], in zend_jit_trace_update_condition_ranges()
3767 if (ssa_op->op1_use >= 0) { in zend_jit_trace_update_condition_ranges()
3769 &ssa->var_info[ssa_op->op1_use], in zend_jit_trace_update_condition_ranges()
3784 if (ssa_op->op1_use >= 0) { in zend_jit_trace_update_condition_ranges()
3786 &ssa->var_info[ssa_op->op1_use], in zend_jit_trace_update_condition_ranges()
3798 if (ssa_op->op1_use >= 0) { in zend_jit_trace_update_condition_ranges()
3800 &ssa->var_info[ssa_op->op1_use], in zend_jit_trace_update_condition_ranges()
3847 if (ssa_op->op1_use >= 0) { in zend_jit_may_skip_comparison()
3848 if ((ssa_op-1)->op1_def == ssa_op->op1_use) { in zend_jit_may_skip_comparison()
3858 } else if ((ssa_op-1)->result_def == ssa_op->op1_use) { in zend_jit_may_skip_comparison()
3875 && prev_ssa_op->op1_use >= 0 in zend_jit_may_skip_comparison()
3876 && prev_ssa_op->op1_use == (prev_ssa_op-1)->result_def) { in zend_jit_may_skip_comparison()
3881 if (ssa_op->op1_use == prev_ssa_op->op1_use in zend_jit_may_skip_comparison()
3891 if (ssa_op->op1_use < 0) { in zend_jit_may_skip_comparison()
4565 !ssa->var_info[ssa_op->op1_use].guarded_reference, 1)) { in zend_jit_trace()
4568 if (ssa->vars[ssa_op->op1_use].alias == NO_ALIAS) { in zend_jit_trace()
4569 ssa->var_info[ssa_op->op1_use].guarded_reference = 1; in zend_jit_trace()
4734 &op1_info, &op1_addr, !ssa->var_info[ssa_op->op1_use].indirect_reference)) { in zend_jit_trace()
4742 !ssa->var_info[ssa_op->op1_use].guarded_reference, 1)) { in zend_jit_trace()
4793 if (ssa_op->op1_use >= 0) { in zend_jit_trace()
4794 delayed_fetch_this = ssa->var_info[ssa_op->op1_use].delayed_fetch_this; in zend_jit_trace()
4806 &op1_info, &op1_addr, !ssa->var_info[ssa_op->op1_use].indirect_reference)) { in zend_jit_trace()
4814 !ssa->var_info[ssa_op->op1_use].guarded_reference, 1)) { in zend_jit_trace()
4828 if (ssa_op->op1_use >= 0) { in zend_jit_trace()
4829 zend_ssa_var_info *op1_ssa = ssa->var_info + ssa_op->op1_use; in zend_jit_trace()
4838 } else if (ssa_op->op1_use >= 0 && ssa->vars[ssa_op->op1_use].definition >= 0) { in zend_jit_trace()
4839 on_this = ssa_opcodes[ssa->vars[ssa_op->op1_use].definition]->opcode == ZEND_FETCH_THIS; in zend_jit_trace()
4842 && op_array_ssa->ops[opline-op_array->opcodes].op1_use >= 0 in zend_jit_trace()
4843 … && op_array_ssa->vars[op_array_ssa->ops[opline-op_array->opcodes].op1_use].definition >= 0) { in zend_jit_trace()
4844 …->opcodes[op_array_ssa->vars[op_array_ssa->ops[opline-op_array->opcodes].op1_use].definition].opco… in zend_jit_trace()
4887 if (ssa_op->op1_use >= 0) { in zend_jit_trace()
4888 delayed_fetch_this = ssa->var_info[ssa_op->op1_use].delayed_fetch_this; in zend_jit_trace()
4900 &op1_info, &op1_addr, !ssa->var_info[ssa_op->op1_use].indirect_reference)) { in zend_jit_trace()
4908 !ssa->var_info[ssa_op->op1_use].guarded_reference, 1)) { in zend_jit_trace()
4922 if (ssa_op->op1_use >= 0) { in zend_jit_trace()
4923 zend_ssa_var_info *op1_ssa = ssa->var_info + ssa_op->op1_use; in zend_jit_trace()
4932 } else if (ssa_op->op1_use >= 0 && ssa->vars[ssa_op->op1_use].definition >= 0) { in zend_jit_trace()
4933 on_this = ssa_opcodes[ssa->vars[ssa_op->op1_use].definition]->opcode == ZEND_FETCH_THIS; in zend_jit_trace()
4936 && op_array_ssa->ops[opline-op_array->opcodes].op1_use >= 0 in zend_jit_trace()
4937 … && op_array_ssa->vars[op_array_ssa->ops[opline-op_array->opcodes].op1_use].definition >= 0) { in zend_jit_trace()
4938 …->opcodes[op_array_ssa->vars[op_array_ssa->ops[opline-op_array->opcodes].op1_use].definition].opco… in zend_jit_trace()
4970 if (ssa_op->op1_use >= 0) { in zend_jit_trace()
4971 delayed_fetch_this = ssa->var_info[ssa_op->op1_use].delayed_fetch_this; in zend_jit_trace()
4983 &op1_info, &op1_addr, !ssa->var_info[ssa_op->op1_use].indirect_reference)) { in zend_jit_trace()
4991 !ssa->var_info[ssa_op->op1_use].guarded_reference, 1)) { in zend_jit_trace()
5005 if (ssa_op->op1_use >= 0) { in zend_jit_trace()
5006 zend_ssa_var_info *op1_ssa = ssa->var_info + ssa_op->op1_use; in zend_jit_trace()
5015 } else if (ssa_op->op1_use >= 0 && ssa->vars[ssa_op->op1_use].definition >= 0) { in zend_jit_trace()
5016 on_this = ssa_opcodes[ssa->vars[ssa_op->op1_use].definition]->opcode == ZEND_FETCH_THIS; in zend_jit_trace()
5019 && op_array_ssa->ops[opline-op_array->opcodes].op1_use >= 0 in zend_jit_trace()
5020 … && op_array_ssa->vars[op_array_ssa->ops[opline-op_array->opcodes].op1_use].definition >= 0) { in zend_jit_trace()
5021 …->opcodes[op_array_ssa->vars[op_array_ssa->ops[opline-op_array->opcodes].op1_use].definition].opco… in zend_jit_trace()
5037 …ssa->var_info[(ssa_op+1)->op1_def].guarded_reference = ssa->var_info[(ssa_op+1)->op1_use].guarded_… in zend_jit_trace()
5055 &op1_info, &op1_addr, !ssa->var_info[ssa_op->op1_use].indirect_reference)) { in zend_jit_trace()
5063 !ssa->var_info[ssa_op->op1_use].guarded_reference, 1)) { in zend_jit_trace()
5091 …ssa->var_info[(ssa_op+1)->op1_def].guarded_reference = ssa->var_info[(ssa_op+1)->op1_use].guarded_… in zend_jit_trace()
5135 !ssa->var_info[ssa_op->op1_use].guarded_reference)) { in zend_jit_trace()
5261 …ssa->var_info[ssa_op->op1_def].guarded_reference = ssa->var_info[ssa_op->op1_use].guarded_referenc… in zend_jit_trace()
5358 …ssa->var_info[ssa_op->op1_def].guarded_reference = ssa->var_info[ssa_op->op1_use].guarded_referenc… in zend_jit_trace()
5753 !ssa->var_info[ssa_op->op1_use].guarded_reference, 1)) { in zend_jit_trace()
5757 && ssa->vars[ssa_op->op1_use].alias == NO_ALIAS) { in zend_jit_trace()
5758 ssa->var_info[ssa_op->op1_use].guarded_reference = 1; in zend_jit_trace()
5829 !ssa->var_info[ssa_op->op1_use].guarded_reference, 1)) { in zend_jit_trace()
5833 && ssa->vars[ssa_op->op1_use].alias == NO_ALIAS) { in zend_jit_trace()
5834 ssa->var_info[ssa_op->op1_use].guarded_reference = 1; in zend_jit_trace()
5846 ssa_op->op1_use >= 0 && in zend_jit_trace()
5847 ssa->var_info[ssa_op->op1_use].avoid_refcounting; in zend_jit_trace()
5849 ssa->var_info[ssa_op->op1_use].type &= ~MAY_BE_PACKED_GUARD; in zend_jit_trace()
5859 … ssa->var_info[ssa_op->op1_use].type &= ~(MAY_BE_ARRAY_NUMERIC_HASH|MAY_BE_ARRAY_STRING_HASH); in zend_jit_trace()
5864 ssa->var_info[ssa_op->op1_use].type &= ~MAY_BE_ARRAY_PACKED; in zend_jit_trace()
5875 ssa->var_info[ssa_op->op1_def].type = ssa->var_info[ssa_op->op1_use].type; in zend_jit_trace()
5893 &op1_info, &op1_addr, !ssa->var_info[ssa_op->op1_use].indirect_reference)) { in zend_jit_trace()
5903 !ssa->var_info[ssa_op->op1_use].guarded_reference, 1)) { in zend_jit_trace()
5940 !ssa->var_info[ssa_op->op1_use].guarded_reference, 1)) { in zend_jit_trace()
5944 && ssa->vars[ssa_op->op1_use].alias == NO_ALIAS) { in zend_jit_trace()
5945 ssa->var_info[ssa_op->op1_use].guarded_reference = 1; in zend_jit_trace()
5966 if (ssa_op->op1_use >= 0 in zend_jit_trace()
5967 && ssa->var_info[ssa_op->op1_use].avoid_refcounting) { in zend_jit_trace()
5990 ssa_op->op1_use >= 0 && in zend_jit_trace()
5991 ssa->var_info[ssa_op->op1_use].avoid_refcounting; in zend_jit_trace()
5993 ssa->var_info[ssa_op->op1_use].type &= ~MAY_BE_PACKED_GUARD; in zend_jit_trace()
6057 &op1_info, &op1_addr, !ssa->var_info[ssa_op->op1_use].indirect_reference)) { in zend_jit_trace()
6065 !ssa->var_info[ssa_op->op1_use].guarded_reference, 1)) { in zend_jit_trace()
6069 && ssa->vars[ssa_op->op1_use].alias == NO_ALIAS) { in zend_jit_trace()
6070 … ssa->var_info[ssa_op->op1_def >= 0 ? ssa_op->op1_def : ssa_op->op1_use].guarded_reference = 1; in zend_jit_trace()
6079 if (ssa_op->op1_use >= 0) { in zend_jit_trace()
6080 zend_ssa_var_info *op1_ssa = ssa->var_info + ssa_op->op1_use; in zend_jit_trace()
6087 if (ssa_op->op1_use >= 0) { in zend_jit_trace()
6088 delayed_fetch_this = ssa->var_info[ssa_op->op1_use].delayed_fetch_this; in zend_jit_trace()
6089 avoid_refcounting = ssa->var_info[ssa_op->op1_use].avoid_refcounting; in zend_jit_trace()
6093 } else if (ssa_op->op1_use >= 0 && ssa->vars[ssa_op->op1_use].definition >= 0) { in zend_jit_trace()
6094 on_this = ssa_opcodes[ssa->vars[ssa_op->op1_use].definition]->opcode == ZEND_FETCH_THIS; in zend_jit_trace()
6097 && op_array_ssa->ops[opline-op_array->opcodes].op1_use >= 0 in zend_jit_trace()
6098 … && op_array_ssa->vars[op_array_ssa->ops[opline-op_array->opcodes].op1_use].definition >= 0) { in zend_jit_trace()
6099 …->opcodes[op_array_ssa->vars[op_array_ssa->ops[opline-op_array->opcodes].op1_use].definition].opco… in zend_jit_trace()
6205 !ssa->var_info[ssa_op->op1_use].guarded_reference, 1)) { in zend_jit_trace()
6209 && ssa->vars[ssa_op->op1_use].alias == NO_ALIAS) { in zend_jit_trace()
6210 ssa->var_info[ssa_op->op1_use].guarded_reference = 1; in zend_jit_trace()
6227 !ssa->var_info[ssa_op->op1_use].guarded_reference, 1)) { in zend_jit_trace()
6231 && ssa->vars[ssa_op->op1_use].alias == NO_ALIAS) { in zend_jit_trace()
6232 ssa->var_info[ssa_op->op1_use].guarded_reference = 1; in zend_jit_trace()
6359 !ssa->var_info[ssa_op->op1_use].guarded_reference, 1)) { in zend_jit_trace()
6363 && ssa->vars[ssa_op->op1_use].alias == NO_ALIAS) { in zend_jit_trace()
6364 ssa->var_info[ssa_op->op1_use].guarded_reference = 1; in zend_jit_trace()
6370 if (ssa_op->op1_use >= 0) { in zend_jit_trace()
6371 zend_ssa_var_info *op1_ssa = ssa->var_info + ssa_op->op1_use; in zend_jit_trace()
6378 if (ssa_op->op1_use >= 0) { in zend_jit_trace()
6379 delayed_fetch_this = ssa->var_info[ssa_op->op1_use].delayed_fetch_this; in zend_jit_trace()
6383 } else if (ssa_op->op1_use >= 0 && ssa->vars[ssa_op->op1_use].definition >= 0) { in zend_jit_trace()
6384 on_this = ssa_opcodes[ssa->vars[ssa_op->op1_use].definition]->opcode == ZEND_FETCH_THIS; in zend_jit_trace()
6387 && op_array_ssa->ops[opline-op_array->opcodes].op1_use >= 0 in zend_jit_trace()
6388 … && op_array_ssa->vars[op_array_ssa->ops[opline-op_array->opcodes].op1_use].definition >= 0) { in zend_jit_trace()
6389 …->opcodes[op_array_ssa->vars[op_array_ssa->ops[opline-op_array->opcodes].op1_use].definition].opco… in zend_jit_trace()
6552 && ssa_op->op1_use >= 0 in zend_jit_trace()
6554 && (ssa->var_info[ssa_op->op1_use].type & MAY_BE_REF) == 0) { in zend_jit_trace()
6693 if (ssa_op->op1_use >= 0) { in zend_jit_trace()
6701 if (!RA_HAS_REG(ssa_op->op1_use)) { in zend_jit_trace()
7029 && (ssa_op-1)->op1_use >=0 in zend_jit_trace()
7030 && ssa->var_info[(ssa_op-1)->op1_use].delayed_fetch_this)) in zend_jit_trace()