Lines Matching refs:block
240 zend_basic_block *block; in try_replace_op1() local
247 block = &ctx->scdf.ssa->cfg.blocks[num]; in try_replace_op1()
248 if (block->successors_count == 2) { in try_replace_op1()
249 if (block->successors[1] != block->successors[0]) { in try_replace_op1()
250 zend_ssa_remove_predecessor(ctx->scdf.ssa, num, block->successors[0]); in try_replace_op1()
252 block->successors_count = 1; in try_replace_op1()
253 block->successors[0] = block->successors[1]; in try_replace_op1()
259 block = &ctx->scdf.ssa->cfg.blocks[num]; in try_replace_op1()
260 if (block->successors_count == 2) { in try_replace_op1()
261 if (block->successors[1] != block->successors[0]) { in try_replace_op1()
262 zend_ssa_remove_predecessor(ctx->scdf.ssa, num, block->successors[1]); in try_replace_op1()
264 block->successors_count = 1; in try_replace_op1()
273 block = &ctx->scdf.ssa->cfg.blocks[num]; in try_replace_op1()
274 if (block->successors_count == 2) { in try_replace_op1()
275 if (block->successors[1] != block->successors[0]) { in try_replace_op1()
276 zend_ssa_remove_predecessor(ctx->scdf.ssa, num, block->successors[1]); in try_replace_op1()
278 block->successors_count = 1; in try_replace_op1()
283 block = &ctx->scdf.ssa->cfg.blocks[num]; in try_replace_op1()
284 if (block->successors_count == 2) { in try_replace_op1()
285 if (block->successors[1] != block->successors[0]) { in try_replace_op1()
286 zend_ssa_remove_predecessor(ctx->scdf.ssa, num, block->successors[0]); in try_replace_op1()
288 block->successors_count = 1; in try_replace_op1()
289 block->successors[0] = block->successors[1]; in try_replace_op1()
298 block = &ctx->scdf.ssa->cfg.blocks[num]; in try_replace_op1()
299 if (block->successors_count == 2) { in try_replace_op1()
300 if (block->successors[1] != block->successors[0]) { in try_replace_op1()
301 zend_ssa_remove_predecessor(ctx->scdf.ssa, num, block->successors[0]); in try_replace_op1()
303 block->successors_count = 1; in try_replace_op1()
304 block->successors[0] = block->successors[1]; in try_replace_op1()
310 block = &ctx->scdf.ssa->cfg.blocks[num]; in try_replace_op1()
311 if (block->successors_count == 2) { in try_replace_op1()
312 if (block->successors[1] != block->successors[0]) { in try_replace_op1()
313 zend_ssa_remove_predecessor(ctx->scdf.ssa, num, block->successors[1]); in try_replace_op1()
315 block->successors_count = 1; in try_replace_op1()
1320 int block_num, zend_basic_block *block, in sccp_mark_feasible_successors() argument
1334 scdf_mark_edge_feasible(scdf, block_num, block->successors[0]); in sccp_mark_feasible_successors()
1335 scdf_mark_edge_feasible(scdf, block_num, block->successors[1]); in sccp_mark_feasible_successors()
1343 for (s = 0; s < block->successors_count; s++) { in sccp_mark_feasible_successors()
1344 scdf_mark_edge_feasible(scdf, block_num, block->successors[s]); in sccp_mark_feasible_successors()
1371 scdf_mark_edge_feasible(scdf, block_num, block->successors[0]); in sccp_mark_feasible_successors()
1372 scdf_mark_edge_feasible(scdf, block_num, block->successors[1]); in sccp_mark_feasible_successors()
1378 for (s = 0; s < block->successors_count; s++) { in sccp_mark_feasible_successors()
1379 scdf_mark_edge_feasible(scdf, block_num, block->successors[s]); in sccp_mark_feasible_successors()
1383 scdf_mark_edge_feasible(scdf, block_num, block->successors[s]); in sccp_mark_feasible_successors()
1406 zend_basic_block *block = &ssa->cfg.blocks[phi->block]; in sccp_visit_phi() local
1407 int *predecessors = &ssa->cfg.predecessors[block->predecessor_offset]; in sccp_visit_phi()
1415 if (scdf_is_edge_feasible(scdf, phi->pi, phi->block)) { in sccp_visit_phi()
1419 for (i = 0; i < block->predecessors_count; i++) { in sccp_visit_phi()
1421 if (scdf_is_edge_feasible(scdf, predecessors[i], phi->block)) { in sccp_visit_phi()