LLVM API Documentation

Public Types | Public Member Functions | Static Public Member Functions | Protected Member Functions
llvm::InsertValueInst Class Reference

#include <Instructions.h>

Inheritance diagram for llvm::InsertValueInst:
Inheritance graph
[legend]
Collaboration diagram for llvm::InsertValueInst:
Collaboration graph
[legend]

List of all members.

Public Types

typedef const unsignedidx_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
ValuegetAggregateOperand ()
const ValuegetAggregateOperand () const
ValuegetInsertedValueOperand ()
const ValuegetInsertedValueOperand () const
ArrayRef< unsignedgetIndices () const
unsigned getNumIndices () const
bool hasIndices () const

Static Public Member Functions

static InsertValueInstCreate (Value *Agg, Value *Val, ArrayRef< unsigned > Idxs, const Twine &NameStr="", Instruction *InsertBefore=0)
static InsertValueInstCreate (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 InsertValueInstclone_impl () const

Detailed Description

InsertValueInst - This instruction inserts a struct field of array element value into an aggregate value.

Definition at line 1840 of file Instructions.h.


Member Typedef Documentation

Definition at line 1891 of file Instructions.h.


Member Function Documentation

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().

static bool llvm::InsertValueInst::classof ( const Value V) [inline, static]

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]
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.

ArrayRef<unsigned> llvm::InsertValueInst::getIndices ( ) const [inline]

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]
bool llvm::InsertValueInst::hasIndices ( ) const [inline]

Definition at line 1923 of file Instructions.h.

idx_iterator llvm::InsertValueInst::idx_begin ( ) const [inline]
idx_iterator llvm::InsertValueInst::idx_end ( ) const [inline]
void* llvm::InsertValueInst::operator new ( size_t  s) [inline]

Reimplemented from llvm::User.

Definition at line 1871 of file Instructions.h.


The documentation for this class was generated from the following files: