Lines Matching refs:ra
2812 #define RA_HAS_IVAL(var) (ra[var].ref != 0)
2813 #define RA_IVAL_FLAGS(var) ra[var].flags
2814 #define RA_IVAL_START(var, line) do {ra[var].ref = IR_NULL;} while (0)
2817 #define RA_IVAL_DEL(var) do {ra[var].ref = IR_UNUSED;} while (0)
2818 #define RA_HAS_REG(var) (ra[var].ref != 0)
2819 #define RA_REG_FLAGS(var) ra[var].flags
2820 #define RA_REG_START(var, line) do {ra[var].ref = IR_NULL;} while (0)
2821 #define RA_REG_DEL(var) do {ra[var].ref = IR_UNUSED;} while (0)
2823 static void zend_jit_trace_use_var(int line, int var, int def, int use_chain, zend_jit_reg_var *ra,… in zend_jit_trace_use_var() argument
2862 zend_jit_reg_var *ra; in zend_jit_trace_allocate_registers() local
2873 ra = zend_arena_calloc(&CG(arena), ssa->vars_count, sizeof(zend_jit_reg_var)); in zend_jit_trace_allocate_registers()
2972 ra, in zend_jit_trace_allocate_registers()
3004 ra, in zend_jit_trace_allocate_registers()
3020 ra, in zend_jit_trace_allocate_registers()
3108 ra, in zend_jit_trace_allocate_registers()
3375 return ra; in zend_jit_trace_allocate_registers()
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()
3393 && jit->ra[ssa_op->op2_use].ref in zend_jit_trace_cleanup_stack()
3394 && (jit->ra[ssa_op->op2_use].flags & ZREG_LAST_USE) in zend_jit_trace_cleanup_stack()
3402 && jit->ra[ssa_op->result_use].ref in zend_jit_trace_cleanup_stack()
3403 && (jit->ra[ssa_op->result_use].flags & ZREG_LAST_USE) in zend_jit_trace_cleanup_stack()
3561 if (jit->ra && jit->ra[i].ref) { in zend_jit_trace_deoptimization()
3562 SET_STACK_REF(stack, i, jit->ra[i].ref); in zend_jit_trace_deoptimization()
3601 if (jit->ra && jit->ra[i].ref) { in zend_jit_trace_deoptimization()
3604 SET_STACK_REF_EX(stack, i, jit->ra[i].ref, ZREG_LOAD); in zend_jit_trace_deoptimization()
3606 SET_STACK_REF(stack, i, jit->ra[i].ref); in zend_jit_trace_deoptimization()
3625 if (jit->ra && jit->ra[i].ref) { in zend_jit_trace_deoptimization()
3628 SET_STACK_REF_EX(stack, i, jit->ra[i].ref, ZREG_LOAD); in zend_jit_trace_deoptimization()
3630 SET_STACK_REF(stack, i, jit->ra[i].ref); in zend_jit_trace_deoptimization()
4089 zend_jit_reg_var *ra = NULL; in zend_jit_trace() local
4147 ctx.ra = ra = zend_jit_trace_allocate_registers(trace_buffer, ssa, parent_trace, exit_num); in zend_jit_trace()
4283 if (ra in zend_jit_trace()
4289 && ra[i].ref != STACK_REF(stack, i) in zend_jit_trace()
4307 SET_STACK_REF_EX(stack, i, ra[i].ref, ZREG_LOAD); in zend_jit_trace()
4322 if (ra) { in zend_jit_trace()
4330 SET_STACK_REF(stack, phi->var, ra[phi->ssa_var].ref); in zend_jit_trace()
4352 SET_STACK_REF_EX(stack, phi->var, ra[phi->ssa_var].ref, ZREG_LOAD); in zend_jit_trace()
4359 SET_STACK_REF_EX(stack, phi->var, ra[phi->ssa_var].ref, ZREG_STORE); in zend_jit_trace()
4362 SET_STACK_REF(stack, phi->var, ra[phi->ssa_var].ref); in zend_jit_trace()
4614 if (ra in zend_jit_trace()
5082 (ctx.ra && (ssa_op+1)->op1_def >= 0) ? OP1_DATA_DEF_REG_ADDR() : 0, in zend_jit_trace()
5426 if (ra) { in zend_jit_trace()
5474 if (ra) { in zend_jit_trace()
5539 if (ra) { in zend_jit_trace()
5675 if (ra) { in zend_jit_trace()
5959 if (ra) { in zend_jit_trace()
6509 if (ra) { in zend_jit_trace()
6573 (gen_handler || type == IS_UNKNOWN || !ra || !RA_HAS_REG(ssa_op->result_def))); in zend_jit_trace()
6578 if (!gen_handler && type != IS_UNKNOWN && ra && RA_HAS_REG(ssa_op->result_def)) { in zend_jit_trace()
6634 } else if (ra && RA_HAS_REG(ssa_op->result_def)) { in zend_jit_trace()
6635 SET_STACK_REF_EX(stack, EX_VAR_TO_NUM(opline->result.var), ra[ssa_op->result_def].ref, in zend_jit_trace()
6678 (gen_handler || type == IS_UNKNOWN || !ra || in zend_jit_trace()
6690 if (ra && RA_HAS_REG(ssa_op->op1_def)) { 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()
6732 (gen_handler || type == IS_UNKNOWN || !ra || in zend_jit_trace()
6739 if (ra && RA_HAS_REG(ssa_op->op2_def)) { in zend_jit_trace()
6750 SET_STACK_REF_EX(stack, EX_VAR_TO_NUM(opline->op2.var), ra[ssa_op->op2_def].ref, flags); in zend_jit_trace()
6788 (gen_handler || type == IS_UNKNOWN || !ra || !RA_HAS_REG(ssa_op->op1_def))); 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()
6819 (gen_handler || !ra || !RA_HAS_REG(ssa_op->result_def))); in zend_jit_trace()
6820 if (ra && RA_HAS_REG(ssa_op->result_def)) { in zend_jit_trace()
6821 SET_STACK_REF_EX(stack, EX_VAR_TO_NUM(opline->result.var), ra[ssa_op->result_def].ref, 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()
6924 if (ra) { in zend_jit_trace()
6942 SET_STACK_REF_EX(stack, i, ra[j].ref, ZREG_LOAD); in zend_jit_trace()
6976 if (ra) { in zend_jit_trace()
6983 SET_STACK_REF_EX(stack, i, ra[j].ref, ZREG_LOAD); in zend_jit_trace()
7182 if (ra) { in zend_jit_trace()
7216 || (ra in zend_jit_trace()
7233 if (ra in zend_jit_trace()