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

#include <expr.h>

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

Public Member Functions

void compHash () override
 
void inferDType () override
 
std::vector< Exprchildren () const override
 
 DEFINE_NODE_TRAIT (Load)
 
- Public Member Functions inherited from freetensor::ExprNode
bool isExpr () const override
 
virtual bool isConst () const
 
virtual bool isBinary () const
 
virtual bool isUnary () const
 
virtual std::vector< Ref< ExprNode > > children () const =0
 
Ref< ExprNodeparentExpr () const
 
Ref< StmtNodeparentStmt () const
 
void modifiedHook () override
 
DataType dtype ()
 
void resetDType ()
 
virtual void inferDType ()=0
 
 DEFINE_NODE_ACCESS (Expr)
 
- Public Member Functions inherited from freetensor::ASTNode
virtual ~ASTNode ()
 
virtual ASTNodeType nodeType () const =0
 
bool isAST () const override
 
virtual bool isFunc () const
 
virtual bool isStmt () const
 
virtual bool isExpr () const
 
Ref< ASTNodeparentAST () const
 
std::source_location debugBlame () const
 
void setDebugBlame (std::source_location loc)
 
 DEFINE_NODE_ACCESS (AST)
 
- Public Member Functions inherited from freetensor::ASTPart
virtual ~ASTPart ()
 
 ASTPart (ASTPart &&other)
 
 ASTPart (const ASTPart &other)
 
ASTPartoperator= (ASTPart &&)
 
ASTPartoperator= (const ASTPart &)
 
bool trySetParent (const Ref< ASTPart > &parent)
 
void resetParent ()
 
Ref< ASTPartparent () const
 
bool isSubTree () const
 
int depth () const
 
virtual void modifiedHook ()
 
size_t hash ()
 
virtual bool isAST () const
 
- Public Member Functions inherited from freetensor::EnableSelf< ASTPart >
Ref< ASTPartself () const
 

Public Attributes

std::string var_
 
SubTreeList< ExprNodeindices_ = ChildOf{this}
 
DataType loadType_
 

Additional Inherited Members

- Public Types inherited from freetensor::EnableSelf< ASTPart >
typedef ASTPart Self
 
- Protected Member Functions inherited from freetensor::ASTPart
void lock ()
 
void unlock ()
 
virtual void compHash ()=0
 
void resetHash ()
 
- Protected Attributes inherited from freetensor::ExprNode
std::optional< DataTypedtype_
 
- Protected Attributes inherited from freetensor::ASTPart
size_t hash_ = ~0ull
 
std::atomic_flag lock_ = ATOMIC_FLAG_INIT
 

Member Function Documentation

◆ children()

std::vector< Expr > freetensor::LoadNode::children ( ) const
inlineoverridevirtual

Implements freetensor::ExprNode.

◆ compHash()

void freetensor::LoadNode::compHash ( )
overridevirtual

Implements freetensor::ASTPart.

◆ DEFINE_NODE_TRAIT()

freetensor::LoadNode::DEFINE_NODE_TRAIT ( Load  )

◆ inferDType()

void freetensor::LoadNode::inferDType ( )
overridevirtual

Implements freetensor::ExprNode.

Member Data Documentation

◆ indices_

SubTreeList<ExprNode> freetensor::LoadNode::indices_ = ChildOf{this}

◆ loadType_

DataType freetensor::LoadNode::loadType_

◆ var_

std::string freetensor::LoadNode::var_

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