php-internal-docs 8.4.8
Unofficial docs for php/php-src
|
#include "zend_compile.h"
#include "zend_generators.h"
#include "zend_inference.h"
#include "zend_func_info.h"
#include "zend_call_graph.h"
#include "zend_closures.h"
#include "zend_worklist.h"
#include "zend_optimizer_internal.h"
Go to the source code of this file.
Data Structures | |
struct | _zend_scc_iterator |
Macros | |
#define | SYM_RANGE |
#define | RANGE_WARMUP_PASSES 16 |
#define | LOG_SSA_RANGE(...) |
#define | LOG_NEG_RANGE(...) |
#define | WHILE_WORKLIST(worklist, len, i) |
#define | WHILE_WORKLIST_END() |
#define | CHECK_SCC_VAR(var2) |
#define | CHECK_SCC_ENTRY(var2) |
#define | ADD_SCC_VAR(_var) |
#define | ADD_SCC_VAR_1(_var) |
#define | FOR_EACH_DEFINED_VAR(line, MACRO) |
#define | FOR_EACH_VAR_USAGE(_var, MACRO) |
#define | UPDATE_SSA_TYPE(_type, _var) |
#define | UPDATE_SSA_OBJ_TYPE(_ce, _is_instanceof, var) |
#define | COPY_SSA_OBJ_TYPE(from_var, to_var) |
Typedefs | |
typedef struct _zend_scc_iterator | zend_scc_iterator |
#define ADD_SCC_VAR | ( | _var | ) |
Definition at line 97 of file zend_inference.c.
#define ADD_SCC_VAR_1 | ( | _var | ) |
Definition at line 105 of file zend_inference.c.
#define CHECK_SCC_ENTRY | ( | var2 | ) |
Definition at line 90 of file zend_inference.c.
#define CHECK_SCC_VAR | ( | var2 | ) |
Definition at line 77 of file zend_inference.c.
#define COPY_SSA_OBJ_TYPE | ( | from_var, | |
to_var ) |
Definition at line 2017 of file zend_inference.c.
Definition at line 114 of file zend_inference.c.
#define FOR_EACH_VAR_USAGE | ( | _var, | |
MACRO ) |
Definition at line 150 of file zend_inference.c.
#define LOG_NEG_RANGE | ( | ... | ) |
Definition at line 60 of file zend_inference.c.
#define LOG_SSA_RANGE | ( | ... | ) |
Definition at line 53 of file zend_inference.c.
#define RANGE_WARMUP_PASSES 16 |
Definition at line 47 of file zend_inference.c.
#define SYM_RANGE |
Definition at line 40 of file zend_inference.c.
#define UPDATE_SSA_OBJ_TYPE | ( | _ce, | |
_is_instanceof, | |||
var ) |
Definition at line 1997 of file zend_inference.c.
#define UPDATE_SSA_TYPE | ( | _type, | |
_var ) |
Definition at line 1948 of file zend_inference.c.
Definition at line 64 of file zend_inference.c.
#define WHILE_WORKLIST_END | ( | ) |
Definition at line 72 of file zend_inference.c.
typedef struct _zend_scc_iterator zend_scc_iterator |
ZEND_API uint32_t zend_array_element_type | ( | uint32_t | t1, |
uint8_t | op_type, | ||
int | write, | ||
int | insert ) |
Definition at line 2128 of file zend_inference.c.
ZEND_API uint32_t ZEND_FASTCALL zend_array_type_info | ( | const zval * | zv | ) |
Definition at line 2094 of file zend_inference.c.
ZEND_API uint32_t zend_fetch_arg_info_type | ( | const zend_script * | script, |
const zend_arg_info * | arg_info, | ||
zend_class_entry ** | pce ) |
Definition at line 2401 of file zend_inference.c.
uint32_t zend_get_return_info_from_signature_only | ( | const zend_function * | func, |
const zend_script * | script, | ||
zend_class_entry ** | ce, | ||
bool * | ce_is_instanceof, | ||
bool | use_tentative_return_info ) |
Definition at line 4511 of file zend_inference.c.
ZEND_API bool zend_inference_propagate_range | ( | const zend_op_array * | op_array, |
const zend_ssa * | ssa, | ||
const zend_op * | opline, | ||
const zend_ssa_op * | ssa_op, | ||
int | var, | ||
zend_ssa_range * | tmp ) |
Definition at line 1252 of file zend_inference.c.
ZEND_API void zend_init_func_return_info | ( | const zend_op_array * | op_array, |
const zend_script * | script, | ||
zend_ssa_var_info * | ret ) |
Definition at line 4538 of file zend_inference.c.
ZEND_API bool zend_may_throw | ( | const zend_op * | opline, |
const zend_ssa_op * | ssa_op, | ||
const zend_op_array * | op_array, | ||
const zend_ssa * | ssa ) |
Definition at line 5336 of file zend_inference.c.
ZEND_API bool zend_may_throw_ex | ( | const zend_op * | opline, |
const zend_ssa_op * | ssa_op, | ||
const zend_op_array * | op_array, | ||
const zend_ssa * | ssa, | ||
uint32_t | t1, | ||
uint32_t | t2 ) |
Definition at line 4921 of file zend_inference.c.
ZEND_API void zend_ssa_find_false_dependencies | ( | const zend_op_array * | op_array, |
zend_ssa * | ssa ) |
Definition at line 490 of file zend_inference.c.
ZEND_API void zend_ssa_find_sccs | ( | const zend_op_array * | op_array, |
zend_ssa * | ssa ) |
Definition at line 443 of file zend_inference.c.
ZEND_API zend_result zend_ssa_inference | ( | zend_arena ** | arena, |
const zend_op_array * | op_array, | ||
const zend_script * | script, | ||
zend_ssa * | ssa, | ||
zend_long | optimization_level ) |
Definition at line 4880 of file zend_inference.c.
ZEND_API zend_result zend_update_type_info | ( | const zend_op_array * | op_array, |
zend_ssa * | ssa, | ||
const zend_script * | script, | ||
zend_op * | opline, | ||
zend_ssa_op * | ssa_op, | ||
const zend_op ** | ssa_opcodes, | ||
zend_long | optimization_level ) |
Definition at line 4114 of file zend_inference.c.