diff options
author | Chris Lattner <sabre@nondot.org> | 2002-07-27 01:12:15 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2002-07-27 01:12:15 +0000 |
commit | 97f51a3024a72ef8500e95b90e6361e6783160fd (patch) | |
tree | 4fab9417a9dc40dd475d7503281ef4e1c3a545d9 /include/llvm/Analysis/InductionVariable.h | |
parent | 9a740fdf2165e263da98480d9c24f1803f94ef0c (diff) |
* Standardize how analysis results/passes as printed with the print() virtual
methods
* Eliminate AnalysisID: Now it is just a typedef for const PassInfo*
* Simplify how AnalysisID's are initialized
* Eliminate Analysis/Writer.cpp/.h: incorporate printing functionality into
the analyses themselves.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@3115 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/llvm/Analysis/InductionVariable.h')
-rw-r--r-- | include/llvm/Analysis/InductionVariable.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/include/llvm/Analysis/InductionVariable.h b/include/llvm/Analysis/InductionVariable.h index 951ac05135..36dcaebda0 100644 --- a/include/llvm/Analysis/InductionVariable.h +++ b/include/llvm/Analysis/InductionVariable.h @@ -19,6 +19,7 @@ #ifndef LLVM_ANALYSIS_INDUCTIONVARIABLE_H #define LLVM_ANALYSIS_INDUCTIONVARIABLE_H +#include <iosfwd> class Value; class PHINode; class Instruction; @@ -45,6 +46,8 @@ public: // Classify Induction static enum iType Classify(const Value *Start, const Value *Step, const Loop *L = 0); + + void print(std::ostream &OS) const; }; #endif |