Polly 22.0.0git
isl::ast_expr Class Reference

#include <isl-noexceptions.h>

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

◆ ast_expr() [2/3]

isl::ast_expr::ast_expr ( )
inline

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

References ptr.

◆ ast_expr() [3/3]

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

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

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

Referenced by copy().

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

◆ as()

template<class T>
T isl::ast_expr::as ( ) const
inline

◆ copy() [1/2]

◆ copy() [2/2]

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

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

◆ from_val()

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

◆ get()

◆ 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(), copy(), isa_type(), and isl::ast_expr_op::isa_type().

◆ isa()

template<class T>
boolean isl::ast_expr::isa ( ) const
inline

◆ isa_type()

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

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

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

Referenced by copy(), and isa().

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

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

Referenced by copy().

◆ 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 copy(), and get_op_arg().

◆ operator=()

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

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

References ast_expr(), and obj.

◆ release()

◆ 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 copy(), and test_return_string().

◆ val()

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

◆ manage

◆ manage_copy

ast_expr manage_copy ( __isl_keep isl_ast_expr * ptr)
friend

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

References __isl_keep, ast_expr(), isl_ast_expr_copy(), and ptr.

Member Data Documentation

◆ ptr

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

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

Referenced by ast_expr(), ast_expr(), ast_expr(), isl::ast_expr_id::ast_expr_id(), isl::ast_expr_int::ast_expr_int(), isl::ast_expr_op::ast_expr_op(), isl::ast_expr_op_access::ast_expr_op_access(), isl::ast_expr_op_add::ast_expr_op_add(), isl::ast_expr_op_address_of::ast_expr_op_address_of(), isl::ast_expr_op_and::ast_expr_op_and(), isl::ast_expr_op_and_then::ast_expr_op_and_then(), isl::ast_expr_op_call::ast_expr_op_call(), isl::ast_expr_op_cond::ast_expr_op_cond(), isl::ast_expr_op_div::ast_expr_op_div(), isl::ast_expr_op_eq::ast_expr_op_eq(), isl::ast_expr_op_fdiv_q::ast_expr_op_fdiv_q(), isl::ast_expr_op_ge::ast_expr_op_ge(), isl::ast_expr_op_gt::ast_expr_op_gt(), isl::ast_expr_op_le::ast_expr_op_le(), isl::ast_expr_op_lt::ast_expr_op_lt(), isl::ast_expr_op_max::ast_expr_op_max(), isl::ast_expr_op_member::ast_expr_op_member(), isl::ast_expr_op_min::ast_expr_op_min(), isl::ast_expr_op_minus::ast_expr_op_minus(), isl::ast_expr_op_mul::ast_expr_op_mul(), isl::ast_expr_op_or::ast_expr_op_or(), isl::ast_expr_op_or_else::ast_expr_op_or_else(), isl::ast_expr_op_pdiv_q::ast_expr_op_pdiv_q(), isl::ast_expr_op_pdiv_r::ast_expr_op_pdiv_r(), isl::ast_expr_op_select::ast_expr_op_select(), isl::ast_expr_op_sub::ast_expr_op_sub(), isl::ast_expr_op_zdiv_r::ast_expr_op_zdiv_r(), copy(), ctx(), isl::ast_expr_id::ctx(), isl::ast_expr_int::ctx(), isl::ast_expr_op::ctx(), isl::ast_expr_op_access::ctx(), isl::ast_expr_op_add::ctx(), isl::ast_expr_op_address_of::ctx(), isl::ast_expr_op_and::ctx(), isl::ast_expr_op_and_then::ctx(), isl::ast_expr_op_call::ctx(), isl::ast_expr_op_cond::ctx(), isl::ast_expr_op_div::ctx(), isl::ast_expr_op_eq::ctx(), isl::ast_expr_op_fdiv_q::ctx(), isl::ast_expr_op_ge::ctx(), isl::ast_expr_op_gt::ctx(), isl::ast_expr_op_le::ctx(), isl::ast_expr_op_lt::ctx(), isl::ast_expr_op_max::ctx(), isl::ast_expr_op_member::ctx(), isl::ast_expr_op_min::ctx(), isl::ast_expr_op_minus::ctx(), isl::ast_expr_op_mul::ctx(), isl::ast_expr_op_or::ctx(), isl::ast_expr_op_or_else::ctx(), isl::ast_expr_op_pdiv_q::ctx(), isl::ast_expr_op_pdiv_r::ctx(), isl::ast_expr_op_select::ctx(), isl::ast_expr_op_sub::ctx(), isl::ast_expr_op_zdiv_r::ctx(), get(), is_null(), manage, manage_copy, release(), and ~ast_expr().


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