PandA-2024.02
|
This C++ header file contains common macros for the tree structure. More...
#include <string>
#include "refcount.hpp"
#include <boost/preprocessor/cat.hpp>
#include <boost/preprocessor/seq/for_each.hpp>
Go to the source code of this file.
Enumerations | |
enum | kind : int { BOOST_PP_SEQ_FOR_EACH } |
This C++ header file contains common macros for the tree structure.
This C++ header file define some macros useful during the tree structure hierarchy definition and manipulation.
Definition in file tree_common.hpp.
#define BASIC_BLOCK_TREE_NODES (bloc) |
basic block tree_node
Definition at line 125 of file tree_common.hpp.
#define BINARY_EXPRESSION_TREE_NODES |
Definition at line 68 of file tree_common.hpp.
Referenced by tree_node::get_kind(), and tree_node::GetString().
#define CONST_OBJ_TREE_NODES (complex_cst)(integer_cst)(real_cst)(string_cst)(vector_cst)(void_cst) |
Definition at line 111 of file tree_common.hpp.
Referenced by tree_node::get_kind(), and tree_node::GetString().
#define CPP_NODES |
Definition at line 117 of file tree_common.hpp.
#define CPP_STMT_NODES (do_stmt)(if_stmt)(for_stmt)(while_stmt) |
Definition at line 122 of file tree_common.hpp.
Referenced by tree_node::get_kind(), and tree_node::GetString().
#define DECL_NODE_TREE_NODES |
Definition at line 113 of file tree_common.hpp.
Referenced by tree_node::get_kind(), and tree_node::GetString().
#define GET_KIND | ( | meth | ) |
Macro which define a function that return the parameter as a enum kind.
Definition at line 158 of file tree_common.hpp.
Referenced by function_decl::add(), record_type::add_fncs(), union_type::add_fncs(), statement_list::add_stmt(), constructor::add_valu(), vector_cst::add_valu(), gimple_bind::add_vars(), blackbox_pragma::blackbox_pragma(), error_mark::error_mark(), binfo::get_baseinfo_size(), tree_vec::get_op(), gimple_nop::gimple_nop(), gimple_resx::gimple_resx(), issue_pragma::issue_pragma(), map_pragma::map_pragma(), null_node::null_node(), omp_atomic_pragma::omp_atomic_pragma(), omp_pragma::omp_pragma(), omp_section_pragma::omp_section_pragma(), profiling_pragma::profiling_pragma(), statistical_profiling::statistical_profiling(), and template_parm_index::template_parm_index().
#define GIMPLE_NODES |
Definition at line 96 of file tree_common.hpp.
Referenced by tree_node::get_kind(), and tree_node::GetString().
#define MISCELLANEOUS_EXPR_TREE_NODES |
Definition at line 89 of file tree_common.hpp.
Referenced by tree_node::get_kind(), and tree_node::GetString().
#define MISCELLANEOUS_OBJ_TREE_NODES |
Definition at line 100 of file tree_common.hpp.
Referenced by tree_node::get_kind(), and tree_node::GetString().
#define PANDA_EXTENSION_TREE_NODES |
Definition at line 134 of file tree_common.hpp.
Referenced by tree_node::get_kind(), and tree_node::GetString().
#define PANDA_GIMPLE_NODES (gimple_for)(gimple_multi_way_if)(gimple_pragma)(gimple_while) |
Definition at line 94 of file tree_common.hpp.
#define PANDA_PRAGMA_TREE_NODES |
pragma tree_node
Definition at line 128 of file tree_common.hpp.
#define QUATERNARY_EXPRESSION_TREE_NODES (array_range_ref)(array_ref) |
Definition at line 87 of file tree_common.hpp.
Referenced by tree_node::get_kind(), and tree_node::GetString().
#define TERNARY_EXPRESSION_TREE_NODES |
Definition at line 82 of file tree_common.hpp.
Referenced by tree_node::get_kind(), and tree_node::GetString().
#define TREE_NODE_KIND | ( | r, | |
data, | |||
elem | |||
) | BOOST_PP_CAT(elem, _K), |
Definition at line 58 of file tree_common.hpp.
#define TREE_NODE_NAME | ( | r, | |
data, | |||
elem | |||
) | #elem, |
#define TYPE_NODE_TREE_NODES |
Definition at line 105 of file tree_common.hpp.
Referenced by tree_node::get_kind(), and tree_node::GetString().
#define UNARY_EXPRESSION_TREE_NODES |
Definition at line 60 of file tree_common.hpp.
Referenced by tree_node::get_kind(), and tree_node::GetString().
enum kind : int |
Enumerator | |
---|---|
BOOST_PP_SEQ_FOR_EACH |
Definition at line 138 of file tree_common.hpp.