mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-12-14 11:32:34 +00:00
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:
parent
36b7cc3b06
commit
8f51da42e7
@ -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