Home
last modified time | relevance | path

Searched refs:lastBodyBlock (Results 1 – 2 of 2) sorted by relevance

/llvm-project-15.0.7/flang/lib/Optimizer/Transforms/
H A DRewriteLoop.cpp229 auto *lastBodyBlock = &whileOp.getRegion().back(); in matchAndRewrite() local
237 auto *terminator = lastBodyBlock->getTerminator(); in matchAndRewrite()
238 rewriter.setInsertionPointToEnd(lastBodyBlock); in matchAndRewrite()
/llvm-project-15.0.7/mlir/lib/Conversion/SCFToControlFlow/
H A DSCFToControlFlow.cpp308 auto *lastBodyBlock = &forOp.getRegion().back(); in matchAndRewrite() local
315 Operation *terminator = lastBodyBlock->getTerminator(); in matchAndRewrite()
316 rewriter.setInsertionPointToEnd(lastBodyBlock); in matchAndRewrite()