LLVM API Documentation

llvm::UnreachableInst Class Reference

#include <Instructions.h>

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

List of all members.

Public Member Functions

void * operator new (size_t s)
 UnreachableInst (Instruction *InsertBefore=0)
 UnreachableInst (BasicBlock *InsertAtEnd)
virtual UnreachableInst * clone () const
unsigned getNumSuccessors () const

Static Public Member Functions

static bool classof (const UnreachableInst *)
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

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


Constructor & Destructor Documentation

UnreachableInst::UnreachableInst ( Instruction *  InsertBefore = 0  )  [explicit]

Definition at line 579 of file Instructions.cpp.

Referenced by clone().

UnreachableInst::UnreachableInst ( BasicBlock *  InsertAtEnd  )  [explicit]

Definition at line 582 of file Instructions.cpp.


Member Function Documentation

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

Reimplemented from llvm::User.

Definition at line 2664 of file Instructions.h.

UnreachableInst * UnreachableInst::clone (  )  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 2931 of file Instructions.cpp.

References UnreachableInst().

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

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

Reimplemented from llvm::TerminatorInst.

Definition at line 2672 of file Instructions.h.

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

Definition at line 2675 of file Instructions.h.

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

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

Reimplemented from llvm::TerminatorInst.

Definition at line 2676 of file Instructions.h.

References llvm::Instruction::getOpcode().

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

Reimplemented from llvm::TerminatorInst.

Definition at line 2679 of file Instructions.h.


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