[llvm-commits] CVS: llvm/include/llvm/CallGraphSCCPass.h
Devang Patel
dpatel at apple.com
Tue Jan 23 13:52:51 PST 2007
Changes in directory llvm/include/llvm:
CallGraphSCCPass.h updated: 1.7 -> 1.8
---
Log message:
Add CallGraphSCCPass::assignPassManager().
This enables CalLGraphPassManager.
---
Diffs of the changes: (+4 -0)
CallGraphSCCPass.h | 4 ++++
1 files changed, 4 insertions(+)
Index: llvm/include/llvm/CallGraphSCCPass.h
diff -u llvm/include/llvm/CallGraphSCCPass.h:1.7 llvm/include/llvm/CallGraphSCCPass.h:1.8
--- llvm/include/llvm/CallGraphSCCPass.h:1.7 Thu Apr 21 15:11:51 2005
+++ llvm/include/llvm/CallGraphSCCPass.h Tue Jan 23 15:52:35 2007
@@ -27,6 +27,7 @@
class CallGraphNode;
class CallGraph;
+class PMStack;
struct CallGraphSCCPass : public ModulePass {
@@ -54,6 +55,9 @@
///
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
More information about the llvm-commits
mailing list