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:2352

Method Overview

Methods

ExprOperand()

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

ExprOperand(const uint64_t* Op)

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

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:2377

Parameters

SmallVectorImpl<uint64_t>& V

const uint64_t* get() const

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

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:2367

Parameters

unsigned int I

unsigned int getNumArgs() const

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

uint64_t getOp() const

Description

Get the operand code.

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

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:2374