Home
last modified time | relevance | path

Searched defs:structType (Results 1 – 25 of 27) sorted by relevance

12

/llvm-project-15.0.7/mlir/lib/Dialect/SPIRV/Utils/
H A DLayoutUtils.cpp21 VulkanLayoutUtils::decorateType(spirv::StructType structType) { in decorateType()
28 VulkanLayoutUtils::decorateType(spirv::StructType structType, in decorateType()
88 if (auto structType = type.dyn_cast<spirv::StructType>()) in decorateType() local
166 auto structType = ptrType.getPointeeType().dyn_cast<spirv::StructType>(); in isLegalType() local
/llvm-project-15.0.7/mlir/unittests/Dialect/SPIRV/
H A DSerializationTest.cpp118 auto structType = getFloatStructType(); in TEST_F() local
132 auto structType = getFloatStructType(); in TEST_F() local
153 auto structType = getFloatStructType(); in TEST_F() local
169 auto structType = getFloatStructType(); in TEST_F() local
H A DDeserializationTest.cpp187 auto structType = addStructType({int32Type, int32Type}); in TEST_F() local
209 auto structType = addStructType({int32Type, int64Type}); in TEST_F() local
226 auto structType = addStructType({int32Type}); in TEST_F() local
/llvm-project-15.0.7/mlir/include/mlir/Conversion/LLVMCommon/
H A DStructBuilder.h40 Type structType; variable
/llvm-project-15.0.7/mlir/lib/Conversion/ComplexToLLVM/
H A DComplexToLLVM.cpp100 auto structType = typeConverter->convertType(complexOp.getType()); in matchAndRewrite() local
174 auto structType = typeConverter->convertType(op.getType()); in matchAndRewrite() local
202 auto structType = typeConverter->convertType(op.getType()); in matchAndRewrite() local
247 auto structType = typeConverter->convertType(op.getType()); in matchAndRewrite() local
284 auto structType = typeConverter->convertType(op.getType()); in matchAndRewrite() local
/llvm-project-15.0.7/mlir/unittests/Dialect/LLVMIR/
H A DLLVMTypeTest.cpp49 auto structType = subElementTypes[1].dyn_cast<LLVMStructType>(); in TEST_F() local
/llvm-project-15.0.7/mlir/lib/Dialect/SPIRV/Transforms/
H A DDecorateCompositeTypeLayoutPass.cpp37 auto structType = VulkanLayoutUtils::decorateType( in matchAndRewrite() local
H A DSPIRVConversion.cpp106 auto structType = needsExplicitLayout(storageClass) in wrapInStructAndGetPointer() local
689 auto structType = spirv::StructType::get({arrayType}, /*offsetInfo=*/0); in getPushConstantStorageType() local
H A DUnifyAliasedResourcePass.cpp64 auto structType = ptrType.getPointeeType().dyn_cast<spirv::StructType>(); in getRuntimeArrayElementType() local
/llvm-project-15.0.7/mlir/lib/Target/LLVMIR/
H A DTypeToLLVM.cpp125 llvm::StructType *structType = in translate() local
H A DModuleTranslation.cpp278 if (auto *structType = dyn_cast<::llvm::StructType>(llvmType)) { in getLLVMConstant() local
/llvm-project-15.0.7/mlir/lib/Conversion/OpenACCToLLVM/
H A DOpenACCToLLVM.cpp102 Type structType = converter->convertType(memRefType); in matchAndRewrite() local
/llvm-project-15.0.7/mlir/lib/Conversion/GPUToNVVM/
H A DWmmaOpsToNvvm.cpp204 auto structType = operand.getType().cast<LLVM::LLVMStructType>(); in matchAndRewrite() local
/llvm-project-15.0.7/mlir/lib/Conversion/LLVMCommon/
H A DPattern.cpp203 auto structType = typeConverter->convertType(memRefType); in createMemRefDescriptor() local
H A DTypeConverter.cpp250 if (auto structType = resultType.dyn_cast<LLVM::LLVMStructType>()) { in convertFunctionTypeCWrapper() local
/llvm-project-15.0.7/mlir/lib/Dialect/LLVMIR/IR/
H A DLLVMTypeSyntax.cpp170 if (auto structType = type.dyn_cast<LLVMStructType>()) in printType() local
H A DLLVMDialect.cpp492 .Case<LLVMStructType>([&](LLVMStructType structType) -> llvm::Error { in recordStructIndices()
1442 } else if (auto structType = llvmType.dyn_cast<LLVMStructType>()) { in getInsertExtractValueElementType() local
1486 } else if (auto structType = llvmType.dyn_cast<LLVMStructType>()) { in getInsertExtractValueElementType() local
2401 if (auto structType = getType().dyn_cast<LLVMStructType>()) { in verify() local
2838 auto structType = annotatedType.dyn_cast<LLVMStructType>(); in verifyStructAttr() local
H A DNVVMDialect.cpp95 if (auto structType = operandElType.dyn_cast<LLVM::LLVMStructType>()) { in inferOperandMMAType() local
H A DLLVMTypes.cpp806 .Case<LLVMStructType>([&](auto structType) { in isCompatibleImpl()
/llvm-project-15.0.7/mlir/lib/Conversion/NVGPUToNVVM/
H A DNVGPUToNVVM.cpp64 auto structType = intrinsicResultType.dyn_cast<LLVM::LLVMStructType>(); in convertIntrinsicResult() local
/llvm-project-15.0.7/mlir/lib/Target/SPIRV/Serialization/
H A DSerializer.cpp472 auto structType = spirv::StructType::getIdentified( in prepareBasicType() local
528 if (auto structType = type.dyn_cast<spirv::StructType>()) { in prepareBasicType() local
/llvm-project-15.0.7/mlir/examples/toy/Ch7/mlir/
H A DDialect.cpp601 StructType structType = type.cast<StructType>(); in printType() local
/llvm-project-15.0.7/mlir/lib/Dialect/SPIRV/IR/
H A DSPIRVTypes.cpp127 if (auto structType = dyn_cast<StructType>()) in getNumElements() local
183 if (auto structType = dyn_cast<StructType>()) in getSizeInBytes() local
/llvm-project-15.0.7/mlir/lib/Conversion/GPUCommon/
H A DGPUToLLVMConversion.cpp646 auto structType = LLVM::LLVMStructType::getNewIdentified(context, StringRef(), in generateParamsArray() local
/llvm-project-15.0.7/mlir/lib/Target/SPIRV/Deserialization/
H A DDeserializer.cpp783 auto structType = deferredStructIt->deferredStructType; in processOpTypePointer() local

12