llvm::ConstantDataSequential::getElementAsAPInt

If this is a sequential container of integers (of any size), return the specified element as an APInt.

Synopsis

Declared in <llvm/IR/Constants.h>

APInt
getElementAsAPInt(uint64_t i) const;

Return Value

The element at the given index as an APInt.

Parameters

NameDescription
iThe zero-based element index.