Home | History | Annotate | Download | only in IPO

Lines Matching refs:LoopExtractor

1 //===- LoopExtractor.cpp - Extract each loop into a new function ----------===//
36 struct LoopExtractor : public LoopPass {
40 explicit LoopExtractor(unsigned numLoops = ~0)
55 char LoopExtractor::ID = 0;
56 INITIALIZE_PASS_BEGIN(LoopExtractor, "loop-extract",
61 INITIALIZE_PASS_END(LoopExtractor, "loop-extract",
66 struct SingleLoopExtractor : public LoopExtractor {
68 SingleLoopExtractor() : LoopExtractor(1) {}
79 Pass *llvm::createLoopExtractorPass() { return new LoopExtractor(); }
81 bool LoopExtractor::runOnLoop(Loop *L, LPPassManager &LPM) {