ONE - On-device Neural Engine
Loading...
Searching...
No Matches
onert::compiler::OperandLowerInfo Class Reference

#include <OperandLowerInfo.h>

Public Member Functions

 OperandLowerInfo ()
 
const BackendSetdef_backends (void) const
 
const BackendSetuse_backends (void) const
 
void addDefBackend (const backend::Backend *backend)
 
void addUseBackend (const backend::Backend *backend)
 
void removeDefBackend (const backend::Backend *backend)
 
void removeUseBackend (const backend::Backend *backend)
 

Detailed Description

Definition at line 30 of file OperandLowerInfo.h.

Constructor & Destructor Documentation

◆ OperandLowerInfo()

onert::compiler::OperandLowerInfo::OperandLowerInfo ( )
inline

Definition at line 33 of file OperandLowerInfo.h.

34 {
35 // DO NOTHING
36 }

Member Function Documentation

◆ addDefBackend()

void onert::compiler::OperandLowerInfo::addDefBackend ( const backend::Backend backend)
inline

Definition at line 43 of file OperandLowerInfo.h.

43{ _def_backends.add(backend); }
void add(const Element &e)
Add a given element to the set.
Definition Set.h:70

References onert::util::Set< Element >::add().

◆ addUseBackend()

void onert::compiler::OperandLowerInfo::addUseBackend ( const backend::Backend backend)
inline

Definition at line 44 of file OperandLowerInfo.h.

44{ _use_backends.add(backend); }

References onert::util::Set< Element >::add().

◆ def_backends()

const BackendSet & onert::compiler::OperandLowerInfo::def_backends ( void  ) const
inline

Definition at line 39 of file OperandLowerInfo.h.

39{ return _def_backends; }

◆ removeDefBackend()

void onert::compiler::OperandLowerInfo::removeDefBackend ( const backend::Backend backend)
inline

Definition at line 45 of file OperandLowerInfo.h.

45{ _def_backends.remove(backend); }
void remove(const Element &e)
remove a given element from the set
Definition Set.h:76

References onert::util::Set< Element >::remove().

◆ removeUseBackend()

void onert::compiler::OperandLowerInfo::removeUseBackend ( const backend::Backend backend)
inline

Definition at line 46 of file OperandLowerInfo.h.

46{ _use_backends.remove(backend); }

References onert::util::Set< Element >::remove().

◆ use_backends()

const BackendSet & onert::compiler::OperandLowerInfo::use_backends ( void  ) const
inline

Definition at line 40 of file OperandLowerInfo.h.

40{ return _use_backends; }

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