Pass that lowers GC read/write intrinsics and initializes roots.
Synopsis
Declared in <llvm/CodeGen/GCMetadata.h>
class GCLoweringPass
: public RequiredPassInfoMixin<GCLoweringPass>
Description
LowerIntrinsics 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.
Base Classes
Name |
Description |
A CRTP mix‐in for passes that should not be skipped. |
Member Functions
Name |
Description |
Lower GC intrinsics in |
Static Member Functions
Name |
Description |
Return true; required passes cannot be skipped. |
Created with MrDocs