|
LLVM
4.0.0
|
#include <Instructions.h>
Public Member Functions | |
| CaseIt (const ParentTy &Src) | |
| CaseIt (SwitchInst *SI, unsigned CaseNum) | |
| void | setValue (ConstantInt *V) |
| Sets the new value for current case. More... | |
| void | setSuccessor (BasicBlock *S) |
| Sets the new successor for current case. More... | |
Public Member Functions inherited from llvm::SwitchInst::CaseIteratorT< SwitchInst, ConstantInt, BasicBlock > | |
| CaseIteratorT (SwitchInst *SI, unsigned CaseNum) | |
| Initializes case iterator for given SwitchInst and for given case number. More... | |
| ConstantInt * | getCaseValue () |
| Resolves case value for current case. More... | |
| BasicBlock * | 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* () |
Additional Inherited Members | |
Public Types inherited from llvm::SwitchInst::CaseIteratorT< SwitchInst, ConstantInt, BasicBlock > | |
| typedef CaseIteratorT < SwitchInst, ConstantInt, BasicBlock > | Self |
Static Public Member Functions inherited from llvm::SwitchInst::CaseIteratorT< SwitchInst, ConstantInt, BasicBlock > | |
| static Self | fromSuccessorIndex (SwitchInst *SI, unsigned SuccessorIndex) |
| Initializes case iterator for given SwitchInst and for given TerminatorInst's successor index. More... | |
Protected Attributes inherited from llvm::SwitchInst::CaseIteratorT< SwitchInst, ConstantInt, BasicBlock > | |
| SwitchInst * | SI |
| unsigned | Index |
Definition at line 3179 of file Instructions.h.
Definition at line 3183 of file Instructions.h.
|
inline |
Definition at line 3184 of file Instructions.h.
|
inline |
Sets the new successor for current case.
Definition at line 3193 of file Instructions.h.
References llvm::SwitchInst::setSuccessor().
Referenced by llvm::SwitchInst::addCase().
|
inline |
Sets the new value for current case.
Definition at line 3187 of file Instructions.h.
References assert(), and llvm::User::setOperand().
Referenced by llvm::SwitchInst::addCase().
1.8.6