diff options
author | Devang Patel <dpatel@apple.com> | 2007-04-16 18:51:25 +0000 |
---|---|---|
committer | Devang Patel <dpatel@apple.com> | 2007-04-16 18:51:25 +0000 |
commit | 8f93b7fc36dbeba428c6dd122c07fe0777baa664 (patch) | |
tree | 1feed84037e7354dfe0743243e70977776fb391e /include/llvm/Analysis/LoopPass.h | |
parent | 62dc4dd5226ee47fd2d563b05816a5aae517bc41 (diff) |
Add getPotentialPassManagerType(). No functionality change, yet.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@36149 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/llvm/Analysis/LoopPass.h')
-rw-r--r-- | include/llvm/Analysis/LoopPass.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/include/llvm/Analysis/LoopPass.h b/include/llvm/Analysis/LoopPass.h index dd9480f0aa..4163a09d33 100644 --- a/include/llvm/Analysis/LoopPass.h +++ b/include/llvm/Analysis/LoopPass.h @@ -57,6 +57,10 @@ class LoopPass : public Pass { virtual void assignPassManager(PMStack &PMS, PassManagerType PMT = PMT_LoopPassManager); + /// Return what kind of Pass Manager can manage this pass. + virtual PassManagerType getPotentialPassManagerType() const { + return PMT_LoopPassManager; + } }; class LPPassManager : public FunctionPass, public PMDataManager { |