LLVM 24.0.0git
llvm::DIExpression::EntryValueOp Class Reference

A view of a DW_OP_LLVM_entry_value operation. More...

#include "llvm/IR/DebugInfoMetadata.h"

Inheritance diagram for llvm::DIExpression::EntryValueOp:
[legend]

Public Member Functions

uint64_t getNumOperations () const
 Return the number of operations the entry value covers.
Public Member Functions inherited from llvm::DIExpression::ExprOperand
 ExprOperand ()=default
 ExprOperand (const uint64_t *Op)
 operator bool () const
const uint64_tget () 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

Detailed Description

A view of a DW_OP_LLVM_entry_value operation.

Definition at line 3661 of file DebugInfoMetadata.h.

Member Function Documentation

◆ classof()

bool DIExpression::EntryValueOp::classof ( const ExprOperand * Op)
static

◆ getNumOperations()

uint64_t llvm::DIExpression::EntryValueOp::getNumOperations ( ) const
inline

Return the number of operations the entry value covers.

The count includes the operation that precedes it, so the operations that follow are one fewer than this.

Definition at line 3671 of file DebugInfoMetadata.h.

References llvm::DIExpression::ExprOperand::getArg().

◆ llvm::CastInfo

template<typename To, typename From, typename Enable>
friend struct llvm::CastInfo
friend

The documentation for this class was generated from the following files: