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

#include <isl-noexceptions.h>

Inheritance diagram for isl::ast_expr:
Inheritance graph
[legend]

Public Member Functions

 ast_expr ()
 
 ast_expr (const ast_expr &obj)
 
ast_exproperator= (ast_expr obj)
 
 ~ast_expr ()
 
__isl_give isl_ast_exprcopy () const &
 
__isl_give isl_ast_exprcopy () &&=delete
 
__isl_keep isl_ast_exprget () const
 
__isl_give isl_ast_exprrelease ()
 
bool is_null () const
 
template<class T >
boolean isa () const
 
template<class T >
as () const
 
isl::ctx ctx () const
 
isl::ast_expr add (isl::ast_expr expr2) const
 
isl::ast_expr address_of () const
 
isl::ast_expr eq (isl::ast_expr expr2) const
 
isl::id id () const
 
isl::id get_id () const
 
isl::ast_expr le (isl::ast_expr expr2) const
 
isl::ast_expr mul (isl::ast_expr expr2) const
 
isl::ast_expr op_arg (int pos) const
 
isl::ast_expr get_op_arg (int pos) const
 
std::string to_C_str () const
 
isl::val val () const
 
isl::val get_val () const
 

Static Public Member Functions

static isl::ast_expr from_val (isl::val v)
 

Protected Member Functions

 ast_expr (__isl_take isl_ast_expr *ptr)
 

Protected Attributes

isl_ast_exprptr = nullptr
 

Private Member Functions

template<typename T , typename = typename std::enable_if<std::is_same< const decltype(isl_ast_expr_get_type(nullptr)), const T>::value>::type>
boolean isa_type (T subtype) const
 

Friends

ast_expr manage (__isl_take isl_ast_expr *ptr)
 
ast_expr manage_copy (__isl_keep isl_ast_expr *ptr)
 

Detailed Description

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

Constructor & Destructor Documentation

◆ ast_expr() [1/3]

isl::ast_expr::ast_expr ( __isl_take isl_ast_expr ptr)
inlineexplicitprotected

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

◆ ast_expr() [2/3]

isl::ast_expr::ast_expr ( )
inline

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

◆ ast_expr() [3/3]

isl::ast_expr::ast_expr ( const ast_expr obj)
inline

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

References obj, and ptr.

◆ ~ast_expr()

isl::ast_expr::~ast_expr ( )
inline

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

References isl_ast_expr_free(), and ptr.

Member Function Documentation

◆ add()

isl::ast_expr isl::ast_expr::add ( isl::ast_expr  expr2) const
inline

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

References copy(), isl_ast_expr_add(), manage, release(), and res.

◆ address_of()

isl::ast_expr isl::ast_expr::address_of ( ) const
inline

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

References copy(), isl_ast_expr_address_of(), manage, and res.

Referenced by buildCondition().

◆ as()

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

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

References copy(), ctx(), get(), isl_die, and isl_error_invalid.

◆ copy() [1/2]

__isl_give isl_ast_expr * isl::ast_expr::copy ( ) &&
inlinedelete

◆ copy() [2/2]

__isl_give isl_ast_expr * isl::ast_expr::copy ( ) const &
inline

◆ ctx()

isl::ctx isl::ast_expr::ctx ( ) const
inline

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

References isl_ast_expr_get_ctx(), and ptr.

Referenced by as().

◆ eq()

isl::ast_expr isl::ast_expr::eq ( isl::ast_expr  expr2) const
inline

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

References copy(), isl_ast_expr_eq(), manage, release(), and res.

Referenced by polly::IslAst::buildRunCondition().

◆ from_val()

isl::ast_expr isl::ast_expr::from_val ( isl::val  v)
inlinestatic

◆ get()

__isl_keep isl_ast_expr * isl::ast_expr::get ( ) const
inline

◆ get_id()

isl::id isl::ast_expr::get_id ( ) const
inline

◆ get_op_arg()

isl::ast_expr isl::ast_expr::get_op_arg ( int  pos) const
inline

◆ get_val()

isl::val isl::ast_expr::get_val ( ) const
inline

◆ id()

isl::id isl::ast_expr::id ( ) const
inline

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

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

Referenced by get_id().

◆ is_null()

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

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

References ptr.

Referenced by buildCondition(), isa_type(), and isl::ast_expr_op::isa_type().

◆ isa()

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

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

Referenced by polly::IslNodeBuilder::getNumberOfIterations().

◆ isa_type()

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

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

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

◆ le()

isl::ast_expr isl::ast_expr::le ( isl::ast_expr  expr2) const
inline

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

References copy(), isl_ast_expr_le(), manage, release(), and res.

Referenced by buildCondition().

◆ mul()

isl::ast_expr isl::ast_expr::mul ( isl::ast_expr  expr2) const
inline

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

References copy(), isl_ast_expr_mul(), manage, release(), and res.

◆ op_arg()

isl::ast_expr isl::ast_expr::op_arg ( int  pos) const
inline

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

References get(), isl_ast_expr_get_op_arg(), manage, pos(), and res.

Referenced by get_op_arg().

◆ operator=()

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

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

References obj.

◆ release()

__isl_give isl_ast_expr * isl::ast_expr::release ( )
inline

◆ to_C_str()

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

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

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

Referenced by test_return_string().

◆ val()

isl::val isl::ast_expr::val ( ) const
inline

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

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

Referenced by get_val(), and polly::IslNodeBuilder::getNumberOfIterations().

Friends And Related Function Documentation

◆ manage

ast_expr manage ( __isl_take isl_ast_expr ptr)
friend

◆ manage_copy

ast_expr manage_copy ( __isl_keep isl_ast_expr ptr)
friend

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

Member Data Documentation

◆ ptr

isl_ast_expr* isl::ast_expr::ptr = nullptr
protected

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