ONE - On-device Neural Engine
Loading...
Searching...
No Matches
enco::FreeInstrEliminationPass Struct Referencefinal

#include <FreeInstrElimination.h>

Collaboration diagram for enco::FreeInstrEliminationPass:

Public Member Functions

 PASS_CTOR (FreeInstrEliminationPass)
 
void run (const SessionID &sess) const override
 
- Public Member Functions inherited from enco::Pass
 Pass (const Name &name)
 
 Pass (const Pass &)=delete
 
 Pass (Pass &&)=delete
 
virtual ~Pass ()=default
 
const Namename (void) const
 

Detailed Description

Definition at line 42 of file FreeInstrElimination.h.

Member Function Documentation

◆ PASS_CTOR()

enco::FreeInstrEliminationPass::PASS_CTOR ( FreeInstrEliminationPass  )
inline

Definition at line 44 of file FreeInstrElimination.h.

45 {
46 // DO NOTHING
47 }

◆ run()

void enco::FreeInstrEliminationPass::run ( const SessionID sess) const
inlineoverridevirtual

Implements enco::Pass.

Definition at line 49 of file FreeInstrElimination.h.

49{ eliminate_free_instr(code(sess)); }
Code * code(const SessionID &sess)
Definition Session.cpp:54
void eliminate_free_instr(coco::Module *m)
Eliminate free instructions.

References enco::code(), and enco::eliminate_free_instr().

Referenced by package.infer.session::inference().


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