[llvm-commits] CVS: llvm/include/llvm/Transforms/IPO.h
Chris Lattner
lattner at cs.uiuc.edu
Tue Nov 19 12:44:02 PST 2002
Changes in directory llvm/include/llvm/Transforms:
IPO.h updated: 1.13 -> 1.14
---
Log message:
Move the function extractor pass from tools/extract into lib/Xform/IPO
---
Diffs of the changes:
Index: llvm/include/llvm/Transforms/IPO.h
diff -u llvm/include/llvm/Transforms/IPO.h:1.13 llvm/include/llvm/Transforms/IPO.h:1.14
--- llvm/include/llvm/Transforms/IPO.h:1.13 Wed Sep 25 19:17:18 2002
+++ llvm/include/llvm/Transforms/IPO.h Tue Nov 19 12:42:58 2002
@@ -9,6 +9,7 @@
#define LLVM_TRANSFORMS_IPO_H
class Pass;
+class Function;
//===----------------------------------------------------------------------===//
// createConstantMergePass - This function returns a new pass that merges
@@ -32,6 +33,13 @@
// internal globals (functions or global variables)
//
Pass *createGlobalDCEPass();
+
+
+//===----------------------------------------------------------------------===//
+// createFunctionExtractionPass - This pass deletes as much of the module as
+// possible, except for the function specified.
+//
+Pass *createFunctionExtractionPass(Function *F);
//===----------------------------------------------------------------------===//
More information about the llvm-commits
mailing list