LLVM  8.0.1
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]
Collaboration diagram for llvm::UniqueMachineInstr:
Collaboration graph
[legend]

Public Member Functions

void Profile (FoldingSetNodeID &ID)
 -----— UniqueMachineInstr ----------—// More...
 
- 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 31 of file CSEInfo.h.

Member Function Documentation

◆ Profile()

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

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

Definition at line 26 of file CSEInfo.cpp.

References MI.

Friends And Related Function Documentation

◆ GISelCSEInfo

friend class GISelCSEInfo
friend

Definition at line 32 of file CSEInfo.h.


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