|
LLVM 24.0.0git
|
A view of the DW_OP_LLVM_extract_bits_[sz]ext operations. More...
#include "llvm/IR/DebugInfoMetadata.h"
Public Member Functions | |
| uint64_t | getOffsetInBits () const |
| Return the extract offset in bits. | |
| uint64_t | getSizeInBits () const |
| Return the extract size in bits. | |
| LLVM_ABI bool | isSigned () const |
| Return whether the extracted value is sign-extended. | |
| Public Member Functions inherited from llvm::DIExpression::ExprOperand | |
| ExprOperand ()=default | |
| ExprOperand (const uint64_t *Op) | |
| operator bool () const | |
| const uint64_t * | get () const |
| uint64_t | getOp () const |
| Get the operand code. | |
| bool | is (uint64_t Opcode) const |
Return true if this is Opcode. | |
| uint64_t | getArg (unsigned I) const |
| Get an argument to the operand. | |
| unsigned | getNumArgs () const |
| LLVM_ABI unsigned | getSize () const |
| Return the size of the operand. | |
| LLVM_ABI bool | isNonEmitting () const |
| Return true if CodeGen handles this operand without adding bytes to the DWARF expression. | |
| void | appendToVector (SmallVectorImpl< uint64_t > &V) const |
Append the elements of this operand to V. | |
Static Public Member Functions | |
| static LLVM_ABI bool | classof (const ExprOperand *Op) |
Friends | |
| template<typename To, typename From, typename Enable> | |
| struct | llvm::CastInfo |
A view of the DW_OP_LLVM_extract_bits_[sz]ext operations.
Definition at line 3624 of file DebugInfoMetadata.h.
|
static |
Definition at line 1772 of file DebugInfoMetadata.cpp.
References llvm::dwarf::DW_OP_LLVM_extract_bits_sext, llvm::dwarf::DW_OP_LLVM_extract_bits_zext, and llvm::DIExpression::ExprOperand::ExprOperand().
|
inline |
Return the extract offset in bits.
Definition at line 3632 of file DebugInfoMetadata.h.
References llvm::DIExpression::ExprOperand::getArg().
|
inline |
Return the extract size in bits.
Definition at line 3635 of file DebugInfoMetadata.h.
References llvm::DIExpression::ExprOperand::getArg().
| bool DIExpression::ExtractBitsOp::isSigned | ( | ) | const |
Return whether the extracted value is sign-extended.
Definition at line 1777 of file DebugInfoMetadata.cpp.
References llvm::dwarf::DW_OP_LLVM_extract_bits_sext, and llvm::DIExpression::ExprOperand::is().
|
friend |
Definition at line 3626 of file DebugInfoMetadata.h.
References llvm::DIExpression::ExprOperand::ExprOperand().