Home
last modified time | relevance | path

Searched refs:yieldOp (Results 1 – 9 of 9) sorted by relevance

/external/llvm-project/mlir/lib/Dialect/GPU/Transforms/
DAsyncRegionRewriter.cpp147 auto &yieldOp = executeOp.getBody()->getOperations().back(); in ~DeferWaitCallback() local
148 yieldOp.insertOperands(yieldOp.getNumOperands(), in ~DeferWaitCallback()
/external/llvm-project/mlir/lib/Dialect/StandardOps/Transforms/
DBufferize.cpp80 auto yieldOp = cast<YieldOp>(op.getBody()->getTerminator()); in matchAndRewrite() local
81 b.create<StoreOp>(loc, mapping.lookup(yieldOp.value()), result, ivs); in matchAndRewrite()
/external/llvm-project/mlir/lib/Conversion/SCFToStandard/
DSCFToStandard.cpp512 auto yieldOp = cast<scf::YieldOp>(afterLast->getTerminator()); in matchAndRewrite() local
513 rewriter.replaceOpWithNewOp<BranchOp>(yieldOp, before, yieldOp.results()); in matchAndRewrite()
/external/llvm-project/mlir/lib/Dialect/SCF/
DSCF.cpp423 auto yieldOp = cast<scf::YieldOp>(block.getTerminator()); in matchAndRewrite() local
431 keepMask.reserve(yieldOp.getNumOperands()); in matchAndRewrite()
437 newYieldValues.reserve(yieldOp.getNumOperands()); in matchAndRewrite()
441 yieldOp.getOperands() // iter yield in matchAndRewrite()
729 auto yieldOp = cast<scf::YieldOp>(dest->getTerminator()); in transferBody() local
733 return yieldOp.getOperand(result.getResultNumber()); in transferBody()
735 rewriter.updateRootInPlace(yieldOp, in transferBody()
736 [&]() { yieldOp->setOperands(usedOperands); }); in transferBody()
/external/llvm-project/mlir/lib/Dialect/Linalg/Transforms/
DVectorization.cpp168 auto yieldOp = dyn_cast<linalg::YieldOp>(scalarOp); in vectorize() local
169 if (yieldOp) { in vectorize()
171 llvm::zip(yieldOp.values(), generic.getOutputBuffers())) { in vectorize()
DFusionOnTensors.cpp164 if (auto yieldOp = dyn_cast<linalg::YieldOp>(op)) { in generateFusedTensorOpRegion() local
166 Value yieldVal = yieldOp.getOperand(0); in generateFusedTensorOpRegion()
/external/llvm-project/mlir/lib/Dialect/Shape/IR/
DShape.cpp260 auto &yieldOp = assumingBlock->back(); in inlineRegionIntoParent() local
262 rewriter.replaceOp(op, yieldOp.getOperands()); in inlineRegionIntoParent()
263 rewriter.eraseOp(&yieldOp); in inlineRegionIntoParent()
/external/llvm-project/mlir/lib/Dialect/SPIRV/
DSPIRVOps.cpp3402 static LogicalResult verify(spirv::YieldOp yieldOp) { in verify() argument
3403 Operation *parentOp = yieldOp->getParentOp(); in verify()
3406 return yieldOp.emitOpError( in verify()
3412 if (yieldOp.getOperand().getDefiningOp() != &enclosedOp) in verify()
3413 return yieldOp.emitOpError( in verify()
3436 Operation &yieldOp = block.getOperations().back(); in verify() local
3438 if (!isa<spirv::YieldOp>(yieldOp)) in verify()
/external/llvm-project/mlir/lib/Dialect/StandardOps/IR/
DOps.cpp1773 auto yieldOp = in verify() local
1775 if (yieldOp.value().getType() != resultTy.getElementType()) in verify()