Searched refs:terminatorOp (Results 1 – 3 of 3) sorted by relevance
107 matchAndRewrite(scf::YieldOp terminatorOp, OpAdaptor adaptor,304 scf::YieldOp terminatorOp, OpAdaptor adaptor, in matchAndRewrite() argument311 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()
312 Operation *terminatorOp = combinerOp; in matchReduction() local313 if (terminatorOp->getOperand(redPos) != combinerOps.back()->getResults()[0]) in matchReduction()
364 [[maybe_unused]] auto &terminatorOp = eval.block->back(); in createEmptyRegionBlocks() local365 assert((mlir::isa<mlir::omp::TerminatorOp>(terminatorOp) || in createEmptyRegionBlocks()366 mlir::isa<mlir::omp::YieldOp>(terminatorOp)) && in createEmptyRegionBlocks()