MLIR 22.0.0git
mlir::MemoryEffects::Effect Struct Reference

This class represents the base class used for memory effects. More...

#include "mlir/Interfaces/SideEffectInterfaces.h"

Inheritance diagram for mlir::MemoryEffects::Effect:

Public Types

template<typename DerivedEffect>
using Base = SideEffects::Effect::Base<DerivedEffect, Effect>
 A base class for memory effects that provides helper utilities.

Public Member Functions

 Effect (TypeID id)
Public Member Functions inherited from mlir::SideEffects::Effect
TypeID getEffectID () const
 Return the unique identifier for the base effects class.

Static Public Member Functions

static bool classof (const SideEffects::Effect *effect)
 Include the definitions of the side effect interfaces.
Static Public Member Functions inherited from mlir::SideEffects::Effect
template<typename DerivedEffect>
static DerivedEffect * get ()
 Returns a unique instance for the given effect class.

Additional Inherited Members

Protected Member Functions inherited from mlir::SideEffects::Effect
 Effect (TypeID id)

Detailed Description

This class represents the base class used for memory effects.

Definition at line 350 of file SideEffectInterfaces.h.

Member Typedef Documentation

◆ Base

template<typename DerivedEffect>
using mlir::MemoryEffects::Effect::Base = SideEffects::Effect::Base<DerivedEffect, Effect>

A base class for memory effects that provides helper utilities.

Definition at line 355 of file SideEffectInterfaces.h.

Constructor & Destructor Documentation

◆ Effect()

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

Definition at line 66 of file SideEffectInterfaces.h.

Member Function Documentation

◆ classof()

bool MemoryEffects::Effect::classof ( const SideEffects::Effect * effect)
static

Include the definitions of the side effect interfaces.

Definition at line 27 of file SideEffectInterfaces.cpp.


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