Lines Matching defs:RealAttributeStorage
22 struct RealAttributeStorage : public mlir::AttributeStorage { struct
23 using KeyTy = std::pair<int, llvm::APFloat>;
25 RealAttributeStorage(int kind, const llvm::APFloat &value) in RealAttributeStorage() function
27 RealAttributeStorage(const KeyTy &key) in RealAttributeStorage() function
30 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;
48 llvm::APFloat value;