LLVM API Documentation

Public Member Functions | Protected Member Functions | Friends
llvm::SwitchInst::CaseIt Class Reference

#include <Instructions.h>

Inheritance diagram for llvm::SwitchInst::CaseIt:
Inheritance graph
[legend]
Collaboration diagram for llvm::SwitchInst::CaseIt:
Collaboration graph
[legend]

List of all members.

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

Detailed Description

Definition at line 2781 of file Instructions.h.


Constructor & Destructor Documentation

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.


Member Function Documentation

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]
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().


Friends And Related Function Documentation

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.


The documentation for this class was generated from the following file: