Return true if Reg is dead in this instruction.

Synopsis

Declared in <llvm/CodeGen/MachineInstr.h>

bool
registerDefIsDead(
    Register Reg,
    TargetRegisterInfo const* TRI) const;

Description

With a non‐null TRI, also matches a dead def of a super‐register.

Return Value

True if a dead def of Reg (or a super‐reg) exists.

Parameters

Name

Description

Reg

Register whose deadness is queried.

TRI

Optional target register info for super‐register checks.

Created with MrDocs