FreeTensor
Loading...
Searching...
No Matches
Public Member Functions | Public Attributes | List of all members
freetensor::AccessPoint Struct Reference

#include <deps.h>

Inheritance diagram for freetensor::AccessPoint:
Inheritance graph
[legend]
Collaboration diagram for freetensor::AccessPoint:
Collaboration graph
[legend]

Public Member Functions

 AccessPoint (const AST &op, const Stmt &stmt, const VarDef &def, const Ref< Buffer > &buffer)
 
void addCoord (int defAxis, auto &&iter, auto &&access, auto &&conds)
 
- Public Member Functions inherited from freetensor::AccessPointBase
 AccessPointBase (const AST &op, const Stmt &stmt, const VarDef &def, const Ref< Buffer > &buffer)
 

Public Attributes

int defAxis_ = -1
 
std::vector< IterAxisiter_
 The position of the VarDef.
 
std::vector< Expraccess_
 The temporal location of the access.
 
std::vector< std::pair< Expr, ID > > conds_
 The spatial location of the access.
 
- Public Attributes inherited from freetensor::AccessPointBase
AST op_
 
Stmt stmt_
 
VarDef def_
 
Ref< Bufferbuffer_
 

Constructor & Destructor Documentation

◆ AccessPoint()

freetensor::AccessPoint::AccessPoint ( const AST op,
const Stmt stmt,
const VarDef def,
const Ref< Buffer > &  buffer 
)
inline
  • first: The condition (predicate) of the access
    • second: the statement that contribute to the condition)

Member Function Documentation

◆ addCoord()

void freetensor::AccessPoint::addCoord ( int  defAxis,
auto &&  iter,
auto &&  access,
auto &&  conds 
)
inline

Member Data Documentation

◆ access_

std::vector<Expr> freetensor::AccessPoint::access_

The temporal location of the access.

◆ conds_

std::vector<std::pair<Expr, ID> > freetensor::AccessPoint::conds_

The spatial location of the access.

◆ defAxis_

int freetensor::AccessPoint::defAxis_ = -1

◆ iter_

std::vector<IterAxis> freetensor::AccessPoint::iter_

The position of the VarDef.


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