LLVM 20.0.0git
|
An analysis pass which caches information about the Function. More...
#include "llvm/CodeGen/GCMetadata.h"
Public Types | |
using | Result = GCFunctionInfo |
Public Member Functions | |
Result | run (Function &F, FunctionAnalysisManager &FAM) |
Public Member Functions inherited from llvm::PassInfoMixin< DerivedT > | |
void | printPipeline (raw_ostream &OS, function_ref< StringRef(StringRef)> MapClassName2PassName) |
Friends | |
struct | AnalysisInfoMixin< GCFunctionAnalysis > |
Additional Inherited Members | |
Static Public Member Functions inherited from llvm::AnalysisInfoMixin< GCFunctionAnalysis > | |
static AnalysisKey * | ID () |
Returns an opaque, unique ID for this analysis type. | |
Static Public Member Functions inherited from llvm::PassInfoMixin< DerivedT > | |
static StringRef | name () |
Gets the name of the pass we are mixed into. | |
An analysis pass which caches information about the Function.
Records the function level information used by GCRoots. This pass depends on CollectorMetadataAnalysis
.
Definition at line 180 of file GCMetadata.h.
Definition at line 185 of file GCMetadata.h.
GCFunctionAnalysis::Result GCFunctionAnalysis::run | ( | Function & | F, |
FunctionAnalysisManager & | FAM | ||
) |
Definition at line 57 of file GCMetadata.cpp.
References assert(), F, FAM, llvm::AnalysisManager< IRUnitT, ExtraArgTs >::getResult(), and Info.
|
friend |
Definition at line 174 of file GCMetadata.h.