Lines Matching refs:op1_def
858 } else if (op->op1_def >= 0 && ssa->vars[op->op1_def].var == var) { in zend_jit_trace_copy_ssa_var_info()
859 src = op->op1_def; in zend_jit_trace_copy_ssa_var_info()
888 if (tssa->ops[def].op1_def == ssa_var) { in zend_jit_trace_copy_ssa_var_info()
889 src = op->op1_def; in zend_jit_trace_copy_ssa_var_info()
939 } else if (op->op1_def >= 0 && ssa->vars[op->op1_def].var == var) { in zend_jit_trace_copy_ssa_var_info()
940 src = op->op1_def; in zend_jit_trace_copy_ssa_var_info()
1007 if (tssa->ops[def].op1_def == ssa_var) { in zend_jit_trace_copy_ssa_var_range()
1008 no_val = ssa->vars[op->op1_def].no_val; in zend_jit_trace_copy_ssa_var_range()
1009 alias = ssa->vars[op->op1_def].alias; in zend_jit_trace_copy_ssa_var_range()
1010 info = ssa->var_info + op->op1_def; in zend_jit_trace_copy_ssa_var_range()
1055 if (tssa->ops[def].op1_def == ssa_var) { in zend_jit_trace_restrict_ssa_var_info()
1056 info = ssa->var_info + op->op1_def; in zend_jit_trace_restrict_ssa_var_info()
1203 if (tssa->ops[idx].op1_def == var) { in is_checked_guard()
1663 if (op->op1_def >= 0) { in zend_jit_trace_build_tssa()
1664 ssa_vars[op->op1_def].var = EX_VAR_TO_NUM(opline->op1.var); in zend_jit_trace_build_tssa()
1665 ssa_vars[op->op1_def].definition = idx; in zend_jit_trace_build_tssa()
2289 if (ssa_ops[idx].op1_def >= 0) { in zend_jit_trace_build_tssa()
2290 zend_jit_trace_copy_ssa_var_range(op_array, ssa, ssa_opcodes, tssa, ssa_ops[idx].op1_def); in zend_jit_trace_build_tssa()
2299 if (ssa_ops[idx+1].op1_def >= 0) { in zend_jit_trace_build_tssa()
2300 zend_jit_trace_copy_ssa_var_range(op_array, ssa, ssa_opcodes, tssa, ssa_ops[idx+1].op1_def); in zend_jit_trace_build_tssa()
2310 if (ssa_ops[idx].op1_def >= 0) { in zend_jit_trace_build_tssa()
2311 …ssa_vars[ssa_ops[idx].op1_def].alias = zend_jit_var_may_alias(op_array, ssa, EX_VAR_TO_NUM(opline-… in zend_jit_trace_build_tssa()
2313 zend_jit_trace_propagate_range(op_array, ssa_opcodes, tssa, ssa_ops[idx].op1_def); in zend_jit_trace_build_tssa()
2329 if (ssa_ops[idx+1].op1_def >= 0) { in zend_jit_trace_build_tssa()
2330 …ssa_vars[ssa_ops[idx+1].op1_def].alias = zend_jit_var_may_alias(op_array, ssa, EX_VAR_TO_NUM((opli… in zend_jit_trace_build_tssa()
2332 zend_jit_trace_propagate_range(op_array, ssa_opcodes, tssa, ssa_ops[idx+1].op1_def); in zend_jit_trace_build_tssa()
2364 && ssa_ops[idx].op1_def >= 0 in zend_jit_trace_build_tssa()
2373 zend_ssa_var_info *info = &ssa_var_info[ssa_ops[idx].op1_def]; in zend_jit_trace_build_tssa()
2380 if (ssa_ops[idx].op1_def >= 0) { 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()
2387 ssa_var_info[ssa_ops[idx].op1_def].type &= ~MAY_BE_GUARD; in zend_jit_trace_build_tssa()
2388 if (ssa_var_info[ssa_ops[idx].op1_def].type & MAY_BE_RC1) { in zend_jit_trace_build_tssa()
2389 ssa_var_info[ssa_ops[idx].op1_def].type |= MAY_BE_RCN; in zend_jit_trace_build_tssa()
2392 zend_jit_trace_restrict_ssa_var_info(op_array, ssa, ssa_opcodes, tssa, ssa_ops[idx].op1_def); in zend_jit_trace_build_tssa()
2411 if (ssa_ops[idx].op1_def >= 0) { in zend_jit_trace_build_tssa()
2412 zend_jit_trace_copy_ssa_var_range(op_array, ssa, ssa_opcodes, tssa, ssa_ops[idx].op1_def); in zend_jit_trace_build_tssa()
2421 if (ssa_ops[idx].op1_def >= 0) { in zend_jit_trace_build_tssa()
2422 …ssa_vars[ssa_ops[idx].op1_def].alias = zend_jit_var_may_alias(op_array, ssa, EX_VAR_TO_NUM(opline-… in zend_jit_trace_build_tssa()
2424 zend_jit_trace_propagate_range(op_array, ssa_opcodes, tssa, ssa_ops[idx].op1_def); in zend_jit_trace_build_tssa()
2453 if (ssa_ops[idx].op1_def >= 0) { in zend_jit_trace_build_tssa()
2454 zend_jit_trace_restrict_ssa_var_info(op_array, ssa, ssa_opcodes, tssa, ssa_ops[idx].op1_def); in zend_jit_trace_build_tssa()
2959 && ssa_op->op1_def >= 0 in zend_jit_trace_allocate_registers()
2960 && ssa->vars[ssa_op->op1_def].alias != NO_ALIAS) { 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()
3025 if (ssa_op->op1_def >= 0) { in zend_jit_trace_allocate_registers()
3027 SET_STACK_VAR(stack, EX_VAR_TO_NUM(opline->op1.var), ssa_op->op1_def); in zend_jit_trace_allocate_registers()
3063 if (ssa_op->op1_def >= 0 in zend_jit_trace_allocate_registers()
3064 && (ssa->vars[ssa_op->op1_def].use_chain >= 0 in zend_jit_trace_allocate_registers()
3065 || ssa->vars[ssa_op->op1_def].phi_use_chain) in zend_jit_trace_allocate_registers()
3066 && ssa->vars[ssa_op->op1_def].alias == NO_ALIAS in zend_jit_trace_allocate_registers()
3067 && zend_jit_var_supports_reg(ssa, ssa_op->op1_def) in zend_jit_trace_allocate_registers()
3068 && (!(ssa->var_info[ssa_op->op1_def].type & MAY_BE_GUARD) in zend_jit_trace_allocate_registers()
3073 vars_op_array[ssa_op->op1_def] = op_array; in zend_jit_trace_allocate_registers()
3074 RA_IVAL_START(ssa_op->op1_def, idx); 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()
3118 if (ssa_op->op1_def >= 0) { in zend_jit_trace_allocate_registers()
3120 SET_STACK_VAR(stack, EX_VAR_TO_NUM(opline->op1.var), ssa_op->op1_def); in zend_jit_trace_allocate_registers()
3122 && (ssa->vars[ssa_op->op1_def].use_chain >= 0 in zend_jit_trace_allocate_registers()
3123 || ssa->vars[ssa_op->op1_def].phi_use_chain) in zend_jit_trace_allocate_registers()
3124 && ssa->vars[ssa_op->op1_def].alias == NO_ALIAS in zend_jit_trace_allocate_registers()
3125 && zend_jit_var_supports_reg(ssa, ssa_op->op1_def) in zend_jit_trace_allocate_registers()
3126 && !(ssa->var_info[ssa_op->op1_def].type & MAY_BE_GUARD)) { in zend_jit_trace_allocate_registers()
3127 vars_op_array[ssa_op->op1_def] = op_array; in zend_jit_trace_allocate_registers()
3128 RA_IVAL_START(ssa_op->op1_def, idx); in zend_jit_trace_allocate_registers()
3161 if (ssa_op->op1_def >= 0) { in zend_jit_trace_allocate_registers()
3163 SET_STACK_VAR(stack, EX_VAR_TO_NUM(opline->op1.var), ssa_op->op1_def); in zend_jit_trace_allocate_registers()
3823 if ((ssa_op-1)->op1_def == ssa_op->op2_use) { in zend_jit_may_skip_comparison()
3848 if ((ssa_op-1)->op1_def == ssa_op->op1_use) { in zend_jit_may_skip_comparison()
3959 ssa_var = ssa_op->op1_def; in zend_jit_find_ssa_var()
4006 ssa_var = ssa_op->op1_def; in zend_jit_find_ssa_var()
4481 ssa->var_info[ssa_op->op1_def].type &= ~MAY_BE_GUARD; in zend_jit_trace()
4487 ssa->var_info[ssa_op->op1_def].type &= ~MAY_BE_GUARD; in zend_jit_trace()
4706 ssa->var_info[ssa_op->op1_def].type &= ~MAY_BE_GUARD; in zend_jit_trace()
4746 && ssa->vars[ssa_op->op1_def].alias == NO_ALIAS) { in zend_jit_trace()
4747 ssa->var_info[ssa_op->op1_def].guarded_reference = 1; in zend_jit_trace()
4818 && ssa->vars[ssa_op->op1_def].alias == NO_ALIAS) { in zend_jit_trace()
4819 ssa->var_info[ssa_op->op1_def].guarded_reference = 1; in zend_jit_trace()
4912 && ssa->vars[ssa_op->op1_def].alias == NO_ALIAS) { in zend_jit_trace()
4913 ssa->var_info[ssa_op->op1_def].guarded_reference = 1; in zend_jit_trace()
4995 && ssa->vars[ssa_op->op1_def].alias == NO_ALIAS) { in zend_jit_trace()
4996 ssa->var_info[ssa_op->op1_def].guarded_reference = 1; in zend_jit_trace()
5035 && (ssa_op+1)->op1_def >= 0 in zend_jit_trace()
5036 && ssa->vars[(ssa_op+1)->op1_def].alias == NO_ALIAS) { 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()
5067 && ssa->vars[ssa_op->op1_def].alias == NO_ALIAS) { in zend_jit_trace()
5068 ssa->var_info[ssa_op->op1_def].guarded_reference = 1; in zend_jit_trace()
5082 (ctx.ra && (ssa_op+1)->op1_def >= 0) ? OP1_DATA_DEF_REG_ADDR() : 0, in zend_jit_trace()
5089 && (ssa_op+1)->op1_def >= 0 in zend_jit_trace()
5090 && ssa->vars[(ssa_op+1)->op1_def].alias == NO_ALIAS) { 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()
5140 && ssa->vars[ssa_op->op1_def].alias == NO_ALIAS) { in zend_jit_trace()
5141 ssa->var_info[ssa_op->op1_def].guarded_reference = 1; in zend_jit_trace()
5218 … if (ssa_op->op1_def < 0 || (Z_MODE(op1_addr) == IS_REG && ssa->vars[ssa_op->op1_def].no_val)) { in zend_jit_trace()
5243 if (ssa_op->op1_def >= 0 in zend_jit_trace()
5245 && ssa->vars[ssa_op->op1_def].no_val) { in zend_jit_trace()
5250 && ssa->vars[ssa_op->op1_def].use_chain < 0 in zend_jit_trace()
5251 && !ssa->vars[ssa_op->op1_def].phi_use_chain) { in zend_jit_trace()
5259 && ssa_op->op1_def >= 0 in zend_jit_trace()
5260 && ssa->vars[ssa_op->op1_def].alias == NO_ALIAS) { 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()
5310 && ssa->vars[ssa_op->op1_def].alias == NO_ALIAS) { in zend_jit_trace()
5311 ssa->var_info[ssa_op->op1_def].guarded_reference = 1; in zend_jit_trace()
5329 … if (ssa_op->op1_def < 0 || (Z_MODE(op1_addr) == IS_REG && ssa->vars[ssa_op->op1_def].no_val)) { in zend_jit_trace()
5340 if (ssa_op->op1_def >= 0 in zend_jit_trace()
5342 && ssa->vars[ssa_op->op1_def].no_val) { in zend_jit_trace()
5347 && ssa->vars[ssa_op->op1_def].use_chain < 0 in zend_jit_trace()
5348 && !ssa->vars[ssa_op->op1_def].phi_use_chain) { in zend_jit_trace()
5356 && ssa_op->op1_def >= 0 in zend_jit_trace()
5357 && ssa->vars[ssa_op->op1_def].alias == NO_ALIAS) { 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()
5835 if (ssa_op->op1_def >= 0) { in zend_jit_trace()
5836 ssa->var_info[ssa_op->op1_def].guarded_reference = 1; in zend_jit_trace()
5874 if (ssa_op->op1_def >= 0 && op1_type != IS_UNKNOWN) { 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()
5907 && ssa->vars[ssa_op->op1_def].alias == NO_ALIAS) { in zend_jit_trace()
5908 ssa->var_info[ssa_op->op1_def].guarded_reference = 1; 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()
6142 if (ssa->vars[ssa_op->op1_def].alias == NO_ALIAS) { in zend_jit_trace()
6143 ssa->var_info[ssa_op->op1_def].guarded_reference = 1; in zend_jit_trace()
6650 if (ssa_op->op1_def >= 0 in zend_jit_trace()
6656 if (!(ssa->var_info[ssa_op->op1_def].type & MAY_BE_GUARD) in zend_jit_trace()
6657 && has_concrete_type(ssa->var_info[ssa_op->op1_def].type)) { in zend_jit_trace()
6658 type = concrete_type(ssa->var_info[ssa_op->op1_def].type); in zend_jit_trace()
6679 (!RA_HAS_REG(ssa_op->op1_def) && in zend_jit_trace()
6680 !(ssa->vars[ssa_op->op1_def].no_val && in zend_jit_trace()
6689 ssa->var_info[ssa_op->op1_def].type &= ~MAY_BE_GUARD; in zend_jit_trace()
6690 if (ra && RA_HAS_REG(ssa_op->op1_def)) { in zend_jit_trace()
6691 uint8_t flags = RA_REG_FLAGS(ssa_op->op1_def) & ZREG_STORE; in zend_jit_trace()
6706 SET_STACK_REF_EX(stack, EX_VAR_TO_NUM(opline->op1.var), ra[ssa_op->op1_def].ref, flags); in zend_jit_trace()
6710 && zend_inference_propagate_range(op_array, ssa, opline, ssa_op, ssa_op->op1_def, &tmp)) { in zend_jit_trace()
6711 ssa->var_info[ssa_op->op1_def].range.min = tmp.min; in zend_jit_trace()
6712 ssa->var_info[ssa_op->op1_def].range.max = tmp.max; in zend_jit_trace()
6713 ssa->var_info[ssa_op->op1_def].range.underflow = 0; in zend_jit_trace()
6714 ssa->var_info[ssa_op->op1_def].range.overflow = 0; in zend_jit_trace()
6715 ssa->var_info[ssa_op->op1_def].has_range = 1; in zend_jit_trace()
6775 if (ssa_op->op1_def >= 0) { in zend_jit_trace()
6778 if (!(ssa->var_info[ssa_op->op1_def].type & MAY_BE_GUARD) in zend_jit_trace()
6779 && has_concrete_type(ssa->var_info[ssa_op->op1_def].type)) { in zend_jit_trace()
6780 type = concrete_type(ssa->var_info[ssa_op->op1_def].type); in zend_jit_trace()
6788 (gen_handler || type == IS_UNKNOWN || !ra || !RA_HAS_REG(ssa_op->op1_def))); in zend_jit_trace()
6790 ssa->var_info[ssa_op->op1_def].type &= ~MAY_BE_GUARD; in zend_jit_trace()
6791 if (ra && RA_HAS_REG(ssa_op->op1_def)) { in zend_jit_trace()
6792 SET_STACK_REF_EX(stack, EX_VAR_TO_NUM(opline->op1.var), ra[ssa_op->op1_def].ref, in zend_jit_trace()
6793 RA_REG_FLAGS(ssa_op->op1_def) & ZREG_STORE); in zend_jit_trace()
6797 && zend_inference_propagate_range(op_array, ssa, opline, ssa_op, ssa_op->op1_def, &tmp)) { in zend_jit_trace()
6798 ssa->var_info[ssa_op->op1_def].range.min = tmp.min; in zend_jit_trace()
6799 ssa->var_info[ssa_op->op1_def].range.max = tmp.max; in zend_jit_trace()
6800 ssa->var_info[ssa_op->op1_def].range.underflow = 0; in zend_jit_trace()
6801 ssa->var_info[ssa_op->op1_def].range.overflow = 0; in zend_jit_trace()
6802 ssa->var_info[ssa_op->op1_def].has_range = 1; in zend_jit_trace()
6833 if (ssa_op->op1_def >= 0) { in zend_jit_trace()
6836 if (!(ssa->var_info[ssa_op->op1_def].type & MAY_BE_GUARD) in zend_jit_trace()
6837 && has_concrete_type(ssa->var_info[ssa_op->op1_def].type)) { in zend_jit_trace()
6838 type = concrete_type(ssa->var_info[ssa_op->op1_def].type); in zend_jit_trace()
6841 (gen_handler || !ra || !RA_HAS_REG(ssa_op->op1_def))); in zend_jit_trace()
6842 if (ra && RA_HAS_REG(ssa_op->op1_def)) { in zend_jit_trace()
6843 SET_STACK_REF_EX(stack, EX_VAR_TO_NUM(opline->op1.var), ra[ssa_op->op1_def].ref, in zend_jit_trace()
6844 RA_REG_FLAGS(ssa_op->op1_def) & ZREG_STORE); in zend_jit_trace()