LLVM  10.0.0svn
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]
Collaboration diagram for llvm::TargetInstrInfo::RegSubRegPair:
Collaboration graph
[legend]

Public Member Functions

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

Public Attributes

unsigned 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 432 of file TargetInstrInfo.h.

Constructor & Destructor Documentation

◆ RegSubRegPair()

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

Definition at line 436 of file TargetInstrInfo.h.

Member Function Documentation

◆ operator!=()

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

Definition at line 442 of file TargetInstrInfo.h.

References P.

◆ operator==()

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

Definition at line 439 of file TargetInstrInfo.h.

References Reg, and SubReg.

Member Data Documentation

◆ Reg

unsigned llvm::TargetInstrInfo::RegSubRegPair::Reg

◆ SubReg

unsigned llvm::TargetInstrInfo::RegSubRegPair::SubReg

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