LLVM: llvm::AnalysisKey Struct Reference (original) (raw)

A special type used by analysis passes to provide an address that identifies that particular analysis pass type. More...

#include "[llvm/IR/Analysis.h](llvm%5F2IR%5F2Analysis%5F8h%5Fsource.html)"

A special type used by analysis passes to provide an address that identifies that particular analysis pass type.

Analysis passes should have a static data member of this type and derive from the [AnalysisInfoMixin](structllvm%5F1%5F1AnalysisInfoMixin.html "A CRTP mix-in that provides informational APIs needed for analysis passes.") to get a static ID method used to identify the analysis in the pass management infrastructure.

Definition at line 29 of file Analysis.h.


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