ΒΆvoid ComputeValueVTs(
const llvm::TargetLowering& TLI,
const llvm::DataLayout& DL,
llvm::Type* Ty,
SmallVectorImpl<llvm::EVT>& ValueVTs,
SmallVectorImpl<uint64_t>* Offsets = nullptr,
uint64_t StartingOffset = 0)
void ComputeValueVTs(
const llvm::TargetLowering& TLI,
const llvm::DataLayout& DL,
llvm::Type* Ty,
SmallVectorImpl<llvm::EVT>& ValueVTs,
SmallVectorImpl<uint64_t>* Offsets = nullptr,
uint64_t StartingOffset = 0)
Description
ComputeValueVTs - Given an LLVM IR type, compute a sequence of EVTs 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:72
Parameters
- const llvm::TargetLowering& TLI
- const llvm::DataLayout& DL
- llvm::Type* Ty
- SmallVectorImpl<llvm::EVT>& ValueVTs
- SmallVectorImpl<uint64_t>* Offsets = nullptr
- uint64_t StartingOffset = 0