|
MLIR 22.0.0git
|
This class represents a PDLL type that corresponds to an mlir::TypeRange. More...
#include "mlir/Tools/PDLL/AST/Types.h"
Static Public Member Functions | |
| static bool | classof (Type type) |
| Provide type casting support. | |
| static TypeRangeType | get (Context &context) |
| Return an instance of the TypeRange type. | |
| Static Public Member Functions inherited from mlir::pdll::ast::RangeType | |
| static RangeType | get (Context &context, Type elementType) |
| Return an instance of the Range type with the given element type. | |
| Static Public Member Functions inherited from mlir::pdll::ast::Type::TypeBase< detail::RangeTypeStorage > | |
| static bool | classof (Type type) |
| Provide type casting support. | |
Additional Inherited Members | |
| Public Types inherited from mlir::pdll::ast::Type::TypeBase< detail::RangeTypeStorage > | |
| using | Base |
| using | ImplTy |
| Public Member Functions inherited from mlir::pdll::ast::RangeType | |
| Type | getElementType () const |
| Return the element type of this range. | |
| Public Member Functions inherited from mlir::pdll::ast::Type | |
| Type (Storage *impl=nullptr) | |
| bool | operator== (const Type &other) const |
| bool | operator!= (const Type &other) const |
| operator bool () const | |
| Storage * | getImpl () const |
| Return the internal storage instance of this type. | |
| TypeID | getTypeID () const |
| Return the TypeID instance of this type. | |
| void | print (raw_ostream &os) const |
| Print this type to the given stream. | |
| Type | refineWith (Type other) const |
| Try to refine this type with the one provided. | |
| Protected Member Functions inherited from mlir::pdll::ast::Type | |
| template<typename T> | |
| const T * | getImplAs () const |
| Return the internal storage instance of this type reinterpreted as the given derived storage type. | |
This class represents a PDLL type that corresponds to an mlir::TypeRange.
Provide type casting support.
Definition at line 108 of file Types.cpp.
References mlir::pdll::ast::RangeType::getElementType().
|
static |
Return an instance of the TypeRange type.
Definition at line 113 of file Types.cpp.
References mlir::pdll::ast::RangeType::get(), and mlir::pdll::ast::TypeType::get().
Referenced by mlir::parseSourceFile().