getTypeAtIndex overloads
Synopses
Declared in <llvm/IR/Instructions.h>
Return the type of the element at integer index Idx.
static
Type*
getTypeAtIndex(
Type* Ty,
uint64_t Idx);
Return the type of the element at the given index of an indexable type. This is equivalent to "getIndexedType(Agg, {Zero, Idx})".
static
Type*
getTypeAtIndex(
Type* Ty,
Value* Idx);
Return Value
-
Type of the element at the given index.
-
The type of the element at the given index of an indexable type.
Parameters
Name |
Description |
Ty |
The indexable aggregate type. |
Idx |
The index value. |
Created with MrDocs