Home
last modified time | relevance | path

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

/llvm-project-15.0.7/flang/lib/Optimizer/Transforms/
H A DRewriteLoop.cpp180 auto &otherwiseRegion = ifOp.getElseRegion(); in matchAndRewrite() local
181 if (!otherwiseRegion.empty()) { in matchAndRewrite()
182 otherwiseBlock = &otherwiseRegion.front(); in matchAndRewrite()
183 auto *otherwiseTerm = otherwiseRegion.back().getTerminator(); in matchAndRewrite()
185 rewriter.setInsertionPointToEnd(&otherwiseRegion.back()); in matchAndRewrite()
189 rewriter.inlineRegionBefore(otherwiseRegion, continueBlock); in matchAndRewrite()