Searched defs:RealAttributeStorage (Results 1 – 1 of 1) sorted by relevance
22 struct RealAttributeStorage : public mlir::AttributeStorage { struct23 using KeyTy = std::pair<int, llvm::APFloat>;25 RealAttributeStorage(int kind, const llvm::APFloat &value) in RealAttributeStorage() argument27 RealAttributeStorage(const KeyTy &key) in RealAttributeStorage() function30 static unsigned hashKey(const KeyTy &key) { return llvm::hash_value(key); } in hashKey()32 bool operator==(const KeyTy &key) const { in operator ==()38 construct(mlir::AttributeStorageAllocator &allocator, const KeyTy &key) { in construct()43 int getFKind() const { return kind; } in getFKind()44 llvm::APFloat getValue() const { return value; } in getValue()47 int kind;[all …]