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

#include <DeadBagElimination.h>

Collaboration diagram for enco::DeadBagEliminationPass:

Public Member Functions

 PASS_CTOR (DeadBagEliminationPass)
 
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 36 of file DeadBagElimination.h.

Member Function Documentation

◆ PASS_CTOR()

enco::DeadBagEliminationPass::PASS_CTOR ( DeadBagEliminationPass  )
inline

Definition at line 38 of file DeadBagElimination.h.

39 {
40 // DO NOTHING
41 }

◆ run()

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

Implements enco::Pass.

Definition at line 43 of file DeadBagElimination.h.

43{ eliminate_dead_bag(code(sess)); }
Code * code(const SessionID &sess)
Definition Session.cpp:54
void eliminate_dead_bag(enco::Code *code)
Eliminate dead bags.

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

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


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