LLVM API Documentation

llvm::UnwindInst Class Reference

#include <Instructions.h>

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

List of all members.

Public Member Functions

void * operator new (size_t s)
 UnwindInst (LLVMContext &C, Instruction *InsertBefore=0)
 UnwindInst (LLVMContext &C, BasicBlock *InsertAtEnd)
virtual UnwindInst * clone (LLVMContext &Context) const
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 2552 of file Instructions.h.


Constructor & Destructor Documentation

UnwindInst::UnwindInst ( LLVMContext &  C,
Instruction *  InsertBefore = 0 
) [explicit]

Definition at line 558 of file Instructions.cpp.

Referenced by clone().

UnwindInst::UnwindInst ( LLVMContext &  C,
BasicBlock *  InsertAtEnd 
) [explicit]

Definition at line 562 of file Instructions.cpp.


Member Function Documentation

void* llvm::UnwindInst::operator new ( size_t  s  )  [inline]

Reimplemented from llvm::User.

Definition at line 2556 of file Instructions.h.

References operator new().

UnwindInst * UnwindInst::clone ( LLVMContext &  Context  )  const [virtual]

clone() - Create a copy of 'this' instruction that is identical in all ways except the following: The instruction has no parent The instruction has no name

Implements llvm::TerminatorInst.

Definition at line 3082 of file Instructions.cpp.

References llvm::Value::SubclassOptionalData, and UnwindInst().

unsigned llvm::UnwindInst::getNumSuccessors (  )  const [inline]

getNumSuccessors - Return the number of successors that this terminator has.

Reimplemented from llvm::TerminatorInst.

Definition at line 2564 of file Instructions.h.

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

Definition at line 2567 of file Instructions.h.

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

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

Reimplemented from llvm::TerminatorInst.

Definition at line 2568 of file Instructions.h.

References llvm::Instruction::getOpcode().

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

Reimplemented from llvm::TerminatorInst.

Definition at line 2571 of file Instructions.h.


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