LLVM 22.0.0git
LiveDebugValues::FuncValueTable Struct Reference

A collection of ValueTables, one per BB in a function, with convenient accessor methods. More...

#include "CodeGen/LiveDebugValues/InstrRefBasedImpl.h"

Public Member Functions

 FuncValueTable (int NumBBs, int NumLocs)
ValueTableoperator[] (const MachineBasicBlock &MBB) const
 Returns the ValueTable associated with MBB.
ValueTableoperator[] (int MBBNum) const
 Returns the ValueTable associated with the MachineBasicBlock whose number is MBBNum.
ValueTabletableForEntryMBB () const
 Returns the ValueTable associated with the entry MachineBasicBlock.
bool hasTableFor (MachineBasicBlock &MBB) const
 Returns true if the ValueTable associated with MBB has not been freed.
void ejectTableForBlock (const MachineBasicBlock &MBB)
 Frees the memory of the ValueTable associated with MBB.

Detailed Description

A collection of ValueTables, one per BB in a function, with convenient accessor methods.

Definition at line 251 of file InstrRefBasedImpl.h.

Constructor & Destructor Documentation

◆ FuncValueTable()

LiveDebugValues::FuncValueTable::FuncValueTable ( int NumBBs,
int NumLocs )
inline

Definition at line 252 of file InstrRefBasedImpl.h.

References LiveDebugValues::ValueIDNum::EmptyValue.

Member Function Documentation

◆ ejectTableForBlock()

void LiveDebugValues::FuncValueTable::ejectTableForBlock ( const MachineBasicBlock & MBB)
inline

Frees the memory of the ValueTable associated with MBB.

Definition at line 281 of file InstrRefBasedImpl.h.

References MBB.

◆ hasTableFor()

bool LiveDebugValues::FuncValueTable::hasTableFor ( MachineBasicBlock & MBB) const
inline

Returns true if the ValueTable associated with MBB has not been freed.

Definition at line 276 of file InstrRefBasedImpl.h.

References MBB.

◆ operator[]() [1/2]

ValueTable & LiveDebugValues::FuncValueTable::operator[] ( const MachineBasicBlock & MBB) const
inline

Returns the ValueTable associated with MBB.

Definition at line 260 of file InstrRefBasedImpl.h.

References MBB.

◆ operator[]() [2/2]

ValueTable & LiveDebugValues::FuncValueTable::operator[] ( int MBBNum) const
inline

Returns the ValueTable associated with the MachineBasicBlock whose number is MBBNum.

Definition at line 266 of file InstrRefBasedImpl.h.

References assert().

◆ tableForEntryMBB()

ValueTable & LiveDebugValues::FuncValueTable::tableForEntryMBB ( ) const
inline

Returns the ValueTable associated with the entry MachineBasicBlock.

Definition at line 273 of file InstrRefBasedImpl.h.


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