Lines Matching refs:func_ref
4545 …nd_jit_ctx *jit, const zend_function *func, ir_ref *observer_handler, ir_ref rx, ir_ref func_ref) { in jit_observer_fcall_is_unobserved_start() argument
4554 ir_LOAD_U32(ir_ADD_OFFSET(func_ref, offsetof(zend_function, common.fn_flags))), in jit_observer_fcall_is_unobserved_start()
4598 ir_ref tmp = ir_LOAD_U8(ir_ADD_OFFSET(func_ref, offsetof(zend_function, type))); in jit_observer_fcall_is_unobserved_start()
8366 …unc, bool is_closure, bool delayed_fetch_this, int checked_stack, ir_ref func_ref, ir_ref this_ref) argument
8373 ZEND_ASSERT(func_ref != IR_NULL);
8391 ir_ref tmp = ir_LOAD_U8(ir_ADD_OFFSET(func_ref, offsetof(zend_function, type)));
8403 ir_LOAD_U32(ir_ADD_OFFSET(func_ref, offsetof(zend_function, op_array.num_args)))),
8404 ir_LOAD_U32(ir_ADD_OFFSET(func_ref, offsetof(zend_function, op_array.last_var)))),
8405 ir_LOAD_U32(ir_ADD_OFFSET(func_ref, offsetof(zend_function, op_array.T))));
8411 ir_LOAD_U32(ir_ADD_OFFSET(func_ref, offsetof(zend_closure, func.op_array.num_args)))),
8412 ir_LOAD_U32(ir_ADD_OFFSET(func_ref, offsetof(zend_closure, func.op_array.last_var)))),
8413 ir_LOAD_U32(ir_ADD_OFFSET(func_ref, offsetof(zend_closure, func.op_array.T))));
8454 jit->trace->exit_info[exit_point].poly_func_ref = func_ref;
8472 ref = func_ref;
8474 ref = ir_ADD_OFFSET(func_ref, offsetof(zend_closure, func));
8523 ir_STORE(jit_CALL(rx, func), func_ref);
8527 ir_STORE(jit_CALL(rx, func), func_ref);
8530 ir_STORE(jit_CALL(rx, func), ir_ADD_OFFSET(func_ref, offsetof(zend_closure, func)));
8576 jit_GC_ADDREF(jit, func_ref);
8580 object_or_called_scope = ir_LOAD_A(ir_ADD_OFFSET(func_ref, offsetof(zend_closure, called_scope)));
8586 ir_LOAD_U32(ir_ADD_OFFSET(func_ref, offsetof(zend_closure, func.common.fn_flags))),
8590 if_cond = ir_IF(ir_LOAD_U8(ir_ADD_OFFSET(func_ref, offsetof(zend_closure, this_ptr.u1.v.type))));
8597 object = ir_LOAD_A(ir_ADD_OFFSET(func_ref, offsetof(zend_closure, this_ptr.value.ptr)));
8611 …if_cond = ir_IF(ir_LOAD_A(ir_ADD_OFFSET(func_ref, offsetof(zend_closure, func.op_array.run_time_ca…
8616 ir_ADD_OFFSET(func_ref, offsetof(zend_closure, func)));
8687 ir_ref func_ref = IR_UNUSED; local
8726 func_ref = ir_CONST_ADDR(func);
8731 func_ref = ir_LOAD_A(jit_EX(func));
8733 func_ref = ir_CONST_ADDR(func);
8740 func_ref = ir_LOAD_A(cache_slot_ref);
8746 if_func = ir_IF(ir_EQ(func_ref, ir_CONST_ADDR(func)));
8748 if_func = ir_IF(func_ref);
8804 func_ref = ir_PHI_2(IR_ADDR, ref, func_ref);
8807 …if (!zend_jit_push_call_frame(jit, opline, op_array, func, 0, 0, checked_stack, func_ref, IR_UNUSE…
8856 ir_ref if_static = IR_UNUSED, cold_path, this_ref = IR_NULL, func_ref = IR_NULL; local
8876 func_ref = zend_jit_deopt_rload(jit, IR_ADDR, func_reg);
8995 func_ref = ir_PHI_2(IR_ADDR, ref2, ref);
9016 jit->trace->exit_info[exit_point].poly_func_ref = func_ref;
9029 ir_LOAD_A(ir_ADD_OFFSET(func_ref, offsetof(zend_op_array, opcodes))),
9033 ir_GUARD(ir_EQ(func_ref, ir_CONST_ADDR(func)), ir_CONST_ADDR(exit_addr));
9040 ir_LOAD_U32(ir_ADD_OFFSET(func_ref, offsetof(zend_function, common.fn_flags))),
9051 func_ref,
9056 func_ref,
9072 …sh_call_frame(jit, opline, NULL, func, 0, delayed_fetch_this, checked_stack, func_ref, this_ref)) {
9117 ir_ref func_ref, func_ref2, scope_ref, scope_ref2, if_cached, cold_path, ref; local
9158 …func_ref = ir_LOAD_A(ir_ADD_OFFSET(ir_LOAD_A(jit_EX(run_time_cache)), opline->result.num + sizeof(…
9161 if_cached = ir_IF(func_ref);
9181 func_ref = ir_PHI_2(IR_ADDR, func_ref2, func_ref);
9214 ir_LOAD_A(ir_ADD_OFFSET(func_ref, offsetof(zend_op_array, opcodes))),
9218 ir_GUARD(ir_EQ(func_ref, ir_CONST_ADDR(func)), ir_CONST_ADDR(exit_addr));
9226 ir_LOAD_U32(ir_ADD_OFFSET(func_ref, offsetof(zend_function, common.fn_flags))),
9233 func_ref,
9254 …if (!zend_jit_push_call_frame(jit, opline, op_array, func, 0, 0, checked_stack, func_ref, scope_re…
9937 ir_ref rx, func_ref = IR_UNUSED, if_user = IR_UNUSED, user_path = IR_UNUSED; local
10028 func_ref = ir_LOAD_A(jit_CALL(rx, func));
10031 ir_LOAD_U32(ir_ADD_OFFSET(func_ref, offsetof(zend_op_array, fn_flags))),
10050 if (!func_ref) {
10051 func_ref = ir_LOAD_A(jit_CALL(rx, func));
10061 ir_LOAD_U32(ir_ADD_OFFSET(func_ref, offsetof(zend_op_array, fn_flags))),
10088 ir_ref type_ref = ir_LOAD_U8(ir_ADD_OFFSET(func_ref, offsetof(zend_function, type)));
10124 ir_ref local_func_ref = func_ref ? func_ref : ir_LOAD_A(jit_CALL(rx, func));
10129 ir_ref local_func_ref = func_ref ? func_ref : ir_LOAD_A(jit_CALL(rx, func));
10175 if (!func_ref) {
10176 func_ref = ir_LOAD_A(jit_CALL(rx, func));
10178 ir_ref ip = ir_LOAD_A(ir_ADD_OFFSET(func_ref, offsetof(zend_op_array, opcodes)));
10198 if (!func_ref) {
10199 func_ref = ir_LOAD_A(jit_CALL(rx, func));
10201 ip = ir_LOAD_A(ir_ADD_OFFSET(func_ref, offsetof(zend_op_array, opcodes)));
10219 if (!func_ref) {
10220 func_ref = ir_LOAD_A(jit_CALL(rx, func));
10222 ip = ir_LOAD_A(ir_ADD_OFFSET(func_ref, offsetof(zend_op_array, opcodes)));
10234 ZEND_ASSERT(func_ref);
10235 first_extra_arg = ir_LOAD_U32(ir_ADD_OFFSET(func_ref, offsetof(zend_op_array, num_args)));
10252 ir_LOAD_U32(ir_ADD_OFFSET(func_ref, offsetof(zend_op_array, fn_flags))),
10284 ZEND_ASSERT(func_ref);
10285 last_var = ir_LOAD_U32(ir_ADD_OFFSET(func_ref, offsetof(zend_op_array, last_var)));
10317 …observed_data = jit_observer_fcall_is_unobserved_start(jit, func, &observer_handler, rx, func_ref);
10428 …server_fcall_is_unobserved_start(jit, func, &observer_handler, rx, func_ref ? func_ref : ir_LOAD_A…
10463 func_ptr = ir_LOAD_A(ir_ADD_OFFSET(func_ref, offsetof(zend_internal_function, handler)));