llvm::UniqueMachineInstr

Wrap a MachineInstr for uniquing in a CSE FoldingSet.

Synopsis

Declared in <llvm/CodeGen/GlobalISel/CSEInfo.h>

class UniqueMachineInstr
    : public FoldingSetNode

Description

The tradeoff here is extra memory allocations for UniqueMachineInstr vs making MachineInstr bigger.

Base Classes

NameDescription
FoldingSetNodeConvenience alias for the base node type stored in a folding set.

Member Functions

NameDescription
Profile Add this instruction's profile bits to ID.

Friends

NameDescription
llvm::GISelCSEInfoCSE analysis that tracks instructions for common-subexpression elimination.