aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2003-05-27 15:52:45 +0000
committerChris Lattner <sabre@nondot.org>2003-05-27 15:52:45 +0000
commita161f0c7c939ff16c975d53302ca543be2c12243 (patch)
tree762acfac8bb649fe6c080d0f053be56411cb6c21
parent016d7b9ed8099c9f195464bbf0b35c6f2b1e92fe (diff)
Expose proto for SRoA pass.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@6348 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r--include/llvm/Transforms/Scalar.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/include/llvm/Transforms/Scalar.h b/include/llvm/Transforms/Scalar.h
index b7db4a6442..d408bee19f 100644
--- a/include/llvm/Transforms/Scalar.h
+++ b/include/llvm/Transforms/Scalar.h
@@ -56,6 +56,13 @@ Pass *createAggressiveDCEPass();
//===----------------------------------------------------------------------===//
+//
+// Scalar Replacement of Aggregates - Break up alloca's of aggregates into
+// multiple allocas if possible.
+//
+Pass *createScalarReplAggregatesPass();
+
+//===----------------------------------------------------------------------===//
//
// DecomposeMultiDimRefs - Convert multi-dimensional references consisting of
// any combination of 2 or more array and structure indices into a sequence of