Report whether the analysis identified by AID must be preserved.
Synopsis
Declared in <llvm/Pass.h>
bool
mustPreserveAnalysisID(char& AID) const;
Description
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.
Return Value
True if the analysis identified by AID must be preserved.
Parameters
Name |
Description |
AID |
Registration token identifying the analysis pass. |
Created with MrDocs