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

A view of a DW_OP_LLVM_convert operation. More...

#include "llvm/IR/DebugInfoMetadata.h"

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

Public Member Functions

uint64_t getBitSize () const
 Return the destination size in bits.
uint64_t getEncoding () const
 Return the raw destination type encoding.
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_convert operation.

Definition at line 3644 of file DebugInfoMetadata.h.

Member Function Documentation

◆ classof()

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

◆ getBitSize()

uint64_t llvm::DIExpression::ConvertOp::getBitSize ( ) const
inline

Return the destination size in bits.

Definition at line 3652 of file DebugInfoMetadata.h.

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

◆ getEncoding()

uint64_t llvm::DIExpression::ConvertOp::getEncoding ( ) const
inline

Return the raw destination type encoding.

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