LLVM API Documentation

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
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
 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 ==. 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)
 
template<class TypeTy , class CompareTy , unsigned N>
int llvm::ConvertCostTableLookup (const TypeConversionCostTblEntry< TypeTy >(&Tbl)[N], int ISD, CompareTy Dst, CompareTy Src)
 

Detailed Description

Cost tables and simple lookup functions.

Definition in file CostTable.h.