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

A view of a DW_OP_LLVM_fragment operation. More...

#include "llvm/IR/DebugInfoMetadata.h"

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

Public Member Functions

uint64_t getOffsetInBits () const
 Return the fragment offset in bits.
uint64_t getSizeInBits () const
 Return the fragment size in bits.
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_fragment operation.

Definition at line 3607 of file DebugInfoMetadata.h.

Member Function Documentation

◆ classof()

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

◆ getOffsetInBits()

uint64_t llvm::DIExpression::FragmentOp::getOffsetInBits ( ) const
inline

Return the fragment offset in bits.

Definition at line 3615 of file DebugInfoMetadata.h.

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

◆ getSizeInBits()

uint64_t llvm::DIExpression::FragmentOp::getSizeInBits ( ) const
inline

Return the fragment size in bits.

Definition at line 3618 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: