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

Name

Description

FoldingSetNode

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

Member Functions

Name

Description

Profile

Add this instruction's profile bits to ID.

Friends

Name

Description

llvm::GISelCSEInfo

CSE analysis that tracks instructions for common‐subexpression elimination.

Created with MrDocs