|
LLVM 22.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 |
| LLVM_ABI iterator_range< location_op_iterator > | location_ops () const |
| Get the locations corresponding to the variable referenced by the debug info intrinsic. | |
| LLVM_ABI 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 249 of file IntrinsicInst.h.
|
default |
Referenced by operator!=, operator<, operator<=, operator==, operator>, and operator>=.
|
inlineexplicit |
Definition at line 254 of file IntrinsicInst.h.
References assert(), llvm::cast(), and llvm::isa().
|
inline |
Definition at line 268 of file IntrinsicInst.h.
References llvm::cast(), getRawLocation(), and hasArgList().
Referenced by llvm::DbgVariableIntrinsic::getNumVariableLocationOps(), and isKillLocation().
|
inline |
Definition at line 262 of file IntrinsicInst.h.
Referenced by getNumVariableLocationOps(), getVariableLocationOp(), hasArgList(), isKillLocation(), and location_ops().
Definition at line 99 of file IntrinsicInst.cpp.
References assert(), llvm::cast(), llvm::dyn_cast(), getRawLocation(), llvm::isa(), and OpIdx.
Referenced by llvm::DbgVariableIntrinsic::getVariableLocationOp().
|
inline |
Definition at line 273 of file IntrinsicInst.h.
References getRawLocation(), and llvm::isa().
Referenced by getNumVariableLocationOps(), llvm::DbgVariableIntrinsic::hasArgList(), and isKillLocation().
|
inline |
Definition at line 274 of file IntrinsicInst.h.
References llvm::any_of(), getNumVariableLocationOps(), getRawLocation(), hasArgList(), llvm::isa(), 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(), llvm::dyn_cast(), and getRawLocation().
Referenced by isKillLocation(), and llvm::DbgVariableIntrinsic::location_ops().
|
friend |
Definition at line 291 of file IntrinsicInst.h.
References A(), B(), and RawLocationWrapper().
|
friend |
Definition at line 303 of file IntrinsicInst.h.
References A(), B(), and RawLocationWrapper().
|
friend |
Definition at line 307 of file IntrinsicInst.h.
References A(), B(), and RawLocationWrapper().
|
friend |
Definition at line 287 of file IntrinsicInst.h.
References A(), B(), and RawLocationWrapper().
|
friend |
Definition at line 295 of file IntrinsicInst.h.
References A(), B(), and RawLocationWrapper().
|
friend |
Definition at line 299 of file IntrinsicInst.h.
References A(), B(), and RawLocationWrapper().