LLVM: llvm::RegisterBank Class Reference (original) (raw)

This class implements the register bank concept. More...

#include "[llvm/CodeGen/RegisterBank.h](RegisterBank%5F8h%5Fsource.html)"

Public Member Functions
constexpr RegisterBank (unsigned ID, const char *Name, const uint32_t *CoveredClasses, unsigned NumRegClasses)
unsigned getID () const
Get the identifier of this register bank.
const char * getName () const
Get a user friendly name of this register bank.
LLVM_ABI bool verify (const RegisterBankInfo &RBI, const TargetRegisterInfo &TRI) const
Check if this register bank is valid.
LLVM_ABI bool covers (const TargetRegisterClass &RC) const
Check whether this register bank covers RC.
LLVM_ABI bool operator== (const RegisterBank &OtherRB) const
Check whether OtherRB is the same as this.
bool operator!= (const RegisterBank &OtherRB) const
LLVM_ABI void dump (const TargetRegisterInfo *TRI=nullptr) const
Dump the register mask on dbgs() stream.
LLVM_ABI void print (raw_ostream &OS, bool IsForDebug=false, const TargetRegisterInfo *TRI=nullptr) const
Print the register mask on OS.

This class implements the register bank concept.

Two instances of RegisterBank must have different ID. This property is enforced by the RegisterBankInfo class.

Definition at line 29 of file RegisterBank.h.

covers()

dump()

getID()

unsigned llvm::RegisterBank::getID ( ) const inline

Get the identifier of this register bank.

Definition at line 46 of file RegisterBank.h.

Referenced by llvm::AArch64RegisterBankInfo::AArch64RegisterBankInfo(), llvm::AMDGPURegisterBankInfo::applyMappingImpl(), llvm::ARMRegisterBankInfo::ARMRegisterBankInfo(), llvm::ARM::checkPartMapping(), checkRB(), llvm::AMDGPURegisterBankInfo::collectWaterfallOperands(), getAnySgprS1(), getInsertVecEltOpInfo(), llvm::AArch64RegisterBankInfo::getInstrMapping(), llvm::AMDGPURegisterBankInfo::getInstrMapping(), llvm::PPCRegisterBankInfo::getInstrMapping(), llvm::SIInstrInfo::getInstructionUniformity(), getMinClassForRegBank(), getMinSizeForRegBank(), llvm::AMDGPURegisterBankInfo::getRegBankID(), llvm::SIRegisterInfo::getRegClassForSizeOnBank(), llvm::AMDGPURegisterBankInfo::getValueMappingForPtr(), hashPartialMapping(), AMDGPURegBankLegalizeCombiner::isLaneMask(), isLaneMaskFromSameBlock(), isVectorRegisterBank(), operator==(), print(), selectCopy(), selectMergeValues(), selectUnmergeValues(), verify(), llvm::RegisterBankInfo::verify(), and llvm::X86RegisterBankInfo::X86RegisterBankInfo().

getName()

const char * llvm::RegisterBank::getName ( ) const inline

Get a user friendly name of this register bank.

Should be used only for debugging purposes.

Definition at line 50 of file RegisterBank.h.

Referenced by print().

operator!=()

operator==()

print()

verify()


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