LLVM API Documentation
#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... | |
![]() | |
CaseIteratorT (SwitchInst *SI, unsigned CaseNum) | |
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 |
Additional Inherited Members | |
![]() | |
typedef CaseIteratorT < SwitchInst, ConstantInt, BasicBlock > | Self |
![]() | |
static Self | fromSuccessorIndex (SwitchInst *SI, unsigned SuccessorIndex) |
![]() | |
SwitchInst * | SI |
unsigned | Index |
Definition at line 2574 of file Instructions.h.
|
inline |
Definition at line 2580 of file Instructions.h.
|
inline |
Definition at line 2581 of file Instructions.h.
|
inline |
Sets the new successor for current case.
Definition at line 2590 of file Instructions.h.
References llvm::SwitchInst::setSuccessor().
Referenced by llvm::SwitchInst::addCase().
|
inline |
Sets the new value for current case.
Definition at line 2584 of file Instructions.h.
References llvm::User::setOperand().
Referenced by llvm::SwitchInst::addCase().