Polly 22.0.0git
isl::ast_node Class Reference

#include <isl-noexceptions.h>

Inheritance diagram for isl::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::ctx ctx () const
isl::id annotation () const
isl::id get_annotation () const
std::string to_C_str () const
isl::ast_node_list to_list () 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(nullptr)), 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 1226 of file isl-noexceptions.h.

Constructor & Destructor Documentation

◆ ast_node() [1/3]

◆ ast_node() [2/3]

isl::ast_node::ast_node ( )
inline

Definition at line 7339 of file isl-noexceptions.h.

References ptr.

◆ ast_node() [3/3]

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

Definition at line 7342 of file isl-noexceptions.h.

References ast_node(), obj, and ptr.

◆ ~ast_node()

isl::ast_node::~ast_node ( )
inline

Definition at line 7356 of file isl-noexceptions.h.

References isl_ast_node_free(), and ptr.

Member Function Documentation

◆ annotation()

isl::id isl::ast_node::annotation ( ) const
inline

Definition at line 7403 of file isl-noexceptions.h.

References get(), isl_ast_node_get_annotation(), manage, and res.

Referenced by copy(), and get_annotation().

◆ as()

◆ copy() [1/2]

◆ copy() [2/2]

__isl_give isl_ast_node * isl::ast_node::copy ( ) const &
inline

Definition at line 7361 of file isl-noexceptions.h.

References __isl_give, isl_ast_node_copy(), and ptr.

Referenced by as(), copy(), and to_list().

◆ ctx()

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

Definition at line 7399 of file isl-noexceptions.h.

References isl_ast_node_get_ctx(), and ptr.

Referenced by as(), and copy().

◆ get()

◆ get_annotation()

isl::id isl::ast_node::get_annotation ( ) const
inline

Definition at line 7409 of file isl-noexceptions.h.

References annotation().

Referenced by copy(), and polly::IslAstInfo::getNodePayload().

◆ is_null()

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

Definition at line 7375 of file isl-noexceptions.h.

References ptr.

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

◆ isa()

◆ isa_type()

template<typename T, typename>
boolean isl::ast_node::isa_type ( T subtype) const
inlineprivate

Definition at line 7380 of file isl-noexceptions.h.

References get(), is_null(), and isl_ast_node_get_type().

Referenced by copy(), and isa().

◆ operator=()

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

Definition at line 7351 of file isl-noexceptions.h.

References ast_node(), and obj.

◆ release()

◆ to_C_str()

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

Definition at line 7414 of file isl-noexceptions.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 7422 of file isl-noexceptions.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 7334 of file isl-noexceptions.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 file: