LLVM: llvm::DIExpression::ExprOperand Class Reference (original) (raw)

A lightweight wrapper around an expression operand. More...

#include "[llvm/IR/DebugInfoMetadata.h](DebugInfoMetadata%5F8h%5Fsource.html)"

Public Member Functions
ExprOperand ()=default
ExprOperand (const uint64_t *Op)
const uint64_t * get () const
uint64_t getOp () const
Get the operand code.
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.
void appendToVector (SmallVectorImpl< uint64_t > &V) const
Append the elements of this operand to V.

A lightweight wrapper around an expression operand.

TODO: Store arguments directly and change DIExpression to store a range of these.

Definition at line 3465 of file DebugInfoMetadata.h.

llvm::DIExpression::ExprOperand::ExprOperand ( ) default

ExprOperand() [2/2]

llvm::DIExpression::ExprOperand::ExprOperand ( const uint64_t * Op) inlineexplicit

appendToVector()

get()

const uint64_t * llvm::DIExpression::ExprOperand::get ( ) const inline

getArg()

Get an argument to the operand.

Never returns the operand itself.

Definition at line 3480 of file DebugInfoMetadata.h.

References I.

getNumArgs()

unsigned llvm::DIExpression::ExprOperand::getNumArgs ( ) const inline

getOp()

uint64_t llvm::DIExpression::ExprOperand::getOp ( ) const inline

getSize()

unsigned DIExpression::ExprOperand::getSize ( ) const

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