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:29

Inherits from: FoldingSetBase::Node

Member Variables

private const llvm::MachineInstr* MI

Method Overview

Inherited from FoldingSetBase::Node:

Methods

void Profile(llvm::FoldingSetNodeID& ID)

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

Parameters

llvm::FoldingSetNodeID& ID

UniqueMachineInstr(const llvm::MachineInstr* MI)

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

Parameters

const llvm::MachineInstr* MI