[llvm-commits] CVS: llvm/include/llvm/Transforms/IPO.h Scalar.h
Chris Lattner
lattner at cs.uiuc.edu
Sun Aug 31 22:15:00 PDT 2003
Changes in directory llvm/include/llvm/Transforms:
IPO.h updated: 1.19 -> 1.20
Scalar.h updated: 1.20 -> 1.21
---
Log message:
Change the RaiseAllocations pass from being a BasicBlockPass to being a Pass
---
Diffs of the changes:
Index: llvm/include/llvm/Transforms/IPO.h
diff -u llvm/include/llvm/Transforms/IPO.h:1.19 llvm/include/llvm/Transforms/IPO.h:1.20
--- llvm/include/llvm/Transforms/IPO.h:1.19 Sun Aug 31 11:30:25 2003
+++ llvm/include/llvm/Transforms/IPO.h Sun Aug 31 22:14:00 2003
@@ -22,6 +22,13 @@
//===----------------------------------------------------------------------===//
+// createRaiseAllocationsPass - Return a new pass that transforms malloc and
+// free function calls into malloc and free instructions.
+//
+Pass *createRaiseAllocationsPass();
+
+
+//===----------------------------------------------------------------------===//
// createDeadTypeEliminationPass - Return a new pass that eliminates symbol
// table entries for types that are never used.
//
Index: llvm/include/llvm/Transforms/Scalar.h
diff -u llvm/include/llvm/Transforms/Scalar.h:1.20 llvm/include/llvm/Transforms/Scalar.h:1.21
--- llvm/include/llvm/Transforms/Scalar.h:1.20 Thu Aug 14 01:09:28 2003
+++ llvm/include/llvm/Transforms/Scalar.h Sun Aug 31 22:14:00 2003
@@ -235,11 +235,10 @@
//===----------------------------------------------------------------------===//
-// These two passes convert malloc and free instructions to and from %malloc &
-// %free function calls.
+// This pass convert malloc and free instructions to %malloc & %free function
+// calls.
//
FunctionPass *createLowerAllocationsPass();
-Pass *createRaiseAllocationsPass();
//===----------------------------------------------------------------------===//
// This pass converts SwitchInst instructions into a sequence of chained binary
More information about the llvm-commits
mailing list