This templated class represents "all analyses that operate over <a particular IR unit>" (e.g. a Function or a Module) in instances of PreservedAnalysis.
Declared in <llvm/IR/Analysis.h>
template<typename IRUnitT>
class AllAnalysesOn;
This lets a transformation say e.g. "I preserved all function analyses".
Note that you must provide an explicit instantiation declaration and definition for this template in order to get the correct behavior on Windows. Otherwise, the address of SetKey will not be stable.
| Name | Description |
|---|---|
ID | Opaque key identifying this analysis set for PreservedAnalyses. |