Home
last modified time | relevance | path

Searched defs:inputType (Results 1 – 25 of 25) sorted by relevance

/llvm-project-15.0.7/mlir/lib/Dialect/Quant/Utils/
H A DUniformSupport.cpp16 static bool isQuantizablePrimitiveType(Type inputType) { in isQuantizablePrimitiveType()
21 ExpressedToQuantizedConverter::forInputType(Type inputType) { in forInputType()
/llvm-project-15.0.7/mlir/lib/Dialect/Tosa/Utils/
H A DQuantUtils.cpp119 auto inputType = input.getType().dyn_cast<ShapedType>(); in buildConvOpQuantizationAttr() local
192 auto inputType = input.getType().dyn_cast<ShapedType>(); in buildUnaryOpQuantizationAttr() local
218 auto inputType = input.getType().dyn_cast<ShapedType>(); in buildPadOpQuantizationAttr() local
238 auto inputType = input.getType().dyn_cast<ShapedType>(); in buildConvOpResultTypeInfo() local
/llvm-project-15.0.7/mlir/test/lib/Dialect/Tosa/
H A DTosaTestPasses.cpp44 auto inputType = in matchAndRewrite() local
114 auto inputType = in matchAndRewrite() local
/llvm-project-15.0.7/mlir/lib/Dialect/Tosa/Transforms/
H A DTosaFoldConstantTranspose.cpp48 auto inputType = op.getInput1().getType().cast<ShapedType>(); in matchAndRewrite() local
H A DTosaDecomposeConv2D.cpp30 ShapedType inputType = input.getType().cast<ShapedType>(); in matchAndRewrite() local
H A DTosaDecomposeDepthwise.cpp31 ShapedType inputType = input.getType().cast<ShapedType>(); in matchAndRewrite() local
/llvm-project-15.0.7/mlir/lib/Dialect/Quant/IR/
H A DQuantOps.cpp77 Type inputType = std::get<0>(input); in verify() local
/llvm-project-15.0.7/mlir/examples/toy/Ch3/mlir/
H A DDialect.cpp265 auto inputType = *operand_type_begin(); in verify() local
289 auto inputType = getOperand().getType().dyn_cast<RankedTensorType>(); in verify() local
/llvm-project-15.0.7/mlir/examples/toy/Ch2/mlir/
H A DDialect.cpp265 auto inputType = *operand_type_begin(); in verify() local
289 auto inputType = getOperand().getType().dyn_cast<RankedTensorType>(); in verify() local
/llvm-project-15.0.7/mlir/lib/Dialect/SparseTensor/IR/
H A DSparseTensorDialect.cpp336 Type inputType = getX().getType(); in verify() local
361 Type inputType = getX().getType(); in verify() local
/llvm-project-15.0.7/mlir/lib/Dialect/Vector/Transforms/
H A DVectorTransferOpTransforms.cpp216 static MemRefType dropUnitDims(MemRefType inputType, ArrayRef<int64_t> offsets, in dropUnitDims()
231 MemRefType inputType = input.getType().cast<MemRefType>(); in rankReducingSubviewDroppingUnitDims() local
376 ShapedType inputType = input.getType().cast<ShapedType>(); in collapseInnerDims() local
H A DVectorTransforms.cpp396 VectorType inputType = op.getVectorType(); in matchAndRewrite() local
/llvm-project-15.0.7/mlir/examples/toy/Ch6/mlir/
H A DDialect.cpp377 auto inputType = *operand_type_begin(); in verify() local
407 auto inputType = getOperand().getType().dyn_cast<RankedTensorType>(); in verify() local
/llvm-project-15.0.7/mlir/examples/toy/Ch4/mlir/
H A DDialect.cpp377 auto inputType = *operand_type_begin(); in verify() local
407 auto inputType = getOperand().getType().dyn_cast<RankedTensorType>(); in verify() local
/llvm-project-15.0.7/mlir/examples/toy/Ch5/mlir/
H A DDialect.cpp377 auto inputType = *operand_type_begin(); in verify() local
407 auto inputType = getOperand().getType().dyn_cast<RankedTensorType>(); in verify() local
/llvm-project-15.0.7/mlir/include/mlir/Dialect/Quant/
H A DUniformSupport.h47 const Type inputType; member
/llvm-project-15.0.7/mlir/lib/Dialect/Tosa/IR/
H A DTosaCanonicalizations.cpp303 ShapedType inputType = input.getType().cast<ShapedType>(); in matchAndRewrite() local
337 auto inputType = in matchAndRewrite() local
H A DTosaOps.cpp104 auto inputType = in verifyConvOp() local
244 auto inputType = a.getType().dyn_cast<ShapedType>(); in buildMatMulOpWithQuantInfo() local
/llvm-project-15.0.7/mlir/examples/toy/Ch7/mlir/
H A DDialect.cpp404 auto inputType = *operand_type_begin(); in verify() local
462 auto inputType = getOperand().getType().dyn_cast<RankedTensorType>(); in verify() local
/llvm-project-15.0.7/mlir/lib/Interfaces/
H A DControlFlowInterfaces.cpp137 Type inputType = std::get<1>(typesIdx.value()); in verifyTypesAlongAllEdges() local
/llvm-project-15.0.7/mlir/lib/Dialect/Linalg/Transforms/
H A DDetensorize.cpp28 auto inputType = inputs[0].getType(); in sourceMaterializationCallback() local
H A DTransforms.cpp860 auto inputType = input.getType().dyn_cast<RankedTensorType>(); in returningMatchAndRewrite() local
930 auto inputType = input.getType().dyn_cast<RankedTensorType>(); in returningMatchAndRewrite() local
/llvm-project-15.0.7/mlir/lib/Dialect/Bufferization/Transforms/
H A DBufferize.cpp57 if (auto inputType = inputs[0].getType().dyn_cast<MemRefType>()) { in BufferizeTypeConverter() local
/llvm-project-15.0.7/mlir/lib/Dialect/Math/Transforms/
H A DPolynomialApproximation.cpp95 VectorType inputType = operands[0].getType().cast<VectorType>(); in handleMultidimensionalVectors() local
/llvm-project-15.0.7/mlir/lib/Conversion/TosaToLinalg/
H A DTosaToLinalg.cpp1647 auto inputType = op.getOperand(0).getType().template cast<ShapedType>(); in matchAndRewrite() local