LLVM 20.0.0git
Public Attributes | List of all members
llvm::VirtRegInfo Struct Reference

VirtRegInfo - Information about a virtual register used by a set of operands. More...

#include "llvm/CodeGen/MachineInstrBundle.h"

Public Attributes

bool Reads
 Reads - One of the operands read the virtual register.
 
bool Writes
 Writes - One of the operands writes the virtual register.
 
bool Tied
 Tied - Uses and defs must use the same register.
 

Detailed Description

VirtRegInfo - Information about a virtual register used by a set of operands.

Definition at line 218 of file MachineInstrBundle.h.

Member Data Documentation

◆ Reads

bool llvm::VirtRegInfo::Reads

Reads - One of the operands read the virtual register.

This does not include undef or internal use operands, see MO::readsReg().

Definition at line 221 of file MachineInstrBundle.h.

Referenced by llvm::AnalyzeVirtRegInBundle(), and foldInlineAsmMemOperand().

◆ Tied

bool llvm::VirtRegInfo::Tied

Tied - Uses and defs must use the same register.

This can be because of a two-address constraint, or there may be a partial redefinition of a sub-register.

Definition at line 229 of file MachineInstrBundle.h.

Referenced by llvm::AnalyzeVirtRegInBundle().

◆ Writes

bool llvm::VirtRegInfo::Writes

Writes - One of the operands writes the virtual register.

Definition at line 224 of file MachineInstrBundle.h.

Referenced by llvm::AnalyzeVirtRegInBundle(), and foldInlineAsmMemOperand().


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