ΒΆvoid computeValueLLTs(
    const llvm::DataLayout& DL,
    llvm::Type& Ty,
    SmallVectorImpl<llvm::LLT>& ValueTys,
    SmallVectorImpl<uint64_t>* Offsets = nullptr,
    uint64_t StartingOffset = 0)

Description

computeValueLLTs - Given an LLVM IR type, compute a sequence of LLTs that represent all the individual underlying non-aggregate types that comprise it. If Offsets is non-null, it points to a vector to be filled in with the in-memory offsets of each of the individual values.

Declared at: llvm/include/llvm/CodeGen/Analysis.h:91

Parameters

const llvm::DataLayout& DL
llvm::Type& Ty
SmallVectorImpl<llvm::LLT>& ValueTys
SmallVectorImpl<uint64_t>* Offsets = nullptr
uint64_t StartingOffset = 0