LLVM API Documentation

Public Member Functions
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 (const ParentTy &Src)
 CaseIt (SwitchInst *SI, unsigned CaseNum)
void setValue (ConstantInt *V)
 Sets the new value for current case.
void setSuccessor (BasicBlock *S)
 Sets the new successor for current case.

Detailed Description

Definition at line 2678 of file Instructions.h.


Constructor & Destructor Documentation

Definition at line 2684 of file Instructions.h.

llvm::SwitchInst::CaseIt::CaseIt ( SwitchInst SI,
unsigned  CaseNum 
) [inline]

Definition at line 2685 of file Instructions.h.


Member Function Documentation

Sets the new successor for current case.

Definition at line 2694 of file Instructions.h.

References llvm::SwitchInst::setSuccessor().

Referenced by llvm::SwitchInst::addCase().

Sets the new value for current case.

Definition at line 2688 of file Instructions.h.

References llvm::User::setOperand().

Referenced by llvm::SwitchInst::addCase().


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