LLVM 22.0.0git
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:
[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 546 of file TargetInstrInfo.h.

Constructor & Destructor Documentation

◆ RegSubRegPair()

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

Member Function Documentation

◆ operator!=()

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

Definition at line 556 of file TargetInstrInfo.h.

References P, and RegSubRegPair().

◆ operator==()

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

Definition at line 553 of file TargetInstrInfo.h.

References P, Reg, RegSubRegPair(), and SubReg.

Member Data Documentation

◆ Reg

◆ SubReg


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