LLVM API Documentation
Cost tables and simple lookup functions. More...
Go to the source code of this file.
Classes | |
struct | llvm::CostTblEntry< TypeTy > |
Cost Table Entry. More... | |
struct | llvm::TypeConversionCostTblEntry< TypeTy > |
Type Conversion Cost Table. More... | |
Namespaces | |
namespace | llvm |
List of target independent CodeGen pass IDs. | |
Functions | |
template<class TypeTy , class CompareTy > | |
int | llvm::CostTableLookup (const CostTblEntry< TypeTy > *Tbl, unsigned len, int ISD, CompareTy Ty) |
Find in cost table, TypeTy must be comparable to CompareTy by ==. | |
template<class TypeTy , class CompareTy , unsigned N> | |
int | llvm::CostTableLookup (const CostTblEntry< TypeTy >(&Tbl)[N], int ISD, CompareTy Ty) |
Find in cost table, TypeTy must be comparable to CompareTy by ==. | |
template<class TypeTy , class CompareTy > | |
int | llvm::ConvertCostTableLookup (const TypeConversionCostTblEntry< TypeTy > *Tbl, unsigned len, int ISD, CompareTy Dst, CompareTy Src) |
template<class TypeTy , class CompareTy , unsigned N> | |
int | llvm::ConvertCostTableLookup (const TypeConversionCostTblEntry< TypeTy >(&Tbl)[N], int ISD, CompareTy Dst, CompareTy Src) |
Cost tables and simple lookup functions.
Definition in file CostTable.h.