LLVM: llvm::SwitchInst::CaseHandleImpl< SwitchInstT, ConstantIntT, BasicBlockT (original) (raw)
A handle to a particular switch case. More...
#include "[llvm/IR/Instructions.h](Instructions%5F8h%5Fsource.html)"
| Public Member Functions | |
|---|---|
| ConstantIntT * | getCaseValue () const |
| Resolves case value for current case. | |
| BasicBlockT * | getCaseSuccessor () const |
| Resolves successor for current case. | |
| unsigned | getCaseIndex () const |
| Returns number of current case. | |
| unsigned | getSuccessorIndex () const |
| Returns successor index for current case successor. | |
| bool | operator== (const CaseHandleImpl &RHS) const |
| Protected Types | |
|---|---|
| using | SwitchInstType = SwitchInstT |
| Protected Member Functions |
|---|
template<typename SwitchInstT, typename ConstantIntT, typename BasicBlockT>
class llvm::SwitchInst::CaseHandleImpl< SwitchInstT, ConstantIntT, BasicBlockT >
A handle to a particular switch case.
It exposes a convenient interface to both the case value and the successor block.
We define this as a template and instantiate it to form both a const and non-const handle.
Definition at line 3240 of file Instructions.h.
◆ SwitchInstType
template<typename SwitchInstT, typename ConstantIntT, typename BasicBlockT>
template<typename SwitchInstT, typename ConstantIntT, typename BasicBlockT>
◆ CaseHandleImpl() [2/2]
template<typename SwitchInstT, typename ConstantIntT, typename BasicBlockT>
◆ getCaseIndex()
template<typename SwitchInstT, typename ConstantIntT, typename BasicBlockT>
◆ getCaseSuccessor()
template<typename SwitchInstT, typename ConstantIntT, typename BasicBlockT>
◆ getCaseValue()
template<typename SwitchInstT, typename ConstantIntT, typename BasicBlockT>
◆ getSuccessorIndex()
template<typename SwitchInstT, typename ConstantIntT, typename BasicBlockT>
◆ operator==()
template<typename SwitchInstT, typename ConstantIntT, typename BasicBlockT>
◆ SwitchInst::CaseIteratorImpl< CaseHandleImpl< SwitchInstT, ConstantIntT, BasicBlockT > >
template<typename SwitchInstT, typename ConstantIntT, typename BasicBlockT>
◆ Index
template<typename SwitchInstT, typename ConstantIntT, typename BasicBlockT>
◆ SI
template<typename SwitchInstT, typename ConstantIntT, typename BasicBlockT>
The documentation for this class was generated from the following file:
- include/llvm/IR/Instructions.h