LLVM 20.0.0git
Public Member Functions | Public Attributes | List of all members
llvm::PhysRegSUOper Struct Reference

Record a physical register access. More...

#include "llvm/CodeGen/ScheduleDAGInstrs.h"

Public Member Functions

 PhysRegSUOper (SUnit *su, int op, unsigned R)
 
unsigned getSparseSetIndex () const
 

Public Attributes

SUnitSU
 
int OpIdx
 
unsigned RegUnit
 

Detailed Description

Record a physical register access.

For non-data-dependent uses, OpIdx == -1.

Definition at line 76 of file ScheduleDAGInstrs.h.

Constructor & Destructor Documentation

◆ PhysRegSUOper()

llvm::PhysRegSUOper::PhysRegSUOper ( SUnit su,
int  op,
unsigned  R 
)
inline

Definition at line 81 of file ScheduleDAGInstrs.h.

Member Function Documentation

◆ getSparseSetIndex()

unsigned llvm::PhysRegSUOper::getSparseSetIndex ( ) const
inline

Definition at line 84 of file ScheduleDAGInstrs.h.

References RegUnit.

Member Data Documentation

◆ OpIdx

int llvm::PhysRegSUOper::OpIdx

Definition at line 78 of file ScheduleDAGInstrs.h.

◆ RegUnit

unsigned llvm::PhysRegSUOper::RegUnit

Definition at line 79 of file ScheduleDAGInstrs.h.

Referenced by getSparseSetIndex().

◆ SU

SUnit* llvm::PhysRegSUOper::SU

Definition at line 77 of file ScheduleDAGInstrs.h.


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