class UniqueMachineInstr

Declaration

class UniqueMachineInstr : public Node { /* full declaration omitted */ };

Description

A class that wraps MachineInstrs and derives from FoldingSetNode in order to be uniqued in a CSEMap. The tradeoff here is extra memory allocations for UniqueMachineInstr vs making MachineInstr bigger.

Declared at: llvm/include/llvm/CodeGen/GlobalISel/CSEInfo.h:31

Inherits from: FoldingSetBase::Node

Method Overview

  • public void Profile(llvm::FoldingSetNodeID & ID)

Inherited from FoldingSetBase::Node:

Methods

ΒΆvoid Profile(llvm::FoldingSetNodeID& ID)

Declared at: llvm/include/llvm/CodeGen/GlobalISel/CSEInfo.h:37

Parameters

llvm::FoldingSetNodeID& ID