MLIR  20.0.0git
Classes | Public Member Functions | Static Public Member Functions | Protected Member Functions | List of all members
mlir::SideEffects::Effect Class Reference

This class represents a base class for a specific effect type. More...

#include "mlir/Interfaces/SideEffectInterfaces.h"

+ Inheritance diagram for mlir::SideEffects::Effect:

Classes

class  Base
 This base class is used for derived effects that are non-parametric. More...
 

Public Member Functions

TypeID getEffectID () const
 Return the unique identifier for the base effects class. More...
 

Static Public Member Functions

template<typename DerivedEffect >
static DerivedEffect * get ()
 Returns a unique instance for the given effect class. More...
 

Protected Member Functions

 Effect (TypeID id)
 

Detailed Description

This class represents a base class for a specific effect type.

Definition at line 26 of file SideEffectInterfaces.h.

Constructor & Destructor Documentation

◆ Effect()

mlir::SideEffects::Effect::Effect ( TypeID  id)
inlineprotected

Definition at line 66 of file SideEffectInterfaces.h.

Member Function Documentation

◆ get()

template<typename DerivedEffect >
static DerivedEffect* mlir::SideEffects::Effect::get ( )
inlinestatic

Returns a unique instance for the given effect class.

Definition at line 57 of file SideEffectInterfaces.h.

◆ getEffectID()

TypeID mlir::SideEffects::Effect::getEffectID ( ) const
inline

Return the unique identifier for the base effects class.

Definition at line 53 of file SideEffectInterfaces.h.


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