class ExtractValueInst

Declaration

class ExtractValueInst : public UnaryInstruction { /* full declaration omitted */ };

Declared at: llvm/include/llvm/IR/Instructions.h:2298

Inherits from: UnaryInstruction

Member Variables

Inherited from Value:

protected SubclassOptionalData
protected NumUserOperands
protected IsUsedByMD
protected HasName
protected HasHungOffUses
protected HasDescriptor
public static MaxAlignmentExponent = 29
public static MaximumAlignment = 1U << MaxAlignmentExponent

Method Overview

  • public static llvm::ExtractValueInst * Create(llvm::Value * Agg, ArrayRef<unsigned int> Idxs, const llvm::Twine & NameStr = "", llvm::Instruction * InsertBefore = nullptr)
  • public static llvm::ExtractValueInst * Create(llvm::Value * Agg, ArrayRef<unsigned int> Idxs, const llvm::Twine & NameStr, llvm::BasicBlock * InsertAtEnd)
  • public static bool classof(const llvm::Instruction * I)
  • public static bool classof(const llvm::Value * V)
  • protected llvm::ExtractValueInst * cloneImpl() const
  • public llvm::Value * getAggregateOperand()
  • public const llvm::Value * getAggregateOperand() const
  • public static unsigned int getAggregateOperandIndex()
  • public static llvm::Type * getIndexedType(llvm::Type * Agg, ArrayRef<unsigned int> Idxs)
  • public ArrayRef<unsigned int> getIndices() const
  • public unsigned int getNumIndices() const
  • public bool hasIndices() const
  • public inline llvm::ExtractValueInst::idx_iterator idx_begin() const
  • public inline llvm::ExtractValueInst::idx_iterator idx_end() const
  • public inline iterator_range<llvm::ExtractValueInst::idx_iterator> indices() const

Inherited from UnaryInstruction:

Inherited from Instruction:

Inherited from User:

Inherited from Value:

Methods

static llvm::ExtractValueInst* Create(
    llvm::Value* Agg,
    ArrayRef<unsigned int> Idxs,
    const llvm::Twine& NameStr = "",
    llvm::Instruction* InsertBefore = nullptr)

Declared at: llvm/include/llvm/IR/Instructions.h:2324

Parameters

llvm::Value* Agg
ArrayRef<unsigned int> Idxs
const llvm::Twine& NameStr = ""
llvm::Instruction* InsertBefore = nullptr

static llvm::ExtractValueInst* Create(
    llvm::Value* Agg,
    ArrayRef<unsigned int> Idxs,
    const llvm::Twine& NameStr,
    llvm::BasicBlock* InsertAtEnd)

Declared at: llvm/include/llvm/IR/Instructions.h:2332

Parameters

llvm::Value* Agg
ArrayRef<unsigned int> Idxs
const llvm::Twine& NameStr
llvm::BasicBlock* InsertAtEnd

static bool classof(const llvm::Instruction* I)

Declared at: llvm/include/llvm/IR/Instructions.h:2376

Parameters

const llvm::Instruction* I

static bool classof(const llvm::Value* V)

Declared at: llvm/include/llvm/IR/Instructions.h:2379

Parameters

const llvm::Value* V

llvm::ExtractValueInst* cloneImpl() const

Declared at: llvm/include/llvm/IR/Instructions.h:2321

llvm::Value* getAggregateOperand()

Declared at: llvm/include/llvm/IR/Instructions.h:2353

const llvm::Value* getAggregateOperand() const

Declared at: llvm/include/llvm/IR/Instructions.h:2356

static unsigned int getAggregateOperandIndex()

Declared at: llvm/include/llvm/IR/Instructions.h:2359

static llvm::Type* getIndexedType(
    llvm::Type* Agg,
    ArrayRef<unsigned int> Idxs)

Description

Returns the type of the element that would be extracted with an extractvalue instruction with the specified parameters. Null is returned if the indices are invalid for the specified type.

Declared at: llvm/include/llvm/IR/Instructions.h:2343

Parameters

llvm::Type* Agg
ArrayRef<unsigned int> Idxs

ArrayRef<unsigned int> getIndices() const

Declared at: llvm/include/llvm/IR/Instructions.h:2363

unsigned int getNumIndices() const

Declared at: llvm/include/llvm/IR/Instructions.h:2367

bool hasIndices() const

Declared at: llvm/include/llvm/IR/Instructions.h:2371

inline llvm::ExtractValueInst::idx_iterator
idx_begin() const

Declared at: llvm/include/llvm/IR/Instructions.h:2347

inline llvm::ExtractValueInst::idx_iterator
idx_end() const

Declared at: llvm/include/llvm/IR/Instructions.h:2348

inline iterator_range<
    llvm::ExtractValueInst::idx_iterator>
indices() const

Declared at: llvm/include/llvm/IR/Instructions.h:2349