summaryrefslogtreecommitdiff
path: root/include/llvm/LinkAllPasses.h
diff options
context:
space:
mode:
authorDan Gohman <gohman@apple.com>2009-03-19 17:29:04 +0000
committerDan Gohman <gohman@apple.com>2009-03-19 17:29:04 +0000
commit3751f564e372071bcbeba26811917fd03dd58850 (patch)
tree15af0d729e94da95c8ef2b65ac34c0380b802dbe /include/llvm/LinkAllPasses.h
parentf33b1103a1d24d5d03294fe7332a295e9f6b1f1d (diff)
downloadllvm-3751f564e372071bcbeba26811917fd03dd58850.tar.gz
llvm-3751f564e372071bcbeba26811917fd03dd58850.tar.bz2
llvm-3751f564e372071bcbeba26811917fd03dd58850.tar.xz
Add a liveness analysis pass for LLVM IR values. This computes
the set of blocks in which values are used, the set in which values are live-through, and the set in which values are killed. For the live-through and killed sets, conservative approximations are used. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@67309 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/llvm/LinkAllPasses.h')
-rw-r--r--include/llvm/LinkAllPasses.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/llvm/LinkAllPasses.h b/include/llvm/LinkAllPasses.h
index 18f72ac457..edd27223aa 100644
--- a/include/llvm/LinkAllPasses.h
+++ b/include/llvm/LinkAllPasses.h
@@ -76,6 +76,7 @@ namespace {
(void) llvm::createInternalizePass(false);
(void) llvm::createLCSSAPass();
(void) llvm::createLICMPass();
+ (void) llvm::createLiveValuesPass();
(void) llvm::createLoopExtractorPass();
(void) llvm::createLoopSimplifyPass();
(void) llvm::createLoopStrengthReducePass();