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
- public ExprOperand()
- public ExprOperand(const uint64_t * Op)
- public void appendToVector(SmallVectorImpl<uint64_t> & V) const
- public const uint64_t * get() const
- public uint64_t getArg(unsigned int I) const
- public unsigned int getNumArgs() const
- public uint64_t getOp() const
- public unsigned int getSize() const
Methods
¶ExprOperand()
ExprOperand()
Declared at: llvm/include/llvm/IR/DebugInfoMetadata.h:2356
¶ExprOperand(const uint64_t* Op)
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
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
const uint64_t* get() const
Declared at: llvm/include/llvm/IR/DebugInfoMetadata.h:2359
¶uint64_t getArg(unsigned int I) const
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
unsigned int getNumArgs() const
Declared at: llvm/include/llvm/IR/DebugInfoMetadata.h:2369
¶uint64_t getOp() const
uint64_t getOp() const
Description
Get the operand code.
Declared at: llvm/include/llvm/IR/DebugInfoMetadata.h:2362
¶unsigned int getSize() const
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