LLVM 20.0.0git
|
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 |
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.
using llvm::DbgLabelInstrMap::InlinedEntity = std::pair<const DINode *, const DILocation *> |
Definition at line 134 of file DbgEntityHistoryCalculator.h.
Definition at line 135 of file DbgEntityHistoryCalculator.h.
void DbgLabelInstrMap::addInstr | ( | InlinedEntity | Label, |
const MachineInstr & | MI | ||
) |
Definition at line 283 of file DbgEntityHistoryCalculator.cpp.
Referenced by llvm::calculateDbgEntityHistory().
|
inline |
Definition at line 145 of file DbgEntityHistoryCalculator.h.
References llvm::MapVector< KeyT, ValueT, MapType, VectorType >::begin().
|
inline |
Definition at line 144 of file DbgEntityHistoryCalculator.h.
References llvm::MapVector< KeyT, ValueT, MapType, VectorType >::clear().
Referenced by llvm::DebugHandlerBase::endFunction().
|
inline |
Definition at line 143 of file DbgEntityHistoryCalculator.h.
References llvm::MapVector< KeyT, ValueT, MapType, VectorType >::empty().
Referenced by llvm::DebugHandlerBase::beginFunction().
|
inline |
Definition at line 146 of file DbgEntityHistoryCalculator.h.
References llvm::MapVector< KeyT, ValueT, MapType, VectorType >::end().