MLIR 23.0.0git
mlir::AttrTypeSubElementHandler< T, std::enable_if_t< std::is_base_of_v< Attribute, T >||std::is_base_of_v< Type, T > > > Struct Template Reference

Implementation for derived Attributes and Types. More...

#include "mlir/IR/AttrTypeSubElements.h"

Inheritance diagram for mlir::AttrTypeSubElementHandler< T, std::enable_if_t< std::is_base_of_v< Attribute, T >||std::is_base_of_v< Type, T > > >:

Public Types

using DefaultHandlerTag
 Tag indicating that this handler does not support sub-elements.

Static Public Member Functions

static void walk (T param, AttrTypeImmediateSubElementWalker &walker)
static T replace (T param, AttrSubElementReplacements &attrRepls, TypeSubElementReplacements &typeRepls)

Detailed Description

template<typename T>
struct mlir::AttrTypeSubElementHandler< T, std::enable_if_t< std::is_base_of_v< Attribute, T >||std::is_base_of_v< Type, T > > >

Implementation for derived Attributes and Types.

Definition at line 423 of file AttrTypeSubElements.h.

Member Typedef Documentation

◆ DefaultHandlerTag

using mlir::AttrTypeSubElementHandler< T, std::enable_if_t< std::is_base_of_v< Attribute, T >||std::is_base_of_v< Type, T > > >::DefaultHandlerTag

Tag indicating that this handler does not support sub-elements.

Definition at line 408 of file AttrTypeSubElements.h.

Member Function Documentation

◆ replace()

template<typename T>
T mlir::AttrTypeSubElementHandler< T, std::enable_if_t< std::is_base_of_v< Attribute, T >||std::is_base_of_v< Type, T > > >::replace ( T param,
AttrSubElementReplacements & attrRepls,
TypeSubElementReplacements & typeRepls )
inlinestatic

◆ walk()

template<typename T>
void mlir::AttrTypeSubElementHandler< T, std::enable_if_t< std::is_base_of_v< Attribute, T >||std::is_base_of_v< Type, T > > >::walk ( T param,
AttrTypeImmediateSubElementWalker & walker )
inlinestatic

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