|
LLVM 23.0.0git
|
Both UncondBrInst and CondBrInst inherit from this to avoid duplication of the successor iterators and successors(). More...
#include "llvm/SandboxIR/Instruction.h"
Protected Types | |
| template<typename LLVMBrTy> | |
| using | sb_succ_op_iterator |
| template<typename LLVMBrTy> | |
| using | const_sb_succ_op_iterator |
Protected Member Functions | |
| template<typename LLVMBrTy> | |
| iterator_range< sb_succ_op_iterator< LLVMBrTy > > | successors (llvm::Value *Val, Context &Ctx) |
| template<typename LLVMBrTy> | |
| iterator_range< const_sb_succ_op_iterator< LLVMBrTy > > | successors (llvm::Value *Val, Context &Ctx) const |
Both UncondBrInst and CondBrInst inherit from this to avoid duplication of the successor iterators and successors().
Does not hold any state.
Definition at line 1023 of file Instruction.h.
|
protected |
Definition at line 1055 of file Instruction.h.
|
protected |
Definition at line 1039 of file Instruction.h.
|
inlineprotected |
Definition at line 1042 of file Instruction.h.
References llvm::iterator_range< IteratorT >::begin(), llvm::cast(), llvm::iterator_range< IteratorT >::end(), llvm::make_range(), and llvm::map_iterator().
Referenced by successors(), llvm::sandboxir::CondBrInst::successors(), llvm::sandboxir::CondBrInst::successors(), llvm::sandboxir::UncondBrInst::successors(), and llvm::sandboxir::UncondBrInst::successors().
|
inlineprotected |
Definition at line 1060 of file Instruction.h.
References llvm::iterator_range< IteratorT >::begin(), llvm::cast(), llvm::iterator_range< IteratorT >::end(), llvm::make_range(), llvm::map_iterator(), and successors().