LLVM API Documentation
#include <Instructions.h>
Public Types | |
| typedef const unsigned * | idx_iterator |
Public Member Functions | |
| virtual ExtractValueInst * | clone (LLVMContext &Context) const |
| idx_iterator | idx_begin () const |
| idx_iterator | idx_end () const |
| Value * | getAggregateOperand () |
| const Value * | getAggregateOperand () const |
| unsigned | getNumIndices () const |
| bool | hasIndices () const |
Static Public Member Functions | |
| template<typename InputIterator> | |
| static ExtractValueInst * | Create (Value *Agg, InputIterator IdxBegin, InputIterator IdxEnd, const Twine &NameStr="", Instruction *InsertBefore=0) |
| template<typename InputIterator> | |
| static ExtractValueInst * | Create (Value *Agg, InputIterator IdxBegin, InputIterator IdxEnd, const Twine &NameStr, BasicBlock *InsertAtEnd) |
| static ExtractValueInst * | Create (Value *Agg, unsigned Idx, const Twine &NameStr="", Instruction *InsertBefore=0) |
| static ExtractValueInst * | Create (Value *Agg, unsigned Idx, const Twine &NameStr, BasicBlock *InsertAtEnd) |
| template<typename InputIterator> | |
| static const Type * | getIndexedType (const Type *Ptr, InputIterator IdxBegin, InputIterator IdxEnd) |
| static const Type * | getIndexedType (const Type *Ptr, unsigned Idx) |
| static unsigned | getAggregateOperandIndex () |
| static bool | classof (const ExtractValueInst *) |
| 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 1442 of file Instructions.h.
| typedef const unsigned* llvm::ExtractValueInst::idx_iterator |
Definition at line 1565 of file Instructions.h.
| static ExtractValueInst* llvm::ExtractValueInst::Create | ( | Value * | Agg, | |
| InputIterator | IdxBegin, | |||
| InputIterator | IdxEnd, | |||
| const Twine & | NameStr = "", |
|||
| Instruction * | InsertBefore = 0 | |||
| ) | [inline, static] |
Definition at line 1516 of file Instructions.h.
Referenced by llvm::IRBuilder< true, llvm::TargetFolder >::CreateExtractValue(), and llvm::NoFolder::CreateExtractValue().
| static ExtractValueInst* llvm::ExtractValueInst::Create | ( | Value * | Agg, | |
| InputIterator | IdxBegin, | |||
| InputIterator | IdxEnd, | |||
| const Twine & | NameStr, | |||
| BasicBlock * | InsertAtEnd | |||
| ) | [inline, static] |
Definition at line 1524 of file Instructions.h.
| static ExtractValueInst* llvm::ExtractValueInst::Create | ( | Value * | Agg, | |
| unsigned | Idx, | |||
| const Twine & | NameStr = "", |
|||
| Instruction * | InsertBefore = 0 | |||
| ) | [inline, static] |
Constructors - These two creators are convenience methods because one index extractvalue instructions are much more common than those with more than one.
Definition at line 1534 of file Instructions.h.
| static ExtractValueInst* llvm::ExtractValueInst::Create | ( | Value * | Agg, | |
| unsigned | Idx, | |||
| const Twine & | NameStr, | |||
| BasicBlock * | InsertAtEnd | |||
| ) | [inline, static] |
Definition at line 1540 of file Instructions.h.
| ExtractValueInst * ExtractValueInst::clone | ( | LLVMContext & | Context | ) | 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::Instruction.
Definition at line 2888 of file Instructions.cpp.
References llvm::Value::SubclassOptionalData.
| static const Type* llvm::ExtractValueInst::getIndexedType | ( | const Type * | Ptr, | |
| InputIterator | IdxBegin, | |||
| InputIterator | IdxEnd | |||
| ) | [inline, static] |
getIndexedType - Returns the type of the element that would be extracted with an extractvalue instruction with the specified parameters.
Null is returned if the indices are invalid for the specified pointer type.
Definition at line 1556 of file Instructions.h.
Definition at line 1422 of file Instructions.cpp.
| idx_iterator llvm::ExtractValueInst::idx_begin | ( | ) | const [inline] |
| idx_iterator llvm::ExtractValueInst::idx_end | ( | ) | const [inline] |
| Value* llvm::ExtractValueInst::getAggregateOperand | ( | ) | [inline] |
Definition at line 1569 of file Instructions.h.
| const Value* llvm::ExtractValueInst::getAggregateOperand | ( | ) | const [inline] |
Definition at line 1572 of file Instructions.h.
| static unsigned llvm::ExtractValueInst::getAggregateOperandIndex | ( | ) | [inline, static] |
Definition at line 1575 of file Instructions.h.
| unsigned llvm::ExtractValueInst::getNumIndices | ( | ) | const [inline] |
| bool llvm::ExtractValueInst::hasIndices | ( | ) | const [inline] |
Definition at line 1583 of file Instructions.h.
| static bool llvm::ExtractValueInst::classof | ( | const ExtractValueInst * | ) | [inline, static] |
| static bool llvm::ExtractValueInst::classof | ( | const Instruction * | ) | [inline, static] |
Methods for support type inquiry through isa, cast, and dyn_cast:.
Reimplemented from llvm::UnaryInstruction.
Definition at line 1589 of file Instructions.h.
References ExtractValue, and llvm::Instruction::getOpcode().