|
LLVM 24.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 251 of file IntrinsicInst.h.
|
default |
Referenced by operator!=, operator<, operator<=, operator==, operator>, and operator>=.
|
inlineexplicit |
Definition at line 256 of file IntrinsicInst.h.
References assert(), llvm::cast(), and llvm::isa().
|
inline |
Definition at line 270 of file IntrinsicInst.h.
References llvm::cast(), getRawLocation(), and hasArgList().
Referenced by llvm::DbgVariableIntrinsic::getNumVariableLocationOps(), and isKillLocation().
|
inline |
Definition at line 264 of file IntrinsicInst.h.
Referenced by getNumVariableLocationOps(), getVariableLocationOp(), hasArgList(), isKillLocation(), and location_ops().
Definition at line 100 of file IntrinsicInst.cpp.
References assert(), llvm::cast(), llvm::dyn_cast(), getRawLocation(), and llvm::isa().
Referenced by llvm::DbgVariableIntrinsic::getVariableLocationOp().
|
inline |
Definition at line 275 of file IntrinsicInst.h.
References getRawLocation(), and llvm::isa().
Referenced by getNumVariableLocationOps(), llvm::DbgVariableIntrinsic::hasArgList(), and isKillLocation().
|
inline |
Definition at line 276 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 75 of file IntrinsicInst.cpp.
References assert(), llvm::dyn_cast(), and getRawLocation().
Referenced by isKillLocation(), and llvm::DbgVariableIntrinsic::location_ops().
|
friend |
Definition at line 293 of file IntrinsicInst.h.
References A(), B(), and RawLocationWrapper().
|
friend |
Definition at line 305 of file IntrinsicInst.h.
References A(), B(), and RawLocationWrapper().
|
friend |
Definition at line 309 of file IntrinsicInst.h.
References A(), B(), and RawLocationWrapper().
|
friend |
Definition at line 289 of file IntrinsicInst.h.
References A(), B(), and RawLocationWrapper().
|
friend |
Definition at line 297 of file IntrinsicInst.h.
References A(), B(), and RawLocationWrapper().
|
friend |
Definition at line 301 of file IntrinsicInst.h.
References A(), B(), and RawLocationWrapper().