Opaque identifier for a register unit used to compute register aliasing.
Declared in <llvm/MC/MCRegister.h>
enum class MCRegUnit : unsigned int;
Register units are used to compute register aliasing. Every register has at least one register unit, but it can have more. Two registers overlap if and only if they have a common register unit.
A target with a complicated sub-register structure will typically have many fewer register units than actual registers. MCRI::getNumRegUnits() returns the number of register units in the target.
| Name | Description |
|---|---|
printRegUnit | Create Printable object to print register units on a raw_ostream. |