[llvm-commits] CVS: llvm/lib/Transforms/IPO/LoopExtractor.cpp

Jeff Cohen jeffc at jolt-lang.org
Sat Jan 8 09:21:51 PST 2005



Changes in directory llvm/lib/Transforms/IPO:

LoopExtractor.cpp updated: 1.15 -> 1.16
---
Log message:

Add more missing createXxxPass functions.

---
Diffs of the changes:  (+5 -0)

Index: llvm/lib/Transforms/IPO/LoopExtractor.cpp
diff -u llvm/lib/Transforms/IPO/LoopExtractor.cpp:1.15 llvm/lib/Transforms/IPO/LoopExtractor.cpp:1.16
--- llvm/lib/Transforms/IPO/LoopExtractor.cpp:1.15	Sun Sep 19 23:43:34 2004
+++ llvm/lib/Transforms/IPO/LoopExtractor.cpp	Sat Jan  8 11:21:39 2005
@@ -58,6 +58,11 @@
   Y("loop-extract-single", "Extract at most one loop into a new function");
 } // End anonymous namespace 
 
+// createLoopExtractorPass - This pass extracts all natural loops from the
+// program into a function if it can.
+//
+ModulePass *llvm::createLoopExtractorPass() { return new LoopExtractor(); }
+
 bool LoopExtractor::runOnFunction(Function &F) {
   LoopInfo &LI = getAnalysis<LoopInfo>();
 






More information about the llvm-commits mailing list