[llvm-commits] CVS: llvm/include/llvm/PassManagers.h
Devang Patel
dpatel at apple.com
Tue Mar 6 09:53:11 PST 2007
Changes in directory llvm/include/llvm:
PassManagers.h updated: 1.13 -> 1.14
---
Log message:
Keep track of higher level analysis.
---
Diffs of the changes: (+9 -0)
PassManagers.h | 9 +++++++++
1 files changed, 9 insertions(+)
Index: llvm/include/llvm/PassManagers.h
diff -u llvm/include/llvm/PassManagers.h:1.13 llvm/include/llvm/PassManagers.h:1.14
--- llvm/include/llvm/PassManagers.h:1.13 Mon Mar 5 19:55:46 2007
+++ llvm/include/llvm/PassManagers.h Tue Mar 6 11:52:53 2007
@@ -228,6 +228,11 @@
InheritedAnalysis[i] = NULL;
}
+ // Return true if P preserves high level analysis used by other
+ // passes that are managed by this manager.
+ bool preserveHigherLevelAnalysis(Pass *P);
+
+
/// Populate RequiredPasses with the analysis pass that are required by
/// pass P.
void collectRequiredAnalysisPasses(std::vector<Pass *> &RequiredPasses,
@@ -298,6 +303,10 @@
// scheduled to run.
std::map<AnalysisID, Pass*> AvailableAnalysis;
+ // Collection of higher level analysis used by the pass managed by
+ // this manager.
+ std::vector<Pass *> HigherLevelAnalysis;
+
unsigned Depth;
};
More information about the llvm-commits
mailing list