/PHP-8.0/ext/opcache/ |
H A D | zend_persist_calc.c | 201 if (op_array->scope && zend_shared_alloc_get_xlat_entry(op_array->opcodes)) { in zend_persist_op_array_calc_ex() 232 zend_shared_alloc_register_xlat_entry(op_array->opcodes, op_array->opcodes); in zend_persist_op_array_calc_ex()
|
H A D | zend_accelerator_util_funcs.c | 467 CG(zend_lineno) = function1->op_array.opcodes[0].lineno; in zend_accel_function_hash_copy() 473 (int)function2->op_array.opcodes[0].lineno); in zend_accel_function_hash_copy() 511 CG(zend_lineno) = function1->op_array.opcodes[0].lineno; in zend_accel_function_hash_copy_from_shm() 517 (int)function2->op_array.opcodes[0].lineno); in zend_accel_function_hash_copy_from_shm()
|
H A D | ZendAccelerator.c | 3944 zend_op *opline = op_array->opcodes; 4075 zend_op *opline = script->script.main_op_array.opcodes; 4116 zend_op *opline = script->script.main_op_array.opcodes; 4686 script->script.main_op_array.literals = (zval*)(script->script.main_op_array.opcodes + 1); 4689 memset(script->script.main_op_array.opcodes, 0, sizeof(zend_op)); 4690 script->script.main_op_array.opcodes[0].opcode = ZEND_RETURN; 4691 script->script.main_op_array.opcodes[0].op1_type = IS_CONST; 4692 script->script.main_op_array.opcodes[0].op1.constant = 0; 4693 …t->script.main_op_array, script->script.main_op_array.opcodes, script->script.main_op_array.opcode… 4694 zend_vm_set_opcode_handler(script->script.main_op_array.opcodes);
|
/PHP-8.0/ext/opcache/Optimizer/ |
H A D | zend_dump.c | 609 fprintf(stderr, " %04u", (uint32_t)(OP_JMP_ADDR(opline, opline->op1) - op_array->opcodes)); in zend_dump_op() 671 fprintf(stderr, " %04u", (uint32_t)(OP_JMP_ADDR(opline, opline->op2) - op_array->opcodes)); in zend_dump_op() 723 len = fprintf(stderr, "%04u", (uint32_t)(opline - op_array->opcodes)); in zend_dump_op_line() 729 ssa_op = &ssa->ops[opline - op_array->opcodes]; in zend_dump_op_line() 990 opline = op_array->opcodes + b->start; in zend_dump_op_array() 1051 const zend_op *opline = op_array->opcodes; in zend_dump_op_array()
|
H A D | zend_ssa.c | 191 while (op != op_array->opcodes) { in find_adjusted_tmp_var() 249 zend_op *opline = op_array->opcodes + blocks[j].start + blocks[j].len - 1; in place_essa_pis() 826 opline = op_array->opcodes + blocks[n].start; in zend_ssa_rename() 829 uint32_t k = opline - op_array->opcodes; in zend_ssa_rename() 1101 ssa_vars[op->op1_def].var = EX_VAR_TO_NUM(op_array->opcodes[i].op1.var); in zend_ssa_compute_use_def_chains() 1105 ssa_vars[op->op2_def].var = EX_VAR_TO_NUM(op_array->opcodes[i].op2.var); in zend_ssa_compute_use_def_chains() 1109 ssa_vars[op->result_def].var = EX_VAR_TO_NUM(op_array->opcodes[i].result.var); in zend_ssa_compute_use_def_chains() 1461 if (op_array->opcodes[j].opcode == ZEND_NOP) { in zend_ssa_remove_block() 1466 zend_ssa_remove_instr(ssa, &op_array->opcodes[j], &ssa->ops[j]); in zend_ssa_remove_block()
|
H A D | sccp.c | 1229 call = ctx->call_map[opline - ctx->scdf.op_array->opcodes]; in sccp_visit_instr() 1236 ssa_op = &ctx->scdf.ssa->ops[opline - ctx->scdf.op_array->opcodes]; in sccp_visit_instr() 1816 call = ctx->call_map[opline - ctx->scdf.op_array->opcodes]; in sccp_visit_instr() 1838 &ctx->scdf.ssa->ops[opline - ctx->scdf.op_array->opcodes]); in sccp_visit_instr() 2190 call = ctx->call_map[opline - op_array->opcodes]; in remove_call() 2195 &ssa->ops[call->caller_init_opline - op_array->opcodes]); in remove_call() 2199 &ssa->ops[call->arg_info[i].opline - op_array->opcodes]); in remove_call() 2228 zend_op *opline = &op_array->opcodes[var->definition]; in try_remove_definition() 2483 zend_op *opline = &op_array->opcodes[use]; in replace_constant_operands()
|
H A D | ssa_integrity.c | 110 (i), (zend_get_opcode_name(op_array->opcodes[i].opcode)) 179 zend_op *opline = &op_array->opcodes[i]; in ssa_verify_integrity()
|
H A D | compact_literals.c | 170 opline = op_array->opcodes; in zend_optimizer_compact_literals() 526 opline = op_array->opcodes; in zend_optimizer_compact_literals() 833 opline = op_array->opcodes; in zend_optimizer_compact_literals()
|
H A D | zend_dfg.c | 276 opline = op_array->opcodes + blocks[j].start; in zend_build_dfg()
|
H A D | zend_func_info.c | 63 &ssa->ops[call_info->arg_info[0].opline - op_array->opcodes]); in zend_range_info() 65 &ssa->ops[call_info->arg_info[1].opline - op_array->opcodes]); in zend_range_info() 71 &ssa->ops[call_info->arg_info[2].opline - op_array->opcodes]); in zend_range_info()
|
/PHP-8.0/sapi/phpdbg/ |
H A D | phpdbg_prompt.c | 537 zend_string *source_path = strpprintf(0, "Standard input code%c%p", 0, PHPDBG_G(ops)->opcodes); in phpdbg_compile_stdin() 605 const zend_op *opline = op_array->opcodes; in phpdbg_skip_line_helper() 620 } while (++opline < op_array->opcodes + op_array->last); in phpdbg_skip_line_helper() 650 const zend_op *opline = op_array->opcodes; in phpdbg_seek_to_end() 663 } while (++opline < op_array->opcodes + op_array->last); in phpdbg_seek_to_end() 1881 … (op #%lu) in %s:%u", data->opline, (data->opline - data->func->op_array.opcodes) / sizeof(data->o… in phpdbg_force_interruption()
|
H A D | phpdbg_utils.c | 746 op_num = op - op_array->opcodes; in phpdbg_check_caught_ex() 755 cur = &op_array->opcodes[catch]; in phpdbg_check_caught_ex()
|
H A D | phpdbg_list.c | 350 fake_name = strpprintf(0, "%s%c%p", filename, 0, op_array->opcodes); in phpdbg_compile_string()
|
H A D | phpdbg_print.c | 58 zend_op *opline = &(op_array->opcodes[0]); in phpdbg_print_function_helper()
|
H A D | phpdbg_bp.c | 519 opline_break.opline = brake->opline = (zend_ulong)(op_array->opcodes + brake->opline_num); in phpdbg_resolve_op_array_break() 1043 return param->type == STR_PARAM || execute_data->opline - ops->opcodes == param->num; in phpdbg_find_breakpoint_param() 1076 return param->type == METHOD_PARAM || (execute_data->opline - ops->opcodes) == param->num; in phpdbg_find_breakpoint_param() 1163 …if (execute_data->opline == op_array->opcodes + op_array->num_args + !!(op_array->fn_flags & ZEND_… in phpdbg_find_breakpoint()
|
H A D | phpdbg.c | 492 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 D | xml.md | 340 - 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 - <exec type="unsetops" />: indicates unsetting of the old compiled opcodes
|
/PHP-8.0/ext/opcache/jit/ |
H A D | zend_jit_x86.dasc | 9485 const zend_op *opcodes = func->op_array.opcodes; 9493 | cmp aword [r1 + offsetof(zend_op_array, opcodes)], opcodes 9496 | cmp aword [r1 + offsetof(zend_op_array, opcodes)], opcodes 9613 const zend_op *opcodes = func->op_array.opcodes; 9620 | cmp aword [r0 + offsetof(zend_op_array, opcodes)], opcodes 9623 | cmp aword [r0 + offsetof(zend_op_array, opcodes)], opcodes 9831 const zend_op *opcodes = func->op_array.opcodes; 9838 | cmp aword [r0 + offsetof(zend_op_array, opcodes)], opcodes 9841 | cmp aword [r0 + offsetof(zend_op_array, opcodes)], opcodes 9970 opcodes = func->op_array.opcodes; [all …]
|
H A D | zend_jit_trace.c | 674 int count = opline - op_array->opcodes; in zend_jit_trace_add_call_phis() 746 op = ssa->ops + (tssa_opcodes[use] - op_array->opcodes); in zend_jit_trace_copy_ssa_var_info() 938 while (opline > op_array->opcodes) { in zend_jit_trace_find_init_fcall_op() 2404 uint32_t use = ssa_opcodes[line] - op_array->opcodes; in zend_jit_trace_use_var() 6228 if (opline > op_array->opcodes) { in zend_jit_trace() 6924 (int)(opline - op_array->opcodes), in zend_jit_dump_trace() 6974 (int)(opline - op_array->opcodes), in zend_jit_dump_trace() 7141 ZEND_ASSERT(opline >= EX(func)->op_array.opcodes && in zend_jit_trace_hot_root() 7811 zend_jit_trace_supported(&op_array->opcodes[i]); in zend_jit_setup_hot_trace_counters() 7828 opline = op_array->opcodes + cfg.blocks[i].start; in zend_jit_setup_hot_trace_counters() [all …]
|
H A D | zend_jit_internal.h | 67 zend_jit_hash((op_array)->opcodes)
|
H A D | zend_jit_vm_helpers.c | 217 …dler = (zend_vm_opcode_handler_t)jit_extension->orig_handlers[opline - EX(func)->op_array.opcodes]; in zend_jit_func_counter_helper() 237 …dler = (zend_vm_opcode_handler_t)jit_extension->orig_handlers[opline - EX(func)->op_array.opcodes]; in zend_jit_loop_counter_helper()
|
H A D | zend_jit_disasm_x86.c | 280 addr = (uint64_t)(uintptr_t)op_array->opcodes[cfg->blocks[b].start].handler; in zend_jit_disasm()
|
/PHP-8.0/Zend/ |
H A D | zend_compile.c | 112 op_array->opcodes = erealloc(op_array->opcodes, CG(context).opcodes_size * sizeof(zend_op)); in get_next_op() 115 next_op = &(op_array->opcodes[next_op_num]); in get_next_op() 765 while (opline >= CG(active_op_array)->opcodes) { in zend_do_free() 1068 old_function->op_array.opcodes[0].lineno); in do_bind_function_error() 1310 zend_op *opline = op_array->opcodes; in zend_build_delayed_early_binding_list() 1315 *prev_opline_num = opline - op_array->opcodes; in zend_build_delayed_early_binding_list() 2154 opline = CG(active_op_array)->opcodes + opnum - 1; in zend_emit_cond_jump() 3573 opline = &CG(active_op_array)->opcodes[opnum_init]; in zend_compile_call_common() 4931 uint32_t opnum = opline - op_array->opcodes; in zend_resolve_goto_label() 5205 opline = &CG(active_op_array)->opcodes[opnum_reset]; in zend_compile_foreach() [all …]
|
H A D | zend_execute.c | 1432 ZEND_ASSERT(opline < execute_data->func->op_array.opcodes + in zend_wrong_string_offset() 3639 opline = op_array->opcodes; in i_init_func_execute_data() 3641 EX(opline) = op_array->opcodes; in i_init_func_execute_data() 3729 EX(opline) = op_array->opcodes; in i_init_code_execute_data() 3846 zend_op *opline = EX(func)->op_array.opcodes + op_num; in zend_unfinished_calls_gc() 3978 zend_op *opline = EX(func)->op_array.opcodes + op_num; in cleanup_unfinished_calls() 4149 zend_op *last = EX(func)->op_array.opcodes + op_num; in cleanup_live_vars() 4152 ZEND_ASSERT(last >= EX(func)->op_array.opcodes); in cleanup_live_vars() 4731 zend_op *opline = &op_array->opcodes[i]; in zend_handle_undef_args()
|
H A D | zend_vm_def.h | 7725 ZEND_VM_JMP_EX(&EX(func)->op_array.opcodes[try_catch->catch_op], 0); in ZEND_VM_HELPER() 7739 ZEND_VM_JMP_EX(&EX(func)->op_array.opcodes[try_catch->finally_op], 0); in ZEND_VM_HELPER() 7784 uint32_t throw_op_num = throw_op - EX(func)->op_array.opcodes; 7797 if (EX(func)->op_array.opcodes[i].opcode == ZEND_FREE 7798 || EX(func)->op_array.opcodes[i].opcode == ZEND_FE_FREE) { 7801 if (EX(func)->op_array.opcodes[i].opcode == ZEND_RETURN 7802 && (EX(func)->op_array.opcodes[i].op1_type & (IS_VAR|IS_TMP_VAR))) { 7803 zval_ptr_dtor(EX_VAR(EX(func)->op_array.opcodes[i].op1.var)); 8235 Z_OPLINE_NUM_P(fast_call) = opline - EX(func)->op_array.opcodes; 8246 const zend_op *fast_ret = EX(func)->op_array.opcodes + Z_OPLINE_NUM_P(fast_call); [all …]
|