Lines Matching refs:idx

360 	trace_buffer[idx].info = _op | (_info); \
361 trace_buffer[idx].ptr = _ptr; \
362 idx++; \
363 if (idx >= ZEND_JIT_TRACE_MAX_LENGTH - 2) { \
369 trace_buffer[idx].op = _op; \
370 trace_buffer[idx].op1_type = _op1_type; \
371 trace_buffer[idx].op2_type = _op2_type; \
372 trace_buffer[idx].op3_type = _op3_type; \
373 trace_buffer[idx].ptr = _ptr; \
374 idx++; \
375 if (idx >= ZEND_JIT_TRACE_MAX_LENGTH - 2) { \
387 idx = ZEND_JIT_TRACE_START_REC_SIZE;
390 trace_buffer[1].last = idx; \
391 trace_buffer[idx].op = _op; \
392 trace_buffer[idx].start = trace_buffer[idx].start; \
393 trace_buffer[idx].stop = trace_buffer[0].stop = _stop; \
394 trace_buffer[idx].level = trace_buffer[0].level = ret_level ? ret_level + 1 : 0; \
395 trace_buffer[idx].ptr = _ptr;
454 …nit_call_ex(zend_execute_data *call, zend_jit_trace_rec *trace_buffer, int idx, uint32_t is_megamo… in zend_jit_trace_record_fake_init_call_ex() argument
463idx = zend_jit_trace_record_fake_init_call_ex(call->prev_execute_data, trace_buffer, idx, is_megam… in zend_jit_trace_record_fake_init_call_ex()
464 if (idx < 0) { in zend_jit_trace_record_fake_init_call_ex()
465 return idx; in zend_jit_trace_record_fake_init_call_ex()
498 return idx; in zend_jit_trace_record_fake_init_call_ex()
501 …e_init_call(zend_execute_data *call, zend_jit_trace_rec *trace_buffer, int idx, uint32_t is_megamo… in zend_jit_trace_record_fake_init_call() argument
503 return zend_jit_trace_record_fake_init_call_ex(call, trace_buffer, idx, is_megamorphic, 0); in zend_jit_trace_record_fake_init_call()
508 int idx; in zend_jit_trace_subtrace() local
511 memmove(trace_buffer + idx, trace_buffer + start, (end - start) * sizeof(zend_jit_trace_rec)); in zend_jit_trace_subtrace()
512 return idx + (end - start); in zend_jit_trace_subtrace()
561 int idx, count; local
610 int ret = zend_jit_trace_record_fake_init_call(prev_call, trace_buffer, idx, is_megamorphic);
619 idx = ret;
921 backtrack_recursion = idx;
950 backtrack_ret_recursion = idx;
962 int ret = zend_jit_trace_record_fake_init_call(prev_call, trace_buffer, idx, 0);
967 idx = ret;
1086 backtrack_link_to_enter = idx;
1125 idx = zend_jit_trace_subtrace(trace_buffer,
1126 last_loop, idx, ZEND_JIT_TRACE_START_LOOP, op_array, opline);
1132 last_loop = idx;
1151 idx = backtrack_recursion;
1155 idx = backtrack_ret_recursion;
1163 idx = backtrack_link_to_enter;
1172 while (trace_buffer[idx-1].op == ZEND_JIT_TRACE_INIT_CALL
1173 && (trace_buffer[idx-1].info & ZEND_JIT_TRACE_FAKE_INIT_CALL)) {
1174 idx--;