LLVM 22.0.0git
llvm::CollectorMetadataAnalysis Class Reference

An analysis pass which caches information about the entire Module. More...

#include "llvm/CodeGen/GCMetadata.h"

Inheritance diagram for llvm::CollectorMetadataAnalysis:
[legend]

Public Types

using Result = GCStrategyMap

Public Member Functions

LLVM_ABI Result run (Module &M, ModuleAnalysisManager &MAM)
Public Member Functions inherited from llvm::PassInfoMixin< CollectorMetadataAnalysis >
void printPipeline (raw_ostream &OS, function_ref< StringRef(StringRef)> MapClassName2PassName)

Friends

struct AnalysisInfoMixin< CollectorMetadataAnalysis >

Additional Inherited Members

Static Public Member Functions inherited from llvm::AnalysisInfoMixin< CollectorMetadataAnalysis >
static AnalysisKeyID ()
 Returns an opaque, unique ID for this analysis type.
Static Public Member Functions inherited from llvm::PassInfoMixin< CollectorMetadataAnalysis >
static StringRef name ()
 Gets the name of the pass we are mixed into.

Detailed Description

An analysis pass which caches information about the entire Module.

Records a cache of the 'active' gc strategy objects for the current Module.

Definition at line 201 of file GCMetadata.h.

Member Typedef Documentation

◆ Result

Member Function Documentation

◆ run()

CollectorMetadataAnalysis::Result CollectorMetadataAnalysis::run ( Module & M,
ModuleAnalysisManager & MAM )

Definition at line 38 of file GCMetadata.cpp.

References F, llvm::getGCStrategy(), MAM, and llvm::GCStrategyMap::try_emplace().

◆ AnalysisInfoMixin< CollectorMetadataAnalysis >


The documentation for this class was generated from the following files: