LLVM 22.0.0git
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 613 of file MachineFunction.h.

Constructor & Destructor Documentation

◆ DebugPHIRegallocPos()

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

Definition at line 618 of file MachineFunction.h.

References MBB, Reg, and SubReg.

Member Data Documentation

◆ MBB

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

Block where this PHI was originally located.

Definition at line 615 of file MachineFunction.h.

Referenced by DebugPHIRegallocPos().

◆ Reg

Register llvm::MachineFunction::DebugPHIRegallocPos::Reg

VReg where the control-flow-merge happens.

Definition at line 616 of file MachineFunction.h.

Referenced by DebugPHIRegallocPos().

◆ SubReg

unsigned llvm::MachineFunction::DebugPHIRegallocPos::SubReg

Optional subreg qualifier within Reg.

Definition at line 617 of file MachineFunction.h.

Referenced by DebugPHIRegallocPos().


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