Lines Matching refs:flags
41 b->flags |= ZEND_BB_REACHABLE; in zend_mark_reachable()
43 b->flags |= ZEND_BB_EXIT; in zend_mark_reachable()
53 succ->flags |= ZEND_BB_TARGET; in zend_mark_reachable()
56 succ->flags |= ZEND_BB_FOLLOW | ZEND_BB_TARGET; in zend_mark_reachable()
58 succ->flags |= ZEND_BB_TARGET; in zend_mark_reachable()
62 succ->flags |= ZEND_BB_TARGET; in zend_mark_reachable()
64 succ->flags |= ZEND_BB_FOLLOW; in zend_mark_reachable()
66 if ((cfg->flags & ZEND_CFG_STACKLESS)) { in zend_mark_reachable()
74 succ->flags |= ZEND_BB_ENTRY; in zend_mark_reachable()
77 if ((cfg->flags & ZEND_CFG_RECV_ENTRY)) { in zend_mark_reachable()
80 succ->flags |= ZEND_BB_RECV_ENTRY; in zend_mark_reachable()
87 succ->flags |= ZEND_BB_TARGET; in zend_mark_reachable()
89 succ->flags |= ZEND_BB_FOLLOW; in zend_mark_reachable()
93 succ->flags |= ZEND_BB_FOLLOW; in zend_mark_reachable()
97 if (!(succ->flags & ZEND_BB_REACHABLE)) { in zend_mark_reachable()
111 blocks[start].flags = ZEND_BB_START; in zend_mark_reachable_blocks()
127 if (!(b->flags & ZEND_BB_REACHABLE)) { in zend_mark_reachable_blocks()
133 if (b->flags & ZEND_BB_REACHABLE) { in zend_mark_reachable_blocks()
141 if (!(b->flags & ZEND_BB_REACHABLE)) { in zend_mark_reachable_blocks()
145 if (b->flags & ZEND_BB_REACHABLE) { in zend_mark_reachable_blocks()
158 if (b->flags & ZEND_BB_REACHABLE) { in zend_mark_reachable_blocks()
159 b->flags |= ZEND_BB_TRY; in zend_mark_reachable_blocks()
162 b->flags |= ZEND_BB_CATCH; in zend_mark_reachable_blocks()
163 if (!(b->flags & ZEND_BB_REACHABLE)) { in zend_mark_reachable_blocks()
170 b->flags |= ZEND_BB_FINALLY; in zend_mark_reachable_blocks()
171 if (!(b->flags & ZEND_BB_REACHABLE)) { in zend_mark_reachable_blocks()
178 b->flags |= ZEND_BB_FINALLY_END; in zend_mark_reachable_blocks()
179 if (!(b->flags & ZEND_BB_REACHABLE)) { in zend_mark_reachable_blocks()
186 …ZEND_ASSERT(!(blocks[block_map[op_array->try_catch_array[j].catch_op]].flags & ZEND_BB_REACHABLE)); in zend_mark_reachable_blocks()
189 …ZEND_ASSERT(!(blocks[block_map[op_array->try_catch_array[j].finally_op]].flags & ZEND_BB_REACHABLE… in zend_mark_reachable_blocks()
192 …ZEND_ASSERT(!(blocks[block_map[op_array->try_catch_array[j].finally_end]].flags & ZEND_BB_REACHABL… in zend_mark_reachable_blocks()
199 if (cfg->flags & ZEND_FUNC_FREE_LOOP_VAR) { in zend_mark_reachable_blocks()
206 if (b->flags & ZEND_BB_REACHABLE) { in zend_mark_reachable_blocks()
216 if (blocks[def_block].flags & ZEND_BB_REACHABLE) { in zend_mark_reachable_blocks()
217 b->flags |= ZEND_BB_UNREACHABLE_FREE; in zend_mark_reachable_blocks()
235 if (blocks[i].flags & ZEND_BB_REACHABLE) { in zend_cfg_remark_reachable_blocks()
244 blocks[i].flags = 0; in zend_cfg_remark_reachable_blocks()
252 block->flags = 0; in initialize_block()
271 uint32_t flags = 0; in zend_build_cfg() local
281 cfg->flags = build_flags & (ZEND_CFG_STACKLESS|ZEND_CFG_RECV_ENTRY); in zend_build_cfg()
313 flags |= ZEND_FUNC_INDIRECT_VAR_ACCESS; in zend_build_cfg()
325 flags |= ZEND_FUNC_HAS_CALLS; in zend_build_cfg()
331 flags |= ZEND_FUNC_HAS_CALLS; in zend_build_cfg()
342 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()
586 cfg->flags |= flags; in zend_build_cfg()
604 if (!(b->flags & ZEND_BB_REACHABLE)) { in zend_cfg_build_predecessors()
620 if (b->flags & ZEND_BB_REACHABLE) { in zend_cfg_build_predecessors()
628 if (blocks[j].flags & ZEND_BB_REACHABLE) { in zend_cfg_build_predecessors()
697 if ((blocks[j].flags & ZEND_BB_REACHABLE) == 0) { in zend_cfg_compute_dominators_tree()
724 if ((blocks[j].flags & ZEND_BB_REACHABLE) == 0) { in zend_cfg_compute_dominators_tree()
746 if ((blocks[j].flags & ZEND_BB_REACHABLE) == 0) { in zend_cfg_compute_dominators_tree()
787 cfg->flags |= flag; in zend_cfg_identify_loops()
863 blocks[i].flags |= ZEND_BB_LOOP_HEADER; in zend_cfg_identify_loops()
873 blocks[i].flags |= ZEND_BB_IRREDUCIBLE_LOOP; in zend_cfg_identify_loops()
900 cfg->flags |= flag; in zend_cfg_identify_loops()