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

Collaboration diagram for llvm::MachineFunction::DebugPHIRegallocPos:
Collaboration graph
[legend]

Public Member Functions

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

Public Attributes

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

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 491 of file MachineFunction.h.

Constructor & Destructor Documentation

◆ DebugPHIRegallocPos()

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

Definition at line 496 of file MachineFunction.h.

Member Data Documentation

◆ MBB

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

Block where this PHI was originally located.

Definition at line 493 of file MachineFunction.h.

◆ Reg

Register llvm::MachineFunction::DebugPHIRegallocPos::Reg

VReg where the control-flow-merge happens.

Definition at line 494 of file MachineFunction.h.

◆ SubReg

unsigned llvm::MachineFunction::DebugPHIRegallocPos::SubReg

Optional subreg qualifier within Reg.

Definition at line 495 of file MachineFunction.h.


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