LLVM  8.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)

Detailed Description

Definition at line 27 of file AMDGPURegisterInfo.h.

Constructor & Destructor Documentation

◆ AMDGPURegisterInfo()

AMDGPURegisterInfo::AMDGPURegisterInfo ( )

Definition at line 23 of file AMDGPURegisterInfo.cpp.

Member Function Documentation

◆ getSubRegFromChannel()

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

Definition at line 30 of file AMDGPURegisterInfo.cpp.

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

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

◆ reserveRegisterTuples()

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

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