source: src/router/php7/ext/opcache/Optimizer/zend_dump.h @ 31874

Last change on this file since 31874 was 31874, checked in by brainslayer, 6 weeks ago

update php

File size: 2.2 KB
Line 
1/*
2   +----------------------------------------------------------------------+
3   | Zend Engine, Bytecode Visualisation                                  |
4   +----------------------------------------------------------------------+
5   | Copyright (c) 1998-2017 The PHP Group                                |
6   +----------------------------------------------------------------------+
7   | This source file is subject to version 3.01 of the PHP license,      |
8   | that is bundled with this package in the file LICENSE, and is        |
9   | available through the world-wide-web at the following url:           |
10   | http://www.php.net/license/3_01.txt                                  |
11   | If you did not receive a copy of the PHP license and are unable to   |
12   | obtain it through the world-wide-web, please send a note to          |
13   | license@php.net so we can mail you a copy immediately.               |
14   +----------------------------------------------------------------------+
15   | Authors: Dmitry Stogov <dmitry@zend.com>                             |
16   +----------------------------------------------------------------------+
17*/
18
19#ifndef ZEND_DUMP_H
20#define ZEND_DUMP_H
21
22#include "zend_ssa.h"
23#include "zend_dfg.h"
24
25#define ZEND_DUMP_HIDE_UNREACHABLE     (1<<0)
26#define ZEND_DUMP_RC_INFERENCE         (1<<1)
27#define ZEND_DUMP_CFG                  (1<<2)
28#define ZEND_DUMP_SSA                  (1<<3)
29#define ZEND_DUMP_RT_CONSTANTS         ZEND_RT_CONSTANTS
30
31BEGIN_EXTERN_C()
32
33void zend_dump_op_array(const zend_op_array *op_array, uint32_t dump_flags, const char *msg, const void *data);
34void zend_dump_dominators(const zend_op_array *op_array, const zend_cfg *cfg);
35void zend_dump_dfg(const zend_op_array *op_array, const zend_cfg *cfg, const zend_dfg *dfg);
36void zend_dump_phi_placement(const zend_op_array *op_array, const zend_ssa *ssa);
37void zend_dump_variables(const zend_op_array *op_array);
38void zend_dump_ssa_variables(const zend_op_array *op_array, const zend_ssa *ssa, uint32_t dump_flags);
39void zend_dump_var(const zend_op_array *op_array, zend_uchar var_type, int var_num);
40
41END_EXTERN_C()
42
43#endif /* ZEND_DUMP_H */
44
45/*
46 * Local variables:
47 * tab-width: 4
48 * c-basic-offset: 4
49 * indent-tabs-mode: t
50 * End:
51 */
Note: See TracBrowser for help on using the repository browser.