MLIR  19.0.0git
Classes | Functions
mlir::pdl Namespace Reference

Classes

class  PDLType
 This class represents the base class of all PDL types. More...
 

Functions

Type getRangeElementTypeOrSelf (Type type)
 If the given type is a range, return its element type, otherwise return the type itself. More...
 

Function Documentation

◆ getRangeElementTypeOrSelf()

Type mlir::pdl::getRangeElementTypeOrSelf ( Type  type)

If the given type is a range, return its element type, otherwise return the type itself.

Definition at line 62 of file PDLTypes.cpp.

Referenced by parseRangeType().