ONE - On-device Neural Engine
|
Represents different types of binary expressions. More...
#include <ArtifactModel.h>
Public Member Functions | |
ArtifactBinaryExpr (ArtifactBinOp op, std::shared_ptr< ArtifactExpr > left, std::shared_ptr< ArtifactExpr > right) | |
void | accept (IArtifactGenerator *g) const override |
This is the core function of each artifact entity and is implemented by all concrete classes in the hierarchy. | |
ArtifactBinOp | getOp () const |
std::shared_ptr< ArtifactExpr > | getLeft () const |
std::shared_ptr< ArtifactExpr > | getRight () const |
Public Member Functions inherited from nnc::ArtifactEntity | |
virtual | ~ArtifactEntity ()=default |
virtual bool | isBlock () const |
If this entity represents something containing a block of instructions. | |
Additional Inherited Members | |
Protected Member Functions inherited from nnc::ArtifactEntity | |
ArtifactEntity ()=default | |
Represents different types of binary expressions.
Definition at line 246 of file ArtifactModel.h.
|
inline |
Definition at line 249 of file ArtifactModel.h.
|
inlineoverridevirtual |
This is the core function of each artifact entity and is implemented by all concrete classes in the hierarchy.
Implements nnc::ArtifactEntity.
Definition at line 255 of file ArtifactModel.h.
|
inline |
Definition at line 258 of file ArtifactModel.h.
Referenced by nnc::ArtifactGeneratorCppCode::visit().
|
inline |
Definition at line 257 of file ArtifactModel.h.
Referenced by nnc::ArtifactGeneratorCppCode::visit().
|
inline |
Definition at line 259 of file ArtifactModel.h.
Referenced by nnc::ArtifactGeneratorCppCode::visit().