/php-src/Zend/Optimizer/ |
H A D | zend_cfg.c | 29 zend_basic_block *blocks = cfg->blocks; in zend_mark_reachable() local 109 zend_basic_block *blocks = cfg->blocks; in zend_mark_reachable_blocks() local 230 zend_basic_block *blocks = cfg->blocks; in zend_cfg_remark_reachable_blocks() local 595 zend_basic_block *blocks = cfg->blocks; in zend_cfg_build_predecessors() local 674 zend_basic_block *blocks = cfg->blocks; in zend_cfg_compute_dominators_tree() local 729 if (blocks[blocks[j].idom].children < 0 || in zend_cfg_compute_dominators_tree() 731 blocks[j].next_child = blocks[blocks[j].idom].children; in zend_cfg_compute_dominators_tree() 732 blocks[blocks[j].idom].children = j; in zend_cfg_compute_dominators_tree() 734 int k = blocks[blocks[j].idom].children; in zend_cfg_compute_dominators_tree() 767 while (blocks[b].level > blocks[a].level) { in dominates() [all …]
|
H A D | zend_ssa.c | 28 while (blocks[b].level > blocks[a].level) { in dominates() 29 b = blocks[b].idom; in dominates() 113 ssa->blocks[to].phis = phi; in add_pi() 244 zend_basic_block *blocks = ssa->cfg.blocks; in place_essa_pis() local 248 zend_op *opline = op_array->opcodes + blocks[j].start + blocks[j].len - 1; in place_essa_pis() 252 if ((blocks[j].flags & ZEND_BB_REACHABLE) == 0 || blocks[j].len == 0) { in place_essa_pis() 290 if (blocks[j].len == 1) { in place_essa_pis() 821 zend_basic_block *blocks = ssa->cfg.blocks; in zend_ssa_rename() local 863 ? &ssa_ops[blocks[n].start + blocks[n].len - 1] : NULL; in zend_ssa_rename() 920 j = blocks[n].children; in zend_ssa_rename() [all …]
|
H A D | zend_dfg.c | 255 zend_basic_block *blocks = cfg->blocks; in zend_build_dfg() local 273 if ((blocks[j].flags & ZEND_BB_REACHABLE) == 0) { in zend_build_dfg() 277 opline = op_array->opcodes + blocks[j].start; in zend_build_dfg() 278 end = opline + blocks[j].len; in zend_build_dfg() 304 if ((blocks[j].flags & ZEND_BB_REACHABLE) == 0) { in zend_build_dfg() 307 if (blocks[j].successors_count != 0) { in zend_build_dfg() 308 …zend_bitset_copy(DFG_BITSET(out, set_size, j), DFG_BITSET(in, set_size, blocks[j].successors[0]), … in zend_build_dfg() 309 for (k = 1; k < blocks[j].successors_count; k++) { in zend_build_dfg() 310 …zend_bitset_union(DFG_BITSET(out, set_size, j), DFG_BITSET(in, set_size, blocks[j].successors[k]),… in zend_build_dfg() 321 int *predecessors = &cfg->predecessors[blocks[j].predecessor_offset]; in zend_build_dfg() [all …]
|
H A D | block_pass.c | 937 zend_basic_block *blocks = cfg->blocks; in assemble_code_blocks() local 944 for (b = blocks; b < end; b++) { in assemble_code_blocks() 985 for (b = blocks; b < end; b++) { in assemble_code_blocks() 998 for (b = blocks; b < end; b++) { in assemble_code_blocks() 1118 target_block = cfg->blocks + b; in get_target_block() 1134 target_block = cfg->blocks + b; in get_follow_block() 1432 block = cfg->blocks + n; in zend_t_usage() 1513 block = cfg->blocks + (--n); in zend_t_usage() 1620 b = cfg->blocks + i; in zend_merge_blocks() 1703 blocks = cfg.blocks; in zend_optimize_cfg() [all …]
|
H A D | scdf.c | 73 zend_ssa_block *ssa_block = &scdf->ssa->blocks[to]; in scdf_mark_edge_feasible() 122 zend_basic_block *block = &ssa->cfg.blocks[block_num]; in scdf_solve() 142 zend_basic_block *block = &ssa->cfg.blocks[i]; in scdf_solve() 143 zend_ssa_block *ssa_block = &ssa->blocks[i]; in scdf_solve() 227 int block_num = block - cfg->blocks; in cleanup_loop_var_free_block() 231 for (zend_ssa_phi *phi = ssa->blocks[block_num].phis; phi; phi = phi->next) { in cleanup_loop_var_free_block() 264 zend_basic_block *block = &ssa->cfg.blocks[i]; in scdf_remove_unreachable_blocks()
|
H A D | zend_ssa.h | 139 zend_ssa_block *blocks; /* array of SSA blocks */ member 211 for (j = 0; j < ssa->cfg.blocks[p->block].predecessors_count; j++) { in zend_ssa_next_use_phi() 265 ((phi)->pi >= 0 ? 1 : (ssa->cfg.blocks[(phi)->block].predecessors_count)) 299 phi = ssa->blocks[_i].phis; \ 309 (block) = &ssa->cfg.blocks[_i]; \
|
/php-src/ext/opcache/jit/ir/ |
H A D | ir_cfg.c | 69 ir_block *blocks, *bb; in ir_build_cfg() local 178 bb = blocks + 1; in ir_build_cfg() 237 bb = blocks + 1; in ir_build_cfg() 280 bb = &blocks[b]; in ir_build_cfg() 544 blocks[1].idom = 1; 601 blocks[1].idom = 0; 653 blocks[1].idom = 1; in ir_build_dominators_tree() 726 blocks[1].idom = 0; in ir_build_dominators_tree() 736 bb = &blocks[b]; in ir_build_dominators_tree() 910 bb = &blocks[i]; in ir_find_loops() [all …]
|
/php-src/ext/bz2/tests/ |
H A D | bug72447.phpt | 8 $param = array('blocks' => $input); 19 Warning: stream_filter_append(): Invalid parameter given for number of blocks to allocate (0) in %s…
|
H A D | bug81092.phpt | 8 $filter = stream_filter_append($stream, 'bzip2.compress', STREAM_FILTER_WRITE, ['blocks' => 9, 'wor…
|
/php-src/ext/opcache/jit/ |
H A D | zend_jit.c | 114 while (blocks[b].level > blocks[a].level) { in dominates() 115 b = blocks[b].idom; in dominates() 147 (ssa->cfg.blocks[b].flags & ZEND_BB_LOOP_HEADER) ? b : ssa->cfg.blocks[b].loop_header)) { in zend_ssa_is_last_use() 387 if (end - op_array->opcodes >= ssa->cfg.blocks[b].start + ssa->cfg.blocks[b].len) { in zend_jit_needs_call_chain() 402 if (!end || end - op_array->opcodes >= ssa->cfg.blocks[b].start + ssa->cfg.blocks[b].len) { in zend_jit_needs_call_chain() 1080 && ssa->cfg.blocks in zend_jit_op_array_analyze1() 1101 && ssa->cfg.blocks in zend_jit_op_array_analyze2() 1320 bb = &cfg->blocks[b]; in zend_jit_compute_post_order() 1543 if (!ssa->cfg.blocks[b].len) { in zend_jit() 1571 end = ssa->cfg.blocks[b].start + ssa->cfg.blocks[b].len - 1; in zend_jit() [all …]
|
/php-src/ext/filter/ |
H A D | logical_filters.c | 764 int blocks = 0; in _php_filter_validate_ipv6() local 796 blocks = 2; in _php_filter_validate_ipv6() 811 if (ip && blocks < 8) { in _php_filter_validate_ipv6() 812 ip[blocks] = -1; in _php_filter_validate_ipv6() 816 if (blocks > 8) { in _php_filter_validate_ipv6() 840 if (ip && blocks < 8) { in _php_filter_validate_ipv6() 841 ip[blocks] = num; in _php_filter_validate_ipv6() 846 if (++blocks > 8) in _php_filter_validate_ipv6() 858 } else if (ip && compressed_pos >= 0 && blocks <= 8) { in _php_filter_validate_ipv6() 859 int offset = 8 - blocks; in _php_filter_validate_ipv6() [all …]
|
/php-src/ext/fileinfo/tests/upstream/ |
H A D | uf2.result | 1 UF2 firmware image, family ESP32-S2, address 00000000, 4829 total blocks
|
/php-src/Zend/tests/jump/ |
H A D | jump14.phpt | 2 Testing GOTO inside blocks
|
H A D | jump13.phpt | 2 jump 13: goto with try blocks
|
/php-src/Zend/tests/ |
H A D | bug72188.phpt | 2 Bug #72188 (Nested try/finally blocks losing return value)
|
H A D | gh14626.phpt | 2 GH-14626: is_zend_ptr() may crash for non-zend ptrs when huge blocks exist
|
/php-src/ext/standard/tests/file/ |
H A D | lstat_stat_variation19.phpt | 103 ["blocks"]=> 157 ["blocks"]=> 213 ["blocks"]=> 267 ["blocks"]=>
|
H A D | stat_variation7-win32.phpt | 123 ["blocks"]=> 177 ["blocks"]=> 233 ["blocks"]=> 287 ["blocks"]=>
|
H A D | lstat_stat_variation20.phpt | 112 ["blocks"]=> 168 ["blocks"]=> 222 ["blocks"]=> 276 ["blocks"]=>
|
/php-src/ext/opcache/tests/ |
H A D | ssa_bug_001.phpt | 2 SSA construction for CFG with unreachable basic blocks
|
H A D | phi_use_chain.phpt | 2 Check that phi use chains are correctly maintained when removing blocks
|
/php-src/ext/phar/tests/tar/ |
H A D | gh16695_3.phpt | 2 GH-16695 (phar:// tar parser and zero-length file header blocks)
|
H A D | gh16695_2.phpt | 2 GH-16695 (phar:// tar parser and zero-length file header blocks)
|
/php-src/Zend/tests/try/ |
H A D | try_catch_finally_003.phpt | 2 Try catch finally (multi catch blocks with return)
|
H A D | try_catch_finally_002.phpt | 2 Try catch finally catch(multi catch blocks)
|