LLVM  14.0.0git
Classes | Namespaces | Typedefs | Functions
CostTable.h File Reference
#include "llvm/ADT/ArrayRef.h"
#include "llvm/ADT/STLExtras.h"
#include "llvm/Support/MachineValueType.h"
Include dependency graph for CostTable.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  llvm::CostTblEntryT< CostType >
 Cost Table Entry. More...
 
struct  llvm::TypeConversionCostTblEntryT< CostType >
 Type Conversion Cost Table. More...
 

Namespaces

 llvm
 ---------------------— PointerInfo ------------------------------------—
 

Typedefs

using llvm::CostTblEntry = CostTblEntryT< unsigned >
 
using llvm::TypeConversionCostTblEntry = TypeConversionCostTblEntryT< unsigned >
 

Functions

template<class CostType >
const CostTblEntryT< CostType > * llvm::CostTableLookup (ArrayRef< CostTblEntryT< CostType >> Tbl, int ISD, MVT Ty)
 Find in cost table. More...
 
template<size_t N, class CostType >
const CostTblEntryT< CostType > * llvm::CostTableLookup (const CostTblEntryT< CostType >(&Table)[N], int ISD, MVT Ty)
 
template<class CostType >
const TypeConversionCostTblEntryT< CostType > * llvm::ConvertCostTableLookup (ArrayRef< TypeConversionCostTblEntryT< CostType >> Tbl, int ISD, MVT Dst, MVT Src)
 Find in type conversion cost table. More...
 
template<size_t N, class CostType >
const TypeConversionCostTblEntryT< CostType > * llvm::ConvertCostTableLookup (const TypeConversionCostTblEntryT< CostType >(&Table)[N], int ISD, MVT Dst, MVT Src)
 

Detailed Description

Cost tables and simple lookup functions

Definition in file CostTable.h.