llvm::AllAnalysesOn

This templated class represents "all analyses that operate over <a particular IR unit>" (e.g. a Function or a Module) in instances of PreservedAnalysis.

Synopsis

Declared in <llvm/IR/Analysis.h>

template<typename IRUnitT>
class AllAnalysesOn;

Description

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.

Static Member Functions

NameDescription
ID Opaque key identifying this analysis set for PreservedAnalyses.