MCRegisterClass ‐ Base class of TargetRegisterClass.
Synopsis
Declared in <llvm/MC/MCRegisterInfo.h>
class MCRegisterClass;
Type Aliases
Name |
Description |
Const iterator over physical registers in this class. |
|
Iterator over physical registers in this class. |
Member Functions
Name |
Description |
begin/end ‐ Return all of the registers in this class. |
|
|
|
Return an iterator past the last register in this class. |
|
Return true if copying this register class is very expensive or impossible. |
|
Return the cost of copying a value between two registers in this class. |
|
getID() ‐ Return the register class ID number. |
|
Return the combination of all lane masks of registers in this class. |
|
getNumRegs ‐ Return the number of registers in this class. |
|
getRegister ‐ Return the specified register in the class. |
|
Return all physical registers in this class. |
|
Return the size of the physical register in bits if we are able to determine it. |
|
Returns a bit vector of subclasses, including this one. |
|
Return the 0‐terminated list of super‐register indices into this class. |
|
Return true if the specified TargetRegisterClass is a proper sub‐class of this TargetRegisterClass. |
|
Returns true if RC is a sub‐class of or equal to this class. |
|
Return true if the specified MCRegisterClass is a proper super‐class of this MCRegisterClass. |
|
Returns true if RC is a super‐class of or equal to this class. |
|
isAllocatable ‐ Return true if this register class may be used to create virtual registers. |
|
Return true if this register class has a defined BaseClassOrder. |
|
Return the list of super‐classes of this register class. |
Data Members
Name |
Description |
True if virtual registers may use this class. |
|
Classes with a higher priority value are assigned first by register allocators using a greedy heuristic. The value is in the range [0,31]. |
|
True if this class has a defined BaseClassOrder. |
|
Cost of copying between registers in this class. |
|
Whether a combination of subregisters can cover every register in the class. See also the CoveredBySubRegs description in Target.td. |
|
True to use the global allocation priority heuristic. |
|
Whether the class supports two (or more) disjunct subregister indices. |
|
Unique ID of this register class. |
|
Combined lane mask of all registers in this class. |
|
Index of this class's name in the string table. |
|
Register denoted by first bit in RegSet. |
|
Relative offset to uint8_t array. |
|
Size of the membership bitset in bits. |
|
Size in bits of registers in this class. |
|
Relative offset to MCPhysReg array. |
|
Number of registers in this class. |
|
Stack ID used when spilling registers from this class. |
|
Relative offset to uint32_t array. |
|
Relative offset to unsigned array. |
|
Number of entries in the super‐classes list. |
|
Relative offset to MCPhysReg array. |
|
Configurable target specific flags. |
Created with MrDocs