LLVM API Documentation
#include <Instructions.h>
Public Member Functions | |
void * | operator new (size_t s) |
UnreachableInst (LLVMContext &C, Instruction *InsertBefore=nullptr) | |
UnreachableInst (LLVMContext &C, BasicBlock *InsertAtEnd) | |
unsigned | getNumSuccessors () const |
Return the number of successors that this terminator has. | |
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 | |
UnreachableInst * | clone_impl () const override |
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 3298 of file Instructions.h.
UnreachableInst::UnreachableInst | ( | LLVMContext & | C, |
Instruction * | InsertBefore = nullptr |
||
) | [explicit] |
Definition at line 700 of file Instructions.cpp.
Referenced by clone_impl().
UnreachableInst::UnreachableInst | ( | LLVMContext & | C, |
BasicBlock * | InsertAtEnd | ||
) | [explicit] |
Definition at line 705 of file Instructions.cpp.
static bool llvm::UnreachableInst::classof | ( | const Instruction * | I | ) | [inline, static] |
Reimplemented from llvm::TerminatorInst.
Definition at line 3314 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 3317 of file Instructions.h.
UnreachableInst * UnreachableInst::clone_impl | ( | ) | const [override, protected, virtual] |
Implements llvm::TerminatorInst.
Definition at line 3786 of file Instructions.cpp.
References llvm::Value::getContext(), and UnreachableInst().
unsigned llvm::UnreachableInst::getNumSuccessors | ( | ) | const [inline] |
Return the number of successors that this terminator has.
Reimplemented from llvm::TerminatorInst.
Definition at line 3311 of file Instructions.h.
void* llvm::UnreachableInst::operator new | ( | size_t | s | ) | [inline] |
Reimplemented from llvm::User.
Definition at line 3305 of file Instructions.h.