Polly 23.0.0git
isl::checked::ast_node Class Reference

#include <cpp-checked.h>

Inheritance diagram for isl::checked::ast_node:
[legend]

Public Member Functions

 ast_node ()
 ast_node (const ast_node &obj)
ast_nodeoperator= (ast_node obj)
 ~ast_node ()
__isl_give isl_ast_nodecopy () const &
__isl_give isl_ast_nodecopy () &&=delete
__isl_keep isl_ast_nodeget () const
__isl_give isl_ast_noderelease ()
bool is_null () const
template<class T>
boolean isa () const
template<class 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_nodeptr = 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)

Detailed Description

Definition at line 1201 of file cpp-checked.h.

Constructor & Destructor Documentation

◆ ast_node() [1/3]

◆ ast_node() [2/3]

isl::ast_node::ast_node ( )
inline

Definition at line 6888 of file cpp-checked.h.

References ptr.

◆ ast_node() [3/3]

isl::ast_node::ast_node ( const ast_node & obj)
inline

Definition at line 6891 of file cpp-checked.h.

References ast_node(), obj, and ptr.

◆ ~ast_node()

isl::ast_node::~ast_node ( )
inline

Definition at line 6902 of file cpp-checked.h.

References isl_ast_node_free(), and ptr.

Member Function Documentation

◆ as()

◆ copy() [1/2]

◆ copy() [2/2]

__isl_give isl_ast_node * isl::ast_node::copy ( ) const &
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().

◆ ctx()

isl::ctx isl::ast_node::ctx ( ) const
inline

Definition at line 6945 of file cpp-checked.h.

References isl_ast_node_get_ctx(), and ptr.

Referenced by as(), and copy().

◆ get()

◆ is_null()

bool isl::ast_node::is_null ( ) const
inline

Definition at line 6921 of file cpp-checked.h.

References ptr.

Referenced by copy(), generateCode(), isa_type(), polly::IslAstInfo::print(), and walkAstForStatistics().

◆ isa() [1/2]

◆ isa() [2/2]

template<class T>
bool isl::checked::ast_node::isa ( ) const

Definition at line 7827 of file include/isl/cpp.h.

References isa(), and isa_type().

◆ isa_type() [1/2]

template<typename T, typename>
boolean isl::ast_node::isa_type ( T subtype) const
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().

◆ isa_type() [2/2]

template<typename T, typename>
bool isl::checked::ast_node::isa_type ( T subtype) const

◆ map_descendant_bottom_up()

isl::checked::ast_node isl::checked::ast_node::map_descendant_bottom_up ( const std::function< isl::checked::ast_node(isl::checked::ast_node)> & fn) const
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().

◆ operator=()

ast_node & isl::ast_node::operator= ( ast_node obj)
inline

Definition at line 6897 of file cpp-checked.h.

References ast_node(), and obj.

◆ release()

◆ to_C_str()

std::string isl::ast_node::to_C_str ( ) const
inline

Definition at line 6963 of file cpp-checked.h.

References get(), isl_ast_node_to_C_str(), and res.

Referenced by copy().

◆ to_list()

isl::ast_node_list isl::ast_node::to_list ( ) const
inline

Definition at line 6971 of file cpp-checked.h.

References copy(), manage, and res.

Referenced by copy().

◆ manage

◆ manage_copy

ast_node manage_copy ( __isl_keep isl_ast_node * ptr)
friend

Definition at line 6880 of file cpp-checked.h.

References __isl_keep, ast_node(), isl_ast_node_copy(), and ptr.

Member Data Documentation

◆ ptr


The documentation for this class was generated from the following files: