LLVM API Documentation

Public Member Functions | Static Public Member Functions | Protected Member Functions
llvm::UnreachableInst Class Reference

#include <Instructions.h>

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

List of all members.

Public Member Functions

void * operator new (size_t s)
 UnreachableInst (LLVMContext &C, Instruction *InsertBefore=0)
 UnreachableInst (LLVMContext &C, BasicBlock *InsertAtEnd)
unsigned getNumSuccessors () const

Static Public Member Functions

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

Protected Member Functions

virtual UnreachableInstclone_impl () const

Detailed Description

UnreachableInst - This function has undefined behavior. In particular, the presence of this instruction indicates some higher level knowledge that the end of the block cannot be reached.

Definition at line 3235 of file Instructions.h.


Constructor & Destructor Documentation

UnreachableInst::UnreachableInst ( LLVMContext C,
Instruction InsertBefore = 0 
) [explicit]

Definition at line 699 of file Instructions.cpp.

Referenced by clone_impl().

UnreachableInst::UnreachableInst ( LLVMContext C,
BasicBlock InsertAtEnd 
) [explicit]

Definition at line 704 of file Instructions.cpp.


Member Function Documentation

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

Reimplemented from llvm::TerminatorInst.

Definition at line 3251 of file Instructions.h.

References llvm::Instruction::getOpcode().

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

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

Reimplemented from llvm::TerminatorInst.

Definition at line 3254 of file Instructions.h.

UnreachableInst * UnreachableInst::clone_impl ( ) const [protected, virtual]

Implements llvm::TerminatorInst.

Definition at line 3550 of file Instructions.cpp.

References llvm::Value::getContext(), and UnreachableInst().

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

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

Reimplemented from llvm::TerminatorInst.

Definition at line 3248 of file Instructions.h.

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

Reimplemented from llvm::User.

Definition at line 3242 of file Instructions.h.


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