Lines Matching refs:ra
3446 …const zend_op *opline, const zend_ssa_op *ssa_op, const zend_ssa *ssa, zend_lifetime_interval **ra) in zend_jit_trace_clenup_stack() argument
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()
3456 && ra[ssa_op->op2_use] in zend_jit_trace_clenup_stack()
3457 && ra[ssa_op->op2_use]->range.end == line) { in zend_jit_trace_clenup_stack()
3461 && ra[ssa_op->result_use] in zend_jit_trace_clenup_stack()
3462 && ra[ssa_op->result_use]->range.end == line) { in zend_jit_trace_clenup_stack()
3587 zend_lifetime_interval **ra, in zend_jit_trace_deoptimization() argument
3602 } else if (ra && ra[i] && ra[i]->reg == reg) { in zend_jit_trace_deoptimization()
3637 } else if (ra && ra[i] && ra[i]->reg == reg) { in zend_jit_trace_deoptimization()
3974 zend_lifetime_interval **ra = NULL; in zend_jit_trace() local
4024 ra = zend_jit_trace_allocate_registers(trace_buffer, ssa, parent_trace, exit_num); in zend_jit_trace()
4168 parent_stack, parent_vars_count, ssa, stack, ra, in zend_jit_trace()
4174 if (ra in zend_jit_trace()
4178 if (ra[i] in zend_jit_trace()
4179 && (ra[i]->flags & ZREG_LOAD) != 0 in zend_jit_trace()
4180 && ra[i]->reg != stack[i].reg) { in zend_jit_trace()
4193 SET_STACK_REG_EX(stack, i, ra[i]->reg, ZREG_LOAD); in zend_jit_trace()
4194 if (!zend_jit_load_var(&dasm_state, ssa->var_info[i].type, i, ra[i]->reg)) { in zend_jit_trace()
4208 if (ra) { in zend_jit_trace()
4212 zend_lifetime_interval *ival = ra[phi->ssa_var]; in zend_jit_trace()
4259 if (ra && trace_buffer->stop != ZEND_JIT_TRACE_STOP_LOOP) { in zend_jit_trace()
4266 if (ra && ra[i] && (ra[i]->flags & ZREG_LOAD) != 0) { in zend_jit_trace()
4267 SET_STACK_REG_EX(stack, i, ra[i]->reg, ZREG_LOAD); in zend_jit_trace()
4268 if (!zend_jit_load_var(&dasm_state, ssa->var_info[i].type, i, ra[i]->reg)) { in zend_jit_trace()
5259 if (ra) { in zend_jit_trace()
5260 zend_jit_trace_clenup_stack(stack, opline, ssa_op, ssa, ra); in zend_jit_trace()
5307 if (ra) { in zend_jit_trace()
5308 zend_jit_trace_clenup_stack(stack, opline, ssa_op, ssa, ra); in zend_jit_trace()
5372 if (ra) { in zend_jit_trace()
5373 zend_jit_trace_clenup_stack(stack, opline, ssa_op, ssa, ra); in zend_jit_trace()
5512 if (ra) { in zend_jit_trace()
5513 zend_jit_trace_clenup_stack(stack, opline, ssa_op, ssa, ra); in zend_jit_trace()
5764 if (ra) { in zend_jit_trace()
5765 zend_jit_trace_clenup_stack(stack, opline, ssa_op, ssa, ra); in zend_jit_trace()
6273 if (ra) { in zend_jit_trace()
6274 zend_jit_trace_clenup_stack(stack, opline, ssa_op, ssa, ra); in zend_jit_trace()
6337 (gen_handler || type == IS_UNKNOWN || !ra || !ra[ssa_op->result_def])); in zend_jit_trace()
6348 } else if (ra && ra[ssa_op->result_def]) { in zend_jit_trace()
6349 SET_STACK_REG_EX(stack, EX_VAR_TO_NUM(opline->result.var), ra[ssa_op->result_def]->reg, in zend_jit_trace()
6350 ra[ssa_op->result_def]->flags & ZREG_STORE); in zend_jit_trace()
6392 (gen_handler || type == IS_UNKNOWN || !ra || in zend_jit_trace()
6393 (!ra[ssa_op->op1_def] && 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()
6415 if (!ra[ssa_op->op1_use]) { 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()
6446 (gen_handler || type == IS_UNKNOWN || !ra || in zend_jit_trace()
6447 (!ra[ssa_op->op2_def] && in zend_jit_trace()
6453 if (ra && ra[ssa_op->op2_def]) { in zend_jit_trace()
6454 uint8_t flags = ra[ssa_op->op2_def]->flags & ZREG_STORE; in zend_jit_trace()
6458 if (!ra[ssa_op->op2_use] in zend_jit_trace()
6459 || ra[ssa_op->op2_use]->reg != ra[ssa_op->op2_def]->reg) { in zend_jit_trace()
6464 SET_STACK_REG_EX(stack, EX_VAR_TO_NUM(opline->op2.var), ra[ssa_op->op2_def]->reg, flags); in zend_jit_trace()
6502 (gen_handler || type == IS_UNKNOWN || !ra || !ra[ssa_op->op1_def])); 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()
6533 (gen_handler || !ra || !ra[ssa_op->result_def])); in zend_jit_trace()
6534 if (ra && ra[ssa_op->result_def]) { in zend_jit_trace()
6535 SET_STACK_REG_EX(stack, EX_VAR_TO_NUM(opline->result.var), ra[ssa_op->result_def]->reg, in zend_jit_trace()
6536 ra[ssa_op->result_def]->flags & ZREG_STORE); 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()
6637 if (ra) { in zend_jit_trace()
6641 if (ra[j] && (ra[j]->flags & ZREG_LOAD) != 0) { in zend_jit_trace()
6642 SET_STACK_REG_EX(stack, i, ra[j]->reg, ZREG_LOAD); in zend_jit_trace()
6643 if (!zend_jit_load_var(&dasm_state, ssa->var_info[j].type, i, ra[j]->reg)) { in zend_jit_trace()
6678 if (ra) { in zend_jit_trace()
6681 if (ra[j] && (ra[j]->flags & ZREG_LOAD) != 0) { in zend_jit_trace()
6682 SET_STACK_REG_EX(stack, i, ra[j]->reg, ZREG_LOAD); in zend_jit_trace()
6683 if (!zend_jit_load_var(&dasm_state, ssa->var_info[j].type, i, ra[j]->reg)) { in zend_jit_trace()
6869 if (ra) { in zend_jit_trace()
6873 if (ra[phi->ssa_var] in zend_jit_trace()
6874 && ra[phi->sources[1]] in zend_jit_trace()
6876 && (ra[phi->ssa_var]->flags & (ZREG_LOAD|ZREG_STORE)) == 0 in zend_jit_trace()
6877 && (ra[phi->sources[1]]->flags & (ZREG_LOAD|ZREG_STORE)) == 0) { in zend_jit_trace()
6902 || (ra in zend_jit_trace()
6920 if (ra in zend_jit_trace()