LLVM 19.0.0git
Public Attributes | List of all members
llvm::PhysRegInfo Struct Reference

Information about how a physical register Reg is used by a set of operands. More...

#include "llvm/CodeGen/MachineInstrBundle.h"

Public Attributes

bool Clobbered
 There is a regmask operand indicating Reg is clobbered.
 
bool Defined
 Reg or one of its aliases is defined.
 
bool FullyDefined
 Reg or a super-register is defined.
 
bool Read
 Reg or one of its aliases is read.
 
bool FullyRead
 Reg or a super-register is read. The full register is read.
 
bool DeadDef
 Either:
 
bool PartialDeadDef
 Reg is Defined and all defs of reg or an overlapping register are dead.
 
bool Killed
 There is a use operand of reg or a super-register with kill flag set.
 

Detailed Description

Information about how a physical register Reg is used by a set of operands.

Definition at line 253 of file MachineInstrBundle.h.

Member Data Documentation

◆ Clobbered

bool llvm::PhysRegInfo::Clobbered

There is a regmask operand indicating Reg is clobbered.

See also
MachineOperand::CreateRegMask().

Definition at line 256 of file MachineInstrBundle.h.

Referenced by llvm::AnalyzePhysRegInBundle().

◆ DeadDef

bool llvm::PhysRegInfo::DeadDef

Either:

  • Reg is FullyDefined and all defs of reg or an overlapping register are dead, or
  • Reg is completely dead because "defined" by a clobber.

Definition at line 275 of file MachineInstrBundle.h.

Referenced by llvm::AnalyzePhysRegInBundle().

◆ Defined

bool llvm::PhysRegInfo::Defined

Reg or one of its aliases is defined.

The definition may only cover parts of the register.

Definition at line 260 of file MachineInstrBundle.h.

Referenced by llvm::AnalyzePhysRegInBundle().

◆ FullyDefined

bool llvm::PhysRegInfo::FullyDefined

Reg or a super-register is defined.

The definition covers the full register.

Definition at line 263 of file MachineInstrBundle.h.

Referenced by llvm::AnalyzePhysRegInBundle().

◆ FullyRead

bool llvm::PhysRegInfo::FullyRead

Reg or a super-register is read. The full register is read.

Definition at line 269 of file MachineInstrBundle.h.

Referenced by llvm::AnalyzePhysRegInBundle().

◆ Killed

bool llvm::PhysRegInfo::Killed

There is a use operand of reg or a super-register with kill flag set.

Definition at line 282 of file MachineInstrBundle.h.

Referenced by llvm::AnalyzePhysRegInBundle().

◆ PartialDeadDef

bool llvm::PhysRegInfo::PartialDeadDef

Reg is Defined and all defs of reg or an overlapping register are dead.

Definition at line 279 of file MachineInstrBundle.h.

Referenced by llvm::AnalyzePhysRegInBundle().

◆ Read

bool llvm::PhysRegInfo::Read

Reg or one of its aliases is read.

The register may only be read partially.

Definition at line 267 of file MachineInstrBundle.h.

Referenced by llvm::AnalyzePhysRegInBundle().


The documentation for this struct was generated from the following file: