Searched defs:StructTypeStorage (Results 1 – 2 of 2) sorted by relevance
484 struct StructTypeStorage : public mlir::TypeStorage { struct489 using KeyTy = llvm::ArrayRef<mlir::Type>;492 StructTypeStorage(llvm::ArrayRef<mlir::Type> elementTypes) in StructTypeStorage() function498 bool operator==(const KeyTy &key) const { return key == elementTypes; } in operator ==()504 static llvm::hash_code hashKey(const KeyTy &key) { in hashKey()513 static KeyTy getKey(llvm::ArrayRef<mlir::Type> elementTypes) { in getKey()521 static StructTypeStorage *construct(mlir::TypeStorageAllocator &allocator, in construct()532 llvm::ArrayRef<mlir::Type> elementTypes;
787 StructTypeStorage(StringRef identifier) in StructTypeStorage() function794 StructTypeStorage( in StructTypeStorage() argument816 using KeyTy =825 bool operator==(const KeyTy &key) const { in operator ==()884 ArrayRef<Type> getMemberTypes() const { in getMemberTypes()903 StringRef getIdentifier() const { return identifier; } in getIdentifier()915 LogicalResult mutate( in mutate()953 StructType::OffsetInfo const *offsetInfo;954 unsigned numMembers;955 unsigned numMemberDecorations;[all …]