Move inlining pass to IPO.h

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@4761 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Chris Lattner 2002-11-19 20:43:24 +00:00
parent 36b7cc3b06
commit 8f51da42e7
2 changed files with 5 additions and 4 deletions

View File

@ -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

View File

@ -55,6 +55,11 @@ Pass *createFunctionExtractionPass(Function *F);
//
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