Lines Matching refs:cfg
36 const zend_cfg *cfg, const zend_basic_block *block, int check, int exclude) { in dominates_other_predecessors() argument
39 int predecessor = cfg->predecessors[block->predecessor_offset + i]; in dominates_other_predecessors()
40 if (predecessor != exclude && !dominates(cfg->blocks, check, predecessor)) { in dominates_other_predecessors()
59 from_block = &ssa->cfg.blocks[from]; in needs_pi()
65 to_block = &ssa->cfg.blocks[to]; in needs_pi()
75 return !dominates_other_predecessors(&ssa->cfg, to_block, other_successor, from); in needs_pi()
90 ZEND_MM_ALIGNED_SIZE(sizeof(int) * ssa->cfg.blocks[to].predecessors_count) + in add_pi()
91 sizeof(void*) * ssa->cfg.blocks[to].predecessors_count); in add_pi()
93 memset(phi->sources, 0xff, sizeof(int) * ssa->cfg.blocks[to].predecessors_count); in add_pi()
94 …ssa_phi**)(((char*)phi->sources) + ZEND_MM_ALIGNED_SIZE(sizeof(int) * ssa->cfg.blocks[to].predeces… in add_pi()
110 if (ssa->cfg.blocks[to].predecessors_count > 1) { in add_pi()
242 zend_basic_block *blocks = ssa->cfg.blocks; in place_essa_pis()
243 int j, blocks_count = ssa->cfg.blocks_count; in place_essa_pis()
531 zend_basic_block *blocks = ssa->cfg.blocks; in zend_ssa_rename()
813 if (ssa->cfg.predecessors[blocks[succ].predecessor_offset + j] == n) { in zend_ssa_rename()
826 if (ssa->cfg.predecessors[blocks[succ].predecessor_offset + j] == n) { in zend_ssa_rename()
859 zend_basic_block *blocks = ssa->cfg.blocks; in zend_build_ssa()
861 int blocks_count = ssa->cfg.blocks_count; in zend_build_ssa()
889 if (zend_build_dfg(op_array, &ssa->cfg, &dfg, build_flags) != SUCCESS) { in zend_build_ssa()
895 zend_dump_dfg(op_array, &ssa->cfg, &dfg); in zend_build_ssa()
925 i = ssa->cfg.predecessors[blocks[j].predecessor_offset + k]; in zend_build_ssa()
961 …ssa_phi**)(((char*)phi->sources) + ZEND_MM_ALIGNED_SIZE(sizeof(int) * ssa->cfg.blocks[j].predecess… in zend_build_ssa()
1061 for (i = 0; i < ssa->cfg.blocks_count; i++) { in zend_ssa_compute_use_def_chains()
1093 for (j = 0; j < ssa->cfg.blocks[i].predecessors_count; j++) { in zend_ssa_compute_use_def_chains()
1113 if (ssa->cfg.dynamic) { in zend_ssa_compute_use_def_chains()
1209 for (j = 0; j < ssa->cfg.blocks[p->block].predecessors_count; j++) { in zend_ssa_next_use_phi_ptr()
1352 zend_basic_block *next_block = &ssa->cfg.blocks[to]; in zend_ssa_remove_predecessor()
1359 int *predecessors = &ssa->cfg.predecessors[next_block->predecessor_offset]; in zend_ssa_remove_predecessor()
1390 predecessors = &ssa->cfg.predecessors[next_block->predecessor_offset + pred_offset]; in zend_ssa_remove_predecessor()
1398 zend_basic_block *block = &ssa->cfg.blocks[i]; in zend_ssa_remove_block()
1430 predecessors = &ssa->cfg.predecessors[block->predecessor_offset]; in zend_ssa_remove_block()
1433 zend_basic_block *prev_block = &ssa->cfg.blocks[predecessors[j]]; in zend_ssa_remove_block()
1452 j = ssa->cfg.blocks[block->idom].children; in zend_ssa_remove_block()
1454 ssa->cfg.blocks[block->idom].children = block->next_child; in zend_ssa_remove_block()
1456 while (ssa->cfg.blocks[j].next_child >= 0) { in zend_ssa_remove_block()
1457 if (ssa->cfg.blocks[j].next_child == i) { in zend_ssa_remove_block()
1458 ssa->cfg.blocks[j].next_child = block->next_child; in zend_ssa_remove_block()
1461 j = ssa->cfg.blocks[j].next_child; in zend_ssa_remove_block()
1560 for (j = 0; j < ssa->cfg.blocks[phi->block].predecessors_count; j++) { in zend_ssa_rename_var_uses()
1567 for (j = 0; j < ssa->cfg.blocks[phi->block].predecessors_count; j++) { in zend_ssa_rename_var_uses()