LLVM API Documentation
#include <Instructions.h>
Public Types | |
| typedef const unsigned * | idx_iterator |
Public Member Functions | |
| void * | operator new (size_t s) |
| virtual InsertValueInst * | clone () const |
| DECLARE_TRANSPARENT_OPERAND_ACCESSORS (Value) | |
| Transparently provide more efficient getOperand methods. | |
| const PointerType * | getType () const |
| idx_iterator | idx_begin () const |
| idx_iterator | idx_end () const |
| Value * | getAggregateOperand () |
| const Value * | getAggregateOperand () const |
| Value * | getInsertedValueOperand () |
| const Value * | getInsertedValueOperand () const |
| unsigned | getNumIndices () const |
| bool | hasIndices () const |
Static Public Member Functions | |
| template<typename InputIterator> | |
| static InsertValueInst * | Create (Value *Agg, Value *Val, InputIterator IdxBegin, InputIterator IdxEnd, const std::string &NameStr="", Instruction *InsertBefore=0) |
| template<typename InputIterator> | |
| static InsertValueInst * | Create (Value *Agg, Value *Val, InputIterator IdxBegin, InputIterator IdxEnd, const std::string &NameStr, BasicBlock *InsertAtEnd) |
| static InsertValueInst * | Create (Value *Agg, Value *Val, unsigned Idx, const std::string &NameStr="", Instruction *InsertBefore=0) |
| static InsertValueInst * | Create (Value *Agg, Value *Val, unsigned Idx, const std::string &NameStr, BasicBlock *InsertAtEnd) |
| static unsigned | getAggregateOperandIndex () |
| static unsigned | getInsertedValueOperandIndex () |
| static bool | classof (const InsertValueInst *) |
| 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 1702 of file Instructions.h.
| typedef const unsigned* llvm::InsertValueInst::idx_iterator |
Definition at line 1799 of file Instructions.h.
| void* llvm::InsertValueInst::operator new | ( | size_t | s | ) | [inline] |
| static InsertValueInst* llvm::InsertValueInst::Create | ( | Value * | Agg, | |
| Value * | Val, | |||
| InputIterator | IdxBegin, | |||
| InputIterator | IdxEnd, | |||
| const std::string & | NameStr = "", |
|||
| Instruction * | InsertBefore = 0 | |||
| ) | [inline, static] |
Definition at line 1759 of file Instructions.h.
Referenced by BuildSubAggregate(), llvm::NoFolder::CreateInsertValue(), and llvm::IRBuilder< preserveNames, T >::CreateInsertValue().
| static InsertValueInst* llvm::InsertValueInst::Create | ( | Value * | Agg, | |
| Value * | Val, | |||
| InputIterator | IdxBegin, | |||
| InputIterator | IdxEnd, | |||
| const std::string & | NameStr, | |||
| BasicBlock * | InsertAtEnd | |||
| ) | [inline, static] |
Definition at line 1767 of file Instructions.h.
| static InsertValueInst* llvm::InsertValueInst::Create | ( | Value * | Agg, | |
| Value * | Val, | |||
| unsigned | Idx, | |||
| const std::string & | NameStr = "", |
|||
| Instruction * | InsertBefore = 0 | |||
| ) | [inline, static] |
Constructors - These two creators are convenience methods because one index insertvalue instructions are much more common than those with more than one.
Definition at line 1778 of file Instructions.h.
| static InsertValueInst* llvm::InsertValueInst::Create | ( | Value * | Agg, | |
| Value * | Val, | |||
| unsigned | Idx, | |||
| const std::string & | NameStr, | |||
| BasicBlock * | InsertAtEnd | |||
| ) | [inline, static] |
Definition at line 1783 of file Instructions.h.
| InsertValueInst * InsertValueInst::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::Instruction.
Definition at line 2880 of file Instructions.cpp.
| llvm::InsertValueInst::DECLARE_TRANSPARENT_OPERAND_ACCESSORS | ( | Value | ) |
Transparently provide more efficient getOperand methods.
| const PointerType* llvm::InsertValueInst::getType | ( | ) | const [inline] |
All values are typed, get the type of this value.
Reimplemented from llvm::Value.
Definition at line 1795 of file Instructions.h.
References llvm::Intrinsic::getType().
| idx_iterator llvm::InsertValueInst::idx_begin | ( | ) | const [inline] |
Definition at line 1800 of file Instructions.h.
References llvm::SmallVectorImpl< T >::begin(), and Indices.
| idx_iterator llvm::InsertValueInst::idx_end | ( | ) | const [inline] |
Definition at line 1801 of file Instructions.h.
References llvm::SmallVectorImpl< T >::end(), and Indices.
| Value* llvm::InsertValueInst::getAggregateOperand | ( | ) | [inline] |
Definition at line 1803 of file Instructions.h.
References llvm::User::getOperand().
Referenced by BuildSubAggregate().
| const Value* llvm::InsertValueInst::getAggregateOperand | ( | ) | const [inline] |
| static unsigned llvm::InsertValueInst::getAggregateOperandIndex | ( | ) | [inline, static] |
Definition at line 1809 of file Instructions.h.
| Value* llvm::InsertValueInst::getInsertedValueOperand | ( | ) | [inline] |
| const Value* llvm::InsertValueInst::getInsertedValueOperand | ( | ) | const [inline] |
| static unsigned llvm::InsertValueInst::getInsertedValueOperandIndex | ( | ) | [inline, static] |
Definition at line 1819 of file Instructions.h.
| unsigned llvm::InsertValueInst::getNumIndices | ( | ) | const [inline] |
Definition at line 1823 of file Instructions.h.
References Indices, and llvm::SmallVectorImpl< T >::size().
| bool llvm::InsertValueInst::hasIndices | ( | ) | const [inline] |
Definition at line 1827 of file Instructions.h.
| static bool llvm::InsertValueInst::classof | ( | const InsertValueInst * | ) | [inline, static] |
Definition at line 1832 of file Instructions.h.
| static bool llvm::InsertValueInst::classof | ( | const Instruction * | ) | [inline, static] |
Methods for support type inquiry through isa, cast, and dyn_cast:.
Reimplemented from llvm::Instruction.
Definition at line 1833 of file Instructions.h.
References llvm::Instruction::getOpcode().
| static bool llvm::InsertValueInst::classof | ( | const Value * | V | ) | [inline, static] |
Reimplemented from llvm::Instruction.
Definition at line 1836 of file Instructions.h.
References llvm::ExtractValueInst::classof().