mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-24 03:33:20 +01:00
Move inlining pass to IPO.h
llvm-svn: 4761
This commit is contained in:
parent
17da38496e
commit
6423477181
@ -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
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user