aboutsummaryrefslogtreecommitdiff
path: root/include/llvm/CallGraphSCCPass.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/llvm/CallGraphSCCPass.h')
-rw-r--r--include/llvm/CallGraphSCCPass.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/include/llvm/CallGraphSCCPass.h b/include/llvm/CallGraphSCCPass.h
index c3307385b0..f64ece41b6 100644
--- a/include/llvm/CallGraphSCCPass.h
+++ b/include/llvm/CallGraphSCCPass.h
@@ -27,6 +27,7 @@ namespace llvm {
class CallGraphNode;
class CallGraph;
+class PMStack;
struct CallGraphSCCPass : public ModulePass {
@@ -54,6 +55,9 @@ struct CallGraphSCCPass : public ModulePass {
///
virtual bool runOnModule(Module &M);
+ /// Assign pass manager to manager this pass
+ virtual void assignPassManager(PMStack &PMS,
+ PassManagerType PMT = 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