Home
last modified time | relevance | path

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

/external/llvm-project/flang/lib/Optimizer/Dialect/
DFIRType.cpp472 struct IntTypeStorage : public mlir::TypeStorage { struct
473 using KeyTy = KindTy;
475 static unsigned hashKey(const KeyTy &key) { return llvm::hash_combine(key); } in hashKey()
477 bool operator==(const KeyTy &key) const { return key == getFKind(); } in operator ==()
479 static IntTypeStorage *construct(mlir::TypeStorageAllocator &allocator, in construct()
485 KindTy getFKind() const { return kind; } in getFKind()
488 KindTy kind;
492 explicit IntTypeStorage(KindTy kind) : kind{kind} {} in IntTypeStorage() argument