php-internal-docs 8.4.8
Unofficial docs for php/php-src
Loading...
Searching...
No Matches
zend_cfg.c File Reference
#include "zend_compile.h"
#include "zend_cfg.h"
#include "zend_func_info.h"
#include "zend_worklist.h"
#include "zend_optimizer.h"
#include "zend_optimizer_internal.h"
#include "zend_sort.h"

Go to the source code of this file.

Macros

#define BB_START(i)
 

Functions

void zend_cfg_remark_reachable_blocks (const zend_op_array *op_array, zend_cfg *cfg)
 
ZEND_API void zend_build_cfg (zend_arena **arena, const zend_op_array *op_array, uint32_t build_flags, zend_cfg *cfg)
 
ZEND_API void zend_cfg_build_predecessors (zend_arena **arena, zend_cfg *cfg)
 
ZEND_API void zend_cfg_compute_dominators_tree (const zend_op_array *op_array, zend_cfg *cfg)
 
ZEND_API void zend_cfg_identify_loops (const zend_op_array *op_array, zend_cfg *cfg)
 

Macro Definition Documentation

◆ BB_START

#define BB_START ( i)
Value:
do { \
if (!block_map[i]) { blocks_count++;} \
block_map[i]++; \
} while (0)

Definition at line 268 of file zend_cfg.c.

Function Documentation

◆ zend_build_cfg()

ZEND_API void zend_build_cfg ( zend_arena ** arena,
const zend_op_array * op_array,
uint32_t build_flags,
zend_cfg * cfg )

Definition at line 273 of file zend_cfg.c.

◆ zend_cfg_build_predecessors()

ZEND_API void zend_cfg_build_predecessors ( zend_arena ** arena,
zend_cfg * cfg )

Definition at line 595 of file zend_cfg.c.

◆ zend_cfg_compute_dominators_tree()

ZEND_API void zend_cfg_compute_dominators_tree ( const zend_op_array * op_array,
zend_cfg * cfg )

Definition at line 676 of file zend_cfg.c.

◆ zend_cfg_identify_loops()

ZEND_API void zend_cfg_identify_loops ( const zend_op_array * op_array,
zend_cfg * cfg )

Definition at line 778 of file zend_cfg.c.

◆ zend_cfg_remark_reachable_blocks()

void zend_cfg_remark_reachable_blocks ( const zend_op_array * op_array,
zend_cfg * cfg )

Definition at line 232 of file zend_cfg.c.