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