Home
last modified time | relevance | path

Searched refs:convertedType (Results 1 – 7 of 7) sorted by relevance

/external/llvm-project/mlir/unittests/Dialect/Quant/
DQuantizationUtilsTest.cpp80 IntegerType convertedType = IntegerType::get(8, &ctx); in TEST() local
81 auto quantizedType = getTestQuantizedType(convertedType, &ctx); in TEST()
92 convertedType.getWidth()); in TEST()
98 IntegerType convertedType = IntegerType::get(8, &ctx); in TEST() local
99 auto quantizedType = getTestQuantizedType(convertedType, &ctx); in TEST()
112 EXPECT_EQ(tensorType.getElementType(), convertedType); in TEST()
123 IntegerType convertedType = IntegerType::get(8, &ctx); in TEST() local
124 auto quantizedType = getTestQuantizedType(convertedType, &ctx); in TEST()
137 EXPECT_EQ(tensorType.getElementType(), convertedType); in TEST()
148 IntegerType convertedType = IntegerType::get(8, &ctx); in TEST() local
[all …]
/external/llvm-project/mlir/lib/Conversion/GPUToSPIRV/
DConvertGPUToSPIRV.cpp152 auto convertedType = typeConverter.convertType(op.getResult().getType()); in matchAndRewrite() local
153 if (!convertedType) in matchAndRewrite()
156 op, convertedType, IntegerAttr::get(convertedType, val)); in matchAndRewrite()
188 auto convertedType = typeConverter.convertType(argType.value()); in lowerAsEntryFunction() local
189 signatureConverter.addInputs(argType.index(), convertedType); in lowerAsEntryFunction()
/external/llvm-project/mlir/lib/Dialect/Shape/Transforms/
DStructuralTypeConversions.cpp29 Type convertedType = getTypeConverter()->convertType(originalType); in matchAndRewrite() local
30 newResultTypes.push_back(convertedType); in matchAndRewrite()
/external/llvm-project/mlir/lib/Conversion/SCFToSPIRV/
DSCFToSPIRV.cpp103 for (Type convertedType : returnTypes) { in replaceSCFOutputValue() local
105 spirv::PointerType::get(convertedType, spirv::StorageClass::Function); in replaceSCFOutputValue()
254 auto convertedType = typeConverter.convertType(result.getType()); in matchAndRewrite() local
255 returnTypes.push_back(convertedType); in matchAndRewrite()
/external/llvm-project/mlir/lib/Dialect/SPIRV/
DSPIRVLowering.cpp483 auto convertedType = typeConverter.convertType(argType.value()); in matchAndRewrite() local
484 if (!convertedType) in matchAndRewrite()
486 signatureConverter.addInputs(argType.index(), convertedType); in matchAndRewrite()
/external/angle/src/libANGLE/renderer/metal/
DContextMtl.mm591 gl::DrawElementsType convertedType = type;
594 &convertedOffset, &convertedType));
603 MTLIndexType mtlIdxType = mtl::GetIndexType(convertedType);
/external/llvm-project/mlir/lib/Conversion/StandardToLLVM/
DStandardToLLVM.cpp543 auto convertedType = typeConverter.convertType(type); in fromStaticShape() local
544 assert(convertedType && "unexpected failure in memref type conversion"); in fromStaticShape()
546 auto descr = MemRefDescriptor::undef(builder, loc, convertedType); in fromStaticShape()