LLVM  5.0.0
Functions
InsertValue

Functions in this group only apply to instructions that map to llvm::ExtractValue and llvm::InsertValue instances. More...

Collaboration diagram for InsertValue:

Functions

unsigned LLVMGetNumIndices (LLVMValueRef Inst)
 Obtain the number of indices. More...
 
const unsigned * LLVMGetIndices (LLVMValueRef Inst)
 Obtain the indices as an array. More...
 

Detailed Description

Functions in this group only apply to instructions that map to llvm::ExtractValue and llvm::InsertValue instances.

Function Documentation

const unsigned* LLVMGetIndices ( LLVMValueRef  Inst)

Obtain the indices as an array.

Definition at line 2345 of file Core.cpp.

References I, llvm_unreachable(), and llvm::unwrap().

unsigned LLVMGetNumIndices ( LLVMValueRef  Inst)

Obtain the number of indices.

NB: This also works on GEP.

Definition at line 2333 of file Core.cpp.

References GEP, I, llvm_unreachable(), and llvm::unwrap().