| 
    LLVM 22.0.0git
    
   | 
 
Holds a DIExpression and keeps track of how many operands have been consumed so far. More...
#include "llvm/IR/DebugInfoMetadata.h"
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 3854 of file DebugInfoMetadata.h.
      
  | 
  inline | 
Definition at line 3858 of file DebugInfoMetadata.h.
References assert(), llvm::DIExpression::expr_op_begin(), and llvm::DIExpression::expr_op_end().
Referenced by DIExpressionCursor().
Definition at line 3867 of file DebugInfoMetadata.h.
      
  | 
  default | 
References DIExpressionCursor().
Definition at line 3913 of file DebugInfoMetadata.h.
References llvm::ArrayRef< T >::begin(), and llvm::ArrayRef< T >::end().
      
  | 
  inline | 
Definition at line 3921 of file DebugInfoMetadata.h.
Referenced by DIExpressionCursor().
      
  | 
  inline | 
Consume N operations.
Definition at line 3880 of file DebugInfoMetadata.h.
References N.
Referenced by llvm::DwarfExpression::addMachineRegExpression().
      
  | 
  inline | 
Definition at line 3922 of file DebugInfoMetadata.h.
Referenced by DIExpressionCursor().
      
  | 
  inline | 
Retrieve the fragment information, if any.
Definition at line 3925 of file DebugInfoMetadata.h.
References llvm::DIExpression::getFragmentInfo().
Referenced by llvm::DwarfExpression::addMachineRegExpression().
      
  | 
  inline | 
Determine whether there are any operations left in this expression.
Definition at line 3919 of file DebugInfoMetadata.h.
      
  | 
  inline | 
Return the current operation.
Definition at line 3883 of file DebugInfoMetadata.h.
Referenced by llvm::DwarfExpression::addMachineRegExpression().
      
  | 
  inline | 
Return the next operation.
Definition at line 3890 of file DebugInfoMetadata.h.
References llvm::Next.
Referenced by llvm::DwarfExpression::addMachineRegExpression().
      
  | 
  inline | 
Definition at line 3901 of file DebugInfoMetadata.h.
References llvm::DIExpression::expr_op_iterator::getNext(), I, and N.
      
  | 
  inline | 
Consume one operation.
Definition at line 3873 of file DebugInfoMetadata.h.
Referenced by llvm::DwarfExpression::addMachineRegExpression(), llvm::DwarfExpression::beginEntryValueExpression(), and isMemoryLocation().