MLIR  19.0.0git
Classes | Namespaces | Typedefs | Functions
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  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

 mlir
 Include the generated interface declarations.
 
 mlir::AttributeTrait
 This trait is used to determine if an attribute is mutable or not.
 
 llvm
 Include the generated interface declarations.
 

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. More...
 
template<typename ConcreteType >
using mlir::AttributeTrait::IsMutable = detail::StorageUserTrait::IsMutable< ConcreteType >
 

Functions

raw_ostream & mlir::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)