Return true if this instruction reads Reg.
Declared in <llvm/CodeGen/MachineInstr.h>
bool
readsRegister(
Register Reg,
TargetRegisterInfo const* TRI) const;
With a non-null TRI, also matches a read of a super-register. Partial redefines of virtual registers are not counted as reads.
True if Reg is read.
| Name | Description |
|---|---|
| Reg | Register whose read is queried. |
| TRI | Optional target register info for super-register checks. |