Home
last modified time | relevance | path

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

/external/llvm-project/mlir/examples/toy/Ch7/mlir/
DDialect.cpp423 struct StructTypeStorage : public mlir::TypeStorage { struct
428 using KeyTy = llvm::ArrayRef<mlir::Type>;
431 StructTypeStorage(llvm::ArrayRef<mlir::Type> elementTypes) in StructTypeStorage() argument
437 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;
/external/llvm-project/mlir/lib/Dialect/SPIRV/
DSPIRVTypes.cpp791 struct spirv::detail::StructTypeStorage : public TypeStorage { struct in spirv::detail
795 StructTypeStorage(StringRef identifier) in StructTypeStorage() function
802 StructTypeStorage( in StructTypeStorage() function
824 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 …]