Lines Matching refs:op1_def
891 if (tssa->ops[def].op1_def == ssa_var) { in zend_jit_trace_copy_ssa_var_range()
892 no_val = ssa->vars[op->op1_def].no_val; in zend_jit_trace_copy_ssa_var_range()
893 alias = ssa->vars[op->op1_def].alias; in zend_jit_trace_copy_ssa_var_range()
894 info = ssa->var_info + op->op1_def; in zend_jit_trace_copy_ssa_var_range()
939 if (tssa->ops[def].op1_def == ssa_var) { in zend_jit_trace_restrict_ssa_var_info()
940 info = ssa->var_info + op->op1_def; in zend_jit_trace_restrict_ssa_var_info()
1085 if (tssa->ops[idx].op1_def == var) { in is_checked_guard()
1503 if (op->op1_def >= 0) { in zend_jit_trace_build_tssa()
1504 ssa_vars[op->op1_def].var = EX_VAR_TO_NUM(opline->op1.var); in zend_jit_trace_build_tssa()
1505 ssa_vars[op->op1_def].definition = idx; in zend_jit_trace_build_tssa()
2122 if (ssa_ops[idx].op1_def >= 0) { in zend_jit_trace_build_tssa()
2123 zend_jit_trace_copy_ssa_var_range(op_array, ssa, ssa_opcodes, tssa, ssa_ops[idx].op1_def); in zend_jit_trace_build_tssa()
2132 if (ssa_ops[idx+1].op1_def >= 0) { in zend_jit_trace_build_tssa()
2133 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()
2143 if (ssa_ops[idx].op1_def >= 0) { in zend_jit_trace_build_tssa()
2144 …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()
2146 zend_jit_trace_propagate_range(op_array, ssa_opcodes, tssa, ssa_ops[idx].op1_def); in zend_jit_trace_build_tssa()
2162 if (ssa_ops[idx+1].op1_def >= 0) { in zend_jit_trace_build_tssa()
2163 …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()
2165 zend_jit_trace_propagate_range(op_array, ssa_opcodes, tssa, ssa_ops[idx+1].op1_def); in zend_jit_trace_build_tssa()
2197 && ssa_ops[idx].op1_def > 0 in zend_jit_trace_build_tssa()
2206 zend_ssa_var_info *info = &ssa_var_info[ssa_ops[idx].op1_def]; in zend_jit_trace_build_tssa()
2213 if (ssa_ops[idx].op1_def >= 0) { 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()
2220 ssa_var_info[ssa_ops[idx].op1_def].type &= ~MAY_BE_GUARD; in zend_jit_trace_build_tssa()
2221 if (ssa_var_info[ssa_ops[idx].op1_def].type & MAY_BE_RC1) { in zend_jit_trace_build_tssa()
2222 ssa_var_info[ssa_ops[idx].op1_def].type |= MAY_BE_RCN; in zend_jit_trace_build_tssa()
2225 zend_jit_trace_restrict_ssa_var_info(op_array, ssa, ssa_opcodes, tssa, ssa_ops[idx].op1_def); in zend_jit_trace_build_tssa()
2244 if (ssa_ops[idx].op1_def >= 0) { in zend_jit_trace_build_tssa()
2245 zend_jit_trace_copy_ssa_var_range(op_array, ssa, ssa_opcodes, tssa, ssa_ops[idx].op1_def); in zend_jit_trace_build_tssa()
2254 if (ssa_ops[idx].op1_def >= 0) { in zend_jit_trace_build_tssa()
2255 …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()
2257 zend_jit_trace_propagate_range(op_array, ssa_opcodes, tssa, ssa_ops[idx].op1_def); in zend_jit_trace_build_tssa()
2286 if (ssa_ops[idx].op1_def >= 0) { in zend_jit_trace_build_tssa()
2287 zend_jit_trace_restrict_ssa_var_info(op_array, ssa, ssa_opcodes, tssa, ssa_ops[idx].op1_def); in zend_jit_trace_build_tssa()
2811 && ssa_op->op1_def >= 0 in zend_jit_trace_allocate_registers()
2812 && ssa->vars[ssa_op->op1_def].alias != NO_ALIAS) { 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()
2877 if (ssa_op->op1_def >= 0) { in zend_jit_trace_allocate_registers()
2879 SET_STACK_VAR(stack, EX_VAR_TO_NUM(opline->op1.var), ssa_op->op1_def); in zend_jit_trace_allocate_registers()
2914 if (ssa_op->op1_def >= 0 in zend_jit_trace_allocate_registers()
2915 && (ssa->vars[ssa_op->op1_def].use_chain >= 0 in zend_jit_trace_allocate_registers()
2916 || ssa->vars[ssa_op->op1_def].phi_use_chain) in zend_jit_trace_allocate_registers()
2917 && ssa->vars[ssa_op->op1_def].alias == NO_ALIAS in zend_jit_trace_allocate_registers()
2918 && zend_jit_var_supports_reg(ssa, ssa_op->op1_def)) { in zend_jit_trace_allocate_registers()
2919 start[ssa_op->op1_def] = idx; in zend_jit_trace_allocate_registers()
2920 vars_op_array[ssa_op->op1_def] = op_array; 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()
2961 if (ssa_op->op1_def >= 0) { in zend_jit_trace_allocate_registers()
2963 SET_STACK_VAR(stack, EX_VAR_TO_NUM(opline->op1.var), ssa_op->op1_def); in zend_jit_trace_allocate_registers()
2965 && (ssa->vars[ssa_op->op1_def].use_chain >= 0 in zend_jit_trace_allocate_registers()
2966 || ssa->vars[ssa_op->op1_def].phi_use_chain) in zend_jit_trace_allocate_registers()
2967 && ssa->vars[ssa_op->op1_def].alias == NO_ALIAS in zend_jit_trace_allocate_registers()
2968 && zend_jit_var_supports_reg(ssa, ssa_op->op1_def)) { in zend_jit_trace_allocate_registers()
2969 start[ssa_op->op1_def] = idx; in zend_jit_trace_allocate_registers()
2970 vars_op_array[ssa_op->op1_def] = op_array; in zend_jit_trace_allocate_registers()
2999 if (ssa_op->op1_def >= 0) { in zend_jit_trace_allocate_registers()
3001 SET_STACK_VAR(stack, EX_VAR_TO_NUM(opline->op1.var), ssa_op->op1_def); in zend_jit_trace_allocate_registers()
3217 (i == ssa->ops[line].op1_def || in zend_jit_trace_allocate_registers()
3219 (ssa->ops[line].op1_def < 0 || in zend_jit_trace_allocate_registers()
3220 !intervals[ssa->ops[line].op1_def])))) { in zend_jit_trace_allocate_registers()
3231 if (i == ssa->ops[line].op1_def && in zend_jit_trace_allocate_registers()
3241 (i == ssa->ops[line].op1_def && in zend_jit_trace_allocate_registers()
3247 (ssa->ops[line].op1_def < 0 || in zend_jit_trace_allocate_registers()
3248 !intervals[ssa->ops[line].op1_def])))) { in zend_jit_trace_allocate_registers()
3855 if ((ssa_op-1)->op1_def == ssa_op->op2_use) { in zend_jit_may_skip_comparison()
3880 if ((ssa_op-1)->op1_def == ssa_op->op1_use) { in zend_jit_may_skip_comparison()
4373 ssa->var_info[ssa_op->op1_def].type &= ~MAY_BE_GUARD; in zend_jit_trace()
4565 ssa->var_info[ssa_op->op1_def].type &= ~MAY_BE_GUARD; in zend_jit_trace()
4605 && ssa->vars[ssa_op->op1_def].alias == NO_ALIAS) { in zend_jit_trace()
4606 ssa->var_info[ssa_op->op1_def].guarded_reference = 1; in zend_jit_trace()
4668 && ssa->vars[ssa_op->op1_def].alias == NO_ALIAS) { in zend_jit_trace()
4669 ssa->var_info[ssa_op->op1_def].guarded_reference = 1; in zend_jit_trace()
4759 && ssa->vars[ssa_op->op1_def].alias == NO_ALIAS) { in zend_jit_trace()
4760 ssa->var_info[ssa_op->op1_def].guarded_reference = 1; in zend_jit_trace()
4839 && ssa->vars[ssa_op->op1_def].alias == NO_ALIAS) { in zend_jit_trace()
4840 ssa->var_info[ssa_op->op1_def].guarded_reference = 1; in zend_jit_trace()
4878 && (ssa_op+1)->op1_def >= 0 in zend_jit_trace()
4879 && ssa->vars[(ssa_op+1)->op1_def].alias == NO_ALIAS) { 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()
4911 && ssa->vars[ssa_op->op1_def].alias == NO_ALIAS) { in zend_jit_trace()
4912 ssa->var_info[ssa_op->op1_def].guarded_reference = 1; in zend_jit_trace()
4927 && (ssa_op+1)->op1_def >= 0 in zend_jit_trace()
4928 && ssa->vars[(ssa_op+1)->op1_def].alias == NO_ALIAS) { 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()
4973 && ssa->vars[ssa_op->op1_def].alias == NO_ALIAS) { in zend_jit_trace()
4974 ssa->var_info[ssa_op->op1_def].guarded_reference = 1; in zend_jit_trace()
5053 … if (ssa_op->op1_def < 0 || (Z_MODE(op1_addr) == IS_REG && ssa->vars[ssa_op->op1_def].no_val)) { in zend_jit_trace()
5076 if (ssa_op->op1_def > 0 in zend_jit_trace()
5078 && ssa->vars[ssa_op->op1_def].no_val) { in zend_jit_trace()
5083 && ssa->vars[ssa_op->op1_def].use_chain < 0 in zend_jit_trace()
5084 && !ssa->vars[ssa_op->op1_def].phi_use_chain) { in zend_jit_trace()
5092 && ssa_op->op1_def >= 0 in zend_jit_trace()
5093 && ssa->vars[ssa_op->op1_def].alias == NO_ALIAS) { 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()
5143 && ssa->vars[ssa_op->op1_def].alias == NO_ALIAS) { in zend_jit_trace()
5144 ssa->var_info[ssa_op->op1_def].guarded_reference = 1; in zend_jit_trace()
5162 … if (ssa_op->op1_def < 0 || (Z_MODE(op1_addr) == IS_REG && ssa->vars[ssa_op->op1_def].no_val)) { in zend_jit_trace()
5173 if (ssa_op->op1_def > 0 in zend_jit_trace()
5175 && ssa->vars[ssa_op->op1_def].no_val) { in zend_jit_trace()
5180 && ssa->vars[ssa_op->op1_def].use_chain < 0 in zend_jit_trace()
5181 && !ssa->vars[ssa_op->op1_def].phi_use_chain) { in zend_jit_trace()
5189 && ssa_op->op1_def >= 0 in zend_jit_trace()
5190 && ssa->vars[ssa_op->op1_def].alias == NO_ALIAS) { 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()
5646 if (ssa_op->op1_def >= 0) { in zend_jit_trace()
5647 ssa->var_info[ssa_op->op1_def].guarded_reference = 1; in zend_jit_trace()
5684 if (ssa_op->op1_def >= 0 && op1_type != IS_UNKNOWN) { 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()
5717 && ssa->vars[ssa_op->op1_def].alias == NO_ALIAS) { in zend_jit_trace()
5718 ssa->var_info[ssa_op->op1_def].guarded_reference = 1; 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()
5914 if (ssa->vars[ssa_op->op1_def].alias == NO_ALIAS) { in zend_jit_trace()
5915 ssa->var_info[ssa_op->op1_def].guarded_reference = 1; in zend_jit_trace()
6364 if (ssa_op->op1_def >= 0 in zend_jit_trace()
6370 if (!(ssa->var_info[ssa_op->op1_def].type & MAY_BE_GUARD) in zend_jit_trace()
6371 && has_concrete_type(ssa->var_info[ssa_op->op1_def].type)) { in zend_jit_trace()
6372 type = concrete_type(ssa->var_info[ssa_op->op1_def].type); in zend_jit_trace()
6393 (!ra[ssa_op->op1_def] && in zend_jit_trace()
6394 !(ssa->vars[ssa_op->op1_def].no_val && in zend_jit_trace()
6403 ssa->var_info[ssa_op->op1_def].type &= ~MAY_BE_GUARD; in zend_jit_trace()
6404 if (ra && ra[ssa_op->op1_def]) { in zend_jit_trace()
6405 uint8_t flags = ra[ssa_op->op1_def]->flags & ZREG_STORE; in zend_jit_trace()
6420 SET_STACK_REG_EX(stack, EX_VAR_TO_NUM(opline->op1.var), ra[ssa_op->op1_def]->reg, flags); in zend_jit_trace()
6424 …ce_propagate_range(op_array, ssa, (zend_op*)opline, (zend_ssa_op*)ssa_op, ssa_op->op1_def, &tmp)) { in zend_jit_trace()
6425 ssa->var_info[ssa_op->op1_def].range.min = tmp.min; in zend_jit_trace()
6426 ssa->var_info[ssa_op->op1_def].range.max = tmp.max; in zend_jit_trace()
6427 ssa->var_info[ssa_op->op1_def].range.underflow = 0; in zend_jit_trace()
6428 ssa->var_info[ssa_op->op1_def].range.overflow = 0; in zend_jit_trace()
6429 ssa->var_info[ssa_op->op1_def].has_range = 1; in zend_jit_trace()
6489 if (ssa_op->op1_def >= 0) { in zend_jit_trace()
6492 if (!(ssa->var_info[ssa_op->op1_def].type & MAY_BE_GUARD) in zend_jit_trace()
6493 && has_concrete_type(ssa->var_info[ssa_op->op1_def].type)) { in zend_jit_trace()
6494 type = concrete_type(ssa->var_info[ssa_op->op1_def].type); in zend_jit_trace()
6502 (gen_handler || type == IS_UNKNOWN || !ra || !ra[ssa_op->op1_def])); in zend_jit_trace()
6504 ssa->var_info[ssa_op->op1_def].type &= ~MAY_BE_GUARD; in zend_jit_trace()
6505 if (ra && ra[ssa_op->op1_def]) { in zend_jit_trace()
6506 SET_STACK_REG_EX(stack, EX_VAR_TO_NUM(opline->op1.var), ra[ssa_op->op1_def]->reg, in zend_jit_trace()
6507 ra[ssa_op->op1_def]->flags & ZREG_STORE); in zend_jit_trace()
6511 …ce_propagate_range(op_array, ssa, (zend_op*)opline, (zend_ssa_op*)ssa_op, ssa_op->op1_def, &tmp)) { in zend_jit_trace()
6512 ssa->var_info[ssa_op->op1_def].range.min = tmp.min; in zend_jit_trace()
6513 ssa->var_info[ssa_op->op1_def].range.max = tmp.max; in zend_jit_trace()
6514 ssa->var_info[ssa_op->op1_def].range.underflow = 0; in zend_jit_trace()
6515 ssa->var_info[ssa_op->op1_def].range.overflow = 0; in zend_jit_trace()
6516 ssa->var_info[ssa_op->op1_def].has_range = 1; in zend_jit_trace()
6547 if (ssa_op->op1_def >= 0) { in zend_jit_trace()
6550 if (!(ssa->var_info[ssa_op->op1_def].type & MAY_BE_GUARD) in zend_jit_trace()
6551 && has_concrete_type(ssa->var_info[ssa_op->op1_def].type)) { in zend_jit_trace()
6552 type = concrete_type(ssa->var_info[ssa_op->op1_def].type); in zend_jit_trace()
6555 (gen_handler || !ra || !ra[ssa_op->op1_def])); in zend_jit_trace()
6556 if (ra && ra[ssa_op->op1_def]) { in zend_jit_trace()
6557 SET_STACK_REG_EX(stack, EX_VAR_TO_NUM(opline->op1.var), ra[ssa_op->op1_def]->reg, in zend_jit_trace()
6558 ra[ssa_op->op1_def]->flags & ZREG_STORE); in zend_jit_trace()