Make enum-valued bitfield large enough to avoid interpretation as negative values...
[oota-llvm.git] / include / llvm / CallGraphSCCPass.h
index f68e44774bcdf466e15a7b240e922b1647e0a223..af5cb849a38afa3782ee434148a953f6c19d13e7 100644 (file)
@@ -54,6 +54,11 @@ struct CallGraphSCCPass : public Pass {
   virtual void assignPassManager(PMStack &PMS,
                                  PassManagerType PMT = PMT_CallGraphPassManager);
 
+  ///  Return what kind of Pass Manager can manage this pass.
+  virtual PassManagerType getPotentialPassManagerType() const {
+    return PMT_CallGraphPassManager;
+  }
+
   /// getAnalysisUsage - For this class, we declare that we require and preserve
   /// the call graph.  If the derived class implements this method, it should
   /// always explicitly call the implementation here.