Polly 22.0.0git
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

References IslAst().

Referenced by create(), IslAst(), IslAst(), operator=(), and operator=().

◆ IslAst() [2/3]

IslAst::IslAst ( IslAst && O)

Definition at line 495 of file IslAst.cpp.

References Ctx, IslAst(), Root, RunCondition, and S.

◆ IslAst() [3/3]

IslAst::IslAst ( Scop & Scop)
private

Definition at line 493 of file IslAst.cpp.

References Ctx, getSharedIslCtx(), and S.

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(), RunCondition, S, 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.

References init(), and IslAst().

◆ getAst()

isl::ast_node IslAst::getAst ( )

Definition at line 559 of file IslAst.cpp.

References Root.

Referenced by generateCode().

◆ getRunCondition()

isl::ast_expr IslAst::getRunCondition ( )

Get the run-time conditions for the Scop.

Definition at line 560 of file IslAst.cpp.

References RunCondition.

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

◆ init()

◆ operator=() [1/2]

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

References IslAst().

◆ operator=() [2/2]

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

References IslAst().

Member Data Documentation

◆ Ctx

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

Definition at line 60 of file IslAst.h.

Referenced by getSharedIslCtx(), init(), IslAst(), and IslAst().

◆ Root

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

Definition at line 62 of file IslAst.h.

Referenced by getAst(), init(), and IslAst().

◆ RunCondition

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

Definition at line 61 of file IslAst.h.

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

◆ S

Scop& polly::IslAst::S
private

Definition at line 59 of file IslAst.h.

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


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