Home
last modified time | relevance | path

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

/llvm-project-15.0.7/mlir/lib/Conversion/SCFToSPIRV/
H A DSCFToSPIRV.cpp107 matchAndRewrite(scf::YieldOp terminatorOp, OpAdaptor adaptor,
304 scf::YieldOp terminatorOp, OpAdaptor adaptor, in matchAndRewrite() argument
311 auto &allocas = scfToSPIRVContext->outputVars[terminatorOp->getParentOp()]; in matchAndRewrite()
315 auto loc = terminatorOp.getLoc(); in matchAndRewrite()
318 if (isa<spirv::LoopOp>(terminatorOp->getParentOp())) { in matchAndRewrite()
325 rewriter.create<spirv::BranchOp>(terminatorOp.getLoc(), br.getTarget(), in matchAndRewrite()
330 rewriter.eraseOp(terminatorOp); in matchAndRewrite()
/llvm-project-15.0.7/mlir/lib/Analysis/
H A DSliceAnalysis.cpp312 Operation *terminatorOp = combinerOp; in matchReduction() local
313 if (terminatorOp->getOperand(redPos) != combinerOps.back()->getResults()[0]) in matchReduction()
/llvm-project-15.0.7/flang/lib/Lower/
H A DOpenMP.cpp364 [[maybe_unused]] auto &terminatorOp = eval.block->back(); in createEmptyRegionBlocks() local
365 assert((mlir::isa<mlir::omp::TerminatorOp>(terminatorOp) || in createEmptyRegionBlocks()
366 mlir::isa<mlir::omp::YieldOp>(terminatorOp)) && in createEmptyRegionBlocks()