Pass that merges loads and stores across diamond (hammock) control flow.
Declared in <llvm/Transforms/Scalar/MergedLoadStoreMotion.h>
class MergedLoadStoreMotionPass
: public OptionalPassInfoMixin<MergedLoadStoreMotionPass>
Hoists matching loads into the diamond header and sinks matching stores into the footer, which can hide load latency, enable if-conversion, and reduce static code size.
| Name | Description |
|---|---|
OptionalPassInfoMixin<MergedLoadStoreMotionPass> | A CRTP mix-in for passes that can be skipped. |
| Name | Description |
|---|---|
MergedLoadStoreMotionPass [constructor] | Constructors |
printPipeline | Print this pass's pipeline representation to OS. |
run | Run merged load/store motion over the function. |
| Name | Description |
|---|---|
isRequired | Return false; optional passes may be skipped. |