LLVM  3.7.0
Classes | Namespaces | Functions
CostTable.h File Reference

Cost tables and simple lookup functions. More...

This graph shows which files directly or indirectly include this file:

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

 llvm
 Compute iterated dominance frontiers using a linear time algorithm.
 

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 ==. More...
 
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 ==. More...
 
template<class TypeTy , class CompareTy >
int llvm::ConvertCostTableLookup (const TypeConversionCostTblEntry< TypeTy > *Tbl, unsigned len, int ISD, CompareTy Dst, CompareTy Src)
 Find in type conversion cost table, TypeTy must be comparable to CompareTy by ==. More...
 
template<class TypeTy , class CompareTy , unsigned N>
int llvm::ConvertCostTableLookup (const TypeConversionCostTblEntry< TypeTy >(&Tbl)[N], int ISD, CompareTy Dst, CompareTy Src)
 Find in type conversion cost table, TypeTy must be comparable to CompareTy by ==. More...
 

Detailed Description

Cost tables and simple lookup functions.

Definition in file CostTable.h.