Lines Matching refs:cfg
718 static void zend_dump_block_info(const zend_cfg *cfg, int n, uint32_t dump_flags) in zend_dump_block_info() argument
720 zend_basic_block *b = cfg->blocks + n; in zend_dump_block_info()
773 int *p = cfg->predecessors + b->predecessor_offset; in zend_dump_block_info()
804 j = cfg->blocks[j].next_child; in zend_dump_block_info()
807 j = cfg->blocks[j].next_child; in zend_dump_block_info()
813 static void zend_dump_block_header(const zend_cfg *cfg, const zend_op_array *op_array, const zend_s… in zend_dump_block_header() argument
815 zend_dump_block_info(cfg, n, dump_flags); in zend_dump_block_header()
826 for (j = 0; j < cfg->blocks[n].predecessors_count; j++) { in zend_dump_block_header()
871 const zend_cfg *cfg = NULL; in zend_dump_op_array() local
877 cfg = (const zend_cfg*)data; in zend_dump_op_array()
878 if (!cfg->blocks) { in zend_dump_op_array()
879 cfg = data = NULL; in zend_dump_op_array()
979 if (cfg) { in zend_dump_op_array()
983 for (n = 0; n < cfg->blocks_count; n++) { in zend_dump_op_array()
984 b = cfg->blocks + n; in zend_dump_op_array()
989 zend_dump_block_header(cfg, op_array, ssa, n, dump_flags); in zend_dump_op_array()
1001 if ((cfg->flags & ZEND_CFG_SPLIT_AT_LIVE_RANGES)) { in zend_dump_op_array()
1004 cfg->map[op_array->live_range[i].start], in zend_dump_op_array()
1005 cfg->map[op_array->live_range[i].end]); in zend_dump_op_array()
1032 cfg->map[op_array->try_catch_array[i].try_op]); in zend_dump_op_array()
1035 cfg->map[op_array->try_catch_array[i].catch_op]); in zend_dump_op_array()
1041 cfg->map[op_array->try_catch_array[i].finally_op]); in zend_dump_op_array()
1047 cfg->map[op_array->try_catch_array[i].finally_end]); in zend_dump_op_array()
1112 void zend_dump_dominators(const zend_op_array *op_array, const zend_cfg *cfg) in zend_dump_dominators() argument
1119 for (j = 0; j < cfg->blocks_count; j++) { in zend_dump_dominators()
1120 zend_basic_block *b = cfg->blocks + j; in zend_dump_dominators()
1122 zend_dump_block_info(cfg, j, 0); in zend_dump_dominators()
1185 void zend_dump_dfg(const zend_op_array *op_array, const zend_cfg *cfg, const zend_dfg *dfg) in zend_dump_dfg() argument
1192 for (j = 0; j < cfg->blocks_count; j++) { in zend_dump_dfg()
1205 int blocks_count = ssa->cfg.blocks_count; in zend_dump_phi_placement()