Simple struct used to hold a Register value and the instruction which defines it.

Synopsis

Declared in <llvm/CodeGen/GlobalISel/Utils.h>

struct DefinitionAndSourceRegister;

Data Members

Name

Description

MI

Instruction that defines the underlying value.

Reg

Underlying source register after folding copies.

Non-Member Functions

Name

Description

getDefSrcRegIgnoringCopies

Find the def instruction for Reg, and underlying value Register folding away any copies.

Created with MrDocs