Home
last modified time | relevance | path

Searched refs:predecessors (Results 1 – 19 of 19) sorted by relevance

/php-src/Zend/Optimizer/
H A Dssa_integrity.c69 int i, *predecessors = &cfg->predecessors[block->predecessor_offset]; in is_in_predecessors() local
71 if (predecessors[i] == check) { in is_in_predecessors()
362 int *predecessors = &cfg->predecessors[block->predecessor_offset]; in ssa_verify_integrity() local
402 if (predecessors[j] >= 0) { in ssa_verify_integrity()
404 zend_basic_block *prev_block = &cfg->blocks[predecessors[j]]; in ssa_verify_integrity()
406 FAIL("Predecessor %d of %d not reachable\n", predecessors[j], i); in ssa_verify_integrity()
409 FAIL("Block %d successors missing %d\n", predecessors[j], i); in ssa_verify_integrity()
412 if (k != j && predecessors[k] == predecessors[j]) { in ssa_verify_integrity()
413 FAIL("Block %d has duplicate predecessor %d\n", i, predecessors[j]); in ssa_verify_integrity()
H A Dzend_cfg.h88 int *predecessors; member
H A Dzend_dfg.c321 int *predecessors = &cfg->predecessors[blocks[j].predecessor_offset]; in zend_build_dfg() local
323 zend_bitset_incl(worklist, predecessors[k]); in zend_build_dfg()
H A Dzend_ssa.c39 int predecessor = cfg->predecessors[block->predecessor_offset + i]; in will_rejoin()
888 if (ssa->cfg.predecessors[blocks[succ].predecessor_offset + j] == n) { in zend_ssa_rename()
1000 i = ssa->cfg.predecessors[blocks[j].predecessor_offset + k]; in zend_build_ssa()
1464 int *predecessors = &ssa->cfg.predecessors[next_block->predecessor_offset]; in zend_ssa_remove_predecessor() local
1467 if (predecessors[j] == from) { in zend_ssa_remove_predecessor()
1495 predecessors = &ssa->cfg.predecessors[next_block->predecessor_offset + pred_offset]; in zend_ssa_remove_predecessor()
1496 …memmove(predecessors, predecessors + 1, (next_block->predecessors_count - pred_offset) * sizeof(ui… in zend_ssa_remove_predecessor()
1533 int *predecessors; in zend_ssa_remove_block_from_cfg() local
1541 predecessors = &ssa->cfg.predecessors[block->predecessor_offset]; in zend_ssa_remove_block_from_cfg()
1543 if (predecessors[j] >= 0) { in zend_ssa_remove_block_from_cfg()
[all …]
H A Dzend_cfg.c597 int *predecessors; in zend_cfg_build_predecessors() local
616 cfg->predecessors = predecessors = (int*)zend_arena_calloc(arena, sizeof(int), edges); in zend_cfg_build_predecessors()
643 predecessors[b->predecessor_offset + b->predecessors_count] = j; in zend_cfg_build_predecessors()
701 int pred = cfg->predecessors[blocks[j].predecessor_offset + k]; in zend_cfg_compute_dominators_tree()
852 int pred = cfg->predecessors[blocks[i].predecessor_offset + j]; in zend_cfg_identify_loops()
891 zend_worklist_push(&work, cfg->predecessors[blocks[j].predecessor_offset + k]); in zend_cfg_identify_loops()
H A Dscdf.h85 if (cfg->predecessors[edge] == from) { in scdf_edge()
H A Ddfa_pass.c587 int *predecessors = &ssa->cfg.predecessors[block->predecessor_offset]; in replace_predecessor() local
594 if (predecessors[i] == old_pred) { in replace_predecessor()
597 if (predecessors[i] == new_pred) { in replace_predecessor()
605 predecessors[old_pred_idx] = new_pred; in replace_predecessor()
610 predecessors + old_pred_idx, in replace_predecessor()
611 predecessors + old_pred_idx + 1, in replace_predecessor()
712 int *predecessors, i; in zend_ssa_unlink_block() local
716 predecessors = &ssa->cfg.predecessors[block->predecessor_offset]; in zend_ssa_unlink_block()
718 zend_basic_block *pred_block = &ssa->cfg.blocks[predecessors[0]]; in zend_ssa_unlink_block()
729 zend_ssa_replace_control_link(op_array, ssa, predecessors[i], block_num, block->successors[0]); in zend_ssa_unlink_block()
H A Dsccp.c2045 int *predecessors = &ssa->cfg.predecessors[block->predecessor_offset]; in sccp_visit_phi() local
2061 if (scdf_is_edge_feasible(scdf, predecessors[i], phi->block)) { in sccp_visit_phi()
H A Dzend_dump.c841 int *p = cfg->predecessors + b->predecessor_offset; in zend_dump_block_info()
/php-src/Zend/tests/
H A Dentry_block_with_predecessors.phpt2 For SSA form the entry block should have no predecessors
/php-src/ext/opcache/jit/ir/
H A Dir_cfg.c198 bb->predecessors = count; in ir_build_cfg()
241 uint32_t *q = edges + bb->predecessors; in ir_build_cfg()
258 edges[bb->predecessors] = pred_b; in ir_build_cfg()
305 p = q = &ctx->cfg_edges[bb->predecessors]; in ir_remove_predecessor()
478 uint32_t *q = edges + bb->predecessors; in ir_remove_unreachable_blocks()
495 edges[bb->predecessors] = pred_b; in ir_remove_unreachable_blocks()
551 uint32_t pred_b = edges[bb->predecessors];
562 uint32_t *p = edges + bb->predecessors;
661 uint32_t *p = edges + bb->predecessors; in ir_build_dominators_tree()
797 uint32_t *p = edges + bb->predecessors; in ir_build_dominators_tree_iterative()
[all …]
H A Dir_save.c146 fprintf(f, ", pred(%d)=[BB%d", bb->predecessors_count, ctx->cfg_edges[bb->predecessors]); in ir_save()
148 fprintf(f, ", BB%d", ctx->cfg_edges[bb->predecessors + i]); in ir_save()
H A Dir_dump.c230 fprintf(f, "\tpredecessors(%d) [BB%d", bb->predecessors_count, ctx->cfg_edges[bb->predecessors]); in ir_dump_cfg_block()
232 fprintf(f, ", BB%d", ctx->cfg_edges[bb->predecessors + i]); in ir_dump_cfg_block()
538 fprintf(f, ", pred(%d)=[BB%d", bb->predecessors_count, ctx->cfg_edges[bb->predecessors]); in ir_dump_codegen()
540 fprintf(f, ", BB%d", ctx->cfg_edges[bb->predecessors + i]); in ir_dump_codegen()
H A Dir_private.h1095 uint32_t predecessors; /* index in ir_ctx->cfg_edges[] array */ member
1119 for (n = 0, p = &ctx->cfg_edges[bb->predecessors]; n < bb->predecessors_count; p++, n++) { in ir_phi_input_number()
H A Dir_gcm.c124 uint32_t *p = ctx->cfg_edges + loop_bb->predecessors; in ir_gcm_select_best_block()
167 p = ctx->cfg_edges + bb->predecessors; in _push_predecessors()
H A Dir_ra.c1072 for (p = &ctx->cfg_edges[bb->predecessors]; n > 0; p++, n--) { in ir_compute_live_sets()
1884 pred_b = ctx->cfg_edges[bb->predecessors + k]; in ir_coalesce()
2085 int pred = ctx->cfg_edges[bb->predecessors + (j-2)]; in ir_compute_dessa_moves()
3825 for (p = &ctx->cfg_edges[bb->predecessors]; n > 0; p++, n--) { in needs_spill_reload()
/php-src/sapi/fpm/fpm/
H A Dfpm_atomic.h131 #error Sparc v8 and predecessors are not and will not be supported (see bug report 53310)
/php-src/ext/opcache/jit/
H A Dzend_jit_trace.c1490 tssa->cfg.predecessors = zend_arena_calloc(&CG(arena), 2, sizeof(int)); in zend_jit_trace_build_tssa()
1498 tssa->cfg.predecessors[0] = 0; in zend_jit_trace_build_tssa()
1499 tssa->cfg.predecessors[1] = 1; in zend_jit_trace_build_tssa()
3987 b = ssa->cfg.predecessors[bb->predecessor_offset + j]; in zend_jit_find_ssa_var()
4028 b = ssa->cfg.predecessors[bb->predecessor_offset + j]; in zend_jit_find_ssa_var()
H A Dzend_jit_ir.c3443 p = &jit->ssa->cfg.predecessors[bb->predecessor_offset]; in _zend_jit_add_predecessor_ref()
3687 pred = jit->ssa->cfg.predecessors[bb->predecessor_offset]; in zend_jit_bb_start()
3734 for (i = 0, p = jit->ssa->cfg.predecessors + bb->predecessor_offset; i < n; p++, i++) { in zend_jit_bb_start()
17516 use_block = ssa->cfg.predecessors[bb->predecessor_offset + j];
17534 b = ssa->cfg.predecessors[bb->predecessor_offset + j];

Completed in 170 milliseconds