MergedLoadStoreMotion pass
[oota-llvm.git] / include / llvm / Transforms / Scalar.h
index 8ecfd801d0d82f82b77e02d99257613dcbdd519e..413134e51c7ab043c8400f2c338eb4f6ec9a320c 100644 (file)
@@ -286,6 +286,13 @@ extern char &LCSSAID;
 //
 FunctionPass *createEarlyCSEPass();
 
+//===----------------------------------------------------------------------===//
+//
+// MergedLoadStoreMotion - This pass merges loads and stores in diamonds. Loads
+// are hoisted into the header, while stores sink into the footer.
+//
+FunctionPass *createMergedLoadStoreMotionPass();
+
 //===----------------------------------------------------------------------===//
 //
 // GVN - This pass performs global value numbering and redundant load