Find in type conversion cost table.
Declared in <llvm/CodeGen/CostTable.h>
template<class CostType>
TypeConversionCostTblEntryT<CostType> const*
ConvertCostTableLookup(
ArrayRef<TypeConversionCostTblEntryT<CostType>> Tbl,
int ISD,
MVT Dst,
MVT Src);
The matching entry, or nullptr if none is found.
| 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. |