LLVM 20.0.0git
|
LowerIntrinsics - This pass rewrites calls to the llvm.gcread or llvm.gcwrite intrinsics, replacing them with simple loads and stores as directed by the GCStrategy. More...
#include "llvm/CodeGen/GCMetadata.h"
Public Member Functions | |
PreservedAnalyses | run (Function &F, FunctionAnalysisManager &FAM) |
Public Member Functions inherited from llvm::PassInfoMixin< GCLoweringPass > | |
void | printPipeline (raw_ostream &OS, function_ref< StringRef(StringRef)> MapClassName2PassName) |
Additional Inherited Members | |
Static Public Member Functions inherited from llvm::PassInfoMixin< GCLoweringPass > | |
static StringRef | name () |
Gets the name of the pass we are mixed into. | |
LowerIntrinsics - This pass rewrites calls to the llvm.gcread or llvm.gcwrite intrinsics, replacing them with simple loads and stores as directed by the GCStrategy.
It also performs automatic root initialization and custom intrinsic lowering.
This pass requires CollectorMetadataAnalysis
.
Definition at line 195 of file GCMetadata.h.
PreservedAnalyses GCLoweringPass::run | ( | Function & | F, |
FunctionAnalysisManager & | FAM | ||
) |
Definition at line 82 of file GCRootLowering.cpp.
References llvm::PreservedAnalyses::all(), DoLowering(), F, FAM, llvm::AnalysisManager< IRUnitT, ExtraArgTs >::getResult(), Info, and llvm::PreservedAnalyses::preserve().