ONE - On-device Neural Engine
|
Represents a function call. More...
#include <ArtifactModel.h>
Public Member Functions | |
ArtifactFunctionCall (std::string func_name, std::list< std::shared_ptr< ArtifactExpr > > param_list, std::shared_ptr< ArtifactExpr > on=nullptr, ArtifactCallType call_type=ArtifactCallType::obj) | |
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. | |
const std::string & | funcName () const |
const std::list< std::shared_ptr< ArtifactExpr > > & | paramList () const |
std::shared_ptr< ArtifactExpr > | on () const |
ArtifactCallType | callType () 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 a function call.
Definition at line 169 of file ArtifactModel.h.
nnc::ArtifactFunctionCall::ArtifactFunctionCall | ( | std::string | func_name, |
std::list< std::shared_ptr< ArtifactExpr > > | param_list, | ||
std::shared_ptr< ArtifactExpr > | on = nullptr , |
||
ArtifactCallType | call_type = ArtifactCallType::obj |
||
) |
Definition at line 25 of file ArtifactModel.cpp.
|
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 176 of file ArtifactModel.h.
|
inline |
Definition at line 181 of file ArtifactModel.h.
Referenced by nnc::ArtifactGeneratorCppCode::visit().
|
inline |
Definition at line 178 of file ArtifactModel.h.
Referenced by nnc::ArtifactGeneratorCppCode::visit().
|
inline |
Definition at line 180 of file ArtifactModel.h.
Referenced by nnc::ArtifactGeneratorCppCode::visit().
|
inline |
Definition at line 179 of file ArtifactModel.h.
Referenced by nnc::ArtifactGeneratorCppCode::visit().