summaryrefslogtreecommitdiffstats
path: root/llvm/include/llvm-c
diff options
context:
space:
mode:
authorGerolf Hoflehner <ghoflehner@apple.com>2014-07-18 19:13:09 +0000
committerGerolf Hoflehner <ghoflehner@apple.com>2014-07-18 19:13:09 +0000
commitf27ae6cdcfb8eda90f43103f93576de238eba17a (patch)
tree8022983a65fbe248360146c5971f4a5798e0cdd1 /llvm/include/llvm-c
parentebaf14bdd05f8593581ace802d4505930efd8967 (diff)
downloadbcm5719-llvm-f27ae6cdcfb8eda90f43103f93576de238eba17a.tar.gz
bcm5719-llvm-f27ae6cdcfb8eda90f43103f93576de238eba17a.zip
MergedLoadStoreMotion pass
Merges equivalent loads on both sides of a hammock/diamond and hoists into into the header. Merges equivalent stores on both sides of a hammock/diamond and sinks it to the footer. Can enable if conversion and tolerate better load misses and store operand latencies. llvm-svn: 213396
Diffstat (limited to 'llvm/include/llvm-c')
-rw-r--r--llvm/include/llvm-c/Transforms/Scalar.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/llvm/include/llvm-c/Transforms/Scalar.h b/llvm/include/llvm-c/Transforms/Scalar.h
index 9b820b2334c..0ca72cec0cd 100644
--- a/llvm/include/llvm-c/Transforms/Scalar.h
+++ b/llvm/include/llvm-c/Transforms/Scalar.h
@@ -44,6 +44,9 @@ void LLVMAddDeadStoreEliminationPass(LLVMPassManagerRef PM);
/** See llvm::createScalarizerPass function. */
void LLVMAddScalarizerPass(LLVMPassManagerRef PM);
+/** See llvm::createMergedLoadStoreMotionPass function. */
+void LLVMAddMergedLoadStoreMotionPass(LLVMPassManagerRef PM);
+
/** See llvm::createGVNPass function. */
void LLVMAddGVNPass(LLVMPassManagerRef PM);
OpenPOWER on IntegriCloud