ONE - On-device Neural Engine
|
#include <ConstantInsertionPass.h>
Public Member Functions | |
std::string | id () final |
Returns string id for this pass. Same with class name. | |
void | callback (const ir::OperationIndex &index, ir::IOperation &node) final |
Be called for all nodes of graph. | |
LoweredOperationPass (ILoweredGraph &lowered_graph) | |
![]() | |
LoweredOperationPass (ILoweredGraph &lowered_graph) | |
virtual | ~LoweredOperationPass ()=default |
![]() | |
virtual | ~OperationPass ()=default |
void | run () final |
Run the pass. | |
Pass (ir::Graph &graph) | |
![]() | |
Pass (ir::Graph &graph) | |
virtual | ~Pass ()=default |
![]() | |
virtual | ~IPass ()=default |
Additional Inherited Members | |
![]() | |
ILoweredGraph & | _lowered_graph |
![]() | |
ir::Graph & | _graph |
Definition at line 29 of file ConstantInsertionPass.h.
|
finalvirtual |
Be called for all nodes of graph.
index | is the index of a node in graph |
node | is the node in graph |
Implements onert::compiler::pass::LoweredOperationPass.
Definition at line 25 of file ConstantInsertionPass.cc.
References onert::compiler::pass::Pass::_graph, onert::compiler::pass::LoweredOperationPass::_lowered_graph, onert::util::ObjectManager< Index, Object >::at(), onert::ir::Operand::clearDefUse(), onert::ir::DUPLICATED, onert::util::ObjectManager< Index, Object >::emplace(), onert::ir::IOperation::getInputs(), onert::ir::IOperation::getOutputs(), onert::compiler::ILoweredGraph::lower_info(), onert::ir::Graph::operands(), onert::compiler::GraphLowerInfo::operation, onert::ir::IOperation::replaceInputs(), size, onert::ir::UNDEFINED, and VERBOSE.
|
inlinefinalvirtual |
Returns string id for this pass. Same with class name.
Implements onert::compiler::pass::LoweredOperationPass.
Definition at line 35 of file ConstantInsertionPass.h.
|
inline |
Definition at line 29 of file LoweredOperationPass.h.