LLVM
8.0.1
|
Holds a DIExpression and keeps track of how many operands have been consumed so far. More...
#include "CodeGen/AsmPrinter/DwarfExpression.h"
Public Member Functions | |
DIExpressionCursor (const DIExpression *Expr) | |
DIExpressionCursor (ArrayRef< uint64_t > Expr) | |
DIExpressionCursor (const DIExpressionCursor &)=default | |
Optional< DIExpression::ExprOperand > | take () |
Consume one operation. More... | |
void | consume (unsigned N) |
Consume N operations. More... | |
Optional< DIExpression::ExprOperand > | peek () const |
Return the current operation. More... | |
Optional< DIExpression::ExprOperand > | peekNext () const |
Return the next operation. More... | |
operator bool () const | |
Determine whether there are any operations left in this expression. More... | |
DIExpression::expr_op_iterator | begin () const |
DIExpression::expr_op_iterator | end () const |
Optional< DIExpression::FragmentInfo > | getFragmentInfo () const |
Retrieve the fragment information, if any. More... | |
Holds a DIExpression and keeps track of how many operands have been consumed so far.
Definition at line 37 of file DwarfExpression.h.
|
inline |
Definition at line 41 of file DwarfExpression.h.
References assert(), llvm::DIExpression::expr_op_begin(), and llvm::DIExpression::expr_op_end().
Referenced by DIExpressionCursor().
|
inline |
Definition at line 50 of file DwarfExpression.h.
References DIExpressionCursor().
|
default |
|
inline |
Definition at line 87 of file DwarfExpression.h.
|
inline |
Consume N operations.
Definition at line 63 of file DwarfExpression.h.
Referenced by llvm::DwarfExpression::addMachineRegExpression().
|
inline |
Definition at line 88 of file DwarfExpression.h.
|
inline |
Retrieve the fragment information, if any.
Definition at line 91 of file DwarfExpression.h.
References llvm::DIExpression::getFragmentInfo().
Referenced by llvm::DwarfExpression::addMachineRegExpression().
|
inline |
Determine whether there are any operations left in this expression.
Definition at line 85 of file DwarfExpression.h.
|
inline |
Return the current operation.
Definition at line 66 of file DwarfExpression.h.
References llvm::None.
Referenced by llvm::DwarfExpression::addMachineRegExpression().
|
inline |
Return the next operation.
Definition at line 73 of file DwarfExpression.h.
References llvm::DIExpression::expr_op_iterator::getNext(), and llvm::None.
Referenced by llvm::DwarfExpression::addMachineRegExpression().
|
inline |
Consume one operation.
Definition at line 56 of file DwarfExpression.h.
References llvm::None.
Referenced by llvm::DwarfExpression::addMachineRegExpression(), and isMemoryLocation().