LLVM 17.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"

Collaboration diagram for llvm::PhysRegSUOper:
Collaboration graph

Public Member Functions

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

Public Attributes

int OpIdx
unsigned Reg

Detailed Description

Record a physical register access.

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

Definition at line 77 of file ScheduleDAGInstrs.h.

Constructor & Destructor Documentation

◆ PhysRegSUOper()

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

Definition at line 82 of file ScheduleDAGInstrs.h.

Member Function Documentation

◆ getSparseSetIndex()

unsigned llvm::PhysRegSUOper::getSparseSetIndex ( ) const

Definition at line 84 of file ScheduleDAGInstrs.h.

References Reg.

Member Data Documentation

◆ OpIdx

int llvm::PhysRegSUOper::OpIdx

Definition at line 79 of file ScheduleDAGInstrs.h.

◆ Reg

unsigned llvm::PhysRegSUOper::Reg

Definition at line 80 of file ScheduleDAGInstrs.h.

Referenced by getSparseSetIndex().

◆ SU

SUnit* llvm::PhysRegSUOper::SU

Definition at line 78 of file ScheduleDAGInstrs.h.

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