ONE - On-device Neural Engine
Loading...
Searching...
No Matches
onert::compiler::pass::LoweredOperationPass Class Referenceabstract

#include <LoweredOperationPass.h>

Collaboration diagram for onert::compiler::pass::LoweredOperationPass:

Public Member Functions

 LoweredOperationPass (ILoweredGraph &lowered_graph)
 
virtual ~LoweredOperationPass ()=default
 
std::string id () override=0
 Returns string id for this pass. Same with class name.
 
void callback (const ir::OperationIndex &i, ir::IOperation &o) override=0
 Be called for all nodes of graph.
 
- Public Member Functions inherited from onert::compiler::pass::OperationPass
virtual ~OperationPass ()=default
 
void run () final
 Run the pass.
 
 Pass (ir::Graph &graph)
 
- Public Member Functions inherited from onert::compiler::pass::Pass
 Pass (ir::Graph &graph)
 
virtual ~Pass ()=default
 
- Public Member Functions inherited from onert::compiler::pass::IPass
virtual ~IPass ()=default
 

Protected Attributes

ILoweredGraph_lowered_graph
 
- Protected Attributes inherited from onert::compiler::pass::Pass
ir::Graph_graph
 

Detailed Description

Definition at line 30 of file LoweredOperationPass.h.

Constructor & Destructor Documentation

◆ LoweredOperationPass()

onert::compiler::pass::LoweredOperationPass::LoweredOperationPass ( ILoweredGraph lowered_graph)
inline

Definition at line 33 of file LoweredOperationPass.h.

34 : OperationPass{lowered_graph.graph()}, _lowered_graph{lowered_graph}
35 {
36 // DO NOTHING
37 }

◆ ~LoweredOperationPass()

virtual onert::compiler::pass::LoweredOperationPass::~LoweredOperationPass ( )
virtualdefault

Member Function Documentation

◆ callback()

void onert::compiler::pass::LoweredOperationPass::callback ( const ir::OperationIndex index,
ir::IOperation node 
)
overridepure virtual

◆ id()

std::string onert::compiler::pass::LoweredOperationPass::id ( )
overridepure virtual

Field Documentation

◆ _lowered_graph

ILoweredGraph& onert::compiler::pass::LoweredOperationPass::_lowered_graph
protected

The documentation for this class was generated from the following file: