LLVM 20.0.0git
Functions

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.
 
const unsignedLLVMGetIndices (LLVMValueRef Inst)
 Obtain the indices as an array.
 

Detailed Description

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

Function Documentation

◆ LLVMGetIndices()

const unsigned * LLVMGetIndices ( LLVMValueRef  Inst)

Obtain the indices as an array.

Definition at line 3222 of file Core.cpp.

References I, IV, llvm_unreachable, and unwrap().

◆ LLVMGetNumIndices()

unsigned LLVMGetNumIndices ( LLVMValueRef  Inst)

Obtain the number of indices.

NB: This also works on GEP operators.

Definition at line 3210 of file Core.cpp.

References GEP, I, IV, llvm_unreachable, and unwrap().