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

A pair composed of a register and a sub-register index. More...

#include "llvm/CodeGen/TargetInstrInfo.h"

Inheritance diagram for llvm::TargetInstrInfo::RegSubRegPair:
Inheritance graph
[legend]

Public Member Functions

 RegSubRegPair (Register Reg=Register(), unsigned SubReg=0)
 
bool operator== (const RegSubRegPair &P) const
 
bool operator!= (const RegSubRegPair &P) const
 

Public Attributes

Register Reg
 
unsigned SubReg
 

Detailed Description

A pair composed of a register and a sub-register index.

Used to give some type checking when modeling Reg:SubReg.

Definition at line 510 of file TargetInstrInfo.h.

Constructor & Destructor Documentation

◆ RegSubRegPair()

llvm::TargetInstrInfo::RegSubRegPair::RegSubRegPair ( Register  Reg = Register(),
unsigned  SubReg = 0 
)
inline

Definition at line 514 of file TargetInstrInfo.h.

Member Function Documentation

◆ operator!=()

bool llvm::TargetInstrInfo::RegSubRegPair::operator!= ( const RegSubRegPair P) const
inline

Definition at line 520 of file TargetInstrInfo.h.

References P.

◆ operator==()

bool llvm::TargetInstrInfo::RegSubRegPair::operator== ( const RegSubRegPair P) const
inline

Definition at line 517 of file TargetInstrInfo.h.

References P, Reg, and SubReg.

Member Data Documentation

◆ Reg

Register llvm::TargetInstrInfo::RegSubRegPair::Reg

◆ SubReg

unsigned llvm::TargetInstrInfo::RegSubRegPair::SubReg

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