Home
last modified time | relevance | path

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

/external/llvm-project/flang/lib/Optimizer/Dialect/
DFIRType.cpp608 struct BoxProcTypeStorage : public mlir::TypeStorage { struct
609 using KeyTy = mlir::Type;
611 static unsigned hashKey(const KeyTy &key) { return llvm::hash_combine(key); } in hashKey()
613 bool operator==(const KeyTy &key) const { return key == getElementType(); } in operator ==()
615 static BoxProcTypeStorage *construct(mlir::TypeStorageAllocator &allocator, in construct()
622 mlir::Type getElementType() const { return eleTy; } in getElementType()
625 mlir::Type eleTy;
629 explicit BoxProcTypeStorage(mlir::Type eleTy) : eleTy{eleTy} {} in BoxProcTypeStorage() argument