LLVM 19.0.0git
Public Member Functions | Public Attributes | List of all members
llvm::VReg2SUnit Struct Reference

An individual mapping from virtual register number to SUnit. More...

#include "llvm/CodeGen/ScheduleDAGInstrs.h"

Inheritance diagram for llvm::VReg2SUnit:
Inheritance graph

Public Member Functions

 VReg2SUnit (unsigned VReg, LaneBitmask LaneMask, SUnit *SU)
unsigned getSparseSetIndex () const

Public Attributes

unsigned VirtReg
LaneBitmask LaneMask

Detailed Description

An individual mapping from virtual register number to SUnit.

Definition at line 53 of file ScheduleDAGInstrs.h.

Constructor & Destructor Documentation

◆ VReg2SUnit()

llvm::VReg2SUnit::VReg2SUnit ( unsigned  VReg,
LaneBitmask  LaneMask,
SUnit SU 

Definition at line 58 of file ScheduleDAGInstrs.h.

Member Function Documentation

◆ getSparseSetIndex()

unsigned llvm::VReg2SUnit::getSparseSetIndex ( ) const

Definition at line 61 of file ScheduleDAGInstrs.h.

References VirtReg, and llvm::Register::virtReg2Index().

Member Data Documentation

◆ LaneMask

LaneBitmask llvm::VReg2SUnit::LaneMask

Definition at line 55 of file ScheduleDAGInstrs.h.

◆ SU

SUnit* llvm::VReg2SUnit::SU

Definition at line 56 of file ScheduleDAGInstrs.h.

◆ VirtReg

unsigned llvm::VReg2SUnit::VirtReg

Definition at line 54 of file ScheduleDAGInstrs.h.

Referenced by getSparseSetIndex().

The documentation for this struct was generated from the following file: