LLVM API Documentation
#include <R600RegisterInfo.h>
Public Attributes | |
AMDGPUTargetMachine & | TM |
RegClassWeight | RCW |
![]() | |
TargetMachine & | TM |
Additional Inherited Members | |
![]() | |
static const uint16_t | CalleeSavedReg = AMDGPU::NoRegister |
Definition at line 25 of file R600RegisterInfo.h.
R600RegisterInfo::R600RegisterInfo | ( | AMDGPUTargetMachine & | tm | ) |
Definition at line 23 of file R600RegisterInfo.cpp.
References RCW, llvm::RegClassWeight::RegWeight, and llvm::RegClassWeight::WeightLimit.
|
virtual |
get the register class of the specified type to use in the CFGStructurizer
Reimplemented from llvm::AMDGPURegisterInfo.
Definition at line 76 of file R600RegisterInfo.cpp.
References llvm::MVT::i32, and llvm::MVT::SimpleTy.
get the HW encoding for a register's channel.
Definition at line 68 of file R600RegisterInfo.cpp.
References HW_CHAN_SHIFT.
Referenced by llvm::R600InstrInfo::fitsConstReadLimitations().
Reimplemented from llvm::AMDGPURegisterInfo.
Definition at line 72 of file R600RegisterInfo.cpp.
References GET_REG_INDEX.
|
virtual |
RC | is an AMDIL reg class. |
RC
. Reimplemented from llvm::AMDGPURegisterInfo.
Definition at line 59 of file R600RegisterInfo.cpp.
References llvm::TargetRegisterClass::getID().
|
virtual |
Definition at line 84 of file R600RegisterInfo.cpp.
References RCW.
|
virtual |
Reimplemented from llvm::AMDGPURegisterInfo.
Definition at line 28 of file R600RegisterInfo.cpp.
References llvm::sys::path::begin(), llvm::sys::path::end(), llvm::AMDGPUTargetMachine::getInstrInfo(), I, llvm::R600InstrInfo::reserveIndirectRegisters(), llvm::BitVector::set(), TII, and TM.
Definition at line 89 of file R600RegisterInfo.cpp.
References llvm::TargetRegisterInfo::isVirtualRegister().
Referenced by llvm::R600InstrInfo::isLegalToSplitMBBAt().
RegClassWeight llvm::R600RegisterInfo::RCW |
Definition at line 27 of file R600RegisterInfo.h.
Referenced by getRegClassWeight(), and R600RegisterInfo().
AMDGPUTargetMachine& llvm::R600RegisterInfo::TM |
Definition at line 26 of file R600RegisterInfo.h.
Referenced by getReservedRegs().