Create a register mask operand referencing Mask.
Declared in <llvm/CodeGen/MachineOperand.h>
static
MachineOperand
CreateRegMask(uint32_t const* Mask);
The operand does not take ownership of the memory referenced by Mask; it must remain valid for the lifetime of the operand.
A RegMask operand represents a set of non-clobbered physical registers on an instruction that clobbers many registers, typically a call. The bit mask has a bit set for each physreg that is preserved by this instruction, as described in the documentation for TargetRegisterInfo::getCallPreservedMask().
Any physreg with a 0 bit in the mask is clobbered by the instruction.
A new MO_RegisterMask MachineOperand.
| Name | Description |
|---|---|
| Mask | Bit mask of preserved physical registers. |