Polly 20.0.0git
Public Member Functions | Static Public Member Functions | Private Member Functions | Private Attributes | List of all members
polly::IslAst Class Referencefinal

#include <IslAst.h>

Public Member Functions

 IslAst (const IslAst &)=delete
 
IslAstoperator= (const IslAst &)=delete
 
 IslAst (IslAst &&)
 
IslAstoperator= (IslAst &&)=delete
 
isl::ast_node getAst ()
 
const std::shared_ptr< isl_ctxgetSharedIslCtx () const
 
isl::ast_expr getRunCondition ()
 Get the run-time conditions for the Scop.
 

Static Public Member Functions

static IslAst create (Scop &Scop, const Dependences &D)
 
static isl::ast_expr buildRunCondition (Scop &S, const isl::ast_build &Build)
 Build run-time condition for scop.
 

Private Member Functions

 IslAst (Scop &Scop)
 
void init (const Dependences &D)
 

Private Attributes

ScopS
 
std::shared_ptr< isl_ctxCtx
 
isl::ast_expr RunCondition
 
isl::ast_node Root
 

Detailed Description

Definition at line 34 of file IslAst.h.

Constructor & Destructor Documentation

◆ IslAst() [1/3]

polly::IslAst::IslAst ( const IslAst )
delete

◆ IslAst() [2/3]

IslAst::IslAst ( IslAst &&  O)

Definition at line 495 of file IslAst.cpp.

◆ IslAst() [3/3]

IslAst::IslAst ( Scop Scop)
private

Definition at line 493 of file IslAst.cpp.

Member Function Documentation

◆ buildRunCondition()

isl::ast_expr IslAst::buildRunCondition ( Scop S,
const isl::ast_build Build 
)
static

Build run-time condition for scop.

Parameters
SThe scop to build the condition for.
BuildThe isl_build object to use to build the condition.
Returns
An ast expression that describes the necessary run-time check.

Definition at line 395 of file IslAst.cpp.

References buildCondition(), isl::ast_build::ctx(), isl::ast_expr::eq(), isl::ast_build::expr_from(), isl::ast_expr::from_val(), isl_ast_expr_and(), isl::manage(), isl::ast_expr::release(), RunCondition, and isl::val::zero().

Referenced by init().

◆ create()

IslAst IslAst::create ( Scop Scop,
const Dependences D 
)
static

Definition at line 553 of file IslAst.cpp.

◆ getAst()

isl::ast_node IslAst::getAst ( )

Definition at line 559 of file IslAst.cpp.

References Root.

Referenced by generateCode(), polly::IslAstInfo::getAst(), and polly::IslAstInfo::print().

◆ getRunCondition()

isl::ast_expr IslAst::getRunCondition ( )

Get the run-time conditions for the Scop.

Definition at line 560 of file IslAst.cpp.

References RunCondition.

Referenced by polly::IslAstInfo::getRunCondition(), and polly::IslAstInfo::print().

◆ getSharedIslCtx()

const std::shared_ptr< isl_ctx > polly::IslAst::getSharedIslCtx ( ) const
inline

Definition at line 45 of file IslAst.h.

References Ctx.

Referenced by generateCode().

◆ init()

void IslAst::init ( const Dependences D)
private

◆ operator=() [1/2]

IslAst & polly::IslAst::operator= ( const IslAst )
delete

◆ operator=() [2/2]

IslAst & polly::IslAst::operator= ( IslAst &&  )
delete

Member Data Documentation

◆ Ctx

std::shared_ptr<isl_ctx> polly::IslAst::Ctx
private

Definition at line 60 of file IslAst.h.

Referenced by getSharedIslCtx(), and init().

◆ Root

isl::ast_node polly::IslAst::Root
private

Definition at line 62 of file IslAst.h.

Referenced by getAst(), and init().

◆ RunCondition

isl::ast_expr polly::IslAst::RunCondition
private

Definition at line 61 of file IslAst.h.

Referenced by buildRunCondition(), getRunCondition(), and init().

◆ S

Scop& polly::IslAst::S
private

Definition at line 59 of file IslAst.h.


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