Lines Matching refs:stack_size

139 	uint32_t stack_size;  in zend_jit_trace_get_exit_point()  local
148 stack_size = op_array->last_var + op_array->T; in zend_jit_trace_get_exit_point()
149 if (stack_size) { in zend_jit_trace_get_exit_point()
152 if (STACK_TYPE(stack, stack_size-1) != IS_UNKNOWN in zend_jit_trace_get_exit_point()
153 || STACK_MEM_TYPE(stack, stack_size-1) != IS_UNKNOWN in zend_jit_trace_get_exit_point()
154 || STACK_REF(stack, stack_size-1) != IR_UNUSED in zend_jit_trace_get_exit_point()
158 stack_size--; in zend_jit_trace_get_exit_point()
159 } while (stack_size); in zend_jit_trace_get_exit_point()
163 stack_size = 0; in zend_jit_trace_get_exit_point()
174 if (stack_size == 0 in zend_jit_trace_get_exit_point()
175 || (t->exit_info[i].stack_size >= stack_size in zend_jit_trace_get_exit_point()
176 …&& memcmp(t->stack_map + t->exit_info[i].stack_offset, stack, stack_size * sizeof(zend_jit_trace_s… in zend_jit_trace_get_exit_point()
179 && t->exit_info[i].stack_size == stack_size) { in zend_jit_trace_get_exit_point()
188 if (stack_size != 0 && stack_offset == (uint32_t)-1) { in zend_jit_trace_get_exit_point()
190 t->stack_map_size += stack_size; in zend_jit_trace_get_exit_point()
193 memcpy(t->stack_map + stack_offset, stack, stack_size * sizeof(zend_jit_trace_stack)); in zend_jit_trace_get_exit_point()
199 t->exit_info[exit_point].stack_size = stack_size; in zend_jit_trace_get_exit_point()
1348 size_t frame_size, stack_top, stack_size, stack_bottom; in zend_jit_trace_build_tssa() local
1359 stack_top = stack_size = zend_jit_trace_frame_size(op_array, 0); in zend_jit_trace_build_tssa()
1400 if (stack_top > stack_size) { in zend_jit_trace_build_tssa()
1401 stack_size = stack_top; in zend_jit_trace_build_tssa()
1420 if (stack_top + frame_size > stack_size) { in zend_jit_trace_build_tssa()
1421 stack_size = stack_top + frame_size; in zend_jit_trace_build_tssa()
1431 if (stack_top > stack_size) { in zend_jit_trace_build_tssa()
1432 stack_size = stack_top; in zend_jit_trace_build_tssa()
1483 …trace_stack_frame*)((char*)zend_arena_alloc(&CG(arena), stack_bottom + stack_size) + stack_bottom); in zend_jit_trace_build_tssa()
1738 parent_vars_count = MIN(zend_jit_traces[parent_trace].exit_info[exit_num].stack_size, in zend_jit_trace_build_tssa()
2868 zend_jit_traces[parent_trace].exit_info[exit_num].stack_size : 0; in zend_jit_trace_allocate_registers()
3494 …tic int zend_jit_trace_stack_needs_deoptimization(zend_jit_trace_stack *stack, uint32_t stack_size) in zend_jit_trace_stack_needs_deoptimization() argument
3498 for (i = 0; i < stack_size; i++) { in zend_jit_trace_stack_needs_deoptimization()
3512 uint32_t stack_size; in zend_jit_trace_exit_needs_deoptimization() local
3519 stack_size = zend_jit_traces[trace_num].exit_info[exit_num].stack_size; in zend_jit_trace_exit_needs_deoptimization()
3521 return zend_jit_trace_stack_needs_deoptimization(stack, stack_size); in zend_jit_trace_exit_needs_deoptimization()
4194 parent_vars_count = MIN(zend_jit_traces[parent_trace].exit_info[exit_num].stack_size, in zend_jit_trace()
7417 uint32_t stack_size; in zend_jit_trace_exit_to_vm() local
7435 stack_size = zend_jit_traces[trace_num].exit_info[exit_num].stack_size; in zend_jit_trace_exit_to_vm()
7436 stack = zend_jit_traces[trace_num].exit_info[exit_num].stack_size ? in zend_jit_trace_exit_to_vm()
7443 stack, stack_size, NULL, NULL, in zend_jit_trace_exit_to_vm()
8002 uint32_t stack_size = t->exit_info[i].stack_size; in zend_jit_dump_exit_info() local
8003 …zend_jit_trace_stack *stack = t->exit_info[i].stack_size ? t->stack_map + t->exit_info[i].stack_of… in zend_jit_dump_exit_info()
8011 if (t->exit_info[i].stack_size) { in zend_jit_dump_exit_info()
8012 fprintf(stderr, "%04d/%d", t->exit_info[i].stack_offset, t->exit_info[i].stack_size); in zend_jit_dump_exit_info()
8036 for (j = 0; j < stack_size; j++) { in zend_jit_dump_exit_info()
8643 uint32_t stack_size = t->exit_info[exit_num].stack_size; in zend_jit_trace_exit() local
8644 …zend_jit_trace_stack *stack = stack_size ? t->stack_map + t->exit_info[exit_num].stack_offset : NU… in zend_jit_trace_exit()
8652 for (i = 0; i < stack_size; i++) { in zend_jit_trace_exit()