MLIR  16.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

struct  mlir::DialectResourceBlobHandle< DialectT >
 This class defines a dialect specific handle to a resource blob. More...
 
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::detail::DenseArrayAttrImpl< T >
 Base class for DenseArrayAttr that is instantiated and specialized for each supported element type below. More...
 
class  mlir::detail::DenseResourceElementsAttrBase< T >
 Base class for DenseResourceElementsAttr that is instantiated and specialized for each supported element type below. 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::IntegerAttr >
 
struct  llvm::PointerLikeTypeTraits< mlir::SymbolRefAttr >
 

Namespaces

 mlir
 Include the generated interface declarations.
 
 mlir::detail
 
 llvm
 The OpAsmOpInterface, see OpAsmInterface.td for more details.
 

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...
 
using mlir::DenseResourceElementsHandle = DialectResourceBlobHandle< BuiltinDialect >
 
using mlir::DenseBoolArrayAttr = detail::DenseArrayAttrImpl< bool >
 
using mlir::DenseI8ArrayAttr = detail::DenseArrayAttrImpl< int8_t >
 
using mlir::DenseI16ArrayAttr = detail::DenseArrayAttrImpl< int16_t >
 
using mlir::DenseI32ArrayAttr = detail::DenseArrayAttrImpl< int32_t >
 
using mlir::DenseI64ArrayAttr = detail::DenseArrayAttrImpl< int64_t >
 
using mlir::DenseF32ArrayAttr = detail::DenseArrayAttrImpl< float >
 
using mlir::DenseF64ArrayAttr = detail::DenseArrayAttrImpl< double >
 
using mlir::DenseBoolResourceElementsAttr = detail::DenseResourceElementsAttrBase< bool >
 
using mlir::DenseI8ResourceElementsAttr = detail::DenseResourceElementsAttrBase< int8_t >
 
using mlir::DenseI16ResourceElementsAttr = detail::DenseResourceElementsAttrBase< int16_t >
 
using mlir::DenseI32ResourceElementsAttr = detail::DenseResourceElementsAttrBase< int32_t >
 
using mlir::DenseI64ResourceElementsAttr = detail::DenseResourceElementsAttrBase< int64_t >
 
using mlir::DenseUI8ResourceElementsAttr = detail::DenseResourceElementsAttrBase< uint8_t >
 
using mlir::DenseUI16ResourceElementsAttr = detail::DenseResourceElementsAttrBase< uint16_t >
 
using mlir::DenseUI32ResourceElementsAttr = detail::DenseResourceElementsAttrBase< uint32_t >
 
using mlir::DenseUI64ResourceElementsAttr = detail::DenseResourceElementsAttrBase< uint64_t >
 
using mlir::DenseF32ResourceElementsAttr = detail::DenseResourceElementsAttrBase< float >
 
using mlir::DenseF64ResourceElementsAttr = detail::DenseResourceElementsAttrBase< double >
 

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)
 
AffineMap mlir::makeStridedLinearLayoutMap (ArrayRef< int64_t > strides, int64_t offset, MLIRContext *context)
 Given a list of strides (in which MemRefType::getDynamicStrideOrOffset() represents a dynamic value), return the single result AffineMap which represents the linearized strided layout map. More...
 

Macro Definition Documentation

◆ GET_ATTRDEF_CLASSES

#define GET_ATTRDEF_CLASSES

Definition at line 704 of file BuiltinAttributes.h.