Home
last modified time | relevance | path

Searched refs:inputValues (Results 1 – 4 of 4) sorted by relevance

/llvm-project/mlir/lib/Dialect/Tosa/Transforms/
H A DTosaFolders.cpp220 ElementsAttr inputValues; in matchAndRewrite() local
221 if (!matchPattern(op.getInput1(), m_Constant(&inputValues))) in matchAndRewrite()
237 auto resultAttr = transpose(inputValues, inputType, outputType, permValues); in matchAndRewrite()
264 DenseElementsAttr inputValues; in matchAndRewrite() local
265 matchPattern(inputTensor, m_Constant(&inputValues)); in matchAndRewrite()
268 if (!constantUnaryOpShouldBeFolded(recip, inputValues)) { in matchAndRewrite()
276 inputValues, &ReciprocalOp::calcOneElement, in matchAndRewrite()
277 cast<FloatType>(inputValues.getElementType())); in matchAndRewrite()
/llvm-project/mlir/lib/Dialect/Linalg/Transforms/
H A DConstantFold.cpp119 SmallVector<DenseIntOrFPElementsAttr> inputValues(numInputs); in matchAndRewrite() local
122 m_Constant(&inputValues[en.index()]))) in matchAndRewrite()
212 inFpRanges.push_back(inputValues[i].getValues<APFloat>()); in matchAndRewrite()
233 inIntRanges.push_back(inputValues[i].getValues<APInt>()); in matchAndRewrite()
/llvm-project/mlir/lib/Dialect/Tensor/Transforms/
H A DRewriteAsConstant.cpp89 auto inputValues = input.tryGetValues<ElemType>(); in constantFoldPadOp() local
90 if (failed(inputValues)) in constantFoldPadOp()
120 for (auto [inputIndex, inputValue] : llvm::enumerate(*inputValues)) { in constantFoldPadOp()
/llvm-project/mlir/lib/Dialect/MemRef/Transforms/
H A DExpandStridedMetadata.cpp421 SmallVector<OpFoldResult> inputValues; in getProductOfValues() local
430 inputValues.push_back(isDynamic(maybeConstant) in getProductOfValues()
436 inputValues); in getProductOfValues()