Mark the operand that uses IncomingReg as a kill.
Declared in <llvm/CodeGen/MachineInstr.h>
bool
addRegisterKilled(
Register IncomingReg,
TargetRegisterInfo const* RegInfo,
bool AddIfNotFound = false);
If AddIfNotFound is true, add an implicit use operand when missing.
True if the operand exists or was added.
| Name | Description |
|---|---|
| IncomingReg | Register that is killed by this instruction. |
| RegInfo | Target register info used for alias queries. |
| AddIfNotFound | If true, add an implicit operand when not found. |