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 243 of file IntrinsicInst.h.
|
default |
|
inlineexplicit |
Definition at line 248 of file IntrinsicInst.h.
References assert().
|
inline |
Definition at line 262 of file IntrinsicInst.h.
References getRawLocation(), and hasArgList().
Referenced by llvm::DbgVariableIntrinsic::getNumVariableLocationOps(), and isKillLocation().
|
inline |
Definition at line 256 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 267 of file IntrinsicInst.h.
References getRawLocation().
Referenced by getNumVariableLocationOps(), llvm::DbgVariableIntrinsic::hasArgList(), and isKillLocation().
|
inline |
Definition at line 268 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 285 of file IntrinsicInst.h.
|
friend |
Definition at line 297 of file IntrinsicInst.h.
|
friend |
Definition at line 301 of file IntrinsicInst.h.
|
friend |
Definition at line 281 of file IntrinsicInst.h.
|
friend |
Definition at line 289 of file IntrinsicInst.h.
|
friend |
Definition at line 293 of file IntrinsicInst.h.