Lines Matching refs:flags
34 b->flags |= ZEND_BB_REACHABLE; in zend_mark_reachable()
36 b->flags |= ZEND_BB_EXIT; in zend_mark_reachable()
47 succ->flags |= ZEND_BB_TARGET; in zend_mark_reachable()
49 succ->flags |= ZEND_BB_FOLLOW; in zend_mark_reachable()
51 if ((cfg->flags & ZEND_CFG_STACKLESS)) { in zend_mark_reachable()
59 succ->flags |= ZEND_BB_ENTRY; in zend_mark_reachable()
62 if ((cfg->flags & ZEND_CFG_RECV_ENTRY)) { in zend_mark_reachable()
65 succ->flags |= ZEND_BB_RECV_ENTRY; in zend_mark_reachable()
71 succ->flags |= ZEND_BB_TARGET; in zend_mark_reachable()
73 succ->flags |= ZEND_BB_FOLLOW; in zend_mark_reachable()
78 succ->flags |= ZEND_BB_FOLLOW | ZEND_BB_TARGET; in zend_mark_reachable()
80 succ->flags |= ZEND_BB_TARGET; in zend_mark_reachable()
84 succ->flags |= ZEND_BB_FOLLOW; in zend_mark_reachable()
89 if (succ->flags & ZEND_BB_REACHABLE) { in zend_mark_reachable()
97 if (!(succ->flags & ZEND_BB_REACHABLE)) { in zend_mark_reachable()
110 blocks[start].flags = ZEND_BB_START; in zend_mark_reachable_blocks()
129 if (b->flags & ZEND_BB_REACHABLE) { in zend_mark_reachable_blocks()
148 b->flags |= ZEND_BB_GEN_VAR; in zend_mark_reachable_blocks()
150 b->flags |= ZEND_BB_KILL_VAR; in zend_mark_reachable_blocks()
151 if (!(b->flags & (ZEND_BB_REACHABLE|ZEND_BB_UNREACHABLE_FREE))) { in zend_mark_reachable_blocks()
152 if ((cfg->flags & ZEND_CFG_SPLIT_AT_LIVE_RANGES)) { in zend_mark_reachable_blocks()
156 b->flags |= ZEND_BB_UNREACHABLE_FREE; in zend_mark_reachable_blocks()
160 ZEND_ASSERT(!(blocks[block_map[live_range->end]].flags & ZEND_BB_REACHABLE)); in zend_mark_reachable_blocks()
169 if (!(b->flags & ZEND_BB_REACHABLE)) { in zend_mark_reachable_blocks()
175 if (b->flags & ZEND_BB_REACHABLE) { in zend_mark_reachable_blocks()
183 if (!(b->flags & ZEND_BB_REACHABLE)) { in zend_mark_reachable_blocks()
187 if (b->flags & ZEND_BB_REACHABLE) { in zend_mark_reachable_blocks()
200 if (b->flags & ZEND_BB_REACHABLE) { in zend_mark_reachable_blocks()
201 b->flags |= ZEND_BB_TRY; in zend_mark_reachable_blocks()
204 b->flags |= ZEND_BB_CATCH; in zend_mark_reachable_blocks()
205 if (!(b->flags & ZEND_BB_REACHABLE)) { in zend_mark_reachable_blocks()
212 b->flags |= ZEND_BB_FINALLY; in zend_mark_reachable_blocks()
213 if (!(b->flags & ZEND_BB_REACHABLE)) { in zend_mark_reachable_blocks()
220 b->flags |= ZEND_BB_FINALLY_END; in zend_mark_reachable_blocks()
221 if (!(b->flags & ZEND_BB_REACHABLE)) { in zend_mark_reachable_blocks()
228 …ZEND_ASSERT(!(blocks[block_map[op_array->try_catch_array[j].catch_op]].flags & ZEND_BB_REACHABLE)); in zend_mark_reachable_blocks()
231 …ZEND_ASSERT(!(blocks[block_map[op_array->try_catch_array[j].finally_op]].flags & ZEND_BB_REACHABLE… in zend_mark_reachable_blocks()
234 …ZEND_ASSERT(!(blocks[block_map[op_array->try_catch_array[j].finally_end]].flags & ZEND_BB_REACHABL… in zend_mark_reachable_blocks()
250 if (blocks[i].flags & ZEND_BB_REACHABLE) { in zend_cfg_remark_reachable_blocks()
259 blocks[i].flags = 0; in zend_cfg_remark_reachable_blocks()
267 block->flags = 0; in initialize_block()
286 uint32_t flags = 0; in zend_build_cfg() local
296 cfg->flags = build_flags & (ZEND_CFG_SPLIT_AT_LIVE_RANGES|ZEND_CFG_STACKLESS|ZEND_CFG_RECV_ENTRY); in zend_build_cfg()
321 flags |= ZEND_FUNC_INDIRECT_VAR_ACCESS; in zend_build_cfg()
332 flags |= ZEND_FUNC_HAS_CALLS; in zend_build_cfg()
338 flags |= ZEND_FUNC_HAS_CALLS; in zend_build_cfg()
349 flags |= zend_optimizer_classify_function( in zend_build_cfg()
419 flags |= ZEND_FUNC_INDIRECT_VAR_ACCESS; in zend_build_cfg()
422 flags |= ZEND_FUNC_INDIRECT_VAR_ACCESS; in zend_build_cfg()
432 flags |= ZEND_FUNC_INDIRECT_VAR_ACCESS; in zend_build_cfg()
435 flags |= ZEND_FUNC_INDIRECT_VAR_ACCESS; in zend_build_cfg()
439 flags |= ZEND_FUNC_VARARG; in zend_build_cfg()
445 flags |= ZEND_FUNC_HAS_EXTENDED_INFO; in zend_build_cfg()
456 if ((cfg->flags & ZEND_CFG_SPLIT_AT_LIVE_RANGES)) { in zend_build_cfg()
604 cfg->flags |= flags; in zend_build_cfg()
623 if (!(b->flags & ZEND_BB_REACHABLE)) { in zend_cfg_build_predecessors()
639 if (b->flags & ZEND_BB_REACHABLE) { in zend_cfg_build_predecessors()
647 if (blocks[j].flags & ZEND_BB_REACHABLE) { in zend_cfg_build_predecessors()
713 if ((blocks[j].flags & ZEND_BB_REACHABLE) == 0) { in zend_cfg_compute_dominators_tree()
742 if ((blocks[j].flags & ZEND_BB_REACHABLE) == 0) { in zend_cfg_compute_dominators_tree()
764 if ((blocks[j].flags & ZEND_BB_REACHABLE) == 0) { in zend_cfg_compute_dominators_tree()
882 blocks[i].flags |= ZEND_BB_LOOP_HEADER; in zend_cfg_identify_loops()
889 blocks[i].flags |= ZEND_BB_IRREDUCIBLE_LOOP; in zend_cfg_identify_loops()
913 cfg->flags |= flag; in zend_cfg_identify_loops()