|
Polly 23.0.0git
|
#include <cpp-checked.h>
Public Member Functions | |
| ast_node () | |
| ast_node (const ast_node &obj) | |
| ast_node & | operator= (ast_node obj) |
| ~ast_node () | |
| __isl_give isl_ast_node * | copy () const & |
| __isl_give isl_ast_node * | copy () &&=delete |
| __isl_keep isl_ast_node * | get () const |
| __isl_give isl_ast_node * | release () |
| bool | is_null () const |
| template<class T> | |
| boolean | isa () const |
| template<class T> | |
| T | as () const |
| isl::checked::ctx | ctx () const |
| isl::checked::ast_node | map_descendant_bottom_up (const std::function< isl::checked::ast_node(isl::checked::ast_node)> &fn) const |
| std::string | to_C_str () const |
| isl::checked::ast_node_list | to_list () const |
| template<typename T, typename> | |
| bool | isa_type (T subtype) const |
| template<class T> | |
| bool | isa () const |
Protected Member Functions | |
| ast_node (__isl_take isl_ast_node *ptr) | |
Protected Attributes | |
| isl_ast_node * | ptr = nullptr |
Private Member Functions | |
| template<typename T, typename = typename std::enable_if<std::is_same< const decltype(isl_ast_node_get_type(NULL)), const T>::value>::type> | |
| boolean | isa_type (T subtype) const |
Friends | |
| ast_node | manage (__isl_take isl_ast_node *ptr) |
| ast_node | manage_copy (__isl_keep isl_ast_node *ptr) |
Definition at line 1201 of file cpp-checked.h.
|
inlineexplicitprotected |
Definition at line 6885 of file cpp-checked.h.
References __isl_take, and ptr.
Referenced by ast_node(), isl::checked::ast_node_block::ast_node_block(), isl::checked::ast_node_block::ast_node_block(), isl::checked::ast_node_block::ast_node_block(), isl::checked::ast_node_for::ast_node_for(), isl::checked::ast_node_for::ast_node_for(), isl::checked::ast_node_for::ast_node_for(), isl::checked::ast_node_if::ast_node_if(), isl::checked::ast_node_if::ast_node_if(), isl::checked::ast_node_if::ast_node_if(), isl::checked::ast_node_mark::ast_node_mark(), isl::checked::ast_node_mark::ast_node_mark(), isl::checked::ast_node_mark::ast_node_mark(), isl::checked::ast_node_user::ast_node_user(), isl::checked::ast_node_user::ast_node_user(), isl::checked::ast_node_user::ast_node_user(), copy(), manage, manage_copy, and operator=().
|
inline |
Definition at line 6888 of file cpp-checked.h.
References ptr.
|
inline |
Definition at line 6891 of file cpp-checked.h.
References ast_node(), obj, and ptr.
|
inline |
Definition at line 6902 of file cpp-checked.h.
References isl_ast_node_free(), and ptr.
|
inline |
Definition at line 6938 of file cpp-checked.h.
References copy(), ctx(), get(), isa(), isl_die, and isl_error_invalid.
Referenced by isl::checked::ast_node_block::ast_node::as, isl::checked::ast_node_for::ast_node::as, isl::checked::ast_node_if::ast_node::as, isl::checked::ast_node_mark::ast_node::as, isl::checked::ast_node_user::ast_node::as, copy(), polly::IslNodeBuilder::getNumberOfIterations(), and IsLoopVectorizerDisabled().
|
inlinedelete |
References __isl_give, __isl_keep, as(), ast_node(), copy(), ctx(), fn, get(), is_null(), isa(), isa_type(), isl_ast_node_get_type(), map_descendant_bottom_up(), release(), to_C_str(), to_list(), and type.
|
inline |
Definition at line 6907 of file cpp-checked.h.
References __isl_give, isl_ast_node_copy(), and ptr.
Referenced by as(), copy(), map_descendant_bottom_up(), and to_list().
|
inline |
Definition at line 6945 of file cpp-checked.h.
References isl_ast_node_get_ctx(), and ptr.
|
inline |
Definition at line 6911 of file cpp-checked.h.
References __isl_keep, and ptr.
Referenced by isl::ast_node::annotation(), as(), isl::checked::ast_node_for::body(), isl::checked::ast_node_block::children(), isl::checked::ast_node_for::cond(), isl::checked::ast_node_if::cond(), copy(), isl::checked::ast_node_if::else_node(), isl::checked::ast_node_user::expr(), polly::IslNodeBuilder::getNumberOfIterations(), isl::checked::ast_node_if::has_else_node(), isl::checked::ast_node_mark::id(), isl::checked::ast_node_for::inc(), isl::checked::ast_node_for::init(), isl::checked::ast_node_for::is_degenerate(), isa_type(), IsLoopVectorizerDisabled(), isl::checked::ast_node_for::iterator(), isl::checked::ast_node_mark::node(), polly::IslAstInfo::print(), isl::checked::ast_node_if::then_node(), to_C_str(), and walkAstForStatistics().
|
inline |
Definition at line 6921 of file cpp-checked.h.
References ptr.
Referenced by copy(), generateCode(), isa_type(), polly::IslAstInfo::print(), and walkAstForStatistics().
|
inline |
Definition at line 6933 of file cpp-checked.h.
References isa_type().
Referenced by as(), isl::checked::ast_node_block::ast_node::isa, isl::checked::ast_node_for::ast_node::isa, isl::checked::ast_node_if::ast_node::isa, isl::checked::ast_node_mark::ast_node::isa, isl::checked::ast_node_user::ast_node::isa, copy(), and isa().
| bool isl::checked::ast_node::isa | ( | ) | const |
Definition at line 7827 of file include/isl/cpp.h.
References isa(), and isa_type().
|
inlineprivate |
Definition at line 6926 of file cpp-checked.h.
References get(), is_null(), and isl_ast_node_get_type().
Referenced by copy(), isa(), and isa_type().
| bool isl::checked::ast_node::isa_type | ( | T | subtype | ) | const |
Definition at line 7820 of file include/isl/cpp.h.
References get(), is_null(), isa_type(), isl_ast_node_get_type(), and isl::exception::throw_invalid().
|
inline |
Definition at line 6949 of file cpp-checked.h.
References copy(), fn, isl_ast_node_map_descendant_bottom_up(), manage, and res.
Referenced by copy().
Definition at line 6897 of file cpp-checked.h.
References ast_node(), and obj.
|
inline |
Definition at line 6915 of file cpp-checked.h.
References __isl_give, and ptr.
Referenced by isl::checked::ast_node_list::add(), isl::checked::ast_node_list::ast_node_list(), copy(), polly::IslNodeBuilder::createForSequential(), generateCode(), isl::checked::ast_node_list::insert(), and isl::checked::ast_node_list::set_at().
|
inline |
Definition at line 6963 of file cpp-checked.h.
References get(), isl_ast_node_to_C_str(), and res.
Referenced by copy().
|
inline |
|
friend |
Definition at line 6877 of file cpp-checked.h.
References __isl_take, ast_node(), and ptr.
Referenced by isl::ast_node::annotation(), isl::checked::ast_node_for::body(), isl::checked::ast_node_block::children(), isl::checked::ast_node_for::cond(), isl::checked::ast_node_if::cond(), isl::checked::ast_node_if::else_node(), isl::checked::ast_node_user::expr(), isl::checked::ast_node_if::has_else_node(), isl::checked::ast_node_mark::id(), isl::checked::ast_node_for::inc(), isl::checked::ast_node_for::init(), isl::checked::ast_node_for::is_degenerate(), isl::checked::ast_node_for::iterator(), map_descendant_bottom_up(), isl::checked::ast_node_mark::node(), isl::checked::ast_node_if::then_node(), and to_list().
|
friend |
Definition at line 6880 of file cpp-checked.h.
References __isl_keep, ast_node(), isl_ast_node_copy(), and ptr.
|
protected |
Definition at line 1206 of file cpp-checked.h.
Referenced by ast_node(), ast_node(), ast_node(), isl::ast_node_block::ast_node_block(), isl::checked::ast_node_block::ast_node_block(), isl::checked::ast_node_block::ast_node_block(), isl::ast_node_for::ast_node_for(), isl::checked::ast_node_for::ast_node_for(), isl::ast_node_if::ast_node_if(), isl::checked::ast_node_if::ast_node_if(), isl::ast_node_mark::ast_node_mark(), isl::checked::ast_node_mark::ast_node_mark(), isl::ast_node_user::ast_node_user(), isl::checked::ast_node_user::ast_node_user(), isl::checked::ast_node_user::ast_node_user(), copy(), ctx(), isl::checked::ast_node_block::ctx(), isl::checked::ast_node_for::ctx(), isl::checked::ast_node_if::ctx(), isl::checked::ast_node_mark::ctx(), isl::checked::ast_node_user::ctx(), get(), is_null(), manage, manage_copy, release(), and ~ast_node().