Lines Matching full:extract
1 //===- LoopExtractor.cpp - Extract each loop into a new function ----------===//
9 // A pass wrapper around the ExtractLoop() scalar transformation to extract each
31 #define DEBUG_TYPE "loop-extract"
70 // The number of natural loops to extract from the program into functions.
86 INITIALIZE_PASS_BEGIN(LoopExtractorLegacyPass, "loop-extract",
87 "Extract loops into new functions", false, false)
92 INITIALIZE_PASS_END(LoopExtractorLegacyPass, "loop-extract",
93 "Extract loops into new functions", false, false)
104 INITIALIZE_PASS(SingleLoopExtractor, "loop-extract-single",
105 "Extract at most one loop into a new function", false, false)
178 // If there is more than one top-level loop in this function, extract all of in runOnFunction()
186 // If the loop is in LoopSimplify form, then extract it only if this function in runOnFunction()
191 // Extract the loop if the entry block doesn't branch to the loop header. in runOnFunction()
214 // If we extract the loop, we will continue to just keep extracting it in runOnFunction()
215 // infinitely... so don't extract it. However, if the loop contains any in runOnFunction()
216 // sub-loops, extract them. in runOnFunction()