Movatterモバイル変換


[0]ホーム

URL:


LLVM 20.0.0git
Classes |Public Member Functions |List of all members
llvm::LiveDebugVariables Class Reference

#include "llvm/CodeGen/LiveDebugVariables.h"

Classes

class  LDVImpl
 

Public Member Functions

 LiveDebugVariables ()
 Implementation of theLiveDebugVariables pass.
 
 ~LiveDebugVariables ()
 
 LiveDebugVariables (LiveDebugVariables &&)
 
void analyze (MachineFunction &MF,LiveIntervals *LIS)
 
void splitRegister (Register OldReg,ArrayRef<Register > NewRegs,LiveIntervals &LIS)
 splitRegister - Move any user variables in OldReg to the live ranges in NewRegs where they are live.
 
void emitDebugValues (VirtRegMap *VRM)
 emitDebugValues - Emit new DBG_VALUE instructions reflecting the changes that happened during register allocation.
 
void dump ()const
 dump - Print data structures todbgs().
 
void print (raw_ostream &OS)const
 
void releaseMemory ()
 
bool invalidate (MachineFunction &MF,constPreservedAnalyses &PA,MachineFunctionAnalysisManager::Invalidator &Inv)
 

Detailed Description

Definition at line35 of fileLiveDebugVariables.h.

Constructor & Destructor Documentation

◆ LiveDebugVariables()[1/2]

llvm::LiveDebugVariables::LiveDebugVariables()
default

Implementation of theLiveDebugVariables pass.

◆ ~LiveDebugVariables()

llvm::LiveDebugVariables::~LiveDebugVariables()
default

◆ LiveDebugVariables()[2/2]

llvm::LiveDebugVariables::LiveDebugVariables(LiveDebugVariables && )
default

Member Function Documentation

◆ analyze()

void LiveDebugVariables::analyze(MachineFunctionMF,
LiveIntervalsLIS 
)

Definition at line1358 of fileLiveDebugVariables.cpp.

ReferencesEnableLDV,llvm::MachineFunction::getFunction(),llvm::Function::getSubprogram(),removeDebugInstrs(), andllvm::MachineFunction::useDebugInstrRef().

◆ dump()

LLVM_DUMP_METHOD void LiveDebugVariables::dump() const

dump - Print data structures todbgs().

Definition at line2012 of fileLiveDebugVariables.cpp.

Referencesllvm::dbgs(), andprint().

◆ emitDebugValues()

void LiveDebugVariables::emitDebugValues(VirtRegMapVRM)

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

Parameters
VRMRename virtual registers according to map.

Definition at line2006 of fileLiveDebugVariables.cpp.

◆ invalidate()

bool LiveDebugVariables::invalidate(MachineFunctionMF,
constPreservedAnalysesPA,
MachineFunctionAnalysisManager::InvalidatorInv 
)

Definition at line1348 of fileLiveDebugVariables.cpp.

Referencesllvm::PreservedAnalyses::getChecker().

◆ print()

void LiveDebugVariables::print(raw_ostreamOS) const

Definition at line2015 of fileLiveDebugVariables.cpp.

ReferencesOS.

Referenced bydump(), andllvm::LiveDebugVariables::LDVImpl::runOnMachineFunction().

◆ releaseMemory()

void LiveDebugVariables::releaseMemory()

Definition at line1343 of fileLiveDebugVariables.cpp.

◆ splitRegister()

void LiveDebugVariables::splitRegister(Register OldReg,
ArrayRef<RegisterNewRegs,
LiveIntervalsLIS 
)

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.

Definition at line1553 of fileLiveDebugVariables.cpp.


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

Generated on Sun Jul 20 2025 19:09:19 for LLVM by doxygen 1.9.6
[8]ページ先頭

©2009-2025 Movatter.jp