class DIExpressionCursor

Declaration

class DIExpressionCursor { /* full declaration omitted */ };

Description

Holds a DIExpression and keeps track of how many operands have been consumed so far.

Declared at: llvm/lib/CodeGen/AsmPrinter/DwarfExpression.h:36

Method Overview

  • public DIExpressionCursor(const llvm::DIExpression * Expr)
  • public DIExpressionCursor(ArrayRef<uint64_t> Expr)
  • public DIExpressionCursor(const llvm::DIExpressionCursor &)
  • public DIExpression::expr_op_iterator begin() const
  • public void consume(unsigned int N)
  • public DIExpression::expr_op_iterator end() const
  • public Optional<DIExpression::FragmentInfo> getFragmentInfo() const
  • public bool operator bool() const
  • public Optional<DIExpression::ExprOperand> peek() const
  • public Optional<DIExpression::ExprOperand> peekNext() const
  • public Optional<DIExpression::ExprOperand> take()

Methods

DIExpressionCursor(const llvm::DIExpression* Expr)

Declared at: llvm/lib/CodeGen/AsmPrinter/DwarfExpression.h:40

Parameters

const llvm::DIExpression* Expr

DIExpressionCursor(ArrayRef<uint64_t> Expr)

Declared at: llvm/lib/CodeGen/AsmPrinter/DwarfExpression.h:49

Parameters

ArrayRef<uint64_t> Expr

DIExpressionCursor(
    const llvm::DIExpressionCursor&)

Declared at: llvm/lib/CodeGen/AsmPrinter/DwarfExpression.h:52

Parameters

const llvm::DIExpressionCursor&

DIExpression::expr_op_iterator begin() const

Declared at: llvm/lib/CodeGen/AsmPrinter/DwarfExpression.h:86

void consume(unsigned int N)

Description

Consume N operations.

Declared at: llvm/lib/CodeGen/AsmPrinter/DwarfExpression.h:62

Parameters

unsigned int N

DIExpression::expr_op_iterator end() const

Declared at: llvm/lib/CodeGen/AsmPrinter/DwarfExpression.h:87

Optional<DIExpression::FragmentInfo>
getFragmentInfo() const

Description

Retrieve the fragment information, if any.

Declared at: llvm/lib/CodeGen/AsmPrinter/DwarfExpression.h:90

bool operator bool() const

Description

Determine whether there are any operations left in this expression.

Declared at: llvm/lib/CodeGen/AsmPrinter/DwarfExpression.h:84

Optional<DIExpression::ExprOperand> peek() const

Description

Return the current operation.

Declared at: llvm/lib/CodeGen/AsmPrinter/DwarfExpression.h:65

Optional<DIExpression::ExprOperand> peekNext()
    const

Description

Return the next operation.

Declared at: llvm/lib/CodeGen/AsmPrinter/DwarfExpression.h:72

Optional<DIExpression::ExprOperand> take()

Description

Consume one operation.

Declared at: llvm/lib/CodeGen/AsmPrinter/DwarfExpression.h:55