LLVM 24.0.0git
InsertLocCache Struct Reference

Caches used by findInsertLocation so that repeated insertions at the same position don't rescan the debug instructions already inserted there. More...

Public Member Functions

void clear ()

Public Attributes

DenseMap< MachineBasicBlock *, MachineBasicBlock::iterator > BlockStart
 Per block, the last PHI/Label/Debug instruction found by MachineBasicBlock::SkipPHIsLabelsAndDebug, used as the starting position for the next search at the start of that block.
DenseMap< const MachineInstr *, MachineBasicBlock::iterator > AfterInstr
 Per instruction, the last debug instruction found after it, used as the starting position for the next search after that instruction.

Detailed Description

Caches used by findInsertLocation so that repeated insertions at the same position don't rescan the debug instructions already inserted there.

Definition at line 270 of file LiveDebugVariables.cpp.

Member Function Documentation

◆ clear()

void InsertLocCache::clear ( )
inline

Definition at line 279 of file LiveDebugVariables.cpp.

References AfterInstr, and BlockStart.

Member Data Documentation

◆ AfterInstr

DenseMap<const MachineInstr *, MachineBasicBlock::iterator> InsertLocCache::AfterInstr

Per instruction, the last debug instruction found after it, used as the starting position for the next search after that instruction.

Definition at line 277 of file LiveDebugVariables.cpp.

Referenced by clear().

◆ BlockStart

DenseMap<MachineBasicBlock *, MachineBasicBlock::iterator> InsertLocCache::BlockStart

Per block, the last PHI/Label/Debug instruction found by MachineBasicBlock::SkipPHIsLabelsAndDebug, used as the starting position for the next search at the start of that block.

Definition at line 274 of file LiveDebugVariables.cpp.

Referenced by clear().


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