Home
last modified time | relevance | path

Searched refs:getElementTypes (Results 1 – 6 of 6) sorted by relevance

/external/llvm-project/mlir/examples/toy/Ch7/include/toy/
DDialect.h88 llvm::ArrayRef<mlir::Type> getElementTypes();
91 size_t getNumElementTypes() { return getElementTypes().size(); } in getNumElementTypes()
/external/llvm-project/mlir/examples/toy/Ch7/mlir/
DDialect.cpp236 llvm::ArrayRef<mlir::Type> resultElementTypes = resultType.getElementTypes(); in verifyConstantForType()
366 mlir::Type resultType = structTy.getElementTypes()[index]; in build()
379 if (resultType != structTy.getElementTypes()[index]) in verify()
490 llvm::ArrayRef<mlir::Type> StructType::getElementTypes() { in getElementTypes() function in StructType
544 llvm::interleaveComma(structType.getElementTypes(), printer); in printType()
/external/llvm-project/mlir/lib/Dialect/SPIRV/
DSPIRVTypes.cpp1017 StructType::ElementTypeRange StructType::getElementTypes() const { in getElementTypes() function in StructType
1064 for (Type elementType : getElementTypes()) in getExtensions()
1071 for (Type elementType : getElementTypes()) in getCapabilities()
/external/llvm-project/mlir/docs/Tutorials/Toy/
DCh-7.md170 llvm::ArrayRef<mlir::Type> getElementTypes() {
176 size_t getNumElementTypes() { return getElementTypes().size(); }
286 llvm::interleaveComma(structType.getElementTypes(), printer);
/external/llvm-project/mlir/include/mlir/Dialect/SPIRV/
DSPIRVTypes.h370 ElementTypeRange getElementTypes() const;
/external/llvm-project/mlir/lib/Conversion/SPIRVToLLVM/
DConvertSPIRVToLLVM.cpp193 llvm::map_range(type.getElementTypes(), [&](Type elementType) { in convertStructTypeWithOffset()
204 llvm::map_range(type.getElementTypes(), [&](Type elementType) { in convertStructTypePacked()