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 2692 of file Instructions.h.


Constructor & Destructor Documentation

Definition at line 2698 of file Instructions.h.

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

Definition at line 2699 of file Instructions.h.


Member Function Documentation

Sets the new successor for current case.

Definition at line 2708 of file Instructions.h.

References llvm::SwitchInst::setSuccessor().

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

Sets the new value for current case.

Definition at line 2702 of file Instructions.h.

References llvm::User::setOperand().

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


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