Pass that reassociates n‐ary expressions to reuse existing instructions.
Synopsis
Declared in <llvm/Transforms/Scalar/NaryReassociate.h>
class NaryReassociatePass
: public OptionalPassInfoMixin<NaryReassociatePass>
Description
This pass reassociates n‐ary add (and related) expressions into forms that expose redundancy for CSE, using a dominator‐ and SCEV‐based lookup of previously computed subexpressions.
Base Classes
Name |
Description |
A CRTP mix‐in for passes that can be skipped. |
Member Functions
Static Member Functions
Name |
Description |
Return false; optional passes may be skipped. |
Created with MrDocs