diff options
author | Chris Lattner <sabre@nondot.org> | 2002-07-26 21:12:46 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2002-07-26 21:12:46 +0000 |
commit | a6275ccdf5e1aa208afde56c498e2b13e16442f0 (patch) | |
tree | 2d1245344fa06c38f7d6a9cd21649b6927d25307 /lib/Transforms/Instrumentation/TraceValues.cpp | |
parent | 1e43516dcf4aa152432447397334cd43744d63e1 (diff) |
* 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
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@3113 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Transforms/Instrumentation/TraceValues.cpp')
-rw-r--r-- | lib/Transforms/Instrumentation/TraceValues.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/Transforms/Instrumentation/TraceValues.cpp b/lib/Transforms/Instrumentation/TraceValues.cpp index 52c7c0aa64..3239e73c98 100644 --- a/lib/Transforms/Instrumentation/TraceValues.cpp +++ b/lib/Transforms/Instrumentation/TraceValues.cpp @@ -97,8 +97,8 @@ namespace { }; // Register the passes... - RegisterPass<FunctionTracer> X("tracem","Insert Function trace code only"); - RegisterPass<BasicBlockTracer> Y("trace","Insert BB and Function trace code"); + RegisterOpt<FunctionTracer> X("tracem","Insert Function trace code only"); + RegisterOpt<BasicBlockTracer> Y("trace","Insert BB and Function trace code"); } // end anonymous namespace |