LLVM  14.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"

Collaboration diagram for llvm::PhysRegInfo:
Collaboration graph
[legend]

Public Attributes

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

Detailed Description

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

Definition at line 246 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 249 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 268 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 253 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 256 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 262 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 275 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 272 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 260 of file MachineInstrBundle.h.

Referenced by llvm::AnalyzePhysRegInBundle().


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