Home
last modified time | relevance | path

Searched defs:RealAttributeStorage (Results 1 – 1 of 1) sorted by relevance

/external/llvm-project/flang/lib/Optimizer/Dialect/
DFIRAttr.cpp22 struct RealAttributeStorage : public mlir::AttributeStorage { struct
23 using KeyTy = std::pair<int, llvm::APFloat>;
25 RealAttributeStorage(int kind, const llvm::APFloat &value) in RealAttributeStorage() argument
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;
[all …]