Return true if this instruction modifies (fully or partially) Reg.

Synopsis

Declared in <llvm/CodeGen/MachineInstr.h>

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

Description

Ignores subreg indices on virtual registers.

Return Value

True if Reg is defined or partially defined.

Parameters

Name

Description

Reg

Register whose modification is queried.

TRI

Optional target register info for super‐register checks.

Created with MrDocs