llvm::MachineOperand::clobbersPhysReg

Return true if register mask RegMask clobbers PhysReg.

Synopsis

Declared in <llvm/CodeGen/MachineOperand.h>

static
bool
clobbersPhysReg(
    uint32_t const* RegMask,
    MCRegister PhysReg);

Description

It is sometimes necessary to detach the register mask pointer from its machine operand. This static method can be used for such detached bit mask pointers.

Return Value

True if RegMask clobbers PhysReg.

Parameters

NameDescription
RegMaskBit mask of preserved physical registers.
PhysRegPhysical register to test.