LLVM  9.0.0svn
Public Types | Public Member Functions | List of all members
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 104 of file DbgEntityHistoryCalculator.h.

Member Typedef Documentation

◆ InlinedEntity

Definition at line 106 of file DbgEntityHistoryCalculator.h.

◆ InstrMap

Definition at line 107 of file DbgEntityHistoryCalculator.h.

Member Function Documentation

◆ addInstr()

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

◆ begin()

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

◆ clear()

void llvm::DbgLabelInstrMap::clear ( )
inline

◆ empty()

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

◆ end()

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

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