Home
last modified time | relevance | path

Searched refs:used_stack (Results 1 – 11 of 11) sorted by relevance

/php-src/Zend/
H A Dzend_execute.h269 static zend_always_inline zend_execute_data *zend_vm_stack_push_call_frame_ex(uint32_t used_stack, … in zend_vm_stack_push_call_frame_ex() argument
275 if (UNEXPECTED(used_stack > (size_t)(((char*)EG(vm_stack_end)) - (char*)call))) { in zend_vm_stack_push_call_frame_ex()
276 call = (zend_execute_data*)zend_vm_stack_extend(used_stack); in zend_vm_stack_push_call_frame_ex()
281 EG(vm_stack_top) = (zval*)((char*)call + used_stack); in zend_vm_stack_push_call_frame_ex()
289 uint32_t used_stack = ZEND_CALL_FRAME_SLOT + num_args + func->common.T; in zend_vm_calc_used_stack() local
292 used_stack += func->op_array.last_var - MIN(func->op_array.num_args, num_args); in zend_vm_calc_used_stack()
294 return used_stack * sizeof(zval); in zend_vm_calc_used_stack()
299 uint32_t used_stack = zend_vm_calc_used_stack(num_args, func); in zend_vm_stack_push_call_frame() local
301 return zend_vm_stack_push_call_frame_ex(used_stack, call_info, in zend_vm_stack_push_call_frame()
H A Dzend_generators.c63 size_t used_stack; in zend_generator_freeze_call_stack() local
68 used_stack = 0; in zend_generator_freeze_call_stack()
71 used_stack += ZEND_CALL_FRAME_SLOT + ZEND_CALL_NUM_ARGS(call); in zend_generator_freeze_call_stack()
75 stack = emalloc(used_stack * sizeof(zval)); in zend_generator_freeze_call_stack()
82 new_call = (zend_execute_data*)(stack + used_stack - frame_size); in zend_generator_freeze_call_stack()
84 used_stack -= frame_size; in zend_generator_freeze_call_stack()
H A Dzend_execute.c4402 int used_stack = (EG(vm_stack_top) - (zval*)call) + additional_args; in zend_vm_stack_copy_call_frame() local
4405 new_call = zend_vm_stack_extend(used_stack * sizeof(zval)); in zend_vm_stack_copy_call_frame()
5520 static zend_always_inline zend_execute_data *_zend_vm_stack_push_call_frame_ex(uint32_t used_stack,… in _zend_vm_stack_push_call_frame_ex() argument
5526 if (UNEXPECTED(used_stack > (size_t)(((char*)EG(vm_stack_end)) - (char*)call))) { in _zend_vm_stack_push_call_frame_ex()
5528 call = (zend_execute_data*)zend_vm_stack_extend(used_stack); in _zend_vm_stack_push_call_frame_ex()
5533 EG(vm_stack_top) = (zval*)((char*)call + used_stack); in _zend_vm_stack_push_call_frame_ex()
5541 uint32_t used_stack = zend_vm_calc_used_stack(num_args, func); in _zend_vm_stack_push_call_frame() local
5543 return _zend_vm_stack_push_call_frame_ex(used_stack, call_info, in _zend_vm_stack_push_call_frame()
H A Dzend_vm_def.h4598 uint32_t num_args, used_stack, call_info; variable
4613used_stack = (ZEND_CALL_FRAME_SLOT + EX(func)->op_array.last_var + EX(func)->op_array.T) * sizeof(…
4614 gen_execute_data = (zend_execute_data*)emalloc(used_stack);
4615 used_stack = (ZEND_CALL_FRAME_SLOT + EX(func)->op_array.last_var) * sizeof(zval);
4617used_stack = (ZEND_CALL_FRAME_SLOT + num_args + EX(func)->op_array.last_var + EX(func)->op_array.T…
4618 gen_execute_data = (zend_execute_data*)emalloc(used_stack);
4620 memcpy(gen_execute_data, execute_data, used_stack);
H A Dzend_vm_execute.h2215 uint32_t num_args, used_stack, call_info; in ZEND_GENERATOR_CREATE_SPEC_HANDLER() local
2230used_stack = (ZEND_CALL_FRAME_SLOT + EX(func)->op_array.last_var + EX(func)->op_array.T) * sizeof(… in ZEND_GENERATOR_CREATE_SPEC_HANDLER()
2231 gen_execute_data = (zend_execute_data*)emalloc(used_stack); in ZEND_GENERATOR_CREATE_SPEC_HANDLER()
2232 used_stack = (ZEND_CALL_FRAME_SLOT + EX(func)->op_array.last_var) * sizeof(zval); in ZEND_GENERATOR_CREATE_SPEC_HANDLER()
2234used_stack = (ZEND_CALL_FRAME_SLOT + num_args + EX(func)->op_array.last_var + EX(func)->op_array.T… in ZEND_GENERATOR_CREATE_SPEC_HANDLER()
2235 gen_execute_data = (zend_execute_data*)emalloc(used_stack); in ZEND_GENERATOR_CREATE_SPEC_HANDLER()
2237 memcpy(gen_execute_data, execute_data, used_stack); in ZEND_GENERATOR_CREATE_SPEC_HANDLER()
/php-src/ext/opcache/jit/
H A Dzend_jit_trace.c1295 int used_stack; member
1798 frame->used_stack = 0; in zend_jit_trace_build_tssa()
2478 call->used_stack = 0; in zend_jit_trace_build_tssa()
2595 if (used_stack > 0) { in zend_jit_trace_build_tssa()
2596 used_stack -= frame->used_stack; in zend_jit_trace_build_tssa()
2605 frame->used_stack = 0; in zend_jit_trace_build_tssa()
2612 call->used_stack = 0; in zend_jit_trace_build_tssa()
2620 if (used_stack >= 0 in zend_jit_trace_build_tssa()
2638 used_stack += frame->used_stack; in zend_jit_trace_build_tssa()
4184 int used_stack = ((zend_tssa*)ssa)->used_stack; in zend_jit_trace() local
[all …]
H A Dzend_jit_internal.h550 int used_stack; member
H A Dzend_jit_helpers.c299 static zend_execute_data* ZEND_FASTCALL zend_jit_extend_stack_helper(uint32_t used_stack, zend_func… in zend_jit_extend_stack_helper() argument
301 zend_execute_data *call = (zend_execute_data*)zend_vm_stack_extend(used_stack); in zend_jit_extend_stack_helper()
307 static zend_execute_data* ZEND_FASTCALL zend_jit_int_extend_stack_helper(uint32_t used_stack) in zend_jit_int_extend_stack_helper() argument
309 zend_execute_data *call = (zend_execute_data*)zend_vm_stack_extend(used_stack); in zend_jit_int_extend_stack_helper()
H A Dzend_jit_ir.c8332 static int zend_jit_stack_check(zend_jit_ctx *jit, const zend_op *opline, uint32_t used_stack) in zend_jit_stack_check() argument
8345 ir_CONST_ADDR(used_stack)), in zend_jit_stack_check()
8368 uint32_t used_stack; local
8375 used_stack = zend_vm_calc_used_stack(opline->extended_value, func);
8376 if ((int)used_stack <= checked_stack) {
8379 used_stack_ref = ir_CONST_ADDR(used_stack);
8384used_stack = (ZEND_CALL_FRAME_SLOT + opline->extended_value + ZEND_OBSERVER_ENABLED) * sizeof(zval…
8385 used_stack_ref = ir_CONST_ADDR(used_stack);
/php-src/ext/opcache/jit/ir/
H A Dir_aarch64.dasc4617 int32_t used_stack = 0;
4645 return used_stack;
4681 used_stack = 0;
4685 used_stack = IR_ALIGNED_SIZE(used_stack, 16);
4687 used_stack = 0;
4690 if (used_stack) {
4696 | sub sp, sp, #used_stack
4839 return used_stack;
4868 if (used_stack) {
4869 | add sp, sp, #used_stack
[all …]
H A Dir_x86.dasc8456 int32_t used_stack = 0;
8491 used_stack += IR_SHADOW_ARGS;
8493 return used_stack;
8543 used_stack = 0;
8548 && used_stack == IR_SHADOW_ARGS) {
8549 used_stack = 0;
8557 used_stack = 0;
8767 return used_stack;
8820 if (used_stack) {
8825 aligned_stack -= used_stack;
[all …]

Completed in 253 milliseconds