summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Analysis/LiveVar
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2002-07-26 21:12:44 +0000
committerChris Lattner <sabre@nondot.org>2002-07-26 21:12:44 +0000
commita2c098598058ae8466f6141804fdba50b758b0fd (patch)
tree0eb509aa12fe009ee16265c0bd5f1a1a226720a3 /llvm/lib/Analysis/LiveVar
parentd858d8087fae2b014bd5ee520e53e1e34f055794 (diff)
downloadbcm5719-llvm-a2c098598058ae8466f6141804fdba50b758b0fd.tar.gz
bcm5719-llvm-a2c098598058ae8466f6141804fdba50b758b0fd.zip
* Add support for different "PassType's"
* Add new RegisterOpt/RegisterAnalysis templates for registering passes that are to show up in opt or analyze * Register Analyses now * Change optimizations to use RegisterOpt instead of RegisterPass * Add support for different "PassType's" * Add new RegisterOpt/RegisterAnalysis templates for registering passes that are to show up in opt or analyze * Register Analyses now * Change optimizations to use RegisterOpt instead of RegisterPass * Remove getPassName implementations from various subclasses llvm-svn: 3112
Diffstat (limited to 'llvm/lib/Analysis/LiveVar')
-rw-r--r--llvm/lib/Analysis/LiveVar/FunctionLiveVarInfo.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/llvm/lib/Analysis/LiveVar/FunctionLiveVarInfo.cpp b/llvm/lib/Analysis/LiveVar/FunctionLiveVarInfo.cpp
index b080ec2f3e2..e730f49e692 100644
--- a/llvm/lib/Analysis/LiveVar/FunctionLiveVarInfo.cpp
+++ b/llvm/lib/Analysis/LiveVar/FunctionLiveVarInfo.cpp
@@ -15,6 +15,8 @@
#include "Support/CommandLine.h"
#include <iostream>
+static RegisterAnalysis<FunctionLiveVarInfo>
+X("livevar", "Live Variable Analysis");
AnalysisID FunctionLiveVarInfo::ID(AnalysisID::create<FunctionLiveVarInfo>());
LiveVarDebugLevel_t DEBUG_LV;
OpenPOWER on IntegriCloud