class LiveDebugVariables

Declaration

class LiveDebugVariables : public MachineFunctionPass { /* full declaration omitted */ };

Description

MachineFunctionPass - This class adapts the FunctionPass interface to allow convenient creation of passes that operate on the MachineFunction representation. Instead of overriding runOnFunction, subclasses override runOnMachineFunction.

Declared at: llvm/lib/CodeGen/LiveDebugVariables.h:32

Inherits from: MachineFunctionPass

Member Variables

public static char ID

Method Overview

Inherited from MachineFunctionPass:

Inherited from FunctionPass:

Inherited from Pass:

Methods

LiveDebugVariables()

Declared at: llvm/lib/CodeGen/LiveDebugVariables.h:38

void dump() const

Description

dump - Print data structures to dbgs().

Declared at: llvm/lib/CodeGen/LiveDebugVariables.h:53

void emitDebugValues(llvm::VirtRegMap* VRM)

Description

emitDebugValues - Emit new DBG_VALUE instructions reflecting the changes that happened during register allocation.

Declared at: llvm/lib/CodeGen/LiveDebugVariables.h:50

Parameters

llvm::VirtRegMap* VRM
Rename virtual registers according to map.

void splitRegister(unsigned int OldReg,
                   ArrayRef<unsigned int> NewRegs,
                   llvm::LiveIntervals& LIS)

Description

splitRegister - Move any user variables in OldReg to the live ranges in NewRegs where they are live. Mark the values as unavailable where no new register is live.

Declared at: llvm/lib/CodeGen/LiveDebugVariables.h:44

Parameters

unsigned int OldReg
ArrayRef<unsigned int> NewRegs
llvm::LiveIntervals& LIS

~LiveDebugVariables()

Declared at: llvm/lib/CodeGen/LiveDebugVariables.h:39