Uses an "inverted" value numbering to decide the similarity of expressions and sinks similar expressions into successors.

Synopsis

Declared in <llvm/Transforms/Scalar/GVN.h>

struct GVNSinkPass
    : OptionalPassInfoMixin<GVNSinkPass>

Base Classes

Name

Description

OptionalPassInfoMixin<GVNSinkPass>

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

Member Functions

Name

Description

run

Run the pass over the function.

Static Member Functions

Name

isRequired

Created with MrDocs