mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2026-04-27 04:18:42 +00:00
Move the function extractor pass from tools/extract into lib/Xform/IPO
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@4759 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
1 parent
9a641b4bce
commit
5113eb0c52
4 files changed
+109
-182
No files matched your search
@@ -9,6 +9,7 @@
|
||||
#define LLVM_TRANSFORMS_IPO_H
|
||||
|
||||
class Pass;
|
||||
class Function;
|
||||
|
||||
//===----------------------------------------------------------------------===//
|
||||
// createConstantMergePass - This function returns a new pass that merges
|
||||
@@ -34,6 +35,13 @@ Pass *createDeadTypeEliminationPass();
|
||||
Pass *createGlobalDCEPass();
|
||||
|
||||
|
||||
//===----------------------------------------------------------------------===//
|
||||
// createFunctionExtractionPass - This pass deletes as much of the module as
|
||||
// possible, except for the function specified.
|
||||
//
|
||||
Pass *createFunctionExtractionPass(Function *F);
|
||||
|
||||
|
||||
//===----------------------------------------------------------------------===//
|
||||
// FunctionResolvingPass - Go over the functions that are in the module and
|
||||
// look for functions that have the same name. More often than not, there will
|
||||
|
||||
Reference in new issue
Block a user