ΒΆbool getConstantDataArrayInfo(
    const llvm::Value* V,
    llvm::ConstantDataArraySlice& Slice,
    unsigned int ElementSize,
    uint64_t Offset = 0)

Description

Returns true if the value \p V is a pointer into a ConstantDataArray. If successful \p Slice will point to a ConstantDataArray info object with an appropriate offset.

Declared at: llvm/include/llvm/Analysis/ValueTracking.h:301

Parameters

const llvm::Value* V
llvm::ConstantDataArraySlice& Slice
unsigned int ElementSize
uint64_t Offset = 0