LLVM 20.0.0git
Public Member Functions | Friends | List of all members
llvm::UniqueMachineInstr Class Reference

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

#include "llvm/CodeGen/GlobalISel/CSEInfo.h"

Inheritance diagram for llvm::UniqueMachineInstr:
Inheritance graph
[legend]

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)
 

Friends

class GISelCSEInfo
 

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()

Analysis containing CSE true void UniqueMachineInstr::Profile ( FoldingSetNodeID ID)

-----— UniqueMachineInstr ----------—//

Definition at line 31 of file CSEInfo.cpp.

References llvm::GISelInstProfileBuilder::addNodeID(), and MI.

Friends And Related Function Documentation

◆ GISelCSEInfo

friend class GISelCSEInfo
friend

Definition at line 31 of file CSEInfo.h.


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