LLVM API Documentation
#include <Instructions.h>


Public Member Functions | |
| CaseIt (SwitchInst *SI, unsigned CaseNum) | |
| CaseIt (const ParentTy &Src) | |
| void | setValue (ConstantInt *V) |
| void | setValueEx (IntegersSubset &V) |
| Sets the new value for current case. | |
| void | setSuccessor (BasicBlock *S) |
| Sets the new successor for current case. | |
Protected Member Functions | |
| CaseIt (SwitchInst *SI, unsigned CaseNum, SubsetsIt SubsetIt) | |
| void | updateCaseValueOperand (IntegersSubset &V) |
Friends | |
| class | SwitchInst |
Definition at line 2781 of file Instructions.h.
| llvm::SwitchInst::CaseIt::CaseIt | ( | SwitchInst * | SI, |
| unsigned | CaseNum, | ||
| SubsetsIt | SubsetIt | ||
| ) | [inline, protected] |
Definition at line 2788 of file Instructions.h.
| llvm::SwitchInst::CaseIt::CaseIt | ( | SwitchInst * | SI, |
| unsigned | CaseNum | ||
| ) | [inline] |
Definition at line 2797 of file Instructions.h.
| llvm::SwitchInst::CaseIt::CaseIt | ( | const ParentTy & | Src | ) | [inline] |
Definition at line 2799 of file Instructions.h.
| void llvm::SwitchInst::CaseIt::setSuccessor | ( | BasicBlock * | S | ) | [inline] |
Sets the new successor for current case.
Definition at line 2821 of file Instructions.h.
References llvm::SwitchInst::setSuccessor().
Referenced by llvm::SwitchInst::addCase().
| void llvm::SwitchInst::CaseIt::setValue | ( | ConstantInt * | V | ) | [inline] |
Sets the new value for current case.
Definition at line 2803 of file Instructions.h.
References llvm::IntegersSubsetMapping< SuccessorClass, IntegersSubsetTy, IntTy >::add(), llvm::IntItem::fromConstantInt(), and llvm::IntegersSubsetMapping< SuccessorClass, IntegersSubsetTy, IntTy >::getCase().
| void llvm::SwitchInst::CaseIt::setValueEx | ( | IntegersSubset & | V | ) | [inline] |
Sets the new value for current case.
Definition at line 2814 of file Instructions.h.
| void llvm::SwitchInst::CaseIt::updateCaseValueOperand | ( | IntegersSubset & | V | ) | [inline, protected] |
Definition at line 2791 of file Instructions.h.
References llvm::User::setOperand().
Referenced by llvm::SwitchInst::addCase().
friend class SwitchInst [friend] |
Initializes case iterator for given SwitchInst and for given case number.
Reimplemented from llvm::SwitchInst::CaseIteratorT< SwitchInst, ConstantInt, SubsetsIt, BasicBlock >.
Definition at line 2787 of file Instructions.h.