LLVM API Documentation
#include <Instructions.h>
Inheritance diagram for llvm::ReturnInst:
Public Member Functions | |
ReturnInst (Value *RetVal=0, Instruction *InsertBefore=0) | |
ReturnInst (Value *RetVal, BasicBlock *InsertAtEnd) | |
ReturnInst (BasicBlock *InsertAtEnd) | |
virtual ReturnInst * | clone () const |
Terminators must implement the methods required by Instruction... | |
const Value * | getReturnValue () const |
Value * | getReturnValue () |
virtual const BasicBlock * | getSuccessor (unsigned idx) const |
virtual void | setSuccessor (unsigned idx, BasicBlock *NewSucc) |
Set a successor at a given index. | |
virtual unsigned | getNumSuccessors () const |
Static Public Member Functions | |
static bool | classof (const ReturnInst *) |
static bool | classof (const Instruction *I) |
Methods for support type inquiry through isa, cast, and dyn_cast:. | |
static bool | classof (const Value *V) |
Definition at line 802 of file Instructions.h.
|
Definition at line 825 of file Instructions.h. |
|
Definition at line 829 of file Instructions.h. |
|
Definition at line 833 of file Instructions.h. |
|
Reimplemented from llvm::TerminatorInst. Definition at line 859 of file Instructions.h. References classof(). |
|
Methods for support type inquiry through isa, cast, and dyn_cast:.
Reimplemented from llvm::TerminatorInst. Definition at line 856 of file Instructions.h. References llvm::Instruction::getOpcode(), and llvm::ISD::Ret. |
|
Definition at line 855 of file Instructions.h. Referenced by classof(). |
|
Terminators must implement the methods required by Instruction...
Implements llvm::TerminatorInst. Definition at line 817 of file Instructions.cpp. |
|
Implements llvm::TerminatorInst. Definition at line 852 of file Instructions.h. |
|
Definition at line 842 of file Instructions.h. References llvm::User::Operands. |
|
Definition at line 839 of file Instructions.h. References llvm::User::Operands. Referenced by llvm::InlineFunction(), InsertCodeToShowFunctionExit(), llvm::SparcV9RegInfo::suggestReg4RetValue(), and llvm::Interpreter::visitReturnInst(). |
|
Additionally, they must provide a method to get at the successors of this terminator instruction. 'idx' may not be >= the number of successors returned by getNumSuccessors()! Implements llvm::TerminatorInst. Definition at line 846 of file Instructions.h. References abort(). |
|
Set a successor at a given index.
Implements llvm::TerminatorInst. Definition at line 217 of file Instructions.cpp. |