[#llvm-ConvertCostTableLookup-0ae] = xref:llvm.adoc[llvm]::ConvertCostTableLookup :relfileprefix: ../ :mrdocs: `ConvertCostTableLookup` overloads == Synopses Declared in `<llvm/CodeGen/CostTable.h>` Find in type conversion cost table. [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- template<class CostType> xref:llvm/TypeConversionCostTblEntryT.adoc[TypeConversionCostTblEntryT<CostType>] const* xref:llvm/ConvertCostTableLookup-0a2.adoc[ConvertCostTableLookup]( xref:llvm/ArrayRef-08.adoc[ArrayRef<TypeConversionCostTblEntryT<CostType>>] Tbl, int ISD, xref:llvm/MVT.adoc[MVT] Dst, xref:llvm/MVT.adoc[MVT] Src); ---- [.small]#xref:llvm/ConvertCostTableLookup-0a2.adoc[_» more..._]# Find in a C‐array type conversion cost table. [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- template< size_t N, class CostType> xref:llvm/TypeConversionCostTblEntryT.adoc[TypeConversionCostTblEntryT<CostType>] const* xref:llvm/ConvertCostTableLookup-06.adoc[ConvertCostTableLookup]( xref:llvm/TypeConversionCostTblEntryT.adoc[TypeConversionCostTblEntryT<CostType>] const(& Table)[], int ISD, xref:llvm/MVT.adoc[MVT] Dst, xref:llvm/MVT.adoc[MVT] Src); ---- [.small]#xref:llvm/ConvertCostTableLookup-06.adoc[_» more..._]# == Return Value The matching entry, or nullptr if none is found. == Parameters [cols="1,4"] |=== | Name| Description | *Tbl* | Type‐conversion cost table to search. | *ISD* | SelectionDAG conversion opcode to match. | *Dst* | Destination machine value type to match. | *Src* | Source machine value type to match. | *Table* | C‐array of type‐conversion cost‐table entries. |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#