MLIR
20.0.0git
|
This trait is used to determine if an attribute is a dynamic attribute or not; it should only be implemented by dynamic attributes. More...
Classes | |
struct | IsLocation |
This trait is used to determine if an attribute is a location or not. More... | |
class | IsDynamicAttr |
Typedefs | |
template<typename ConcreteType , template< typename > class TraitType> | |
using | TraitBase = detail::StorageUserTraitBase< ConcreteType, TraitType > |
This class represents the base of an attribute trait. More... | |
template<typename ConcreteType > | |
using | IsMutable = detail::StorageUserTrait::IsMutable< ConcreteType > |
This trait is used to determine if an attribute is mutable or not. More... | |
This trait is used to determine if an attribute is a dynamic attribute or not; it should only be implemented by dynamic attributes.
Note: This is only required because dynamic attributes do not have a static/single TypeID.
using mlir::AttributeTrait::IsMutable = typedef detail::StorageUserTrait::IsMutable<ConcreteType> |
This trait is used to determine if an attribute is mutable or not.
It is attached on an attribute if the corresponding ConcreteType defines a mutate
function with proper signature.
Definition at line 330 of file Attributes.h.
using mlir::AttributeTrait::TraitBase = typedef detail::StorageUserTraitBase<ConcreteType, TraitType> |
This class represents the base of an attribute trait.
Definition at line 284 of file Attributes.h.