|
FreeTensor
|
#include <expr.h>


Public Member Functions | |
| void | compHash () override |
| void | inferDType () override |
| std::vector< Expr > | children () const override |
| DEFINE_NODE_TRAIT (IfExpr) | |
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< ExprNode > | parentExpr () const |
| Ref< StmtNode > | parentStmt () 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< ASTNode > | parentAST () 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) | |
| ASTPart & | operator= (ASTPart &&) |
| ASTPart & | operator= (const ASTPart &) |
| bool | trySetParent (const Ref< ASTPart > &parent) |
| void | resetParent () |
| Ref< ASTPart > | parent () 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< ASTPart > | self () const |
Public Attributes | |
| SubTree< ExprNode > | cond_ = ChildOf{this} |
| SubTree< ExprNode > | thenCase_ = ChildOf{this} |
| SubTree< ExprNode > | elseCase_ = ChildOf{this} |
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< DataType > | dtype_ |
Protected Attributes inherited from freetensor::ASTPart | |
| size_t | hash_ = ~0ull |
| std::atomic_flag | lock_ = ATOMIC_FLAG_INIT |
|
inlineoverridevirtual |
Implements freetensor::ExprNode.
|
overridevirtual |
Implements freetensor::ASTPart.
| freetensor::IfExprNode::DEFINE_NODE_TRAIT | ( | IfExpr | ) |
|
overridevirtual |
Implements freetensor::ExprNode.