Home
last modified time | relevance | path

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

/llvm-project-15.0.7/mlir/lib/Dialect/Bufferization/Transforms/
H A DFuncBufferizableOpInterfaceImpl.cpp272 SmallVector<Value> replacementValues(numResults, Value()); in bufferize() local
339 for (unsigned i = 0; i < replacementValues.size(); ++i) { in bufferize()
340 if (replacementValues[i]) in bufferize()
342 replacementValues[i] = newCallOp->getResult(*retValMapping[i]); in bufferize()
346 replaceOpWithBufferizedValues(rewriter, callOp, replacementValues); in bufferize()
/llvm-project-15.0.7/mlir/lib/Dialect/Linalg/Transforms/
H A DElementwiseOpFusion.cpp840 Optional<SmallVector<Value>> replacementValues = in matchAndRewrite() local
842 if (!replacementValues) in matchAndRewrite()
844 rewriter.replaceOp(genericOp, *replacementValues); in matchAndRewrite()
875 Optional<SmallVector<Value>> replacementValues = fuseWithReshapeByExpansion( in matchAndRewrite() local
877 if (!replacementValues) in matchAndRewrite()
879 rewriter.replaceOp(reshapeOp, *replacementValues); in matchAndRewrite()
/llvm-project-15.0.7/mlir/lib/Dialect/Shape/IR/
H A DShape.cpp318 SmallVector<Value, 4> replacementValues; in matchAndRewrite() local
322 replacementValues.push_back(nullptr); in matchAndRewrite()
324 replacementValues.push_back(*src++); in matchAndRewrite()
326 rewriter.replaceOp(op, replacementValues); in matchAndRewrite()
/llvm-project-15.0.7/mlir/lib/Transforms/Utils/
H A DDialectConversion.cpp1921 SmallVector<Value, 2> replacementValues; in legalizeWithFold() local
1923 if (failed(rewriter.tryFold(op, replacementValues))) { in legalizeWithFold()
1929 rewriter.replaceOp(op, replacementValues); in legalizeWithFold()