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=nullptr)
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

InsertValueInstclone_impl () const override

Detailed Description

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

Definition at line 1958 of file Instructions.h.


Member Typedef Documentation

Definition at line 2009 of file Instructions.h.


Member Function Documentation

static bool llvm::InsertValueInst::classof ( const Instruction I) [inline, static]

Definition at line 2046 of file Instructions.h.

References llvm::Instruction::getOpcode().

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 2049 of file Instructions.h.

References classof().

InsertValueInst * InsertValueInst::clone_impl ( ) const [override, protected, virtual]

Implements llvm::Instruction.

Definition at line 3633 of file Instructions.cpp.

static InsertValueInst* llvm::InsertValueInst::Create ( Value Agg,
Value Val,
ArrayRef< unsigned Idxs,
const Twine NameStr = "",
Instruction InsertBefore = nullptr 
) [inline, static]
static InsertValueInst* llvm::InsertValueInst::Create ( Value Agg,
Value Val,
ArrayRef< unsigned Idxs,
const Twine NameStr,
BasicBlock InsertAtEnd 
) [inline, static]

Definition at line 1999 of file Instructions.h.

Transparently provide more efficient getOperand methods.

Definition at line 2016 of file Instructions.h.

References llvm::User::getOperand().

Definition at line 2019 of file Instructions.h.

Definition at line 2023 of file Instructions.h.

References llvm::User::getOperand().

Referenced by llvm::SimplifyInstruction().

Definition at line 2026 of file Instructions.h.

References llvm::User::getOperand().

Definition at line 2029 of file Instructions.h.

Definition at line 2041 of file Instructions.h.

void* llvm::InsertValueInst::operator new ( size_t  s) [inline]

Reimplemented from llvm::User.

Definition at line 1989 of file Instructions.h.


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