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) | |
| ~InvokeInst () | |
| virtual InvokeInst * | clone () const |
| bool | mayWriteToMemory () const |
| unsigned | getCallingConv () const |
| void | setCallingConv (unsigned CC) |
| Function * | getCalledFunction () const |
| Value * | getCalledValue () const |
| BasicBlock * | getNormalDest () const |
| BasicBlock * | getUnwindDest () const |
| void | setNormalDest (BasicBlock *B) |
| void | setUnwindDest (BasicBlock *B) |
| BasicBlock * | getSuccessor (unsigned i) const |
| void | setSuccessor (unsigned idx, BasicBlock *NewSucc) |
| 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 1339 of file Instructions.h.
| InvokeInst::InvokeInst | ( | Value * | Fn, | |
| BasicBlock * | IfNormal, | |||
| BasicBlock * | IfException, | |||
| const std::vector< Value * > & | Params, | |||
| const std::string & | Name = "", |
|||
| Instruction * | InsertBefore = 0 | |||
| ) |
Definition at line 373 of file Instructions.cpp.
| InvokeInst::InvokeInst | ( | Value * | Fn, | |
| BasicBlock * | IfNormal, | |||
| BasicBlock * | IfException, | |||
| const std::vector< Value * > & | Params, | |||
| const std::string & | Name, | |||
| BasicBlock * | InsertAtEnd | |||
| ) |
Definition at line 383 of file Instructions.cpp.
| InvokeInst::~InvokeInst | ( | ) |
| InvokeInst * InvokeInst::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 1340 of file Instructions.cpp.
| bool llvm::InvokeInst::mayWriteToMemory | ( | ) | const [inline, virtual] |
mayWriteToMemory - Return true if this instruction may modify memory.
Reimplemented from llvm::Instruction.
Definition at line 1354 of file Instructions.h.
| unsigned llvm::InvokeInst::getCallingConv | ( | ) | const [inline] |
getCallingConv/setCallingConv - Get or set the calling convention of this function call.
Definition at line 1358 of file Instructions.h.
References llvm::Value::SubclassData.
| void llvm::InvokeInst::setCallingConv | ( | unsigned | CC | ) | [inline] |
| Function* llvm::InvokeInst::getCalledFunction | ( | ) | const [inline] |
getCalledFunction - Return the function called, or null if this is an indirect function invocation.
Definition at line 1366 of file Instructions.h.
References llvm::UnaryInstruction::getOperand().
| Value* llvm::InvokeInst::getCalledValue | ( | ) | const [inline] |
| BasicBlock* llvm::InvokeInst::getNormalDest | ( | ) | const [inline] |
| BasicBlock* llvm::InvokeInst::getUnwindDest | ( | ) | const [inline] |
| void llvm::InvokeInst::setNormalDest | ( | BasicBlock * | B | ) | [inline] |
Definition at line 1380 of file Instructions.h.
References B, and llvm::UnaryInstruction::setOperand().
| void llvm::InvokeInst::setUnwindDest | ( | BasicBlock * | B | ) | [inline] |
Definition at line 1384 of file Instructions.h.
References B, and llvm::UnaryInstruction::setOperand().
| BasicBlock* llvm::InvokeInst::getSuccessor | ( | unsigned | i | ) | const [inline] |
getSuccessor - Return the specified successor.
Reimplemented from llvm::TerminatorInst.
Definition at line 1388 of file Instructions.h.
| void llvm::InvokeInst::setSuccessor | ( | unsigned | idx, | |
| BasicBlock * | NewSucc | |||
| ) | [inline] |
setSuccessor - Update the specified successor to point at the provided block.
Reimplemented from llvm::TerminatorInst.
Definition at line 1393 of file Instructions.h.
References llvm::UnaryInstruction::setOperand().
| unsigned llvm::InvokeInst::getNumSuccessors | ( | ) | const [inline] |
getNumSuccessors - Return the number of successors that this terminator has.
Reimplemented from llvm::TerminatorInst.
Definition at line 1398 of file Instructions.h.
| static bool llvm::InvokeInst::classof | ( | const InvokeInst * | ) | [inline, static] |
Definition at line 1401 of file Instructions.h.
| static bool llvm::InvokeInst::classof | ( | const Instruction * | I | ) | [inline, static] |
Methods for support type inquiry through isa, cast, and dyn_cast:.
Reimplemented from llvm::TerminatorInst.
Definition at line 1402 of file Instructions.h.
References llvm::Instruction::getOpcode().
| static bool llvm::InvokeInst::classof | ( | const Value * | V | ) | [inline, static] |
Reimplemented from llvm::TerminatorInst.
Definition at line 1405 of file Instructions.h.
References llvm::CastInst::classof(), and V.