LLVM  8.0.1
llvm::AnalysisSetKey Struct Reference

A special type used to provide an address that identifies a set of related analyses. More...

#include "llvm/IR/PassManager.h"

Detailed Description

A special type used to provide an address that identifies a set of related analyses.

These sets are primarily used below to mark sets of analyses as preserved.

For example, a transformation can indicate that it preserves the CFG of a function by preserving the appropriate AnalysisSetKey. An analysis that depends only on the CFG can then check if that AnalysisSetKey is preserved; if it is, the analysis knows that it itself is preserved.

Definition at line 81 of file PassManager.h.


The documentation for this struct was generated from the following file: