LLVM 22.0.0git
llvm::VRegRenamer Class Reference

VRegRenamer - This class is used for renaming vregs in a machine basic block according to semantics of the instruction. More...

#include "CodeGen/MIRVRegNamerUtils.h"

Public Member Functions

 VRegRenamer ()=delete
 VRegRenamer (MachineRegisterInfo &MRI)
bool renameVRegs (MachineBasicBlock *MBB, unsigned BBNum)
 Same as the above, but sets a BBNum depending on BB traversal that will be used as prefix for the vreg names.

Detailed Description

VRegRenamer - This class is used for renaming vregs in a machine basic block according to semantics of the instruction.

Definition at line 34 of file MIRVRegNamerUtils.h.

Constructor & Destructor Documentation

◆ VRegRenamer() [1/2]

llvm::VRegRenamer::VRegRenamer ( )
delete

◆ VRegRenamer() [2/2]

llvm::VRegRenamer::VRegRenamer ( MachineRegisterInfo & MRI)
inline

Definition at line 85 of file MIRVRegNamerUtils.h.

Member Function Documentation

◆ renameVRegs()

bool llvm::VRegRenamer::renameVRegs ( MachineBasicBlock * MBB,
unsigned BBNum )
inline

Same as the above, but sets a BBNum depending on BB traversal that will be used as prefix for the vreg names.

Definition at line 89 of file MIRVRegNamerUtils.h.

References MBB.


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