LLVM API Documentation

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 (Instruction *InsertBefore=0)
 UnreachableInst (BasicBlock *InsertAtEnd)
virtual UnreachableInstclone () 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 2645 of file Instructions.h.


Constructor & Destructor Documentation

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

Definition at line 605 of file Instructions.cpp.

Referenced by clone().

UnreachableInst::UnreachableInst ( BasicBlock InsertAtEnd  )  [explicit]

Definition at line 608 of file Instructions.cpp.


Member Function Documentation

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

Reimplemented from llvm::User.

Definition at line 2649 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 2957 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 2657 of file Instructions.h.

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

Definition at line 2660 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 2661 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 2664 of file Instructions.h.


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



This web site is hosted by the Computer Science Department at the University of Illinois at Urbana-Champaign.