ONE - On-device Neural Engine
All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
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 28 of file OperandLowerInfo.h.

Constructor & Destructor Documentation

◆ OperandLowerInfo()

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

Definition at line 31 of file OperandLowerInfo.h.

32 {
33 // DO NOTHING
34 }

Member Function Documentation

◆ addDefBackend()

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

Definition at line 41 of file OperandLowerInfo.h.

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

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

◆ addUseBackend()

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

Definition at line 42 of file OperandLowerInfo.h.

42{ _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 37 of file OperandLowerInfo.h.

37{ return _def_backends; }

◆ removeDefBackend()

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

Definition at line 43 of file OperandLowerInfo.h.

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

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

◆ removeUseBackend()

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

Definition at line 44 of file OperandLowerInfo.h.

44{ _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 38 of file OperandLowerInfo.h.

38{ return _use_backends; }

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