LLVM API Documentation

Main Page | Namespace List | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Namespace Members | Class Members | File Members | Related Pages

llvm::UnwindInst Class Reference

#include <Instructions.h>

Inheritance diagram for llvm::UnwindInst:

Inheritance graph
[legend]
Collaboration diagram for llvm::UnwindInst:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 UnwindInst (Instruction *InsertBefore=0)
 UnwindInst (BasicBlock *InsertAtEnd)
virtual UnwindInstclone () const
 Terminators must implement the methods required by Instruction...
virtual const BasicBlockgetSuccessor (unsigned idx) const
virtual void setSuccessor (unsigned idx, BasicBlock *NewSucc)
 Set a successor at a given index.
virtual unsigned getNumSuccessors () const

Static Public Member Functions

static bool classof (const UnwindInst *)
static bool classof (const Instruction *I)
 Methods for support type inquiry through isa, cast, and dyn_cast:.
static bool classof (const Value *V)

Detailed Description

UnwindInst - Immediately exit the current function, unwinding the stack until an invoke instruction is found.

Definition at line 1159 of file Instructions.h.


Constructor & Destructor Documentation

llvm::UnwindInst::UnwindInst Instruction InsertBefore = 0  )  [inline]
 

Definition at line 1161 of file Instructions.h.

Referenced by clone().

llvm::UnwindInst::UnwindInst BasicBlock InsertAtEnd  )  [inline]
 

Definition at line 1164 of file Instructions.h.


Member Function Documentation

static bool llvm::UnwindInst::classof const Value V  )  [inline, static]
 

Reimplemented from llvm::TerminatorInst.

Definition at line 1183 of file Instructions.h.

References classof().

static bool llvm::UnwindInst::classof const Instruction I  )  [inline, static]
 

Methods for support type inquiry through isa, cast, and dyn_cast:.

Reimplemented from llvm::TerminatorInst.

Definition at line 1180 of file Instructions.h.

References llvm::Instruction::getOpcode().

static bool llvm::UnwindInst::classof const UnwindInst  )  [inline, static]
 

Definition at line 1179 of file Instructions.h.

Referenced by classof().

UnwindInst * UnwindInst::clone  )  const [virtual]
 

Terminators must implement the methods required by Instruction...

Implements llvm::TerminatorInst.

Definition at line 821 of file Instructions.cpp.

References UnwindInst().

virtual unsigned llvm::UnwindInst::getNumSuccessors  )  const [inline, virtual]
 

Implements llvm::TerminatorInst.

Definition at line 1176 of file Instructions.h.

virtual const BasicBlock* llvm::UnwindInst::getSuccessor unsigned  idx  )  const [inline, virtual]
 

Additionally, they must provide a method to get at the successors of this terminator instruction. 'idx' may not be >= the number of successors returned by getNumSuccessors()!

Implements llvm::TerminatorInst.

Definition at line 1170 of file Instructions.h.

References abort().

void UnwindInst::setSuccessor unsigned  idx,
BasicBlock NewSucc
[virtual]
 

Set a successor at a given index.

Implements llvm::TerminatorInst.

Definition at line 226 of file Instructions.cpp.


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