My Project
|
An attribute representing a boolean value. More...
#include <AttributeDetail.h>
Public Types | |
using | KeyTy = std::pair< MLIRContext *, bool > |
Public Member Functions | |
BoolAttributeStorage (Type type, bool value) | |
bool | operator== (const KeyTy &key) const |
We only check equality for and hash with the boolean key parameter. More... | |
![]() | |
Type | getType () const |
Get the type of this attribute. More... | |
Dialect & | getDialect () const |
Get the dialect of this attribute. More... | |
![]() | |
unsigned | getKind () const |
Get the kind classification of this storage. More... | |
Static Public Member Functions | |
static unsigned | hashKey (const KeyTy &key) |
static BoolAttributeStorage * | construct (AttributeStorageAllocator &allocator, const KeyTy &key) |
Public Attributes | |
bool | value |
Additional Inherited Members | |
![]() | |
AttributeStorage (Type type) | |
AttributeStorage () | |
void | setType (Type type) |
Set the type of this attribute. More... | |
void | initializeDialect (Dialect &newDialect) |
![]() | |
BaseStorage () | |
An attribute representing a boolean value.
using mlir::detail::BoolAttributeStorage::KeyTy = std::pair<MLIRContext *, bool> |
|
inline |
|
inlinestatic |
|
inlinestatic |
|
inline |
We only check equality for and hash with the boolean key parameter.
bool mlir::detail::BoolAttributeStorage::value |