Home
last modified time | relevance | path

Searched refs:intermediateType (Results 1 – 2 of 2) sorted by relevance

/llvm-project-15.0.7/mlir/lib/Conversion/TosaToLinalg/
H A DTosaToLinalg.cpp169 Type intermediateType = rewriter.getIntegerType(intermediateBitWidth); in createLinalgBodyCalculationForElementwiseOp() local
171 loc, rewriter.getIntegerAttr(intermediateType, zpAdd)); in createLinalgBodyCalculationForElementwiseOp()
175 auto ext = rewriter.create<arith::ExtSIOp>(loc, intermediateType, args[0]); in createLinalgBodyCalculationForElementwiseOp()
181 intermediateType); in createLinalgBodyCalculationForElementwiseOp()
184 intermediateType); in createLinalgBodyCalculationForElementwiseOp()
/llvm-project-15.0.7/mlir/lib/Dialect/Tensor/IR/
H A DTensorOps.cpp207 auto intermediateType = tensorCastOperand.getType().cast<TensorType>(); in matchAndRewrite() local
213 joinShapes(joinShapes(sourceType, intermediateType), resultType); in matchAndRewrite()