Home
last modified time | relevance | path

Searched refs:opcodes (Results 26 – 50 of 51) sorted by relevance

123

/PHP-7.3/Zend/
H A Dzend_compile.h409 zend_op *opcodes; member
589 ((char*)&(op_array)->opcodes[opline_num] - (char*)(opline))
595 (ZEND_OFFSET_TO_OPLINE(base, offset) - op_array->opcodes)
609 (node).jmp_addr = (op_array)->opcodes + (node).opline_num; \
614 (node).opline_num = (node).jmp_addr - (op_array)->opcodes; \
H A Dzend_compile.c106 op_array->opcodes = erealloc(op_array->opcodes, CG(context).opcodes_size * sizeof(zend_op)); in get_next_op()
109 next_op = &(op_array->opcodes[next_op_num]); in get_next_op()
735 while (opline >= CG(active_op_array)->opcodes) { in zend_do_free()
1065 old_function->op_array.opcodes[0].lineno); in do_bind_function()
1264 zend_op *opline = op_array->opcodes; in zend_build_delayed_early_binding_list()
1269 *prev_opline_num = opline - op_array->opcodes; in zend_build_delayed_early_binding_list()
1959 while (def != CG(active_op_array)->opcodes) { in zend_find_live_range()
2020 def + 1 - CG(active_op_array)->opcodes), in zend_find_live_range()
2021 opline - CG(active_op_array)->opcodes, in zend_find_live_range()
4601 uint32_t opnum = opline - op_array->opcodes; in zend_resolve_goto_label()
[all …]
H A Dzend_execute.c1248 end = EG(current_execute_data)->func->op_array.opcodes + in zend_wrong_string_offset()
2478 opline = op_array->opcodes; in i_init_func_execute_data()
2480 EX(opline) = op_array->opcodes; in i_init_func_execute_data()
2583 EX(opline) = op_array->opcodes; in i_init_code_execute_data()
2713 zend_op *opline = EX(func)->op_array.opcodes + op_num; in cleanup_unfinished_calls()
2877 zend_op *last = EX(func)->op_array.opcodes + op_num; in cleanup_live_vars()
2880 ZEND_ASSERT(last >= EX(func)->op_array.opcodes); in cleanup_live_vars()
H A Dzend_inheritance.c493 zend_op *op = fptr->op_array.opcodes; in zend_get_function_declaration()
1186 if (existing_fn->op_array.opcodes == fn->op_array.opcodes && in zend_add_trait_method()
H A Dzend_vm_def.h6916 ZEND_VM_JMP_EX(&EX(func)->op_array.opcodes[try_catch->catch_op], 0);
6920 zval *fast_call = EX_VAR(EX(func)->op_array.opcodes[try_catch->finally_end].op1.var);
6925 ZEND_VM_JMP_EX(&EX(func)->op_array.opcodes[try_catch->finally_op], 0);
6928 zval *fast_call = EX_VAR(EX(func)->op_array.opcodes[try_catch->finally_end].op1.var);
6933 zval *return_value = EX_VAR(EX(func)->op_array.opcodes[Z_OPLINE_NUM_P(fast_call)].op2.var);
6966 uint32_t throw_op_num = throw_op - EX(func)->op_array.opcodes;
7399 && (EX(func)->op_array.opcodes[Z_OPLINE_NUM_P(fast_call)].op2_type & (IS_TMP_VAR | IS_VAR))) {
7400 zval *return_value = EX_VAR(EX(func)->op_array.opcodes[Z_OPLINE_NUM_P(fast_call)].op2.var);
7422 Z_OPLINE_NUM_P(fast_call) = opline - EX(func)->op_array.opcodes;
7433 const zend_op *fast_ret = EX(func)->op_array.opcodes + Z_OPLINE_NUM_P(fast_call);
[all …]
H A Dzend_execute_API.c69 active_opline-EG(active_op_array)->opcodes,
H A Dzend_object_handlers.c1167 func->opcodes = &EG(call_trampoline_op); in zend_get_call_trampoline_func()
H A Dzend_vm_execute.h1699 ZEND_VM_JMP_EX(&EX(func)->op_array.opcodes[try_catch->catch_op], 0);
1703 zval *fast_call = EX_VAR(EX(func)->op_array.opcodes[try_catch->finally_end].op1.var);
1708 ZEND_VM_JMP_EX(&EX(func)->op_array.opcodes[try_catch->finally_op], 0);
1711 zval *fast_call = EX_VAR(EX(func)->op_array.opcodes[try_catch->finally_end].op1.var);
1716 zval *return_value = EX_VAR(EX(func)->op_array.opcodes[Z_OPLINE_NUM_P(fast_call)].op2.var);
1749 uint32_t throw_op_num = throw_op - EX(func)->op_array.opcodes;
1859 && (EX(func)->op_array.opcodes[Z_OPLINE_NUM_P(fast_call)].op2_type & (IS_TMP_VAR | IS_VAR))) {
1860 zval *return_value = EX_VAR(EX(func)->op_array.opcodes[Z_OPLINE_NUM_P(fast_call)].op2.var);
1882 Z_OPLINE_NUM_P(fast_call) = opline - EX(func)->op_array.opcodes;
1893 const zend_op *fast_ret = EX(func)->op_array.opcodes + Z_OPLINE_NUM_P(fast_call);
[all …]
/PHP-7.3/ext/opcache/Optimizer/
H A Dzend_ssa.c177 while (op != op_array->opcodes) { in find_adjusted_tmp_var()
244 zend_op *opline = op_array->opcodes + blocks[j].start + blocks[j].len - 1; in place_essa_pis()
559 opline = op_array->opcodes + blocks[n].start; in zend_ssa_rename()
562 uint32_t k = opline - op_array->opcodes; in zend_ssa_rename()
1059 ssa_vars[op->op1_def].var = EX_VAR_TO_NUM(op_array->opcodes[i].op1.var); in zend_ssa_compute_use_def_chains()
1063 ssa_vars[op->op2_def].var = EX_VAR_TO_NUM(op_array->opcodes[i].op2.var); in zend_ssa_compute_use_def_chains()
1067 ssa_vars[op->result_def].var = EX_VAR_TO_NUM(op_array->opcodes[i].result.var); in zend_ssa_compute_use_def_chains()
1425 if (op_array->opcodes[j].opcode == ZEND_NOP) { in zend_ssa_remove_block()
1429 if (op_array->opcodes[j].result_type & (IS_TMP_VAR|IS_VAR)) { in zend_ssa_remove_block()
1430 zend_optimizer_remove_live_range_ex(op_array, op_array->opcodes[j].result.var, j); in zend_ssa_remove_block()
[all …]
H A Dsccp.c1253 call = ctx->call_map[opline - ctx->scdf.op_array->opcodes]; in sccp_visit_instr()
1260 ssa_op = &ctx->scdf.ssa->ops[opline - ctx->scdf.op_array->opcodes]; in sccp_visit_instr()
1778 call = ctx->call_map[opline - ctx->scdf.op_array->opcodes]; in sccp_visit_instr()
1800 &ctx->scdf.ssa->ops[opline - ctx->scdf.op_array->opcodes]); in sccp_visit_instr()
2110 call = ctx->call_map[opline - op_array->opcodes]; in remove_call()
2115 &ssa->ops[call->caller_init_opline - op_array->opcodes]); in remove_call()
2119 &ssa->ops[call->arg_info[i].opline - op_array->opcodes]); in remove_call()
2148 zend_op *opline = &op_array->opcodes[var->definition]; in try_remove_definition()
2378 zend_op *opline = &op_array->opcodes[use]; in replace_constant_operands()
H A Dssa_integrity.c110 (i), (zend_get_opcode_name(op_array->opcodes[i].opcode))
179 zend_op *opline = &op_array->opcodes[i]; in ssa_verify_integrity()
H A Dzend_dfg.c47 opline = op_array->opcodes + blocks[j].start; in zend_build_dfg()
H A Dcompact_literals.c137 opline = op_array->opcodes; in zend_optimizer_compact_literals()
518 opline = op_array->opcodes; in zend_optimizer_compact_literals()
810 opline = op_array->opcodes; in zend_optimizer_compact_literals()
H A Dpass1_5.c40 zend_op *opline = op_array->opcodes; in zend_optimizer_pass1()
/PHP-7.3/ext/opcache/
H A Dzend_persist_calc.c163 if (zend_shared_alloc_get_xlat_entry(op_array->opcodes)) { in zend_persist_op_array_calc_ex()
184 ADD_DUP_SIZE(op_array->opcodes, sizeof(zend_op) * op_array->last); in zend_persist_op_array_calc_ex()
H A Dzend_accelerator_util_funcs.c497 CG(zend_lineno) = function1->op_array.opcodes[0].lineno; in zend_accel_function_hash_copy()
503 (int)function2->op_array.opcodes[0].lineno); in zend_accel_function_hash_copy()
541 CG(zend_lineno) = function1->op_array.opcodes[0].lineno; in zend_accel_function_hash_copy_from_shm()
547 (int)function2->op_array.opcodes[0].lineno); in zend_accel_function_hash_copy_from_shm()
/PHP-7.3/sapi/phpdbg/
H A Dphpdbg_prompt.c544 zend_string *source_path = strpprintf(0, "Standard input code%c%p", 0, PHPDBG_G(ops)->opcodes); in phpdbg_compile_stdin()
660 const zend_op *opline = op_array->opcodes; in phpdbg_skip_line_helper()
675 } while (++opline < op_array->opcodes + op_array->last); in phpdbg_skip_line_helper()
705 const zend_op *opline = op_array->opcodes; in phpdbg_seek_to_end()
718 } while (++opline < op_array->opcodes + op_array->last); in phpdbg_seek_to_end()
1929 … (op #%lu) in %s:%u", data->opline, (data->opline - data->func->op_array.opcodes) / sizeof(data->o… in phpdbg_force_interruption()
H A Dphpdbg_utils.c754 op_num = op - op_array->opcodes; in phpdbg_check_caught_ex()
763 cur = &op_array->opcodes[catch]; in phpdbg_check_caught_ex()
H A Dphpdbg_list.c353 fake_name = strpprintf(0, "%s%c%p", filename, 0, op_array->opcodes); in phpdbg_compile_string()
H A Dphpdbg_print.c60 zend_op *opline = &(op_array->opcodes[0]); in phpdbg_print_function_helper()
H A Dphpdbg_bp.c521 opline_break.opline = brake->opline = (zend_ulong)(op_array->opcodes + brake->opline_num); in phpdbg_resolve_op_array_break()
1051 return param->type == STR_PARAM || execute_data->opline - ops->opcodes == param->num; in phpdbg_find_breakpoint_param()
1084 return param->type == METHOD_PARAM || (execute_data->opline - ops->opcodes) == param->num; in phpdbg_find_breakpoint_param()
1171 …if (execute_data->opline == op_array->opcodes + op_array->num_args + !!(op_array->fn_flags & ZEND_… in phpdbg_find_breakpoint()
H A Dphpdbg.c492 zend_op *cur = op_array->opcodes + op_array->num_args + !!(op_array->fn_flags & ZEND_ACC_VARIADIC); in phpdbg_oplog_fill_executable()
493 zend_op *end = op_array->opcodes + op_array->last; in phpdbg_oplog_fill_executable()
513 insert_idx = cur - op_array->opcodes; in phpdbg_oplog_fill_executable()
711 insert_idx = cur->op - cur->opcodes; in PHP_FUNCTION()
H A Dxml.md340 - ops: number of opcodes in current executing context
355 …intinfo num="" /> (except for print opline) with num being the number of opcodes and one of these …
380 - &lt;exec type="unsetops" />: indicates unsetting of the old compiled opcodes
/PHP-7.3/
H A DUPGRADING.INTERNALS27 x. Class declaration opcodes (DECLARE_INHERITED_CLASS ...)
53 Now at run-time literals allocated close to opcodes, and addressed
/PHP-7.3/ext/reflection/
H A Dphp_reflection.c560 zend_op *op = op_array->opcodes; in _get_recv_op()

Completed in 263 milliseconds

123