LLVM API Documentation

Public Member Functions | Public Attributes
llvm::R600RegisterInfo Struct Reference

#include <R600RegisterInfo.h>

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

List of all members.

Public Member Functions

 R600RegisterInfo (const AMDGPUSubtarget &st)
BitVector getReservedRegs (const MachineFunction &MF) const override
unsigned getHWRegChan (unsigned reg) const
 get the HW encoding for a register's channel.
unsigned getHWRegIndex (unsigned Reg) const override
const TargetRegisterClassgetCFGStructurizerRegClass (MVT VT) const override
 get the register class of the specified type to use in the CFGStructurizer
const RegClassWeightgetRegClassWeight (const TargetRegisterClass *RC) const override
bool isPhysRegLiveAcrossClauses (unsigned Reg) const

Public Attributes

RegClassWeight RCW

Detailed Description

Definition at line 24 of file R600RegisterInfo.h.


Constructor & Destructor Documentation


Member Function Documentation

get the register class of the specified type to use in the CFGStructurizer

Reimplemented from llvm::AMDGPURegisterInfo.

Definition at line 65 of file R600RegisterInfo.cpp.

References llvm::MVT::i32, and llvm::MVT::SimpleTy.

get the HW encoding for a register's channel.

Definition at line 57 of file R600RegisterInfo.cpp.

References HW_CHAN_SHIFT.

Referenced by llvm::R600InstrInfo::expandPostRAPseudo(), and llvm::R600InstrInfo::fitsConstReadLimitations().

unsigned R600RegisterInfo::getHWRegIndex ( unsigned  Reg) const [override, virtual]

Reimplemented from llvm::AMDGPURegisterInfo.

Definition at line 61 of file R600RegisterInfo.cpp.

References GET_REG_INDEX.

Referenced by llvm::R600InstrInfo::expandPostRAPseudo().

Definition at line 73 of file R600RegisterInfo.cpp.

References RCW.


Member Data Documentation

Definition at line 25 of file R600RegisterInfo.h.

Referenced by getRegClassWeight(), and R600RegisterInfo().


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