LLVM API Documentation
#include <Instructions.h>
Inheritance diagram for llvm::InvokeInst:


Public Member Functions | |
| InvokeInst (Value *Fn, BasicBlock *IfNormal, BasicBlock *IfException, const std::vector< Value * > &Params, const std::string &Name="", Instruction *InsertBefore=0) | |
| InvokeInst (Value *Fn, BasicBlock *IfNormal, BasicBlock *IfException, const std::vector< Value * > &Params, const std::string &Name, BasicBlock *InsertAtEnd) | |
| virtual InvokeInst * | clone () const |
| Terminators must implement the methods required by Instruction... | |
| bool | mayWriteToMemory () const |
| Function * | getCalledFunction () const |
| const Value * | getCalledValue () const |
| Value * | getCalledValue () |
| const BasicBlock * | getNormalDest () const |
| BasicBlock * | getNormalDest () |
| const BasicBlock * | getUnwindDest () const |
| BasicBlock * | getUnwindDest () |
| void | setNormalDest (BasicBlock *B) |
| void | setUnwindDest (BasicBlock *B) |
| virtual const BasicBlock * | getSuccessor (unsigned i) const |
| BasicBlock * | getSuccessor (unsigned i) |
| 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 InvokeInst *) |
| 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 1075 of file Instructions.h.
|
||||||||||||||||||||||||||||
|
Definition at line 175 of file Instructions.cpp. References llvm::cl::init(). |
|
||||||||||||||||||||||||||||
|
Definition at line 185 of file Instructions.cpp. References llvm::cl::init(). |
|
|
Reimplemented from llvm::TerminatorInst. Definition at line 1145 of file Instructions.h. References classof(). |
|
|
Methods for support type inquiry through isa, cast, and dyn_cast:.
Reimplemented from llvm::TerminatorInst. Definition at line 1142 of file Instructions.h. References llvm::Instruction::getOpcode(). |
|
|
Definition at line 1141 of file Instructions.h. Referenced by classof(). |
|
|
Terminators must implement the methods required by Instruction...
Implements llvm::TerminatorInst. Definition at line 820 of file Instructions.cpp. |
|
|
getCalledFunction - Return the function called, or null if this is an indirect function invocation. Definition at line 1094 of file Instructions.h. References llvm::User::Operands. |
|
|
Definition at line 1100 of file Instructions.h. References llvm::User::Operands. |
|
|
Definition at line 1099 of file Instructions.h. References llvm::User::Operands. |
|
|
Definition at line 1106 of file Instructions.h. References llvm::User::Operands. |
|
|
Definition at line 1103 of file Instructions.h. References llvm::User::Operands. Referenced by getSuccessor(). |
|
|
Implements llvm::TerminatorInst. Definition at line 1138 of file Instructions.h. |
|
|
Reimplemented from llvm::TerminatorInst. Definition at line 1128 of file Instructions.h. References getNormalDest(), and getUnwindDest(). |
|
|
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 1124 of file Instructions.h. References getNormalDest(), and getUnwindDest(). |
|
|
Definition at line 1112 of file Instructions.h. References llvm::User::Operands. |
|
|
Definition at line 1109 of file Instructions.h. References llvm::User::Operands. Referenced by getSuccessor(). |
|
|
mayWriteToMemory - Return true if this instruction may modify memory. Reimplemented from llvm::Instruction. Definition at line 1089 of file Instructions.h. |
|
|
Definition at line 1116 of file Instructions.h. References llvm::User::Operands. |
|
||||||||||||
|
Set a successor at a given index.
Implements llvm::TerminatorInst. Definition at line 1133 of file Instructions.h. References llvm::User::Operands. |
|
|
Definition at line 1120 of file Instructions.h. References llvm::User::Operands. |