Thanks to visit codestin.com
Credit goes to llvm.org

LLVM 22.0.0git
llvm::DbgLabelInstrMap Class Reference

For each inlined instance of a source-level label, keep the corresponding DBG_LABEL instruction. More...

#include "llvm/CodeGen/DbgEntityHistoryCalculator.h"

Public Types

using InlinedEntity = std::pair<const DINode *, const DILocation *>
using InstrMap = MapVector<InlinedEntity, const MachineInstr *>

Public Member Functions

void addInstr (InlinedEntity Label, const MachineInstr &MI)
bool empty () const
void clear ()
InstrMap::const_iterator begin () const
InstrMap::const_iterator end () const

Detailed Description

For each inlined instance of a source-level label, keep the corresponding DBG_LABEL instruction.

The DBG_LABEL instruction could be used to generate a temporary (assembler) label before it.

Definition at line 132 of file DbgEntityHistoryCalculator.h.

Member Typedef Documentation

◆ InlinedEntity

◆ InstrMap

Member Function Documentation

◆ addInstr()

void DbgLabelInstrMap::addInstr ( InlinedEntity Label,
const MachineInstr & MI )

Definition at line 283 of file DbgEntityHistoryCalculator.cpp.

References assert(), and MI.

Referenced by llvm::calculateDbgEntityHistory().

◆ begin()

InstrMap::const_iterator llvm::DbgLabelInstrMap::begin ( ) const
inline

Definition at line 145 of file DbgEntityHistoryCalculator.h.

◆ clear()

void llvm::DbgLabelInstrMap::clear ( )
inline

Definition at line 144 of file DbgEntityHistoryCalculator.h.

◆ empty()

bool llvm::DbgLabelInstrMap::empty ( ) const
inline

Definition at line 143 of file DbgEntityHistoryCalculator.h.

◆ end()

InstrMap::const_iterator llvm::DbgLabelInstrMap::end ( ) const
inline

Definition at line 146 of file DbgEntityHistoryCalculator.h.


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