Lines Matching refs:ra
3458 …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
3463 && ra[ssa_op->op1_use] in zend_jit_trace_clenup_stack()
3464 && ra[ssa_op->op1_use]->range.end == line) { in zend_jit_trace_clenup_stack()
3468 && ra[ssa_op->op2_use] in zend_jit_trace_clenup_stack()
3469 && ra[ssa_op->op2_use]->range.end == line) { in zend_jit_trace_clenup_stack()
3473 && ra[ssa_op->result_use] in zend_jit_trace_clenup_stack()
3474 && ra[ssa_op->result_use]->range.end == line) { in zend_jit_trace_clenup_stack()
3599 zend_lifetime_interval **ra, in zend_jit_trace_deoptimization() argument
3614 } else if (ra && ra[i] && ra[i]->reg == reg) { in zend_jit_trace_deoptimization()
3649 } else if (ra && ra[i] && ra[i]->reg == reg) { in zend_jit_trace_deoptimization()
3986 zend_lifetime_interval **ra = NULL; in zend_jit_trace() local
4036 ra = zend_jit_trace_allocate_registers(trace_buffer, ssa, parent_trace, exit_num); in zend_jit_trace()
4180 parent_stack, parent_vars_count, ssa, stack, ra, in zend_jit_trace()
4186 if (ra in zend_jit_trace()
4190 if (ra[i] in zend_jit_trace()
4191 && (ra[i]->flags & ZREG_LOAD) != 0 in zend_jit_trace()
4192 && ra[i]->reg != stack[i].reg) { in zend_jit_trace()
4205 SET_STACK_REG_EX(stack, i, ra[i]->reg, ZREG_LOAD); in zend_jit_trace()
4206 if (!zend_jit_load_var(&dasm_state, ssa->var_info[i].type, i, ra[i]->reg)) { in zend_jit_trace()
4220 if (ra) { in zend_jit_trace()
4224 zend_lifetime_interval *ival = ra[phi->ssa_var]; in zend_jit_trace()
4271 if (ra && trace_buffer->stop != ZEND_JIT_TRACE_STOP_LOOP) { in zend_jit_trace()
4278 if (ra && ra[i] && (ra[i]->flags & ZREG_LOAD) != 0) { in zend_jit_trace()
4279 SET_STACK_REG_EX(stack, i, ra[i]->reg, ZREG_LOAD); in zend_jit_trace()
4280 if (!zend_jit_load_var(&dasm_state, ssa->var_info[i].type, i, ra[i]->reg)) { in zend_jit_trace()
5270 if (ra) { in zend_jit_trace()
5271 zend_jit_trace_clenup_stack(stack, opline, ssa_op, ssa, ra); in zend_jit_trace()
5318 if (ra) { in zend_jit_trace()
5319 zend_jit_trace_clenup_stack(stack, opline, ssa_op, ssa, ra); in zend_jit_trace()
5383 if (ra) { in zend_jit_trace()
5384 zend_jit_trace_clenup_stack(stack, opline, ssa_op, ssa, ra); in zend_jit_trace()
5519 if (ra) { in zend_jit_trace()
5520 zend_jit_trace_clenup_stack(stack, opline, ssa_op, ssa, ra); in zend_jit_trace()
5771 if (ra) { in zend_jit_trace()
5772 zend_jit_trace_clenup_stack(stack, opline, ssa_op, ssa, ra); in zend_jit_trace()
6251 if (ra) { in zend_jit_trace()
6252 zend_jit_trace_clenup_stack(stack, opline, ssa_op, ssa, ra); in zend_jit_trace()
6315 (gen_handler || type == IS_UNKNOWN || !ra || !ra[ssa_op->result_def])); in zend_jit_trace()
6326 } else if (ra && ra[ssa_op->result_def]) { in zend_jit_trace()
6327 SET_STACK_REG_EX(stack, EX_VAR_TO_NUM(opline->result.var), ra[ssa_op->result_def]->reg, in zend_jit_trace()
6328 ra[ssa_op->result_def]->flags & ZREG_STORE); in zend_jit_trace()
6370 (gen_handler || type == IS_UNKNOWN || !ra || in zend_jit_trace()
6371 (!ra[ssa_op->op1_def] && in zend_jit_trace()
6382 if (ra && ra[ssa_op->op1_def]) { in zend_jit_trace()
6383 uint8_t flags = ra[ssa_op->op1_def]->flags & ZREG_STORE; in zend_jit_trace()
6393 if (!ra[ssa_op->op1_use]) { in zend_jit_trace()
6398 SET_STACK_REG_EX(stack, EX_VAR_TO_NUM(opline->op1.var), ra[ssa_op->op1_def]->reg, flags); in zend_jit_trace()
6424 (gen_handler || type == IS_UNKNOWN || !ra || in zend_jit_trace()
6425 (!ra[ssa_op->op2_def] && in zend_jit_trace()
6431 if (ra && ra[ssa_op->op2_def]) { in zend_jit_trace()
6432 uint8_t flags = ra[ssa_op->op2_def]->flags & ZREG_STORE; in zend_jit_trace()
6436 if (!ra[ssa_op->op2_use] in zend_jit_trace()
6437 || ra[ssa_op->op2_use]->reg != ra[ssa_op->op2_def]->reg) { in zend_jit_trace()
6442 SET_STACK_REG_EX(stack, EX_VAR_TO_NUM(opline->op2.var), ra[ssa_op->op2_def]->reg, flags); in zend_jit_trace()
6480 (gen_handler || type == IS_UNKNOWN || !ra || !ra[ssa_op->op1_def])); in zend_jit_trace()
6483 if (ra && ra[ssa_op->op1_def]) { in zend_jit_trace()
6484 SET_STACK_REG_EX(stack, EX_VAR_TO_NUM(opline->op1.var), ra[ssa_op->op1_def]->reg, in zend_jit_trace()
6485 ra[ssa_op->op1_def]->flags & ZREG_STORE); in zend_jit_trace()
6511 (gen_handler || !ra || !ra[ssa_op->result_def])); in zend_jit_trace()
6512 if (ra && ra[ssa_op->result_def]) { in zend_jit_trace()
6513 SET_STACK_REG_EX(stack, EX_VAR_TO_NUM(opline->result.var), ra[ssa_op->result_def]->reg, in zend_jit_trace()
6514 ra[ssa_op->result_def]->flags & ZREG_STORE); in zend_jit_trace()
6533 (gen_handler || !ra || !ra[ssa_op->op1_def])); in zend_jit_trace()
6534 if (ra && ra[ssa_op->op1_def]) { in zend_jit_trace()
6535 SET_STACK_REG_EX(stack, EX_VAR_TO_NUM(opline->op1.var), ra[ssa_op->op1_def]->reg, in zend_jit_trace()
6536 ra[ssa_op->op1_def]->flags & ZREG_STORE); in zend_jit_trace()
6615 if (ra) { in zend_jit_trace()
6619 if (ra[j] && (ra[j]->flags & ZREG_LOAD) != 0) { in zend_jit_trace()
6620 SET_STACK_REG_EX(stack, i, ra[j]->reg, ZREG_LOAD); in zend_jit_trace()
6621 if (!zend_jit_load_var(&dasm_state, ssa->var_info[j].type, i, ra[j]->reg)) { in zend_jit_trace()
6656 if (ra) { in zend_jit_trace()
6659 if (ra[j] && (ra[j]->flags & ZREG_LOAD) != 0) { in zend_jit_trace()
6660 SET_STACK_REG_EX(stack, i, ra[j]->reg, ZREG_LOAD); in zend_jit_trace()
6661 if (!zend_jit_load_var(&dasm_state, ssa->var_info[j].type, i, ra[j]->reg)) { in zend_jit_trace()
6861 if (ra) { in zend_jit_trace()
6865 if (ra[phi->ssa_var] in zend_jit_trace()
6866 && ra[phi->sources[1]] in zend_jit_trace()
6868 && (ra[phi->ssa_var]->flags & (ZREG_LOAD|ZREG_STORE)) == 0 in zend_jit_trace()
6869 && (ra[phi->sources[1]]->flags & (ZREG_LOAD|ZREG_STORE)) == 0) { in zend_jit_trace()
6894 || (ra in zend_jit_trace()
6912 if (ra in zend_jit_trace()