MLIR
20.0.0git
|
This trait is used to determine if a type is a dynamic type or not; it should only be implemented by dynamic types. More...
Classes | |
class | IsDynamicType |
Typedefs | |
template<typename ConcreteType , template< typename > class TraitType> | |
using | TraitBase = detail::StorageUserTraitBase< ConcreteType, TraitType > |
This class represents the base of a type trait. More... | |
template<typename ConcreteType > | |
using | IsMutable = detail::StorageUserTrait::IsMutable< ConcreteType > |
This trait is used to determine if a type is a dynamic type or not; it should only be implemented by dynamic types.
This trait is used to determine if a type is mutable or not.
Note: This is only required because dynamic type do not have a static/single TypeID.
It is attached on a type if the corresponding ImplType defines a mutate
function with a proper signature.
using mlir::TypeTrait::IsMutable = typedef detail::StorageUserTrait::IsMutable<ConcreteType> |
using mlir::TypeTrait::TraitBase = typedef detail::StorageUserTraitBase<ConcreteType, TraitType> |