Searched defs:StructTypeStorage (Results 1 – 2 of 2) sorted by relevance
423 struct StructTypeStorage : public mlir::TypeStorage { struct428 using KeyTy = llvm::ArrayRef<mlir::Type>;431 StructTypeStorage(llvm::ArrayRef<mlir::Type> elementTypes) in StructTypeStorage() function437 bool operator==(const KeyTy &key) const { return key == elementTypes; } in operator ==()443 static llvm::hash_code hashKey(const KeyTy &key) { in hashKey()452 static KeyTy getKey(llvm::ArrayRef<mlir::Type> elementTypes) { in getKey()460 static StructTypeStorage *construct(mlir::TypeStorageAllocator &allocator, in construct()471 llvm::ArrayRef<mlir::Type> elementTypes;
791 struct spirv::detail::StructTypeStorage : public TypeStorage { struct in spirv::detail795 StructTypeStorage(StringRef identifier) in StructTypeStorage() function802 StructTypeStorage( in StructTypeStorage() argument824 using KeyTy =833 bool operator==(const KeyTy &key) const { in operator ==()849 static StructTypeStorage *construct(TypeStorageAllocator &allocator, in construct()892 ArrayRef<Type> getMemberTypes() const { in getMemberTypes()896 ArrayRef<StructType::OffsetInfo> getOffsetInfo() const { in getOffsetInfo()903 ArrayRef<StructType::MemberDecorationInfo> getMemberDecorationsInfo() const { in getMemberDecorationsInfo()911 StringRef getIdentifier() const { return identifier; } in getIdentifier()[all …]