Report whether the analysis identified by AID must be preserved.
Declared in <llvm/Pass.h>
bool
mustPreserveAnalysisID(char& AID) const;
This serves the same function as getAnalysisIfAvailable, but works if you just have an AnalysisID. This obviously cannot give you a properly typed instance of the class if you don't have the class name available (use getAnalysisIfAvailable if you do), but it can tell you if you need to preserve the pass at least.
True if the analysis identified by AID must be preserved.
| Name | Description |
|---|---|
| AID | Registration token identifying the analysis pass. |