LLVM 19.0.0git
Public Member Functions | Public Attributes | List of all members
llvm::MachineFunction::DebugPHIRegallocPos Class Reference

Location of a PHI instruction that is also a debug-info variable value, for the duration of register allocation. More...

#include "llvm/CodeGen/MachineFunction.h"

Public Member Functions

 DebugPHIRegallocPos (MachineBasicBlock *MBB, Register Reg, unsigned SubReg)
 

Public Attributes

MachineBasicBlockMBB
 Block where this PHI was originally located.
 
Register Reg
 VReg where the control-flow-merge happens.
 
unsigned SubReg
 Optional subreg qualifier within Reg.
 

Detailed Description

Location of a PHI instruction that is also a debug-info variable value, for the duration of register allocation.

Loaded by the PHI-elimination pass, and emitted as DBG_PHI instructions during VirtRegRewriter, with maintenance applied by intermediate passes that edit registers (such as coalescing and the allocator passes).

Definition at line 561 of file MachineFunction.h.

Constructor & Destructor Documentation

◆ DebugPHIRegallocPos()

llvm::MachineFunction::DebugPHIRegallocPos::DebugPHIRegallocPos ( MachineBasicBlock MBB,
Register  Reg,
unsigned  SubReg 
)
inline

Definition at line 566 of file MachineFunction.h.

Member Data Documentation

◆ MBB

MachineBasicBlock* llvm::MachineFunction::DebugPHIRegallocPos::MBB

Block where this PHI was originally located.

Definition at line 563 of file MachineFunction.h.

◆ Reg

Register llvm::MachineFunction::DebugPHIRegallocPos::Reg

VReg where the control-flow-merge happens.

Definition at line 564 of file MachineFunction.h.

◆ SubReg

unsigned llvm::MachineFunction::DebugPHIRegallocPos::SubReg

Optional subreg qualifier within Reg.

Definition at line 565 of file MachineFunction.h.


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