MLIR  19.0.0git
Static Public Member Functions | List of all members
mlir::pdll::ast::ValueRangeType Class Reference

This class represents a PDLL type that corresponds to an mlir::ValueRange. More...

#include "mlir/Tools/PDLL/AST/Types.h"

+ Inheritance diagram for mlir::pdll::ast::ValueRangeType:

Static Public Member Functions

static bool classof (Type type)
 Provide type casting support. More...
 
static ValueRangeType get (Context &context)
 Return an instance of the ValueRange type. More...
 
- 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. More...
 
- Static Public Member Functions inherited from mlir::pdll::ast::Type::TypeBase< detail::RangeTypeStorage >
static bool classof (Type type)
 Provide type casting support. More...
 

Additional Inherited Members

- Public Types inherited from mlir::pdll::ast::Type::TypeBase< detail::RangeTypeStorage >
using Base = TypeBase< detail::RangeTypeStorage, Type >
 
using ImplTy = detail::RangeTypeStorage
 
- Public Member Functions inherited from mlir::pdll::ast::RangeType
Type getElementType () const
 Return the element type of this range. More...
 
- 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
 
template<typename U >
bool isa () const
 Provide type casting support. More...
 
template<typename U , typename V , typename... Others>
bool isa () const
 
template<typename U >
dyn_cast () const
 
template<typename U >
dyn_cast_or_null () const
 
template<typename U >
cast () const
 
StoragegetImpl () const
 Return the internal storage instance of this type. More...
 
TypeID getTypeID () const
 Return the TypeID instance of this type. More...
 
void print (raw_ostream &os) const
 Print this type to the given stream. More...
 
Type refineWith (Type other) const
 Try to refine this type with the one provided. More...
 
- 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. More...
 

Detailed Description

This class represents a PDLL type that corresponds to an mlir::ValueRange.

Definition at line 213 of file Types.h.

Member Function Documentation

◆ classof()

bool ValueRangeType::classof ( Type  type)
static

Provide type casting support.

Definition at line 119 of file Types.cpp.

References mlir::pdll::ast::Type::dyn_cast(), mlir::pdll::ast::RangeType::getElementType(), and mlir::pdll::ast::Type::isa().

◆ get()

ValueRangeType ValueRangeType::get ( Context context)
static

Return an instance of the ValueRange type.

Definition at line 124 of file Types.cpp.

References mlir::pdll::ast::Type::cast(), mlir::pdll::ast::ValueType::get(), and mlir::pdll::ast::RangeType::get().


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