Home
last modified time | relevance | path

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

12

/llvm-project/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 = dyn_cast<spirv::StructType>(type)) in decorateType() local
170 auto structType = dyn_cast<spirv::StructType>(ptrType.getPointeeType()); in isLegalType() local
/llvm-project/mlir/include/mlir/Conversion/LLVMCommon/
H A DStructBuilder.h40 Type structType; variable
/llvm-project/mlir/unittests/Dialect/SPIRV/
H A DSerializationTest.cpp139 auto structType = getFloatStructType(); in TEST_F() local
153 auto structType = getFloatStructType(); in TEST_F() local
202 auto structType = getFloatStructType(); in TEST_F() local
218 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/mlir/lib/Conversion/ComplexToLLVM/
H A DComplexToLLVM.cpp111 auto structType = typeConverter->convertType(complexOp.getType()); in matchAndRewrite() local
185 auto structType = typeConverter->convertType(op.getType()); in matchAndRewrite() local
216 auto structType = typeConverter->convertType(op.getType()); in matchAndRewrite() local
264 auto structType = typeConverter->convertType(op.getType()); in matchAndRewrite() local
304 auto structType = typeConverter->convertType(op.getType()); in matchAndRewrite() local
[all...]
/llvm-project/mlir/lib/Dialect/SPIRV/Transforms/
H A DDecorateCompositeTypeLayoutPass.cpp47 spirv::StructType structType = VulkanLayoutUtils::decorateType(pointeeType); in matchAndRewrite() local
H A DSPIRVConversion.cpp111 auto structType = needsExplicitLayout(storageClass) wrapInStructAndGetPointer() local
913 auto structType = spirv::StructType::get({arrayType}, /*offsetInfo=*/0); getPushConstantStorageType() local
H A DUnifyAliasedResourcePass.cpp72 auto structType = dyn_cast<spirv::StructType>(ptrType.getPointeeType()); in getRuntimeArrayElementType() local
/llvm-project/mlir/lib/Target/LLVMIR/
H A DTypeToLLVM.cpp122 llvm::StructType *structType = in translate() local
/llvm-project/mlir/lib/Dialect/LLVMIR/IR/
H A DLLVMTypeSyntax.cpp110 __anon42d0f0941002(LLVMStructType structType) printType() argument
H A DLLVMDialect.cpp655 __anonb47beb210702(LLVMStructType structType) destructureIndices() argument
745 __anonb47beb210a02(LLVMStructType structType) verifyStructIndices() argument
1629 } else if (auto structType = llvm::dyn_cast<LLVMStructType>(llvmType)) { getInsertExtractValueElementType() local
1649 if (auto structType = llvm::dyn_cast<LLVMStructType>(llvmType)) getInsertExtractValueElementType() local
2620 if (auto structType = llvm::dyn_cast<LLVMStructType>(getType())) { verify() local
[all...]
H A DLLVMMemorySlot.cpp696 __anon5e4bab860302(LLVM::LLVMStructType structType) gepToByteOffset() argument
771 __anon5e4bab860802(LLVM::LLVMStructType structType) getSubslotAccessInfo() argument
1043 if (auto structType = dyn_cast<LLVM::LLVMStructType>(slot.elemType)) rewire() local
H A DNVVMDialect.cpp132 if (auto structType = llvm::dyn_cast<LLVM::LLVMStructType>(operandElType)) { inferOperandMMAType() local
/llvm-project/mlir/lib/Conversion/NVGPUToNVVM/
H A DNVGPUToNVVM.cpp103 auto structType = dyn_cast<LLVM::LLVMStructType>(intrinsicResultType); convertIntrinsicResult() local
1582 auto structType = cast<LLVM::LLVMStructType>(matrixD.getType()); storeFragmentedMatrix() local
1611 auto structType = cast<LLVM::LLVMStructType>(matrixD); matchAndRewrite() local
1639 auto structType = cast<LLVM::LLVMStructType>(s); matchAndRewrite() local
[all...]
/llvm-project/mlir/lib/Conversion/GPUToNVVM/
H A DWmmaOpsToNvvm.cpp216 auto structType = cast<LLVM::LLVMStructType>(operand.getType()); in matchAndRewrite() local
/llvm-project/mlir/lib/Conversion/LLVMCommon/
H A DPattern.cpp222 auto structType = typeConverter->convertType(memRefType); createMemRefDescriptor() local
H A DTypeConverter.cpp303 auto structType = dyn_cast<LLVM::LLVMStructType>(resultType); convertFunctionTypeCWrapper() local
/llvm-project/mlir/lib/Dialect/SparseTensor/Transforms/
H A DSparseStorageSpecifierToLLVM.cpp112 Type structType, Value source) { in getInitValue() argument
/llvm-project/mlir/lib/Conversion/ArithToLLVM/
H A DArithToLLVM.cpp305 Type structType = matchAndRewrite() local
/llvm-project/mlir/lib/Target/SPIRV/Serialization/
H A DSerializer.cpp530 auto structType = spirv::StructType::getIdentified( prepareBasicType() local
586 if (auto structType = dyn_cast<spirv::StructType>(type)) { prepareBasicType() local
[all...]
/llvm-project/mlir/examples/toy/Ch7/mlir/
H A DDialect.cpp625 StructType structType = llvm::cast<StructType>(type); in printType() local
/llvm-project/mlir/lib/CAPI/Dialect/
H A DLLVM.cpp119 mlirLLVMStructTypeSetBody(MlirType structType,intptr_t nFieldTypes,MlirType const * fieldTypes,bool isPacked) mlirLLVMStructTypeSetBody() argument
/llvm-project/mlir/lib/Dialect/SPIRV/IR/
H A DSPIRVDialect.cpp695 auto structType = parseStructType() local
H A DSPIRVTypes.cpp125 return structType.getNumElements(); in getNumElements() local
186 if (auto structType = llvm::dyn_cast<StructType>(*this)) getSizeInBytes() local
/llvm-project/mlir/lib/Conversion/GPUCommon/
H A DGPUOpsLowering.cpp496 Type structType = matchAndRewrite() local

12