LLVM API Documentation
#include <SelectionDAG.h>
Public Types | |
typedef SmallVectorImpl < SDDbgValue * >::iterator | DbgIterator |
Public Member Functions | |
SDDbgInfo () | |
void | add (SDDbgValue *V, const SDNode *Node, bool isParameter) |
void | clear () |
bool | empty () const |
ArrayRef< SDDbgValue * > | getSDDbgValues (const SDNode *Node) |
DbgIterator | DbgBegin () |
DbgIterator | DbgEnd () |
DbgIterator | ByvalParmDbgBegin () |
DbgIterator | ByvalParmDbgEnd () |
SDDbgInfo - Keeps track of dbg_value information through SDISel. We do not build SDNodes for these so as not to perturb the generated code; instead the info is kept off to the side in this structure. Each SDNode may have one or more associated dbg_value entries. This information is kept in DbgValMap. Byval parameters are handled separately because they don't use alloca's, which busts the normal mechanism. There is good reason for handling all parameters separately: they may not have code generated for them, they should always go at the beginning of the function regardless of other code motion, and debug info for them is potentially useful even if the parameter is unused. Right now only byval parameters are handled separately.
Definition at line 111 of file SelectionDAG.h.
typedef SmallVectorImpl<SDDbgValue*>::iterator llvm::SDDbgInfo::DbgIterator |
Definition at line 147 of file SelectionDAG.h.
|
inline |
Definition at line 120 of file SelectionDAG.h.
|
inline |
Definition at line 122 of file SelectionDAG.h.
Referenced by llvm::SelectionDAG::AddDbgValue().
|
inline |
Definition at line 150 of file SelectionDAG.h.
Referenced by llvm::SelectionDAG::ByvalParmDbgBegin().
|
inline |
Definition at line 151 of file SelectionDAG.h.
Referenced by llvm::SelectionDAG::ByvalParmDbgEnd().
|
inline |
Definition at line 130 of file SelectionDAG.h.
References llvm::DenseMapBase< DerivedT, KeyT, ValueT, KeyInfoT >::clear().
Referenced by llvm::SelectionDAG::clear().
|
inline |
Definition at line 148 of file SelectionDAG.h.
Referenced by llvm::SelectionDAG::DbgBegin().
|
inline |
Definition at line 149 of file SelectionDAG.h.
Referenced by llvm::SelectionDAG::DbgEnd().
|
inline |
Definition at line 136 of file SelectionDAG.h.
Referenced by llvm::SelectionDAG::hasDebugValues().
|
inline |
Definition at line 140 of file SelectionDAG.h.
References llvm::DenseMapBase< DerivedT, KeyT, ValueT, KeyInfoT >::end(), llvm::DenseMapBase< DerivedT, KeyT, ValueT, KeyInfoT >::find(), and I.
Referenced by llvm::SelectionDAG::GetDbgValues().