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

#include <DeadObjectElimination.h>

Collaboration diagram for enco::DeadObjectEliminationPass:

Public Member Functions

 PASS_CTOR (DeadObjectEliminationPass)
 
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 35 of file DeadObjectElimination.h.

Member Function Documentation

◆ PASS_CTOR()

enco::DeadObjectEliminationPass::PASS_CTOR ( DeadObjectEliminationPass  )
inline

Definition at line 37 of file DeadObjectElimination.h.

38 {
39 // DO NOTHING
40 }

◆ run()

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

Implements enco::Pass.

Definition at line 42 of file DeadObjectElimination.h.

void eliminate_dead_object(enco::Code *code)
Eliminate dead objects in IR.
Code * code(const SessionID &sess)
Definition Session.cpp:54

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

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


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