Home
last modified time | relevance | path

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

/external/llvm-project/flang/lib/Optimizer/Dialect/
DFIRType.cpp579 struct BoxCharTypeStorage : public mlir::TypeStorage { struct
580 using KeyTy = KindTy;
582 static unsigned hashKey(const KeyTy &key) { return llvm::hash_combine(key); } in hashKey()
584 bool operator==(const KeyTy &key) const { return key == getFKind(); } in operator ==()
586 static BoxCharTypeStorage *construct(mlir::TypeStorageAllocator &allocator, in construct()
592 KindTy getFKind() const { return kind; } in getFKind()
595 CharacterType getElementType(mlir::MLIRContext *ctxt) const { in getElementType()
600 KindTy kind;
604 explicit BoxCharTypeStorage(KindTy kind) : kind{kind} {} in BoxCharTypeStorage() argument