Home
last modified time | relevance | path

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

/llvm-project-15.0.7/mlir/examples/toy/Ch7/mlir/
H A DDialect.cpp484 struct StructTypeStorage : public mlir::TypeStorage { struct
489 using KeyTy = llvm::ArrayRef<mlir::Type>;
492 StructTypeStorage(llvm::ArrayRef<mlir::Type> elementTypes) in StructTypeStorage() function
498 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;
/llvm-project-15.0.7/mlir/lib/Dialect/SPIRV/IR/
H A DSPIRVTypes.cpp787 StructTypeStorage(StringRef identifier) in StructTypeStorage() function
794 StructTypeStorage( in StructTypeStorage() argument
816 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 …]