ΒΆLLVMValueRef LLVMGetAggregateElement(
LLVMValueRef C,
unsigned int Idx)
LLVMValueRef LLVMGetAggregateElement(
LLVMValueRef C,
unsigned int Idx)
Description
Get element of a constant aggregate (struct, array or vector) at the specified index. Returns null if the index is out of range, or it's not possible to determine the element (e.g., because the constant is a constant expression.)
Declared at: llvm/include/llvm-c/Core.h:2128
Parameters
- LLVMValueRef C
- unsigned int Idx