Searched refs:terminatorOp (Results 1 – 2 of 2) sorted by relevance
/external/llvm-project/mlir/lib/Conversion/SCFToSPIRV/ |
D | SCFToSPIRV.cpp | 81 matchAndRewrite(scf::YieldOp terminatorOp, ArrayRef<Value> operands, 266 scf::YieldOp terminatorOp, ArrayRef<Value> operands, in matchAndRewrite() argument 271 auto loc = terminatorOp.getLoc(); in matchAndRewrite() 272 auto &allocas = scfToSPIRVContext->outputVars[terminatorOp->getParentOp()]; in matchAndRewrite() 276 if (isa<spirv::LoopOp>(terminatorOp->getParentOp())) { in matchAndRewrite() 283 rewriter.create<spirv::BranchOp>(terminatorOp.getLoc(), br.getTarget(), in matchAndRewrite() 288 rewriter.eraseOp(terminatorOp); in matchAndRewrite()
|
/external/llvm-project/mlir/lib/Conversion/AsyncToLLVM/ |
D | AsyncToLLVM.cpp | 522 auto *terminatorOp = entryBlock->getTerminator(); in outlineExecuteOp() local 523 Block *suspended = terminatorOp->getBlock(); in outlineExecuteOp() 524 Block *resume = suspended->splitBlock(terminatorOp); in outlineExecuteOp() 525 addSuspensionPoint(coro, coroSave.getResult(0), terminatorOp, suspended, in outlineExecuteOp()
|