llvm::ConstantDataSequential::getElementAsInteger

If this is a sequential container of integers (of any size), return the specified element in the low bits of a uint64_t.

Synopsis

Declared in <llvm/IR/Constants.h>

uint64_t
getElementAsInteger(uint64_t i) const;

Return Value

The element at the given index as an integer.

Parameters

NameDescription
iThe zero-based element index.