[#llvm-ComputeValueVTs-06] = xref:llvm.adoc[llvm]::ComputeValueVTs :relfileprefix: ../ :mrdocs: Compute a sequence of EVTs for the non‐aggregate parts of an LLVM IR type. == Synopses Declared in `<llvm/CodeGen/Analysis.h>` Compute a sequence of EVTs for the non‐aggregate parts of an LLVM IR type. [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- void xref:llvm/ComputeValueVTs-07.adoc[ComputeValueVTs]( xref:llvm/TargetLowering.adoc[TargetLowering] const& TLI, xref:llvm/DataLayout.adoc[DataLayout] const& DL, xref:llvm/Type.adoc[Type]* Ty, xref:llvm/SmallVectorImpl-06c.adoc[SmallVectorImpl<EVT>]& ValueVTs, xref:llvm/SmallVectorImpl-06c.adoc[SmallVectorImpl<EVT>]* MemVTs, xref:llvm/SmallVectorImpl-06c.adoc[SmallVectorImpl<uint64_t>]* FixedOffsets, uint64_t StartingOffset); ---- [.small]#xref:llvm/ComputeValueVTs-07.adoc[_» more..._]# Compute a sequence of EVTs for the non‐aggregate parts of an LLVM IR type. [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- void xref:llvm/ComputeValueVTs-0a.adoc[ComputeValueVTs]( xref:llvm/TargetLowering.adoc[TargetLowering] const& TLI, xref:llvm/DataLayout.adoc[DataLayout] const& DL, xref:llvm/Type.adoc[Type]* Ty, xref:llvm/SmallVectorImpl-06c.adoc[SmallVectorImpl<EVT>]& ValueVTs, xref:llvm/SmallVectorImpl-06c.adoc[SmallVectorImpl<EVT>]* MemVTs = nullptr, xref:llvm/SmallVectorImpl-06c.adoc[SmallVectorImpl<TypeSize>]* Offsets = nullptr, xref:llvm/TypeSize.adoc[TypeSize] StartingOffset = TypeSize::getZero()); ---- [.small]#xref:llvm/ComputeValueVTs-0a.adoc[_» more..._]# == Parameters [cols="1,4"] |=== | Name| Description | *TLI* | Target lowering used to map IR types to EVTs. | *DL* | Data layout used to determine type sizes and offsets. | *Ty* | LLVM IR type to decompose. | *ValueVTs* | Filled with the EVTs of the non‐aggregate parts of `Ty.` | *MemVTs* | Vector filled with the corresponding memory EVTs. | *FixedOffsets* | Optional vector filled with the fixed in‐memory offset of each value. | *StartingOffset* | Base offset applied to each recorded offset. | *Offsets* | Optional vector filled with the in‐memory offset of each value. |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#