class MachineFunction::DebugPHIRegallocPos

Declaration

class MachineFunction::DebugPHIRegallocPos { /* full declaration omitted */ };

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).

Declared at: llvm/include/llvm/CodeGen/MachineFunction.h:512

Member Variables

public llvm::MachineBasicBlock* MBB
Block where this PHI was originally located.
public llvm::Register Reg
VReg where the control-flow-merge happens.
public unsigned int SubReg
Optional subreg qualifier within Reg.

Method Overview

  • public DebugPHIRegallocPos(llvm::MachineBasicBlock * MBB, llvm::Register Reg, unsigned int SubReg)

Methods

ΒΆDebugPHIRegallocPos(llvm::MachineBasicBlock* MBB,
                    llvm::Register Reg,
                    unsigned int SubReg)

Declared at: llvm/include/llvm/CodeGen/MachineFunction.h:517

Parameters

llvm::MachineBasicBlock* MBB
llvm::Register Reg
unsigned int SubReg