Home
last modified time | relevance | path

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

/external/llvm-project/flang/lib/Optimizer/Dialect/
DFIRType.cpp363 struct CharacterTypeStorage : public mlir::TypeStorage { struct
364 using KeyTy = KindTy;
366 static unsigned hashKey(const KeyTy &key) { return llvm::hash_combine(key); } in hashKey()
368 bool operator==(const KeyTy &key) const { return key == getFKind(); } in operator ==()
370 static CharacterTypeStorage *construct(mlir::TypeStorageAllocator &allocator, in construct()
376 KindTy getFKind() const { return kind; } in getFKind()
379 KindTy kind;
383 explicit CharacterTypeStorage(KindTy kind) : kind{kind} {} in CharacterTypeStorage() function