LLVM API Documentation

llvm::TargetRegisterDesc Struct Reference

#include <TargetRegisterInfo.h>

Collaboration diagram for llvm::TargetRegisterDesc:
[legend]

List of all members.

Public Attributes

const char * AsmName
const char * Name
const unsigned * AliasSet
const unsigned * SubRegs
const unsigned * SuperRegs


Detailed Description

TargetRegisterDesc - This record contains all of the information known about a particular register. The AliasSet field (if not null) contains a pointer to a Zero terminated array of registers that this register aliases. This is needed for architectures like X86 which have AL alias AX alias EAX. Registers that this does not apply to simply should set this to null. The SubRegs field is a zero terminated array of registers that are sub-registers of the specific register, e.g. AL, AH are sub-registers of AX. The SuperRegs field is a zero terminated array of registers that are super-registers of the specific register, e.g. RAX, EAX, are super-registers of AX.

Definition at line 42 of file TargetRegisterInfo.h.


Member Data Documentation

Definition at line 43 of file TargetRegisterInfo.h.

Definition at line 44 of file TargetRegisterInfo.h.

Referenced by OutputReg(), and llvm::MachineOperand::print().

Definition at line 45 of file TargetRegisterInfo.h.

Definition at line 46 of file TargetRegisterInfo.h.

Definition at line 47 of file TargetRegisterInfo.h.


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