LLVM 20.0.0git
|
Lightweight class that wraps the location operand metadata of a debug intrinsic. More...
#include "llvm/IR/IntrinsicInst.h"
Public Member Functions | |
RawLocationWrapper ()=default | |
RawLocationWrapper (Metadata *RawLocation) | |
Metadata * | getRawLocation () const |
iterator_range< location_op_iterator > | location_ops () const |
Get the locations corresponding to the variable referenced by the debug info intrinsic. | |
Value * | getVariableLocationOp (unsigned OpIdx) const |
unsigned | getNumVariableLocationOps () const |
bool | hasArgList () const |
bool | isKillLocation (const DIExpression *Expression) const |
Lightweight class that wraps the location operand metadata of a debug intrinsic.
The raw location may be a ValueAsMetadata, an empty MDTuple, or a DIArgList.
Definition at line 241 of file IntrinsicInst.h.
|
default |
|
inlineexplicit |
Definition at line 246 of file IntrinsicInst.h.
References assert().
|
inline |
Definition at line 260 of file IntrinsicInst.h.
References getRawLocation(), and hasArgList().
Referenced by llvm::DbgVariableIntrinsic::getNumVariableLocationOps(), and isKillLocation().
|
inline |
Definition at line 254 of file IntrinsicInst.h.
Referenced by getNumVariableLocationOps(), getVariableLocationOp(), hasArgList(), isKillLocation(), and location_ops().
Definition at line 99 of file IntrinsicInst.cpp.
References assert(), and getRawLocation().
Referenced by llvm::DbgVariableIntrinsic::getVariableLocationOp().
|
inline |
Definition at line 265 of file IntrinsicInst.h.
References getRawLocation().
Referenced by getNumVariableLocationOps(), llvm::DbgVariableIntrinsic::hasArgList(), and isKillLocation().
|
inline |
Definition at line 266 of file IntrinsicInst.h.
References llvm::any_of(), getNumVariableLocationOps(), getRawLocation(), hasArgList(), and location_ops().
Referenced by llvm::DbgVariableIntrinsic::isKillLocation().
iterator_range< location_op_iterator > RawLocationWrapper::location_ops | ( | ) | const |
Get the locations corresponding to the variable referenced by the debug info intrinsic.
DbgVariableIntrinsic - This is the common base class for debug info intrinsics for variables.
Depending on the intrinsic, this could be the variable's value or its address.
Definition at line 74 of file IntrinsicInst.cpp.
References assert(), and getRawLocation().
Referenced by isKillLocation(), and llvm::DbgVariableIntrinsic::location_ops().
|
friend |
Definition at line 283 of file IntrinsicInst.h.
|
friend |
Definition at line 295 of file IntrinsicInst.h.
|
friend |
Definition at line 299 of file IntrinsicInst.h.
|
friend |
Definition at line 279 of file IntrinsicInst.h.
|
friend |
Definition at line 287 of file IntrinsicInst.h.
|
friend |
Definition at line 291 of file IntrinsicInst.h.