A simple and fast domtree‐based GVN pass to hoist common expressions from sibling branches.

Synopsis

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

struct GVNHoistPass
    : OptionalPassInfoMixin<GVNHoistPass>

Base Classes

Name

Description

OptionalPassInfoMixin<GVNHoistPass>

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

Description

isRequired

Return false; optional passes may be skipped.

Created with MrDocs