LLVM 20.0.0git
|
Iterator for Instruction
s in a `BasicBlock.
More...
#include "llvm/SandboxIR/SandboxIR.h"
Public Types | |
using | difference_type = std::ptrdiff_t |
using | value_type = Instruction |
using | pointer = value_type * |
using | reference = value_type & |
using | iterator_category = std::bidirectional_iterator_tag |
Public Member Functions | |
BBIterator () | |
BBIterator (llvm::BasicBlock *BB, llvm::BasicBlock::iterator It, Context *Ctx) | |
reference | operator* () const |
BBIterator & | operator++ () |
BBIterator | operator++ (int) |
BBIterator & | operator-- () |
BBIterator | operator-- (int) |
bool | operator== (const BBIterator &Other) const |
bool | operator!= (const BBIterator &Other) const |
pointer | get () const |
\Returns the SBInstruction that corresponds to this iterator, or null if the instruction is not found in the IR-to-SandboxIR tables. | |
Iterator for Instruction
s in a `BasicBlock.
\Returns an sandboxir::Instruction & when derereferenced.
Definition at line 514 of file SandboxIR.h.
using llvm::sandboxir::BBIterator::difference_type = std::ptrdiff_t |
Definition at line 516 of file SandboxIR.h.
using llvm::sandboxir::BBIterator::iterator_category = std::bidirectional_iterator_tag |
Definition at line 520 of file SandboxIR.h.
Definition at line 518 of file SandboxIR.h.
Definition at line 519 of file SandboxIR.h.
Definition at line 517 of file SandboxIR.h.
|
inline |
Definition at line 529 of file SandboxIR.h.
|
inline |
Definition at line 530 of file SandboxIR.h.
|
inline |
\Returns the SBInstruction that corresponds to this iterator, or null if the instruction is not found in the IR-to-SandboxIR tables.
Definition at line 552 of file SandboxIR.h.
|
inline |
Definition at line 549 of file SandboxIR.h.
References llvm::Other.
|
inline |
Definition at line 532 of file SandboxIR.h.
BBIterator & BBIterator::operator++ | ( | ) |
Definition at line 280 of file SandboxIR.cpp.
References assert(), llvm::BasicBlock::end(), llvm::sandboxir::Instruction::getNumOfIRInstrs(), and llvm::sandboxir::Context::getValue().
|
inline |
Definition at line 534 of file SandboxIR.h.
BBIterator & BBIterator::operator-- | ( | ) |
Definition at line 293 of file SandboxIR.cpp.
References assert(), llvm::BasicBlock::begin(), llvm::BasicBlock::end(), and llvm::sandboxir::Instruction::getNumOfIRInstrs().
|
inline |
Definition at line 540 of file SandboxIR.h.
|
inline |
Definition at line 545 of file SandboxIR.h.
References assert(), and llvm::Other.