LLVM 19.0.0git
llvm::AnalysisSetKey Struct Reference

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

#include "llvm/IR/Analysis.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 36 of file Analysis.h.


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