LLVM: llvm::DIExpressionCursor Class Reference (original) (raw)
Holds a DIExpression and keeps track of how many operands have been consumed so far. More...
#include "[llvm/IR/DebugInfoMetadata.h](DebugInfoMetadata%5F8h%5Fsource.html)"
| Public Member Functions | |
|---|---|
| DIExpressionCursor (const DIExpression *Expr) | |
| DIExpressionCursor (ArrayRef< uint64_t > Expr) | |
| DIExpressionCursor (const DIExpressionCursor &)=default | |
| std::optional< DIExpression::ExprOperand > | take () |
| Consume one operation. | |
| void | consume (unsigned N) |
| Consume N operations. | |
| std::optional< DIExpression::ExprOperand > | peek () const |
| Return the current operation. | |
| std::optional< DIExpression::ExprOperand > | peekNext () const |
| Return the next operation. | |
| std::optional< DIExpression::ExprOperand > | peekNextN (unsigned N) const |
| void | assignNewExpr (ArrayRef< uint64_t > Expr) |
| operator bool () const | |
| Determine whether there are any operations left in this expression. | |
| DIExpression::expr_op_iterator | begin () const |
| DIExpression::expr_op_iterator | end () const |
| std::optional< DIExpression::FragmentInfo > | getFragmentInfo () const |
| Retrieve the fragment information, if any. |
Holds a DIExpression and keeps track of how many operands have been consumed so far.
Definition at line 3889 of file DebugInfoMetadata.h.
◆ DIExpressionCursor() [2/3]
| llvm::DIExpressionCursor::DIExpressionCursor ( ArrayRef< uint64_t > Expr) | inline |
|---|
◆ DIExpressionCursor() [3/3]
◆ assignNewExpr()
| void llvm::DIExpressionCursor::assignNewExpr ( ArrayRef< uint64_t > Expr) | inline |
|---|
◆ begin()
◆ consume()
| void llvm::DIExpressionCursor::consume ( unsigned N) | inline |
|---|
◆ end()
◆ getFragmentInfo()
◆ operator bool()
| llvm::DIExpressionCursor::operator bool ( ) const | inline |
|---|
Determine whether there are any operations left in this expression.
Definition at line 3954 of file DebugInfoMetadata.h.
◆ peek()
◆ peekNext()
◆ peekNextN()
◆ take()
The documentation for this class was generated from the following file:
- include/llvm/IR/DebugInfoMetadata.h