A simple and fast domtree-based GVN pass to hoist common expressions from sibling branches.
Declared in <llvm/Transforms/Scalar/GVN.h>
struct GVNHoistPass
: OptionalPassInfoMixin<GVNHoistPass>
| Name | Description |
|---|---|
OptionalPassInfoMixin<GVNHoistPass> | A CRTP mix-in for passes that can be skipped. |
| Name | Description |
|---|---|
run | Run the pass over the function. |
| Name | Description |
|---|---|
isRequired | Return false; optional passes may be skipped. |