|
LLVM
3.7.0
|
A lightweight wrapper around an expression operand. More...
#include <DebugInfoMetadata.h>
Public Member Functions | |
| ExprOperand (const uint64_t *Op) | |
| const uint64_t * | get () const |
| uint64_t | getOp () const |
| Get the operand code. More... | |
| uint64_t | getArg (unsigned I) const |
| Get an argument to the operand. More... | |
| unsigned | getNumArgs () const |
| unsigned | getSize () const |
| Return the size of the operand. More... | |
A lightweight wrapper around an expression operand.
TODO: Store arguments directly and change DIExpression to store a range of these.
Definition at line 2062 of file DebugInfoMetadata.h.
|
inlineexplicit |
Definition at line 2066 of file DebugInfoMetadata.h.
|
inline |
Definition at line 2068 of file DebugInfoMetadata.h.
Referenced by llvm::DIExpression::expr_op_iterator::getBase().
|
inline |
Get an argument to the operand.
Never returns the operand itself.
Definition at line 2076 of file DebugInfoMetadata.h.
Referenced by llvm::DwarfExpression::AddExpression().
|
inline |
Definition at line 2078 of file DebugInfoMetadata.h.
References getSize().
|
inline |
Get the operand code.
Definition at line 2071 of file DebugInfoMetadata.h.
Referenced by llvm::DwarfExpression::AddExpression(), and getSize().
| unsigned DIExpression::ExprOperand::getSize | ( | ) | const |
Return the size of the operand.
Return the number of elements in the operand (1 + args).
Definition at line 494 of file DebugInfoMetadata.cpp.
References getOp().
Referenced by getNumArgs().
1.8.6