/php-src/ext/opcache/jit/ir/ |
H A D | ir.h | 666 ir_ref ir_const_func(ir_ctx *ctx, ir_ref str, ir_ref proto); 667 ir_ref ir_const_sym(ir_ctx *ctx, ir_ref str); 668 ir_ref ir_const_str(ir_ctx *ctx, ir_ref str); 698 ir_ref ir_emit(ir_ctx *ctx, uint32_t opt, ir_ref op1, ir_ref op2, ir_ref op3); 701 ir_ref ir_emit1(ir_ctx *ctx, uint32_t opt, ir_ref op1); 702 ir_ref ir_emit2(ir_ctx *ctx, uint32_t opt, ir_ref op1, ir_ref op2); 703 ir_ref ir_emit3(ir_ctx *ctx, uint32_t opt, ir_ref op1, ir_ref op2, ir_ref op3); 735 ir_ref ir_fold(ir_ctx *ctx, uint32_t opt, ir_ref op1, ir_ref op2, ir_ref op3); 739 ir_ref ir_fold2(ir_ctx *ctx, uint32_t opt, ir_ref op1, ir_ref op2); 740 ir_ref ir_fold3(ir_ctx *ctx, uint32_t opt, ir_ref op1, ir_ref op2, ir_ref op3); [all …]
|
H A D | ir.c | 798 ir_ref ir_emit(ir_ctx *ctx, uint32_t opt, ir_ref op1, ir_ref op2, ir_ref op3) 826 ir_ref ir_emit3(ir_ctx *ctx, uint32_t opt, ir_ref op1, ir_ref op2, ir_ref op3) 1027 ir_ref ir_fold(ir_ctx *ctx, uint32_t opt, ir_ref op1, ir_ref op2, ir_ref op3) 1053 ir_ref ir_fold3(ir_ctx *ctx, uint32_t opt, ir_ref op1, ir_ref op2, ir_ref op3) 1105 ir_ref ir_bind(ir_ctx *ctx, ir_ref var, ir_ref def) 2310 ir_ref _ir_CALL_2(ir_ctx *ctx, ir_type type, ir_ref func, ir_ref arg1, ir_ref arg2) 2324 ir_ref _ir_CALL_3(ir_ctx *ctx, ir_type type, ir_ref func, ir_ref arg1, ir_ref arg2, ir_ref arg3) 2339 ir_ref _ir_CALL_4(ir_ctx *ctx, ir_type type, ir_ref func, ir_ref arg1, ir_ref arg2, ir_ref arg3, ir… 2355 ir_ref _ir_CALL_5(ir_ctx *ctx, ir_type type, ir_ref func, ir_ref arg1, ir_ref arg2, ir_ref arg3, ir… 2455 void _ir_TAILCALL_4(ir_ctx *ctx, ir_type type, ir_ref func, ir_ref arg1, ir_ref arg2, ir_ref arg3, … [all …]
|
H A D | ir_builder.h | 628 ir_ref _ir_PHI_2(ir_ctx *ctx, ir_type type, ir_ref src1, ir_ref src2); 629 ir_ref _ir_PHI_N(ir_ctx *ctx, ir_type type, ir_ref n, ir_ref *inputs); 635 ir_ref _ir_CALL_2(ir_ctx *ctx, ir_type type, ir_ref func, ir_ref arg1, ir_ref arg2); 636 ir_ref _ir_CALL_3(ir_ctx *ctx, ir_type type, ir_ref func, ir_ref arg1, ir_ref arg2, ir_ref arg3); 637 ir_ref _ir_CALL_4(ir_ctx *ctx, ir_type type, ir_ref func, ir_ref arg1, ir_ref arg2, ir_ref arg3, ir… 638 ir_ref _ir_CALL_5(ir_ctx *ctx, ir_type type, ir_ref func, ir_ref arg1, ir_ref arg2, ir_ref arg3, ir… 643 void _ir_TAILCALL_3(ir_ctx *ctx, ir_type type, ir_ref func, ir_ref arg1, ir_ref arg2, ir_ref arg3… 644 …id _ir_TAILCALL_4(ir_ctx *ctx, ir_type type, ir_ref func, ir_ref arg1, ir_ref arg2, ir_ref arg3,… 645 …ir_TAILCALL_5(ir_ctx *ctx, ir_type type, ir_ref func, ir_ref arg1, ir_ref arg2, ir_ref arg3, ir_re… 664 ir_ref _ir_END_PHI_LIST(ir_ctx *ctx, ir_ref list, ir_ref val); [all …]
|
H A D | ir_private.h | 647 ir_ref *refs; 831 ir_ref val; 852 ir_ref val; 1017 IR_ALWAYS_INLINE ir_ref ir_binding_find(const ir_ctx *ctx, ir_ref ref) in ir_binding_find() 1026 ir_ref count; 1029 void ir_use_list_remove_all(ir_ctx *ctx, ir_ref from, ir_ref use); 1030 void ir_use_list_remove_one(ir_ctx *ctx, ir_ref from, ir_ref use); 1031 void ir_use_list_replace_all(ir_ctx *ctx, ir_ref ref, ir_ref use, ir_ref new_use); 1032 void ir_use_list_replace_one(ir_ctx *ctx, ir_ref ref, ir_ref use, ir_ref new_use); 1033 bool ir_use_list_add(ir_ctx *ctx, ir_ref to, ir_ref new_use); [all …]
|
H A D | ir_sccp.c | 28 IR_ALWAYS_INLINE ir_ref ir_sccp_identity(ir_insn *_values, ir_ref a) in ir_sccp_identity() 38 static ir_ref ir_sccp_fold(ir_ctx *ctx, ir_insn *_values, ir_ref res, uint32_t opt, ir_ref op1, ir_… in ir_sccp_fold() 115 ir_ref new_copy; in ir_sccp_meet_phi() 288 static ir_ref ir_find1(ir_ctx *ctx, uint32_t optx, ir_ref op1) in ir_find1() 326 ir_ref j, n, *p; in ir_sccp_make_nop() 340 ir_ref j, n, *p; in ir_sccp_remove_insn() 586 ir_ref next; in ir_sccp_remove_if() 800 static ir_ref ir_promote_d2f(ir_ctx *ctx, ir_ref ref, ir_ref use) in ir_promote_d2f() 863 static ir_ref ir_promote_f2d(ir_ctx *ctx, ir_ref ref, ir_ref use) in ir_promote_f2d() 971 static ir_ref ir_promote_i2i(ir_ctx *ctx, ir_type type, ir_ref ref, ir_ref use) in ir_promote_i2i() [all …]
|
H A D | ir_gcm.c | 22 ir_ref n, *p, input; in ir_gcm_schedule_early() 185 ir_ref n, *p, use; in ir_split_partially_dead_node() 291 ir_ref ref; in ir_split_partially_dead_node() 297 ir_ref ref; in ir_split_partially_dead_node() 474 ir_ref n, use; in ir_gcm_schedule_late() 720 ir_ref key; in ir_xlat_binding() 756 IR_ALWAYS_INLINE ir_ref ir_count_constant(ir_ref *_xlat, ir_ref ref) in ir_count_constant() 769 ir_ref *_xlat; in ir_schedule() 770 ir_ref *edges; in ir_schedule() 774 ir_ref *_next = ir_mem_malloc(ctx->insns_count * sizeof(ir_ref)); in ir_schedule() [all …]
|
H A D | ir_strtab.c | 16 ir_ref val; 115 ir_ref ir_strtab_find(const ir_strtab *strtab, const char *str, uint32_t len) in ir_strtab_find() 134 ir_ref ir_strtab_lookup(ir_strtab *strtab, const char *str, uint32_t len, ir_ref val) in ir_strtab_lookup() 183 ir_ref ir_strtab_update(ir_strtab *strtab, const char *str, uint32_t len, ir_ref val) in ir_strtab_update() 202 const char *ir_strtab_str(const ir_strtab *strtab, ir_ref idx) in ir_strtab_str() 208 const char *ir_strtab_strl(const ir_strtab *strtab, ir_ref idx, size_t *len) in ir_strtab_strl()
|
H A D | ir_check.c | 43 static bool ir_check_use_list(const ir_ctx *ctx, ir_ref from, ir_ref to) in ir_check_use_list() 45 ir_ref n, j, *p; in ir_check_use_list() 57 static bool ir_check_input_list(const ir_ctx *ctx, ir_ref from, ir_ref to) in ir_check_input_list() 60 ir_ref n, j, *p; in ir_check_input_list() 71 static bool ir_check_domination(const ir_ctx *ctx, ir_ref def, ir_ref use) in ir_check_domination() 91 ir_ref i, j, n, *p, use; in ir_check() 298 ir_ref count; in ir_check()
|
H A D | ir_emit.c | 146 ir_ref use, *p; in ir_get_param_reg() 356 static int8_t ir_get_fused_reg(ir_ctx *ctx, ir_ref root, ir_ref ref_and_op) in ir_get_fused_reg() 360 ir_ref val; in ir_get_fused_reg() 429 ir_ref ref; in ir_emit_osr_entry_loads() 682 ir_ref from; in ir_dessa_resolve_cycle() 903 ir_ref i, *p; in ir_emit_dessa_moves() 918 ir_ref ref = *p; in ir_emit_dessa_moves() 925 ir_ref from, to; in ir_emit_dessa_moves() 935 (ir_ref)src : (ir_ref)(IR_REG_NUM + ctx->vregs[input]); in ir_emit_dessa_moves() 938 (ir_ref)dst : (ir_ref)(IR_REG_NUM + ctx->vregs[ref]); in ir_emit_dessa_moves() [all …]
|
H A D | ir_ra.c | 46 ir_ref i, n; in ir_assign_virtual_registers_slow() 86 ir_ref i; in ir_assign_virtual_registers() 444 ir_ref i; in ir_add_osr_entry_loads() 584 ir_ref ref; in ir_compute_live_ranges() 713 ir_ref *p; in ir_compute_live_ranges() 983 ir_ref i; in ir_compute_live_sets() 1097 ir_ref i; in ir_add_osr_entry_loads() 1242 ir_ref ref; in ir_compute_live_ranges() 1641 ir_ref i; in ir_vregs_coalesce() 1986 ir_ref i; in ir_coalesce() [all …]
|
H A D | ir_x86.dasc | 1564 ir_ref j; 1589 static bool ir_match_may_fuse_SI(ir_ctx *ctx, ir_ref ref, ir_ref use) 1618 ir_ref n, *p, use; 1653 static bool ir_match_has_mem_deps(ir_ctx *ctx, ir_ref ref, ir_ref root) 1673 static void ir_match_fuse_load(ir_ctx *ctx, ir_ref ref, ir_ref root) 3255 static ir_mem ir_fuse_addr(ir_ctx *ctx, ir_ref root, ir_ref ref) 3498 static ir_mem ir_fuse_load(ir_ctx *ctx, ir_ref root, ir_ref ref) 5797 ir_ref op1, op2; 8501 ir_ref arg; 10129 ir_ref i, n; [all …]
|
H A D | ir_php.h | 15 void *zend_jit_snapshot_handler(ir_ctx *ctx, ir_ref snapshot_ref, ir_insn *snapshot, void *addr)
|
H A D | ir_aarch64.dasc | 1163 static bool ir_may_avoid_spill_load(ir_ctx *ctx, ir_ref ref, ir_ref use) 1793 ir_ref op1 = insn->op1; 1794 ir_ref op2 = insn->op2; 2815 ir_ref op1, op2; 3776 static ir_mem ir_fuse_addr(ir_ctx *ctx, ir_ref root, ir_ref ref) 4653 ir_ref arg; 5363 ir_ref i, n, *p, use; 5472 ir_ref i, n, *p, use; 5540 ir_ref i, n, j, *p; 5722 ir_ref i, n; [all …]
|
H A D | ir_save.c | 11 void ir_print_proto(const ir_ctx *ctx, ir_ref func_proto, FILE *f) in ir_print_proto() 13 ir_ref j; in ir_print_proto() 46 ir_ref k, i, *p, use_ref, input; in ir_save_dessa_moves() 91 ir_ref i, j, n, ref, *p; in ir_save() 281 ir_ref var = ir_binding_find(ctx, i); in ir_save() 330 ir_ref n = use_list->count; in ir_save() 331 ir_ref *p = ctx->use_edges + use_list->refs; in ir_save()
|
H A D | ir_dump.c | 13 ir_ref i, j, n, ref, *p; in ir_dump() 60 ir_ref i, j, n, ref, *p; in ir_dump_dot() 144 ir_ref i, j, n, *p; in ir_dump_use_lists() 170 ir_ref k, i, *p, use_ref, input; in ir_dump_dessa_moves() 292 ir_ref ref = ir_list_at(list, pos); in ir_dump_cfg_block() 325 ir_ref i; in ir_dump_cfg_map() 339 ir_ref i, j, n; in ir_dump_live_ranges() 480 ir_ref i, j, n, ref, *p; in ir_dump_codegen() 667 ir_ref var = ir_binding_find(ctx, i); in ir_dump_codegen()
|
H A D | ir_cfg.c | 14 ir_ref *p, use, n = use_list->count; in _ir_add_successors() 43 ir_ref n, ref; in _ir_add_predecessors() 44 const ir_ref *p; in _ir_add_predecessors() 62 ir_ref n, *p, ref, start, end, next; in ir_build_cfg() 246 ir_ref pred_b = _blocks[ref]; in ir_build_cfg() 256 ir_ref pred_b = _blocks[ref]; in ir_build_cfg() 319 static void ir_remove_merge_input(ir_ctx *ctx, ir_ref merge, ir_ref from) in ir_remove_merge_input() 321 ir_ref i, j, n, k, *p, use; in ir_remove_merge_input() 425 ir_ref prev, ref = bb->end; in ir_remove_unreachable_blocks() 474 ir_ref *p, ref; in ir_remove_unreachable_blocks() [all …]
|
H A D | ir_disasm.c | 486 if (entry != (ir_ref)IR_INVALID_VAL) { 532 if (entry != (ir_ref)IR_INVALID_VAL) { 606 if (entry != (ir_ref)IR_INVALID_VAL) { 662 if (entry != (ir_ref)IR_INVALID_VAL) { 675 if (entry != (ir_ref)IR_INVALID_VAL) { 695 if (entry != (ir_ref)IR_INVALID_VAL) { 705 IR_ASSERT(entry != (ir_ref)IR_INVALID_VAL);
|
/php-src/ext/opcache/jit/ |
H A D | zend_jit_ir.c | 158 ir_ref *ptr; in ir_refs_add() 263 ir_ref ref; 491 ir_ref ref; in jit_CONST_ADDR() 510 ir_ref ref; in jit_CONST_FUNC_PROTO() 717 ir_ref i; in zend_jit_snapshot_handler() 1009 ir_ref ref; in zend_jit_set_ip() 1079 ir_ref reg; in jit_ZVAL_ADDR() 1212 static ir_ref jit_if_Z_TYPE_ref(zend_jit_ctx *jit, ir_ref ref, ir_ref type) in jit_if_Z_TYPE_ref() 1337 ir_ref *q; in zend_jit_def_reg() 1436 ir_ref ref; in zend_jit_gen_phi() [all …]
|