Searched defs:RealAttributeStorage (Results 1 – 1 of 1) sorted by relevance
25 struct RealAttributeStorage : public mlir::AttributeStorage { struct26 using KeyTy = std::pair<int, llvm::APFloat>;28 RealAttributeStorage(int kind, const llvm::APFloat &value) in RealAttributeStorage() function30 RealAttributeStorage(const KeyTy &key) in RealAttributeStorage() argument33 static unsigned hashKey(const KeyTy &key) { return llvm::hash_value(key); } in hashKey()35 bool operator==(const KeyTy &key) const { in operator ==()41 construct(mlir::AttributeStorageAllocator &allocator, const KeyTy &key) { in construct()46 KindTy getFKind() const { return kind; } in getFKind()47 llvm::APFloat getValue() const { return value; } in getValue()50 int kind;[all …]