mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-08-17 21:29:20 +00:00
Pass Managers themselves do not invalidate any analysis info.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@32318 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
dc48f203cd
commit
66d72e140b
@ -269,6 +269,11 @@ public:
|
||||
/// Return true IFF AnalysisID AID is currently available.
|
||||
Pass *getAnalysisPassFromManager(AnalysisID AID);
|
||||
|
||||
/// Pass Manager itself does not invalidate any analysis info.
|
||||
void getAnalysisUsage(AnalysisUsage &Info) const {
|
||||
Info.setPreservesAll();
|
||||
}
|
||||
|
||||
private:
|
||||
};
|
||||
|
||||
@ -311,6 +316,12 @@ public:
|
||||
/// doFinalization - Run all of the initializers for the function passes.
|
||||
///
|
||||
bool doFinalization(Module &M);
|
||||
|
||||
/// Pass Manager itself does not invalidate any analysis info.
|
||||
void getAnalysisUsage(AnalysisUsage &Info) const {
|
||||
Info.setPreservesAll();
|
||||
}
|
||||
|
||||
private:
|
||||
// Active Pass Managers
|
||||
BasicBlockPassManager_New *activeBBPassManager;
|
||||
@ -333,7 +344,12 @@ public:
|
||||
|
||||
/// Return true IFF AnalysisID AID is currently available.
|
||||
Pass *getAnalysisPassFromManager(AnalysisID AID);
|
||||
|
||||
|
||||
/// Pass Manager itself does not invalidate any analysis info.
|
||||
void getAnalysisUsage(AnalysisUsage &Info) const {
|
||||
Info.setPreservesAll();
|
||||
}
|
||||
|
||||
private:
|
||||
// Active Pass Manager
|
||||
FunctionPassManagerImpl_New *activeFunctionPassManager;
|
||||
@ -357,6 +373,11 @@ public:
|
||||
/// Return true IFF AnalysisID AID is currently available.
|
||||
Pass *getAnalysisPassFromManager(AnalysisID AID);
|
||||
|
||||
/// Pass Manager itself does not invalidate any analysis info.
|
||||
void getAnalysisUsage(AnalysisUsage &Info) const {
|
||||
Info.setPreservesAll();
|
||||
}
|
||||
|
||||
private:
|
||||
|
||||
/// Add a pass into a passmanager queue. This is used by schedulePasses
|
||||
|
Loading…
Reference in New Issue
Block a user