LLVM 19.0.0git
Classes | Namespaces | Functions
DebugProgramInstruction.h File Reference
#include "llvm/ADT/ilist.h"
#include "llvm/ADT/ilist_node.h"
#include "llvm/ADT/iterator.h"
#include "llvm/IR/DebugLoc.h"
#include "llvm/IR/Instruction.h"
#include "llvm/IR/SymbolTableListTraits.h"
#include "llvm/Support/Casting.h"

Go to the source code of this file.

Classes

class  llvm::DbgRecordParamRef< T >
 A typed tracking MDNode reference that does not require a definition for its parameter type. More...
 
class  llvm::DbgRecord
 Base class for non-instruction debug metadata records that have positions within IR. More...
 
class  llvm::DbgLabelRecord
 Records a position in IR for a source label (DILabel). More...
 
class  llvm::DbgVariableRecord
 Record of a variable value-assignment, aka a non instruction representation of the dbg.value intrinsic. More...
 
class  llvm::DbgVariableRecord::location_op_iterator
 Iterator for ValueAsMetadata that internally uses direct pointer iteration over either a ValueAsMetadata* or a ValueAsMetadata**, dereferencing to the ValueAsMetadata . More...
 
class  llvm::DbgMarker
 Per-instruction record of debug-info. More...
 
class  llvm::ScopedDbgInfoFormatSetter< T >
 Used to temporarily set the debug info format of a function, module, or basic block for the duration of this object's lifetime, after which the prior state will be restored. More...
 

Namespaces

namespace  llvm
 This is an optimization pass for GlobalISel generic memory operations.
 

Functions

raw_ostream & llvm::operator<< (raw_ostream &OS, const DbgRecord &R)
 
static auto llvm::filterDbgVars (iterator_range< simple_ilist< DbgRecord >::iterator > R)
 Filter the DbgRecord range to DbgVariableRecord types only and downcast.
 
raw_ostream & llvm::operator<< (raw_ostream &OS, const DbgMarker &Marker)
 
iterator_range< simple_ilist< DbgRecord >::iterator > llvm::getDbgRecordRange (DbgMarker *DebugMarker)
 Inline helper to return a range of DbgRecords attached to a marker.
 
template<typename T >
 llvm::ScopedDbgInfoFormatSetter (T &Obj, bool NewState) -> ScopedDbgInfoFormatSetter< T >