LLVM 22.0.0git
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 78 of file ScheduleDAGInstrs.h.

Constructor & Destructor Documentation

◆ PhysRegSUOper()

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

Definition at line 83 of file ScheduleDAGInstrs.h.

References op, OpIdx, RegUnit, and SU.

Member Function Documentation

◆ getSparseSetIndex()

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

Definition at line 86 of file ScheduleDAGInstrs.h.

References RegUnit.

Member Data Documentation

◆ OpIdx

int llvm::PhysRegSUOper::OpIdx

Definition at line 80 of file ScheduleDAGInstrs.h.

Referenced by PhysRegSUOper().

◆ RegUnit

unsigned llvm::PhysRegSUOper::RegUnit

Definition at line 81 of file ScheduleDAGInstrs.h.

Referenced by getSparseSetIndex(), and PhysRegSUOper().

◆ SU

SUnit* llvm::PhysRegSUOper::SU

Definition at line 79 of file ScheduleDAGInstrs.h.

Referenced by PhysRegSUOper().


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