Polly 19.0.0git
Public Member Functions | Protected Member Functions | Protected Attributes | Private Member Functions | Friends | List of all members
isl::ast_node Class Reference

#include <isl-noexceptions.h>

Inheritance diagram for isl::ast_node:
Inheritance graph
[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]

isl::ast_node::ast_node ( __isl_take isl_ast_node ptr)
inlineexplicitprotected

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

◆ ast_node() [2/3]

isl::ast_node::ast_node ( )
inline

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

◆ ast_node() [3/3]

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

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

References 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 get_annotation().

◆ as()

template<class T >
T isl::ast_node::as
inline

◆ copy() [1/2]

__isl_give isl_ast_node * isl::ast_node::copy ( ) &&
inlinedelete

◆ 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_ast_node_copy(), and ptr.

Referenced by as(), 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().

◆ get()

__isl_keep isl_ast_node * isl::ast_node::get ( ) const
inline

◆ get_annotation()

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

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

References annotation().

Referenced by 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 generateCode(), isa_type(), polly::IslAstInfo::print(), and walkAstForStatistics().

◆ isa()

template<class T >
boolean isl::ast_node::isa
inline

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

◆ isa_type()

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

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

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

◆ operator=()

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

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

References obj.

◆ release()

__isl_give isl_ast_node * isl::ast_node::release ( )
inline

◆ 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.

◆ 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.

Friends And Related Function Documentation

◆ manage

ast_node manage ( __isl_take isl_ast_node ptr)
friend

◆ manage_copy

ast_node manage_copy ( __isl_keep isl_ast_node ptr)
friend

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

Member Data Documentation

◆ ptr

isl_ast_node* isl::ast_node::ptr = nullptr
protected

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