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 |
| Value * | getOperand (unsigned i) const |
| void | setOperand (unsigned i, Value *Val) |
| Value * | getReturnValue () const |
| 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 1026 of file Instructions.h.
| llvm::ReturnInst::ReturnInst | ( | Value * | retVal = 0, |
|
| Instruction * | InsertBefore = 0 | |||
| ) | [inline] |
| llvm::ReturnInst::ReturnInst | ( | Value * | retVal, | |
| BasicBlock * | InsertAtEnd | |||
| ) | [inline] |
| llvm::ReturnInst::ReturnInst | ( | BasicBlock * | InsertAtEnd | ) | [inline] |
Definition at line 1056 of file Instructions.h.
| ReturnInst * ReturnInst::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 1337 of file Instructions.cpp.
| Value* llvm::ReturnInst::getOperand | ( | unsigned | i | ) | const [inline] |
Reimplemented from llvm::User.
Definition at line 1063 of file Instructions.h.
References llvm::UnaryInstruction::getNumOperands().
Referenced by llvm::SelectionDAGLowering::visitUserOp2().
| void llvm::ReturnInst::setOperand | ( | unsigned | i, | |
| Value * | Val | |||
| ) | [inline] |
Reimplemented from llvm::User.
Definition at line 1067 of file Instructions.h.
References llvm::UnaryInstruction::getNumOperands(), and Val.
| Value* llvm::ReturnInst::getReturnValue | ( | ) | const [inline] |
Definition at line 1072 of file Instructions.h.
Referenced by InsertCodeToShowFunctionExit(), and llvm::Interpreter::visitReturnInst().
| unsigned llvm::ReturnInst::getNumSuccessors | ( | ) | const [inline] |
getNumSuccessors - Return the number of successors that this terminator has.
Reimplemented from llvm::TerminatorInst.
Definition at line 1074 of file Instructions.h.
| static bool llvm::ReturnInst::classof | ( | const ReturnInst * | ) | [inline, static] |
Definition at line 1077 of file Instructions.h.
| static bool llvm::ReturnInst::classof | ( | const Instruction * | I | ) | [inline, static] |
Methods for support type inquiry through isa, cast, and dyn_cast:.
Reimplemented from llvm::TerminatorInst.
Definition at line 1078 of file Instructions.h.
References llvm::Instruction::getOpcode().
| static bool llvm::ReturnInst::classof | ( | const Value * | V | ) | [inline, static] |
Reimplemented from llvm::TerminatorInst.
Definition at line 1081 of file Instructions.h.
References llvm::CastInst::classof(), and V.