LLVM  10.0.0svn
Public Member Functions | Static Public Member Functions | List of all members
llvm::AMDGPURegisterInfo Struct Reference

#include "Target/AMDGPU/AMDGPURegisterInfo.h"

Inheritance diagram for llvm::AMDGPURegisterInfo:
Inheritance graph
Collaboration diagram for llvm::AMDGPURegisterInfo:
Collaboration graph

Public Member Functions

 AMDGPURegisterInfo ()
void reserveRegisterTuples (BitVector &, unsigned Reg) const

Static Public Member Functions

static unsigned getSubRegFromChannel (unsigned Channel, unsigned NumRegs=1)

Detailed Description

Definition at line 26 of file AMDGPURegisterInfo.h.

Constructor & Destructor Documentation

◆ AMDGPURegisterInfo()

AMDGPURegisterInfo::AMDGPURegisterInfo ( )

Definition at line 22 of file AMDGPURegisterInfo.cpp.

Member Function Documentation

◆ getSubRegFromChannel()

unsigned AMDGPURegisterInfo::getSubRegFromChannel ( unsigned  Channel,
unsigned  NumRegs = 1 
the sub reg enum value for the given Channel (e.g. getSubRegFromChannel(0) -> AMDGPU::sub0)

Definition at line 75 of file AMDGPURegisterInfo.cpp.

References llvm::array_lengthof(), assert(), and SubRegFromChannelTable.

Referenced by buildMUBUFOffsetLoadStore(), llvm::R600InstrInfo::copyPhysReg(), llvm::createR600ExpandSpecialInstrsPass(), getLogicalBitOpcode(), getSubRegForIndex(), and selectSGPRVectorRegClassID().

◆ reserveRegisterTuples()

void AMDGPURegisterInfo::reserveRegisterTuples ( BitVector Reserved,
unsigned  Reg 
) const

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