MLIR 22.0.0git
Attributes.h File Reference
#include "mlir/IR/AttributeSupport.h"
#include "llvm/Support/PointerLikeTypeTraits.h"

Go to the source code of this file.

Classes

class  mlir::Attribute
 Attributes are known-constant values of operations. More...
class  mlir::NamedAttribute
 NamedAttribute represents a combination of a name and an Attribute value. More...
struct  mlir::AttrTypeSubElementHandler< NamedAttribute >
 Allow walking and replacing the subelements of a NamedAttribute. More...
class  mlir::AttributeInterface< ConcreteType, Traits >
 This class represents the base of an attribute interface. More...
struct  mlir::AttributeTrait::IsLocation< ConcreteType >
 This trait is used to determine if an attribute is a location or not. More...
struct  llvm::DenseMapInfo< mlir::Attribute >
struct  llvm::DenseMapInfo< T, std::enable_if_t< std::is_base_of< mlir::Attribute, T >::value &&!mlir::detail::IsInterface< T >::value > >
struct  llvm::PointerLikeTypeTraits< mlir::Attribute >
 Allow LLVM to steal the low bits of Attributes. More...
struct  llvm::DenseMapInfo< mlir::NamedAttribute >
struct  llvm::CastInfo< To, From, std::enable_if_t< std::is_same_v< mlir::Attribute, std::remove_const_t< From > >||std::is_base_of_v< mlir::Attribute, From > > >
 Add support for llvm style casts. More...

Namespaces

namespace  mlir
 Include the generated interface declarations.
namespace  mlir::AttributeTrait
 This trait is used to determine if an attribute is a dynamic attribute or not; it should only be implemented by dynamic attributes.
namespace  llvm
 The OpAsmOpInterface, see OpAsmInterface.td for more details.

Typedefs

template<typename ConcreteType, template< typename > class TraitType>
using mlir::AttributeTrait::TraitBase = detail::StorageUserTraitBase<ConcreteType, TraitType>
 This class represents the base of an attribute trait.
template<typename ConcreteType>
using mlir::AttributeTrait::IsMutable = detail::StorageUserTrait::IsMutable<ConcreteType>
 This trait is used to determine if an attribute is mutable or not.

Functions

raw_ostreammlir::operator<< (raw_ostream &os, Attribute attr)
inline ::llvm::hash_code mlir::hash_value (Attribute arg)
inline ::llvm::hash_code mlir::hash_value (const NamedAttribute &arg)