Reassociate commutative expressions.
Synopsis
Declared in <llvm/Transforms/Scalar/Reassociate.h>
class ReassociatePass
: public OptionalPassInfoMixin<ReassociatePass>
Base Classes
Name |
Description |
A CRTP mix‐in for passes that can be skipped. |
Type Aliases
Name |
Description |
Ordered set of instructions queued for another optimization pass. |
Member Functions
Static Member Functions
Name |
Description |
Return false; optional passes may be skipped. |
Protected Types
Name |
Description |
Cached pairing of two values with a score for global reassociation. |
Protected Data Members
Name |
Description |
Whether the pass has modified the function. |
|
Per‐opcode maps from value pairs to their observed reassociation scores. |
|
Map from basic blocks to their reassociation ranks. |
|
Instructions queued for another optimization pass. |
|
Uniformity analysis used when optimizing for divergent control flow. |
|
Map from values to their reassociation ranks. |
Protected Static Data Members
Name |
Description |
Maximum number of global reassociation attempts per pair. |
|
Number of binary operator opcodes tracked in PairMap. |
Created with MrDocs