LLVM: llvm::UniqueMachineInstr Class Reference (original) (raw)

A class that wraps MachineInstrs and derives from FoldingSetNode in order to be uniqued in a CSEMap. More...

#include "[llvm/CodeGen/GlobalISel/CSEInfo.h](CSEInfo%5F8h%5Fsource.html)"

Inheritance diagram for llvm::UniqueMachineInstr:

Public Member Functions
void Profile (FoldingSetNodeID &ID)
-----— UniqueMachineInstr ----------—//
- Public Member Functions inherited from llvm::FoldingSetBase::Node
Node ()=default
void * getNextInBucket () const
void SetNextInBucket (void *N)

Detailed 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.

Definition at line 30 of file CSEInfo.h.

Member Function Documentation

Profile()

GISelCSEInfo


The documentation for this class was generated from the following files: