mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-03-03 14:31:10 +00:00
Add hooks to get information out of concrete pass manager implementations
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@3164 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
55e41ba3d2
commit
55b45bfae3
@ -85,7 +85,10 @@ struct AnalysisResolver {
|
|||||||
return getAnalysisOrNullUp(ID);
|
return getAnalysisOrNullUp(ID);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// Methods for introspecting into pass manager objects...
|
||||||
virtual unsigned getDepth() const = 0;
|
virtual unsigned getDepth() const = 0;
|
||||||
|
virtual unsigned getNumContainedPasses() const = 0;
|
||||||
|
virtual const Pass *getContainedPass(unsigned N) const = 0;
|
||||||
|
|
||||||
virtual void markPassUsed(AnalysisID P, Pass *User) = 0;
|
virtual void markPassUsed(AnalysisID P, Pass *User) = 0;
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user