Home
last modified time | relevance | path

Searched refs:inputETy (Results 1 – 3 of 3) sorted by relevance

/llvm-project-15.0.7/mlir/lib/Conversion/TosaToLinalg/
H A DTosaToLinalgNamed.cpp40 Type inputETy = inputTy.getElementType(); in applyPad() local
105 Type inputETy = inputTy.getElementType(); in inferDynamicDimsForConv() local
178 Type inputETy = inputTy.getElementType(); in matchAndRewrite() local
190 if (inputETy.isUnsignedInteger()) in matchAndRewrite()
201 Attribute zeroAttr = rewriter.getZeroAttr(inputETy); in matchAndRewrite()
208 APInt::getSignedMinValue(inputETy.getIntOrFloatBitWidth()) in matchAndRewrite()
211 APInt::getSignedMaxValue(inputETy.getIntOrFloatBitWidth()) in matchAndRewrite()
218 zeroAttr = rewriter.getIntegerAttr(inputETy, iZp); in matchAndRewrite()
347 Type inputETy = inputTy.getElementType(); in matchAndRewrite() local
377 Attribute zeroAttr = rewriter.getZeroAttr(inputETy); in matchAndRewrite()
[all …]
/llvm-project-15.0.7/mlir/lib/Dialect/Tosa/Transforms/
H A DTosaDecomposeTransposeConv.cpp162 Type inputETy = inputTy.getElementType(); in matchAndRewrite() local
270 rewriter, loc, UnrankedTensorType::get(inputETy), input, in matchAndRewrite()
275 UnrankedTensorType::get(inputETy), in matchAndRewrite()
/llvm-project-15.0.7/mlir/lib/Dialect/Tosa/IR/
H A DTosaOps.cpp146 auto inputETy = getInput().getType().cast<ShapedType>().getElementType(); in verify() local
149 if (auto quantType = inputETy.dyn_cast<mlir::quant::UniformQuantizedType>()) in verify()
150 inputETy = quantType.getStorageType(); in verify()
155 if (inputETy.isF32() && resultETy.isF32()) in verify()
157 if (inputETy.isInteger(8) && resultETy.isInteger(8)) in verify()
159 if (inputETy.isInteger(16) && resultETy.isInteger(16)) in verify()