CostTableLookup overloads
Synopses
Declared in <llvm/CodeGen/CostTable.h>
Find in cost table.
template<class CostType>
CostTblEntryT<CostType> const*
CostTableLookup(
ArrayRef<CostTblEntryT<CostType>> Tbl,
int ISD,
MVT Ty);
Find in a C‐array cost table.
template<
size_t N,
class CostType>
CostTblEntryT<CostType> const*
CostTableLookup(
CostTblEntryT<CostType> const(& Table)[],
int ISD,
MVT Ty);
Return Value
The matching entry, or nullptr if none is found.
Parameters
Name |
Description |
Tbl |
Cost table to search. |
ISD |
SelectionDAG opcode to match. |
Ty |
Machine value type to match. |
Table |
C‐array of cost‐table entries. |
Created with MrDocs