LLVM 17.0.0git
|
A checker object that makes it easy to query for whether an analysis or some set covering it is preserved. More...
#include "llvm/IR/PassManager.h"
Public Member Functions | |
bool | preserved () |
Returns true if the checker's analysis was not abandoned and either. | |
bool | preservedWhenStateless () |
Return true if the checker's analysis was not abandoned, i.e. | |
template<typename AnalysisSetT > | |
bool | preservedSet () |
Returns true if the checker's analysis was not abandoned and either. | |
Friends | |
class | PreservedAnalyses |
A checker object that makes it easy to query for whether an analysis or some set covering it is preserved.
Definition at line 266 of file PassManager.h.
|
inline |
Returns true if the checker's analysis was not abandoned and either.
Definition at line 283 of file PassManager.h.
References llvm::SmallPtrSetImpl< PtrType >::count().
|
inline |
Returns true if the checker's analysis was not abandoned and either.
AnalysisSetT
is explicitly preserved orDefinition at line 298 of file PassManager.h.
References llvm::SmallPtrSetImpl< PtrType >::count().
|
inline |
Return true if the checker's analysis was not abandoned, i.e.
it was not explicitly invalidated. Even if the analysis is not explicitly preserved, if the analysis is known stateless, then it is preserved.
Definition at line 291 of file PassManager.h.
|
friend |
Definition at line 267 of file PassManager.h.