[#llvm-UniqueMachineInstr] = xref:llvm.adoc[llvm]::UniqueMachineInstr :relfileprefix: ../ :mrdocs: Wrap a MachineInstr for uniquing in a CSE FoldingSet. == Synopsis Declared in `<llvm/CodeGen/GlobalISel/CSEInfo.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- class UniqueMachineInstr : public xref:llvm/FoldingSetNode.adoc[FoldingSetNode] ---- == Description The tradeoff here is extra memory allocations for UniqueMachineInstr vs making MachineInstr bigger. == Base Classes [cols="1,4"] |=== | Name| Description | `xref:llvm/FoldingSetNode.adoc[FoldingSetNode]` | Convenience alias for the base node type stored in a folding set. |=== == Member Functions [cols="1,4"] |=== | Name| Description | xref:llvm/UniqueMachineInstr/Profile.adoc[`Profile`] | Add this instruction's profile bits to `ID.` |=== == Friends [cols="1,4"] |=== | Name| Description | `xref:llvm/GISelCSEInfo.adoc[llvm::GISelCSEInfo]` | CSE analysis that tracks instructions for common‐subexpression elimination. |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#