Searched refs:convertedType (Results 1 – 7 of 7) sorted by relevance
| /llvm-project-15.0.7/mlir/unittests/Dialect/Quant/ |
| H A D | QuantizationUtilsTest.cpp | 80 IntegerType convertedType = IntegerType::get(&ctx, 8); in TEST() local 81 auto quantizedType = getTestQuantizedType(convertedType, &ctx); in TEST() 92 convertedType.getWidth()); in TEST() 98 IntegerType convertedType = IntegerType::get(&ctx, 8); in TEST() local 99 auto quantizedType = getTestQuantizedType(convertedType, &ctx); in TEST() 112 EXPECT_EQ(tensorType.getElementType(), convertedType); in TEST() 124 IntegerType convertedType = IntegerType::get(&ctx, 8); in TEST() local 125 auto quantizedType = getTestQuantizedType(convertedType, &ctx); in TEST() 138 EXPECT_EQ(tensorType.getElementType(), convertedType); in TEST() 150 IntegerType convertedType = IntegerType::get(&ctx, 8); in TEST() local [all …]
|
| /llvm-project-15.0.7/mlir/lib/Conversion/GPUToSPIRV/ |
| H A D | GPUToSPIRV.cpp | 168 auto convertedType = in matchAndRewrite() local 170 if (!convertedType) in matchAndRewrite() 173 op, convertedType, IntegerAttr::get(convertedType, val)); in matchAndRewrite() 206 auto convertedType = typeConverter.convertType(argType.value()); in lowerAsEntryFunction() local 207 signatureConverter.addInputs(argType.index(), convertedType); in lowerAsEntryFunction()
|
| /llvm-project-15.0.7/mlir/lib/Conversion/LLVMCommon/ |
| H A D | TypeConverter.cpp | 67 auto convertedType = LLVM::LLVMStructType::getIdentified( in LLVMTypeConverter() local 70 while (convertedType.isInitialized()) { in LLVMTypeConverter() 73 convertedType = LLVM::LLVMStructType::getIdentified( in LLVMTypeConverter() 78 results.push_back(convertedType); in LLVMTypeConverter() 87 if (failed(convertedType.setBody(convertedElemTypes, type.isPacked()))) in LLVMTypeConverter() 89 results.push_back(convertedType); in LLVMTypeConverter()
|
| H A D | MemRefBuilder.cpp | 59 auto convertedType = typeConverter.convertType(type); in fromStaticShape() local 60 assert(convertedType && "unexpected failure in memref type conversion"); in fromStaticShape() 62 auto descr = MemRefDescriptor::undef(builder, loc, convertedType); in fromStaticShape()
|
| /llvm-project-15.0.7/mlir/lib/Conversion/SCFToSPIRV/ |
| H A D | SCFToSPIRV.cpp | 138 for (Type convertedType : returnTypes) { in replaceSCFOutputValue() local 140 spirv::PointerType::get(convertedType, spirv::StorageClass::Function); in replaceSCFOutputValue() 288 auto convertedType = typeConverter.convertType(result.getType()); in matchAndRewrite() local 289 returnTypes.push_back(convertedType); in matchAndRewrite()
|
| /llvm-project-15.0.7/mlir/lib/Dialect/SPIRV/Transforms/ |
| H A D | SPIRVConversion.cpp | 553 auto convertedType = getTypeConverter()->convertType(argType.value()); in matchAndRewrite() local 554 if (!convertedType) in matchAndRewrite() 556 signatureConverter.addInputs(argType.index(), convertedType); in matchAndRewrite()
|
| /llvm-project-15.0.7/mlir/test/lib/Dialect/Test/ |
| H A D | TestPatterns.cpp | 1120 Type convertedType = getTypeConverter() in matchAndRewrite() local 1128 convertedType != resultType) in matchAndRewrite() 1129 resultType = convertedType; in matchAndRewrite()
|