/PHP-8.0/ext/opcache/Optimizer/ |
H A D | zend_cfg.c | 29 zend_basic_block *blocks = cfg->blocks; in zend_mark_reachable() local 110 zend_basic_block *blocks = cfg->blocks; in zend_mark_reachable_blocks() local 231 zend_basic_block *blocks = cfg->blocks; in zend_cfg_remark_reachable_blocks() local 603 zend_basic_block *blocks = cfg->blocks; in zend_cfg_build_predecessors() local 684 zend_basic_block *blocks = cfg->blocks; in zend_cfg_compute_dominators_tree() local 736 if (blocks[blocks[j].idom].children < 0 || in zend_cfg_compute_dominators_tree() 738 blocks[j].next_child = blocks[blocks[j].idom].children; in zend_cfg_compute_dominators_tree() 739 blocks[blocks[j].idom].children = j; in zend_cfg_compute_dominators_tree() 741 int k = blocks[blocks[j].idom].children; in zend_cfg_compute_dominators_tree() 775 while (blocks[b].level > blocks[a].level) { in dominates() [all …]
|
H A D | zend_ssa.c | 29 while (blocks[b].level > blocks[a].level) { in dominates() 30 b = blocks[b].idom; in dominates() 114 ssa->blocks[to].phis = phi; in add_pi() 245 zend_basic_block *blocks = ssa->cfg.blocks; in place_essa_pis() local 249 zend_op *opline = op_array->opcodes + blocks[j].start + blocks[j].len - 1; in place_essa_pis() 253 if ((blocks[j].flags & ZEND_BB_REACHABLE) == 0 || blocks[j].len == 0) { in place_essa_pis() 292 if (blocks[j].len == 1) { in place_essa_pis() 796 zend_basic_block *blocks = ssa->cfg.blocks; in zend_ssa_rename() local 838 ? &ssa_ops[blocks[n].start + blocks[n].len - 1] : NULL; in zend_ssa_rename() 895 j = blocks[n].children; in zend_ssa_rename() [all …]
|
H A D | zend_dfg.c | 254 zend_basic_block *blocks = cfg->blocks; in zend_build_dfg() local 272 if ((blocks[j].flags & ZEND_BB_REACHABLE) == 0) { in zend_build_dfg() 276 opline = op_array->opcodes + blocks[j].start; in zend_build_dfg() 277 end = opline + blocks[j].len; in zend_build_dfg() 303 if ((blocks[j].flags & ZEND_BB_REACHABLE) == 0) { in zend_build_dfg() 306 if (blocks[j].successors_count != 0) { in zend_build_dfg() 307 …zend_bitset_copy(DFG_BITSET(out, set_size, j), DFG_BITSET(in, set_size, blocks[j].successors[0]), … in zend_build_dfg() 308 for (k = 1; k < blocks[j].successors_count; k++) { in zend_build_dfg() 309 …zend_bitset_union(DFG_BITSET(out, set_size, j), DFG_BITSET(in, set_size, blocks[j].successors[k]),… in zend_build_dfg() 320 int *predecessors = &cfg->predecessors[blocks[j].predecessor_offset]; in zend_build_dfg() [all …]
|
H A D | scdf.c | 74 zend_ssa_block *ssa_block = &scdf->ssa->blocks[to]; in scdf_mark_edge_feasible() 123 zend_basic_block *block = &ssa->cfg.blocks[block_num]; in scdf_solve() 143 zend_basic_block *block = &ssa->cfg.blocks[i]; in scdf_solve() 144 zend_ssa_block *ssa_block = &ssa->blocks[i]; in scdf_solve() 192 const zend_basic_block *block = &cfg->blocks[block_idx]; in kept_alive_by_loop_var_free() 223 && (ssa->cfg.blocks[i].flags & ZEND_BB_REACHABLE) in scdf_remove_unreachable_blocks() 225 removed_ops += ssa->cfg.blocks[i].len; in scdf_remove_unreachable_blocks()
|
H A D | block_pass.c | 959 zend_basic_block *blocks = cfg->blocks; in assemble_code_blocks() local 967 for (b = blocks; b < end; b++) { in assemble_code_blocks() 1016 for (b = blocks; b < end; b++) { in assemble_code_blocks() 1029 for (b = blocks; b < end; b++) { in assemble_code_blocks() 1157 target_block = cfg->blocks + b; in get_target_block() 1173 target_block = cfg->blocks + b; in get_follow_block() 1595 block = cfg->blocks + n; in zend_t_usage() 1676 block = cfg->blocks + (--n); in zend_t_usage() 1794 b = cfg->blocks + i; in zend_merge_blocks() 1880 blocks = cfg.blocks; in zend_optimize_cfg() [all …]
|
H A D | zend_ssa.h | 140 zend_ssa_block *blocks; /* array of SSA blocks */ member 209 for (j = 0; j < ssa->cfg.blocks[p->block].predecessors_count; j++) { in zend_ssa_next_use_phi() 263 ((phi)->pi >= 0 ? 1 : (ssa->cfg.blocks[(phi)->block].predecessors_count)) 297 phi = ssa->blocks[_i].phis; \ 307 (block) = &ssa->cfg.blocks[_i]; \
|
/PHP-8.0/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 | 10 $filter = stream_filter_append($stream, 'bzip2.compress', STREAM_FILTER_WRITE, ['blocks' => 9, 'wor…
|
/PHP-8.0/ext/opcache/jit/ |
H A D | zend_jit.c | 128 while (blocks[b].level > blocks[a].level) { in dominates() 129 b = blocks[b].idom; in dominates() 749 && ssa->cfg.blocks in zend_jit_op_array_analyze1() 776 && ssa->cfg.blocks in zend_jit_op_array_analyze2() 1040 b = ssa->cfg.blocks + n; in zend_jit_compute_block_order_int() 1083 b = ssa->cfg.blocks + n; in zend_jit_compute_loop_body() 1159 b = ssa->cfg.blocks + i; in zend_jit_compute_liveness() 2146 opline = op_array->opcodes + ssa->cfg.blocks[b].start + ssa->cfg.blocks[b].len - 1; in zend_jit() 2149 ssa->cfg.blocks[ssa->cfg.blocks[b].successors[0]].flags |= ZEND_BB_TARGET; in zend_jit() 2316 end = ssa->cfg.blocks[b].start + ssa->cfg.blocks[b].len - 1; in zend_jit() [all …]
|
/PHP-8.0/ext/filter/ |
H A D | logical_filters.c | 751 int blocks = 0; in _php_filter_validate_ipv6() local 783 blocks = 2; in _php_filter_validate_ipv6() 798 if (ip && blocks < 8) { in _php_filter_validate_ipv6() 799 ip[blocks] = -1; in _php_filter_validate_ipv6() 803 if (blocks > 8) { in _php_filter_validate_ipv6() 827 if (ip && blocks < 8) { in _php_filter_validate_ipv6() 828 ip[blocks] = num; in _php_filter_validate_ipv6() 833 if (++blocks > 8) in _php_filter_validate_ipv6() 845 } else if (ip && compressed_pos >= 0 && blocks <= 8) { in _php_filter_validate_ipv6() 846 int offset = 8 - blocks; in _php_filter_validate_ipv6() [all …]
|
/PHP-8.0/Zend/tests/ |
H A D | jump14.phpt | 2 Testing GOTO inside blocks
|
H A D | bug72188.phpt | 2 Bug #72188 (Nested try/finally blocks losing return value)
|
H A D | jump13.phpt | 2 jump 10: goto with try blocks
|
H A D | bug66608.phpt | 2 Bug #66608 (Incorrect behavior with nested "finally" blocks)
|
/PHP-8.0/ext/opcache/tests/ |
H A D | phi_use_chain.phpt | 2 Check that phi use chains are correctly maintained when removing blocks
|
H A D | ssa_bug_001.phpt | 2 SSA construction for CFG with unreachable basic blocks
|
/PHP-8.0/ext/standard/tests/file/ |
H A D | lstat_stat_variation19.phpt | 103 ["blocks"]=> 157 ["blocks"]=> 213 ["blocks"]=> 267 ["blocks"]=>
|
H A D | lstat_stat_variation20.phpt | 112 ["blocks"]=> 168 ["blocks"]=> 222 ["blocks"]=> 276 ["blocks"]=>
|
H A D | stat_variation7-win32.phpt | 123 ["blocks"]=> 177 ["blocks"]=> 233 ["blocks"]=> 287 ["blocks"]=>
|
H A D | userwrapper.phpt | 30 'blksize'=>-1, 'blocks'=>-1); 79 [blocks] => -1
|
H A D | fstat_basic.phpt | 61 ["blocks"]=>
|
/PHP-8.0/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)
|
/PHP-8.0/tests/classes/ |
H A D | autoload_008.phpt | 2 Ensure catch blocks for unknown exception types do not trigger autoload.
|
/PHP-8.0/ext/bz2/ |
H A D | bz2_filter.c | 367 zend_long blocks = zval_get_long(tmpzval); in php_bz2_filter_create() local 368 if (blocks < 1 || blocks > 9) { in php_bz2_filter_create() 369 …E_WARNING, "Invalid parameter given for number of blocks to allocate (" ZEND_LONG_FMT ")", blocks); in php_bz2_filter_create() 371 blockSize100k = (int) blocks; in php_bz2_filter_create()
|