MLIR 22.0.0git
mlir::AttrTypeSubElementHandler< NamedAttribute > Struct Reference

Allow walking and replacing the subelements of a NamedAttribute. More...

#include "mlir/IR/Attributes.h"

Inheritance diagram for mlir::AttrTypeSubElementHandler< NamedAttribute >:

Public Types

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

Static Public Member Functions

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

Detailed Description

Allow walking and replacing the subelements of a NamedAttribute.

Definition at line 221 of file Attributes.h.

Member Typedef Documentation

◆ DefaultHandlerTag

using mlir::AttrTypeSubElementHandler< NamedAttribute, void >::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< NamedAttribute >::replace ( T param,
AttrSubElementReplacements & attrRepls,
TypeSubElementReplacements & typeRepls )
inlinestatic

◆ walk()

template<typename T>
void mlir::AttrTypeSubElementHandler< NamedAttribute >::walk ( T param,
AttrTypeImmediateSubElementWalker & walker )
inlinestatic

Definition at line 223 of file Attributes.h.

References mlir::AttrTypeImmediateSubElementWalker::walk().


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