Create Printable object to print register units on a raw_ostream.
Declared in <llvm/CodeGen/TargetRegisterInfo.h>
Printable
printRegUnit(
MCRegUnit Unit,
TargetRegisterInfo const* TRI);
Register units are named after their root registers:
al - Single root. fp0~st7 - Dual roots.
Usage: OS << printRegUnit(Unit, TRI) << ' ';
A Printable object that prints Unit.
| Name | Description |
|---|---|
| Unit | Register unit to print. |
| TRI | Target register info used for naming. |