aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--include/llvm/Transforms/IPO.h7
-rw-r--r--include/llvm/Transforms/Scalar.h5
2 files changed, 9 insertions, 3 deletions
diff --git a/include/llvm/Transforms/IPO.h b/include/llvm/Transforms/IPO.h
index 1ae3c81..4f0809a 100644
--- a/include/llvm/Transforms/IPO.h
+++ b/include/llvm/Transforms/IPO.h
@@ -22,6 +22,13 @@ Pass *createConstantMergePass();
//===----------------------------------------------------------------------===//
+// 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.
//
diff --git a/include/llvm/Transforms/Scalar.h b/include/llvm/Transforms/Scalar.h
index 58dcd42..d896506 100644
--- a/include/llvm/Transforms/Scalar.h
+++ b/include/llvm/Transforms/Scalar.h
@@ -235,11 +235,10 @@ extern const PassInfo *LoopPreheadersID;
//===----------------------------------------------------------------------===//
-// 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