mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-06-26 23:24: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:
@ -8,10 +8,6 @@
|
|||||||
#define LLVM_TRANSFORMS_FUNCTION_INLINING_H
|
#define LLVM_TRANSFORMS_FUNCTION_INLINING_H
|
||||||
|
|
||||||
class CallInst;
|
class CallInst;
|
||||||
class Pass;
|
|
||||||
|
|
||||||
Pass *createFunctionInliningPass();
|
|
||||||
|
|
||||||
// InlineFunction - This function forcibly inlines the called function into the
|
// 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
|
// 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
|
// this call. The program is still in a well defined state if this occurs
|
||||||
|
@ -55,6 +55,11 @@ Pass *createFunctionExtractionPass(Function *F);
|
|||||||
//
|
//
|
||||||
Pass *createFunctionResolvingPass();
|
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
|
// createInternalizePass - This pass loops over all of the functions in the
|
||||||
|
Reference in New Issue
Block a user