Lines Matching refs:flags
34 b->flags |= ZEND_BB_REACHABLE; in zend_mark_reachable()
36 b->flags |= ZEND_BB_EXIT; in zend_mark_reachable()
46 succ->flags |= ZEND_BB_TARGET; in zend_mark_reachable()
49 succ->flags |= ZEND_BB_FOLLOW | ZEND_BB_TARGET; in zend_mark_reachable()
51 succ->flags |= ZEND_BB_TARGET; in zend_mark_reachable()
55 succ->flags |= ZEND_BB_TARGET; in zend_mark_reachable()
57 succ->flags |= ZEND_BB_FOLLOW; in zend_mark_reachable()
59 if ((cfg->flags & ZEND_CFG_STACKLESS)) { in zend_mark_reachable()
67 succ->flags |= ZEND_BB_ENTRY; in zend_mark_reachable()
70 if ((cfg->flags & ZEND_CFG_RECV_ENTRY)) { in zend_mark_reachable()
73 succ->flags |= ZEND_BB_RECV_ENTRY; in zend_mark_reachable()
80 succ->flags |= ZEND_BB_TARGET; in zend_mark_reachable()
82 succ->flags |= ZEND_BB_FOLLOW; in zend_mark_reachable()
86 succ->flags |= ZEND_BB_FOLLOW; in zend_mark_reachable()
91 if (succ->flags & ZEND_BB_REACHABLE) { in zend_mark_reachable()
99 if (!(succ->flags & ZEND_BB_REACHABLE)) { in zend_mark_reachable()
112 blocks[start].flags = ZEND_BB_START; in zend_mark_reachable_blocks()
128 if (!(b->flags & ZEND_BB_REACHABLE)) { in zend_mark_reachable_blocks()
134 if (b->flags & ZEND_BB_REACHABLE) { in zend_mark_reachable_blocks()
142 if (!(b->flags & ZEND_BB_REACHABLE)) { in zend_mark_reachable_blocks()
146 if (b->flags & ZEND_BB_REACHABLE) { in zend_mark_reachable_blocks()
159 if (b->flags & ZEND_BB_REACHABLE) { in zend_mark_reachable_blocks()
160 b->flags |= ZEND_BB_TRY; in zend_mark_reachable_blocks()
163 b->flags |= ZEND_BB_CATCH; in zend_mark_reachable_blocks()
164 if (!(b->flags & ZEND_BB_REACHABLE)) { in zend_mark_reachable_blocks()
171 b->flags |= ZEND_BB_FINALLY; in zend_mark_reachable_blocks()
172 if (!(b->flags & ZEND_BB_REACHABLE)) { in zend_mark_reachable_blocks()
179 b->flags |= ZEND_BB_FINALLY_END; in zend_mark_reachable_blocks()
180 if (!(b->flags & ZEND_BB_REACHABLE)) { in zend_mark_reachable_blocks()
187 …ZEND_ASSERT(!(blocks[block_map[op_array->try_catch_array[j].catch_op]].flags & ZEND_BB_REACHABLE)); in zend_mark_reachable_blocks()
190 …ZEND_ASSERT(!(blocks[block_map[op_array->try_catch_array[j].finally_op]].flags & ZEND_BB_REACHABLE… in zend_mark_reachable_blocks()
193 …ZEND_ASSERT(!(blocks[block_map[op_array->try_catch_array[j].finally_end]].flags & ZEND_BB_REACHABL… in zend_mark_reachable_blocks()
200 if (cfg->flags & ZEND_FUNC_FREE_LOOP_VAR) { in zend_mark_reachable_blocks()
207 if (b->flags & ZEND_BB_REACHABLE) { in zend_mark_reachable_blocks()
217 if (blocks[def_block].flags & ZEND_BB_REACHABLE) { in zend_mark_reachable_blocks()
218 b->flags |= ZEND_BB_UNREACHABLE_FREE; in zend_mark_reachable_blocks()
236 if (blocks[i].flags & ZEND_BB_REACHABLE) { in zend_cfg_remark_reachable_blocks()
245 blocks[i].flags = 0; in zend_cfg_remark_reachable_blocks()
253 block->flags = 0; in initialize_block()
272 uint32_t flags = 0; in zend_build_cfg() local
282 cfg->flags = build_flags & (ZEND_CFG_STACKLESS|ZEND_CFG_RECV_ENTRY); in zend_build_cfg()
315 flags |= ZEND_FUNC_INDIRECT_VAR_ACCESS; in zend_build_cfg()
327 flags |= ZEND_FUNC_HAS_CALLS; in zend_build_cfg()
333 flags |= ZEND_FUNC_HAS_CALLS; in zend_build_cfg()
344 flags |= zend_optimizer_classify_function( in zend_build_cfg()
413 flags |= ZEND_FUNC_INDIRECT_VAR_ACCESS; in zend_build_cfg()
416 flags |= ZEND_FUNC_INDIRECT_VAR_ACCESS; in zend_build_cfg()
420 flags |= ZEND_FUNC_VARARG; in zend_build_cfg()
423 flags |= ZEND_FUNC_HAS_EXTENDED_STMT; in zend_build_cfg()
427 flags |= ZEND_FUNC_HAS_EXTENDED_FCALL; in zend_build_cfg()
435 flags |= ZEND_FUNC_FREE_LOOP_VAR; in zend_build_cfg()
585 cfg->flags |= flags; in zend_build_cfg()
603 if (!(b->flags & ZEND_BB_REACHABLE)) { in zend_cfg_build_predecessors()
619 if (b->flags & ZEND_BB_REACHABLE) { in zend_cfg_build_predecessors()
627 if (blocks[j].flags & ZEND_BB_REACHABLE) { in zend_cfg_build_predecessors()
696 if ((blocks[j].flags & ZEND_BB_REACHABLE) == 0) { in zend_cfg_compute_dominators_tree()
723 if ((blocks[j].flags & ZEND_BB_REACHABLE) == 0) { in zend_cfg_compute_dominators_tree()
745 if ((blocks[j].flags & ZEND_BB_REACHABLE) == 0) { in zend_cfg_compute_dominators_tree()
786 cfg->flags |= flag; in zend_cfg_identify_loops()
862 blocks[i].flags |= ZEND_BB_LOOP_HEADER; in zend_cfg_identify_loops()
872 blocks[i].flags |= ZEND_BB_IRREDUCIBLE_LOOP; in zend_cfg_identify_loops()
899 cfg->flags |= flag; in zend_cfg_identify_loops()