|
LLVM 22.0.0git
|
Cost tables and simple lookup functions. More...
#include "llvm/ADT/ArrayRef.h"#include "llvm/ADT/STLExtras.h"#include "llvm/CodeGenTypes/MachineValueType.h"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 | |
| namespace | llvm |
| This is an optimization pass for GlobalISel generic memory operations. | |
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. | |
| 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. | |
| template<size_t N, class CostType> | |
| const TypeConversionCostTblEntryT< CostType > * | llvm::ConvertCostTableLookup (const TypeConversionCostTblEntryT< CostType >(&Table)[N], int ISD, MVT Dst, MVT Src) |
Cost tables and simple lookup functions.
Definition in file CostTable.h.