LLVM API Documentation

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

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)

Detailed Description

Cost tables and simple lookup functions.

Definition in file CostTable.h.