LLVM API Documentation
#include <Instructions.h>
InsertValueInst - This instruction inserts a struct field of array element value into an aggregate value.
Definition at line 1958 of file Instructions.h.
Definition at line 2009 of file Instructions.h.
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] |
Definition at line 1993 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 1999 of file Instructions.h.
Transparently provide more efficient getOperand methods.
Value* llvm::InsertValueInst::getAggregateOperand | ( | ) | [inline] |
Definition at line 2013 of file Instructions.h.
References llvm::User::getOperand().
Referenced by BuildSubAggregate(), llvm::SimplifyInstruction(), and llvm::Interpreter::visitInsertValueInst().
const Value* llvm::InsertValueInst::getAggregateOperand | ( | ) | const [inline] |
Definition at line 2016 of file Instructions.h.
References llvm::User::getOperand().
static unsigned llvm::InsertValueInst::getAggregateOperandIndex | ( | ) | [inline, static] |
Definition at line 2019 of file Instructions.h.
ArrayRef<unsigned> llvm::InsertValueInst::getIndices | ( | ) | const [inline] |
Definition at line 2033 of file Instructions.h.
Referenced by llvm::SimplifyInstruction(), llvm::Interpreter::visitInsertValueInst(), and llvm::InstCombiner::visitInsertValueInst().
Value* llvm::InsertValueInst::getInsertedValueOperand | ( | ) | [inline] |
Definition at line 2023 of file Instructions.h.
References llvm::User::getOperand().
Referenced by llvm::SimplifyInstruction().
const Value* llvm::InsertValueInst::getInsertedValueOperand | ( | ) | const [inline] |
Definition at line 2026 of file Instructions.h.
References llvm::User::getOperand().
static unsigned llvm::InsertValueInst::getInsertedValueOperandIndex | ( | ) | [inline, static] |
Definition at line 2029 of file Instructions.h.
unsigned llvm::InsertValueInst::getNumIndices | ( | ) | const [inline] |
Definition at line 2037 of file Instructions.h.
References llvm::SmallVectorTemplateCommon< T, typename >::size().
Referenced by llvm::Interpreter::visitInsertValueInst().
bool llvm::InsertValueInst::hasIndices | ( | ) | const [inline] |
Definition at line 2041 of file Instructions.h.
idx_iterator llvm::InsertValueInst::idx_begin | ( | ) | const [inline] |
Definition at line 2010 of file Instructions.h.
References llvm::SmallVectorTemplateCommon< T, typename >::begin().
Referenced by llvm::Interpreter::visitInsertValueInst().
idx_iterator llvm::InsertValueInst::idx_end | ( | ) | const [inline] |
Definition at line 2011 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 1989 of file Instructions.h.