[llvm-commits] CVS: llvm/include/llvm/Transforms/IPO.h

Jeff Cohen jeffc at jolt-lang.org
Sun Jan 9 20:23:43 PST 2005



Changes in directory llvm/include/llvm/Transforms:

IPO.h updated: 1.40 -> 1.41
---
Log message:

Apply feedback from Chris.

---
Diffs of the changes:  (+3 -2)

Index: llvm/include/llvm/Transforms/IPO.h
diff -u llvm/include/llvm/Transforms/IPO.h:1.40 llvm/include/llvm/Transforms/IPO.h:1.41
--- llvm/include/llvm/Transforms/IPO.h:1.40	Sat Jan  8 11:21:39 2005
+++ llvm/include/llvm/Transforms/IPO.h	Sun Jan  9 22:23:32 2005
@@ -19,6 +19,7 @@
 
 namespace llvm {
 
+class FunctionPass;
 class ModulePass;
 class Function;
 class BasicBlock;
@@ -150,12 +151,12 @@
 /// createLoopExtractorPass - This pass extracts all natural loops from the
 /// program into a function if it can.
 ///
-ModulePass *createLoopExtractorPass();
+FunctionPass *createLoopExtractorPass();
 
 /// createSingleLoopExtractorPass - This pass extracts one natural loop from the
 /// program into a function if it can.  This is used by bugpoint.
 ///
-ModulePass *createSingleLoopExtractorPass();
+FunctionPass *createSingleLoopExtractorPass();
 
 // createBlockExtractorPass - This pass extracts all blocks (except those
 // specified in the argument list) from the functions in the module.






More information about the llvm-commits mailing list