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

Chris Lattner lattner at cs.uiuc.edu
Tue Nov 19 14:44:00 PST 2002


Changes in directory llvm/include/llvm/Transforms:

FunctionInlining.h updated: 1.9 -> 1.10
IPO.h updated: 1.14 -> 1.15

---
Log message:

Move inlining pass to IPO.h


---
Diffs of the changes:

Index: llvm/include/llvm/Transforms/FunctionInlining.h
diff -u llvm/include/llvm/Transforms/FunctionInlining.h:1.9 llvm/include/llvm/Transforms/FunctionInlining.h:1.10
--- llvm/include/llvm/Transforms/FunctionInlining.h:1.9	Tue Jun 25 11:11:17 2002
+++ llvm/include/llvm/Transforms/FunctionInlining.h	Tue Nov 19 14:43:24 2002
@@ -8,10 +8,6 @@
 #define LLVM_TRANSFORMS_FUNCTION_INLINING_H
 
 class CallInst;
-class Pass;
-
-Pass *createFunctionInliningPass();
-
 // InlineFunction - This function forcibly inlines the called function into the
 // basic block of the caller.  This returns true if it is not possible to inline
 // this call.  The program is still in a well defined state if this occurs 


Index: llvm/include/llvm/Transforms/IPO.h
diff -u llvm/include/llvm/Transforms/IPO.h:1.14 llvm/include/llvm/Transforms/IPO.h:1.15
--- llvm/include/llvm/Transforms/IPO.h:1.14	Tue Nov 19 12:42:58 2002
+++ llvm/include/llvm/Transforms/IPO.h	Tue Nov 19 14:43:24 2002
@@ -55,6 +55,11 @@
 //
 Pass *createFunctionResolvingPass();
 
+//===----------------------------------------------------------------------===//
+// createFunctionInliningPass - Return a new pass object that uses a heuristic
+// to inline direct function calls to small functions.
+//
+Pass *createFunctionInliningPass();
 
 //===----------------------------------------------------------------------===//
 // createInternalizePass - This pass loops over all of the functions in the





More information about the llvm-commits mailing list