|
MLIR 22.0.0git
|
This class provides several utilities when defining derived type classes. More...
#include "mlir/Tools/PDLL/AST/Types.h"
Public Types | |
| using | Base = TypeBase<ImplT, BaseT> |
| using | ImplTy = ImplT |
Static Public Member Functions | |
| static bool | classof (Type type) |
| Provide type casting support. | |
Additional Inherited Members | |
| 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 provides several utilities when defining derived type classes.
| using mlir::pdll::ast::Type::TypeBase< ImplT, BaseT >::Base = TypeBase<ImplT, BaseT> |
| using mlir::pdll::ast::Type::TypeBase< ImplT, BaseT >::ImplTy = ImplT |
|
inlinestatic |