|
LLVM
4.0.0
|
#include <Instructions.h>
Public Types | |
| typedef CaseIteratorT < SwitchInstTy, ConstantIntTy, BasicBlockTy > | Self |
Public Member Functions | |
| CaseIteratorT (SwitchInstTy *SI, unsigned CaseNum) | |
| Initializes case iterator for given SwitchInst and for given case number. More... | |
| ConstantIntTy * | getCaseValue () |
| Resolves case value for current case. More... | |
| BasicBlockTy * | getCaseSuccessor () |
| Resolves successor for current case. More... | |
| unsigned | getCaseIndex () const |
| Returns number of current case. More... | |
| unsigned | getSuccessorIndex () const |
| Returns TerminatorInst's successor index for current case successor. More... | |
| Self | operator++ () |
| Self | operator++ (int) |
| Self | operator-- () |
| Self | operator-- (int) |
| bool | operator== (const Self &RHS) const |
| bool | operator!= (const Self &RHS) const |
| Self & | operator* () |
Static Public Member Functions | |
| static Self | fromSuccessorIndex (SwitchInstTy *SI, unsigned SuccessorIndex) |
| Initializes case iterator for given SwitchInst and for given TerminatorInst's successor index. More... | |
Protected Attributes | |
| SwitchInstTy * | SI |
| unsigned | Index |
Definition at line 3088 of file Instructions.h.
| typedef CaseIteratorT<SwitchInstTy, ConstantIntTy, BasicBlockTy> llvm::SwitchInst::CaseIteratorT< SwitchInstTy, ConstantIntTy, BasicBlockTy >::Self |
Definition at line 3094 of file Instructions.h.
|
inline |
Initializes case iterator for given SwitchInst and for given case number.
Definition at line 3098 of file Instructions.h.
|
inlinestatic |
Initializes case iterator for given SwitchInst and for given TerminatorInst's successor index.
Definition at line 3105 of file Instructions.h.
Referenced by llvm::DOTGraphTraits< const Function * >::getEdgeSourceLabel().
|
inline |
Returns number of current case.
Definition at line 3128 of file Instructions.h.
Referenced by EliminateDeadSwitchCases(), handleSwitchExpect(), and llvm::SwitchInst::removeCase().
|
inline |
Resolves successor for current case.
Definition at line 3120 of file Instructions.h.
Referenced by llvm::ConstantFoldTerminator(), EliminateDeadSwitchCases(), and SimplifySwitchOnSelect().
|
inline |
Resolves case value for current case.
Definition at line 3114 of file Instructions.h.
Referenced by llvm::ConstantFoldTerminator(), and llvm::DOTGraphTraits< const Function * >::getEdgeSourceLabel().
|
inline |
Returns TerminatorInst's successor index for current case successor.
Definition at line 3131 of file Instructions.h.
Referenced by SimplifySwitchOnSelect().
|
inline |
Definition at line 3167 of file Instructions.h.
|
inline |
Definition at line 3171 of file Instructions.h.
|
inline |
Definition at line 3137 of file Instructions.h.
|
inline |
Definition at line 3144 of file Instructions.h.
|
inline |
Definition at line 3149 of file Instructions.h.
|
inline |
Definition at line 3158 of file Instructions.h.
|
inline |
Definition at line 3163 of file Instructions.h.
|
protected |
Definition at line 3091 of file Instructions.h.
Referenced by llvm::SwitchInst::CaseIteratorT< SwitchInst, ConstantInt, BasicBlock >::operator!=(), and llvm::SwitchInst::CaseIteratorT< SwitchInst, ConstantInt, BasicBlock >::operator==().
|
protected |
Definition at line 3090 of file Instructions.h.
Referenced by llvm::SwitchInst::CaseIteratorT< SwitchInst, ConstantInt, BasicBlock >::operator!=(), and llvm::SwitchInst::CaseIteratorT< SwitchInst, ConstantInt, BasicBlock >::operator==().
1.8.6