|
My Project
|
An attribute representing a floating point value. More...
#include <AttributeDetail.h>


Public Types | |
| using | KeyTy = std::pair< Type, APFloat > |
Public Member Functions | |
| FloatAttributeStorage (const llvm::fltSemantics &semantics, Type type, size_t numObjects) | |
| bool | operator== (const KeyTy &key) const |
| Key equality and hash functions. More... | |
| APFloat | getValue () const |
| Returns an APFloat representing the stored value. More... | |
Public Member Functions inherited from mlir::AttributeStorage | |
| Type | getType () const |
| Get the type of this attribute. More... | |
| Dialect & | getDialect () const |
| Get the dialect of this attribute. More... | |
Public Member Functions inherited from mlir::StorageUniquer::BaseStorage | |
| unsigned | getKind () const |
| Get the kind classification of this storage. More... | |
Static Public Member Functions | |
| static unsigned | hashKey (const KeyTy &key) |
| static KeyTy | getKey (Type type, double value) |
| Construct a key with a type and double. More... | |
| static FloatAttributeStorage * | construct (AttributeStorageAllocator &allocator, const KeyTy &key) |
| Construct a new storage instance. More... | |
Public Attributes | |
| const llvm::fltSemantics & | semantics |
| size_t | numObjects |
Additional Inherited Members | |
Protected Member Functions inherited from mlir::AttributeStorage | |
| AttributeStorage (Type type) | |
| AttributeStorage () | |
| void | setType (Type type) |
| Set the type of this attribute. More... | |
| void | initializeDialect (Dialect &newDialect) |
Protected Member Functions inherited from mlir::StorageUniquer::BaseStorage | |
| BaseStorage () | |
An attribute representing a floating point value.
| using mlir::detail::FloatAttributeStorage::KeyTy = std::pair<Type, APFloat> |
|
inline |
|
inlinestatic |
Construct a new storage instance.
Construct a key with a type and double.
|
inline |
Returns an APFloat representing the stored value.
|
inlinestatic |
|
inline |
Key equality and hash functions.
| size_t mlir::detail::FloatAttributeStorage::numObjects |
| const llvm::fltSemantics& mlir::detail::FloatAttributeStorage::semantics |
1.8.13