llvm::GVNHoistPass

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

NameDescription
OptionalPassInfoMixin<GVNHoistPass>A CRTP mix-in for passes that can be skipped.

Member Functions

NameDescription
run Run the pass over the function.

Static Member Functions

NameDescription
isRequired Return false; optional passes may be skipped.