Home
last modified time | relevance | path

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

/external/llvm-project/mlir/lib/Dialect/Linalg/Transforms/
DGeneralization.cpp149 linalg::GenericOp GeneralizeConvOp::createGenericOp(linalg::ConvOp convOp, in createGenericOp() argument
151 SmallVector<AffineMap, 4> indexingMaps = convOp.getIndexingMaps(); in createGenericOp()
153 llvm::to_vector<4>(convOp.iterator_types().getAsValueRange<StringAttr>()); in createGenericOp()
155 convOp.getLoc(), /*resultTensorTypes=*/ArrayRef<Type>(), in createGenericOp()
156 convOp.getInputBuffers(), convOp.getOutputBuffers(), in createGenericOp()
DLoops.cpp327 static bool hasPadding(ConvOp convOp) { in hasPadding() argument
328 for (unsigned i = 0, e = convOp.getNumSpatialDimensions(); i < e; ++i) { in hasPadding()
329 if (convOp.getLowPad(i) > 0 || convOp.getHighPad(i) > 0) in hasPadding()
336 static void emitScalarImplementation(ArrayRef<Value> allIvs, ConvOp convOp) { in emitScalarImplementation() argument
337 assert(convOp.hasBufferSemantics() && in emitScalarImplementation()
341 auto mapsRange = convOp.indexing_maps().getAsRange<AffineMapAttr>(); in emitScalarImplementation()
351 IndexedValueType F(convOp.filter()), O(convOp.output()); in emitScalarImplementation()
356 if (hasPadding(convOp)) { in emitScalarImplementation()
357 Type type = convOp.input().getType().cast<MemRefType>().getElementType(); in emitScalarImplementation()
360 convOp.input(), imIdx, in emitScalarImplementation()
[all …]
DFusion.cpp341 if (auto convOp = dyn_cast<linalg::ConvOp>(producer.getOperation())) { in isFusableInto() local
343 if (convOp.padding()) in isFusableInto()
346 if (auto convOp = dyn_cast<linalg::ConvOp>(consumer.getOperation())) { in isFusableInto() local
348 if (convOp.padding()) in isFusableInto()
DPromotion.cpp312 if (auto convOp = dyn_cast<linalg::ConvOp>(op.getOperation())) { in promoteSubViews() local
314 if (convOp.padding()) in promoteSubViews()
DTiling.cpp327 if (auto convOp = dyn_cast<linalg::ConvOp>(op.getOperation())) { in tileLinalgOpImpl() local
330 if (convOp.padding() && !llvm::all_of(tileSizes.drop_front(), isZero)) in tileLinalgOpImpl()
/external/angle/third_party/vulkan-deps/glslang/src/SPIRV/
DGlslangToSpv.cpp6816 spv::Op convOp = spv::OpNop; in createIntWidthConversion() local
6830 convOp = spv::OpSConvert; in createIntWidthConversion()
6834 convOp = spv::OpUConvert; in createIntWidthConversion()
6842 return builder.createUnaryOp(convOp, type, operand); in createIntWidthConversion()
6848 spv::Op convOp = spv::OpNop; in createConversion() local
6865 convOp = spv::OpSelect; in createConversion()
6883 convOp = spv::OpSelect; in createConversion()
6899 convOp = spv::OpSelect; in createConversion()
6914 convOp = spv::OpConvertSToF; in createConversion()
6929 convOp = spv::OpConvertUToF; in createConversion()
[all …]
/external/deqp-deps/glslang/SPIRV/
DGlslangToSpv.cpp6480 spv::Op convOp = spv::OpNop; in createIntWidthConversion() local
6494 convOp = spv::OpSConvert; in createIntWidthConversion()
6498 convOp = spv::OpUConvert; in createIntWidthConversion()
6506 return builder.createUnaryOp(convOp, type, operand); in createIntWidthConversion()
6512 spv::Op convOp = spv::OpNop; in createConversion() local
6529 convOp = spv::OpSelect; in createConversion()
6547 convOp = spv::OpSelect; in createConversion()
6563 convOp = spv::OpSelect; in createConversion()
6578 convOp = spv::OpConvertSToF; in createConversion()
6593 convOp = spv::OpConvertUToF; in createConversion()
[all …]