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

#include "Target/AMDGPU/AMDGPURegisterInfo.h"

Inheritance diagram for llvm::AMDGPURegisterInfo:
Inheritance graph
[legend]
Collaboration diagram for llvm::AMDGPURegisterInfo:
Collaboration graph
[legend]

Public Member Functions

 AMDGPURegisterInfo ()
 
unsigned getSubRegFromChannel (unsigned Channel) const
 

Detailed Description

Definition at line 27 of file AMDGPURegisterInfo.h.

Constructor & Destructor Documentation

◆ AMDGPURegisterInfo()

AMDGPURegisterInfo::AMDGPURegisterInfo ( )

Definition at line 21 of file AMDGPURegisterInfo.cpp.

Member Function Documentation

◆ getSubRegFromChannel()

unsigned AMDGPURegisterInfo::getSubRegFromChannel ( unsigned  Channel) const
Returns
the sub reg enum value for the given Channel (e.g. getSubRegFromChannel(0) -> AMDGPU::sub0)

Definition at line 28 of file AMDGPURegisterInfo.cpp.

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

Referenced by buildMUBUFOffsetLoadStore(), llvm::R600InstrInfo::copyPhysReg(), llvm::createR600ExpandSpecialInstrsPass(), getConstantValue(), and llvm::SIInstrInfo::readlaneVGPRToSGPR().


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