MLIR  19.0.0git
Public Member Functions | List of all members
mlir::AttrTypeImmediateSubElementWalker Class Reference

AttrTypeSubElementHandler. More...

#include "mlir/IR/AttrTypeSubElements.h"

Public Member Functions

 AttrTypeImmediateSubElementWalker (function_ref< void(Attribute)> walkAttrsFn, function_ref< void(Type)> walkTypesFn)
void walk (Attribute element)
 Walk an attribute. More...
void walk (Type element)
 Walk a type. More...
template<typename RangeT >
void walkRange (RangeT &&elements)
 Walk a range of attributes or types. More...

Detailed Description


This class is used by AttrTypeSubElementHandler instances to walking sub attributes and types.

Definition at line 232 of file AttrTypeSubElements.h.

Constructor & Destructor Documentation

◆ AttrTypeImmediateSubElementWalker()

mlir::AttrTypeImmediateSubElementWalker::AttrTypeImmediateSubElementWalker ( function_ref< void(Attribute)>  walkAttrsFn,
function_ref< void(Type)>  walkTypesFn 

Definition at line 234 of file AttrTypeSubElements.h.

Member Function Documentation

◆ walk() [1/2]

void AttrTypeImmediateSubElementWalker::walk ( Attribute  element)

◆ walk() [2/2]

void AttrTypeImmediateSubElementWalker::walk ( Type  element)

Walk a type.

Definition at line 239 of file AttrTypeSubElements.cpp.

◆ walkRange()

template<typename RangeT >
void mlir::AttrTypeImmediateSubElementWalker::walkRange ( RangeT &&  elements)

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