MLIR  15.0.0git
Classes | Namespaces | Macros | Typedefs | Functions
BuiltinAttributes.h File Reference
#include "mlir/IR/BuiltinAttributeInterfaces.h"
#include "mlir/IR/SubElementInterfaces.h"
#include "llvm/ADT/APFloat.h"
#include "llvm/ADT/Sequence.h"
#include <complex>
#include "mlir/IR/BuiltinAttributes.h.inc"
+ Include dependency graph for BuiltinAttributes.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  mlir::detail::DenseElementIndexedIteratorImpl< ConcreteT, T, PointerT, ReferenceT >
 Impl iterator for indexed DenseElementsAttr iterators that records a data pointer and data index that is adjusted for the case of a splat attribute. More...
 
struct  mlir::detail::is_complex_t< T >
 Type trait detector that checks if a given type T is a complex type. More...
 
struct  mlir::detail::is_complex_t< std::complex< T > >
 
class  mlir::DenseElementsAttr
 An attribute that represents a reference to a dense vector or tensor object. More...
 
struct  mlir::DenseElementsAttr::is_valid_cpp_fp_type< T >
 Type trait used to check if the given type T is a potentially valid C++ floating point type that can be used to access the underlying element types of a DenseElementsAttr. More...
 
class  mlir::DenseElementsAttr::AttributeElementIterator
 A utility iterator that allows walking over the internal Attribute values of a DenseElementsAttr. More...
 
class  mlir::DenseElementsAttr::ElementIterator< T >
 Iterator for walking raw element values of the specified type 'T', which may be any c++ data type matching the stored representation: int32_t, float, etc. More...
 
class  mlir::DenseElementsAttr::BoolElementIterator
 A utility iterator that allows walking over the internal bool values. More...
 
class  mlir::DenseElementsAttr::IntElementIterator
 A utility iterator that allows walking over the internal raw APInt values. More...
 
class  mlir::DenseElementsAttr::ComplexIntElementIterator
 A utility iterator that allows walking over the internal raw complex APInt values. More...
 
class  mlir::DenseElementsAttr::FloatElementIterator
 Iterator for walking over APFloat values. More...
 
class  mlir::DenseElementsAttr::ComplexFloatElementIterator
 Iterator for walking over complex APFloat values. More...
 
struct  mlir::DenseElementsAttr::DerivedAttributeElementIterator< T >
 
class  mlir::SplatElementsAttr
 An attribute that represents a reference to a splat vector or tensor constant, meaning all of the elements have the same value. More...
 
class  mlir::BoolAttr
 Special case of IntegerAttr to represent boolean integers, i.e., signless i1 integers. More...
 
class  mlir::FlatSymbolRefAttr
 A symbol reference with a reference path containing a single element. More...
 
class  mlir::DenseFPElementsAttr
 An attribute that represents a reference to a dense float vector or tensor object. More...
 
class  mlir::DenseIntElementsAttr
 An attribute that represents a reference to a dense integer vector or tensor object. More...
 
struct  llvm::DenseMapInfo< mlir::StringAttr >
 
struct  llvm::PointerLikeTypeTraits< mlir::StringAttr >
 
struct  llvm::PointerLikeTypeTraits< mlir::SymbolRefAttr >
 

Namespaces

 mlir
 Include the generated interface declarations.
 
 mlir::detail
 
 llvm
 Explicitly register a set of "builtin" types.
 

Macros

#define GET_ATTRDEF_CLASSES
 

Typedefs

using mlir::detail::DenseIterPtrAndSplat = std::pair< const char *, bool >
 Pair of raw pointer and a boolean flag of whether the pointer holds a splat,. More...
 

Functions

bool mlir::operator== (StringAttr lhs, std::nullptr_t)
 Define comparisons for StringAttr against nullptr and itself to avoid the StringRef overloads from being chosen when not desirable. More...
 
bool mlir::operator!= (StringAttr lhs, std::nullptr_t)
 
bool mlir::operator== (StringAttr lhs, StringAttr rhs)
 
bool mlir::operator!= (StringAttr lhs, StringAttr rhs)
 
bool mlir::operator== (StringAttr lhs, StringRef rhs)
 Allow direct comparison with StringRef. More...
 
bool mlir::operator!= (StringAttr lhs, StringRef rhs)
 
bool mlir::operator== (StringRef lhs, StringAttr rhs)
 
bool mlir::operator!= (StringRef lhs, StringAttr rhs)
 

Macro Definition Documentation

◆ GET_ATTRDEF_CLASSES

#define GET_ATTRDEF_CLASSES

Definition at line 738 of file BuiltinAttributes.h.