LLVM API Documentation
#include <Instructions.h>


Public Types | |
| typedef const unsigned * | idx_iterator |
Public Member Functions | |
| void * | operator new (size_t s) |
| DECLARE_TRANSPARENT_OPERAND_ACCESSORS (Value) | |
| Transparently provide more efficient getOperand methods. | |
| idx_iterator | idx_begin () const |
| idx_iterator | idx_end () const |
| Value * | getAggregateOperand () |
| const Value * | getAggregateOperand () const |
| Value * | getInsertedValueOperand () |
| const Value * | getInsertedValueOperand () const |
| ArrayRef< unsigned > | getIndices () const |
| unsigned | getNumIndices () const |
| bool | hasIndices () const |
Static Public Member Functions | |
| static InsertValueInst * | Create (Value *Agg, Value *Val, ArrayRef< unsigned > Idxs, const Twine &NameStr="", Instruction *InsertBefore=0) |
| static InsertValueInst * | Create (Value *Agg, Value *Val, ArrayRef< unsigned > Idxs, const Twine &NameStr, BasicBlock *InsertAtEnd) |
| static unsigned | getAggregateOperandIndex () |
| static unsigned | getInsertedValueOperandIndex () |
| static bool | classof (const Instruction *I) |
| static bool | classof (const Value *V) |
| Methods for support type inquiry through isa, cast, and dyn_cast: | |
Protected Member Functions | |
| virtual InsertValueInst * | clone_impl () const |
InsertValueInst - This instruction inserts a struct field of array element value into an aggregate value.
Definition at line 1840 of file Instructions.h.
| typedef const unsigned* llvm::InsertValueInst::idx_iterator |
Definition at line 1891 of file Instructions.h.
| static bool llvm::InsertValueInst::classof | ( | const Instruction * | I | ) | [inline, static] |
Definition at line 1928 of file Instructions.h.
References llvm::Instruction::getOpcode(), and llvm::InsertValue.
Referenced by classof().
Methods for support type inquiry through isa, cast, and dyn_cast:
Reimplemented from llvm::Instruction.
Definition at line 1931 of file Instructions.h.
References classof().
| InsertValueInst * InsertValueInst::clone_impl | ( | ) | const [protected, virtual] |
Implements llvm::Instruction.
Definition at line 3404 of file Instructions.cpp.
| static InsertValueInst* llvm::InsertValueInst::Create | ( | Value * | Agg, |
| Value * | Val, | ||
| ArrayRef< unsigned > | Idxs, | ||
| const Twine & | NameStr = "", |
||
| Instruction * | InsertBefore = 0 |
||
| ) | [inline, static] |
Definition at line 1875 of file Instructions.h.
Referenced by BuildSubAggregate(), llvm::NoFolder::CreateInsertValue(), llvm::IRBuilder< true, TargetFolder >::CreateInsertValue(), llvm::ConstantExpr::getAsInstruction(), llvm::InstCombiner::visitCallInst(), and llvm::InstCombiner::visitExtractValueInst().
| static InsertValueInst* llvm::InsertValueInst::Create | ( | Value * | Agg, |
| Value * | Val, | ||
| ArrayRef< unsigned > | Idxs, | ||
| const Twine & | NameStr, | ||
| BasicBlock * | InsertAtEnd | ||
| ) | [inline, static] |
Definition at line 1881 of file Instructions.h.
| llvm::InsertValueInst::DECLARE_TRANSPARENT_OPERAND_ACCESSORS | ( | Value | ) |
Transparently provide more efficient getOperand methods.
| Value* llvm::InsertValueInst::getAggregateOperand | ( | ) | [inline] |
Definition at line 1895 of file Instructions.h.
References llvm::User::getOperand().
Referenced by BuildSubAggregate(), and llvm::SimplifyInstruction().
| const Value* llvm::InsertValueInst::getAggregateOperand | ( | ) | const [inline] |
Definition at line 1898 of file Instructions.h.
References llvm::User::getOperand().
| static unsigned llvm::InsertValueInst::getAggregateOperandIndex | ( | ) | [inline, static] |
Definition at line 1901 of file Instructions.h.
Definition at line 1915 of file Instructions.h.
Referenced by llvm::SimplifyInstruction().
| Value* llvm::InsertValueInst::getInsertedValueOperand | ( | ) | [inline] |
Definition at line 1905 of file Instructions.h.
References llvm::User::getOperand().
Referenced by llvm::SimplifyInstruction().
| const Value* llvm::InsertValueInst::getInsertedValueOperand | ( | ) | const [inline] |
Definition at line 1908 of file Instructions.h.
References llvm::User::getOperand().
| static unsigned llvm::InsertValueInst::getInsertedValueOperandIndex | ( | ) | [inline, static] |
Definition at line 1911 of file Instructions.h.
| unsigned llvm::InsertValueInst::getNumIndices | ( | ) | const [inline] |
Definition at line 1919 of file Instructions.h.
References llvm::SmallVectorTemplateCommon< T, typename >::size().
| bool llvm::InsertValueInst::hasIndices | ( | ) | const [inline] |
Definition at line 1923 of file Instructions.h.
| idx_iterator llvm::InsertValueInst::idx_begin | ( | ) | const [inline] |
Definition at line 1892 of file Instructions.h.
References llvm::SmallVectorTemplateCommon< T, typename >::begin().
| idx_iterator llvm::InsertValueInst::idx_end | ( | ) | const [inline] |
Definition at line 1893 of file Instructions.h.
References llvm::SmallVectorTemplateCommon< T, typename >::end().
| void* llvm::InsertValueInst::operator new | ( | size_t | s | ) | [inline] |
Reimplemented from llvm::User.
Definition at line 1871 of file Instructions.h.