Wrap a MachineInstr for uniquing in a CSE FoldingSet.
Declared in <llvm/CodeGen/GlobalISel/CSEInfo.h>
class UniqueMachineInstr
: public FoldingSetNode
The tradeoff here is extra memory allocations for UniqueMachineInstr vs making MachineInstr bigger.
| Name | Description |
|---|---|
FoldingSetNode | Convenience alias for the base node type stored in a folding set. |
| Name | Description |
|---|---|
Profile | Add this instruction's profile bits to ID. |
| Name | Description |
|---|---|
llvm::GISelCSEInfo | CSE analysis that tracks instructions for common-subexpression elimination. |