|
ONE - On-device Neural Engine
|
Represents if block. More...
#include <ArtifactModel.h>

Public Member Functions | |
| ArtifactIf (std::shared_ptr< ArtifactExpr > cond) | |
| bool | isBlock () const override |
| If this entity represents something containing a block of instructions. | |
| 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. | |
| std::shared_ptr< ArtifactExpr > | getCond () const |
| const ArtifactBlock * | getBlock () const |
| ArtifactBlock * | getBlock () |
| const ArtifactBlock * | getElseBlock () const |
| ArtifactBlock * | getElseBlock () |
Public Member Functions inherited from nnc::ArtifactEntity | |
| virtual | ~ArtifactEntity ()=default |
Additional Inherited Members | |
Protected Member Functions inherited from nnc::ArtifactEntity | |
| ArtifactEntity ()=default | |
Represents if block.
Definition at line 496 of file ArtifactModel.h.
|
inlineexplicit |
Definition at line 499 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 502 of file ArtifactModel.h.
Referenced by TEST().
|
inline |
Definition at line 506 of file ArtifactModel.h.
|
inline |
Definition at line 505 of file ArtifactModel.h.
Referenced by TEST(), and nnc::ArtifactGeneratorCppCode::visit().
|
inline |
Definition at line 504 of file ArtifactModel.h.
Referenced by nnc::ArtifactGeneratorCppCode::visit().
|
inline |
Definition at line 508 of file ArtifactModel.h.
|
inline |
Definition at line 507 of file ArtifactModel.h.
Referenced by nnc::ArtifactGeneratorCppCode::visit().
|
inlineoverridevirtual |
If this entity represents something containing a block of instructions.
Reimplemented from nnc::ArtifactEntity.
Definition at line 500 of file ArtifactModel.h.