class DIExpression::ExprOperand

Declaration

class DIExpression::ExprOperand { /* full declaration omitted */ };

Description

A lightweight wrapper around an expression operand. TODO: Store arguments directly and change \a DIExpression to store a range of these.

Declared at: llvm/include/llvm/IR/DebugInfoMetadata.h:2615

Member Variables

private const uint64_t* Op = nullptr

Method Overview

Methods

ExprOperand()

Declared at: llvm/include/llvm/IR/DebugInfoMetadata.h:2619

ExprOperand(const uint64_t* Op)

Declared at: llvm/include/llvm/IR/DebugInfoMetadata.h:2620

Parameters

const uint64_t* Op

void appendToVector(
    SmallVectorImpl<uint64_t>& V) const

Description

Append the elements of this operand to \p V.

Declared at: llvm/include/llvm/IR/DebugInfoMetadata.h:2640

Parameters

SmallVectorImpl<uint64_t>& V

const uint64_t* get() const

Declared at: llvm/include/llvm/IR/DebugInfoMetadata.h:2622

uint64_t getArg(unsigned int I) const

Description

Get an argument to the operand. Never returns the operand itself.

Declared at: llvm/include/llvm/IR/DebugInfoMetadata.h:2630

Parameters

unsigned int I

unsigned int getNumArgs() const

Declared at: llvm/include/llvm/IR/DebugInfoMetadata.h:2632

uint64_t getOp() const

Description

Get the operand code.

Declared at: llvm/include/llvm/IR/DebugInfoMetadata.h:2625

unsigned int getSize() const

Description

Return the size of the operand. Return the number of elements in the operand (1 + args).

Declared at: llvm/include/llvm/IR/DebugInfoMetadata.h:2637