Home
last modified time | relevance | path

Searched refs:StructTypeStorage (Results 1 – 5 of 5) sorted by relevance

/llvm-project-15.0.7/mlir/examples/toy/Ch7/include/toy/
H A DDialect.h29 struct StructTypeStorage;
60 detail::StructTypeStorage> {
/llvm-project-15.0.7/mlir/examples/toy/Ch7/mlir/
H A DDialect.cpp484 struct StructTypeStorage : public mlir::TypeStorage { struct
492 StructTypeStorage(llvm::ArrayRef<mlir::Type> elementTypes) in StructTypeStorage() argument
521 static StructTypeStorage *construct(mlir::TypeStorageAllocator &allocator, in construct() argument
527 return new (allocator.allocate<StructTypeStorage>()) in construct()
528 StructTypeStorage(elementTypes); in construct()
/llvm-project-15.0.7/mlir/lib/Dialect/SPIRV/IR/
H A DSPIRVTypes.cpp783 struct spirv::detail::StructTypeStorage : public TypeStorage { struct in spirv::detail
787 StructTypeStorage(StringRef identifier) in StructTypeStorage() argument
794 StructTypeStorage( in StructTypeStorage() function
841 static StructTypeStorage *construct(TypeStorageAllocator &allocator, in construct() argument
850 return new (allocator.allocate<StructTypeStorage>()) in construct()
851 StructTypeStorage(identifier); in construct()
879 return new (allocator.allocate<StructTypeStorage>()) in construct()
880 StructTypeStorage(keyTypes.size(), typesList, offsetInfoList, in construct()
/llvm-project-15.0.7/mlir/docs/Tutorials/Toy/
H A DCh-7.md88 struct StructTypeStorage : public mlir::TypeStorage {
96 StructTypeStorage(llvm::ArrayRef<mlir::Type> elementTypes)
125 static StructTypeStorage *construct(mlir::TypeStorageAllocator &allocator,
131 return new (allocator.allocate<StructTypeStorage>())
132 StructTypeStorage(elementTypes);
150 /// (StructTypeStorage).
152 StructTypeStorage> {
/llvm-project-15.0.7/mlir/include/mlir/Dialect/SPIRV/IR/
H A DSPIRVTypes.h36 struct StructTypeStorage;
280 detail::StructTypeStorage, TypeTrait::IsMutable> {