Pass that removes gc.relocates inserted by RewriteStatepointsForGC.

Synopsis

Declared in <llvm/Transforms/Utils/StripGCRelocates.h>

class StripGCRelocates
    : public OptionalPassInfoMixin<StripGCRelocates>

Description

The resulting IR is incorrect, but useful for analyzing IR without gc.relocates. The statepoint and gc.result intrinsics remain.

Base Classes

Name

Description

OptionalPassInfoMixin<StripGCRelocates>

A CRTP mix‐in for passes that can be skipped.

Member Functions

Name

Description

run

Run the strip‐gc‐relocates pass over the function.

Static Member Functions

Name

Description

isRequired

Return false; optional passes may be skipped.

Created with MrDocs