Searched refs:CostType (Results 1 – 7 of 7) sorted by relevance
| /freebsd/contrib/llvm-project/llvm/include/llvm/CodeGen/ |
| H A D | CostTable.h | 24 template <typename CostType> 28 CostType Cost; 33 template <class CostType> 34 inline const CostTblEntryT<CostType> * 35 CostTableLookup(ArrayRef<CostTblEntryT<CostType>> Tbl, int ISD, MVT Ty) { in CostTableLookup() 36 auto I = find_if(Tbl, [=](const CostTblEntryT<CostType> &Entry) { in CostTableLookup() 46 template <size_t N, class CostType> 47 inline const CostTblEntryT<CostType> * 48 CostTableLookup(const CostTblEntryT<CostType> (&Table)[N], int ISD, MVT Ty) { in CostTableLookup() 50 return CostTableLookup<CostType>(Table, ISD, Ty); in CostTableLookup() [all …]
|
| /freebsd/contrib/llvm-project/llvm/include/llvm/Support/ |
| H A D | InstructionCost.h | 31 using CostType = int64_t; 53 CostType Value = 0; 61 static CostType getMaxValue() { return std::numeric_limits<CostType>::max(); } in getMaxValue() 62 static CostType getMinValue() { return std::numeric_limits<CostType>::min(); } in getMinValue() 69 InstructionCost(CostType Val) : Value(Val), State(Valid) {} in InstructionCost() 73 static InstructionCost getInvalid(CostType Val = 0) { 87 std::optional<CostType> getValue() const { in getValue() 103 InstructionCost::CostType Result; 111 InstructionCost &operator+=(const CostType RHS) { 121 InstructionCost::CostType Result; [all …]
|
| /freebsd/contrib/llvm-project/llvm/lib/Target/AMDGPU/ |
| H A D | AMDGPUSplitModule.cpp | 100 using CostType = InstructionCost::CostType; typedef 223 static CostType 225 DenseMap<const Function *, CostType> &CostMap) { in calculateFunctionCosts() 226 CostType ModuleCost = 0; in calculateFunctionCosts() 227 CostType KernelCost = 0; in calculateFunctionCosts() 233 CostType FnCost = 0; in calculateFunctionCosts() 241 CostType CostVal = in calculateFunctionCosts() 258 CostType FnCost = (ModuleCost - KernelCost); in calculateFunctionCosts() 259 CostType ModuleCostOr1 = ModuleCost ? ModuleCost : 1; in calculateFunctionCosts() 366 const DenseMap<const Function *, CostType> &FnCosts, in FunctionWithDependencies() [all …]
|
| /freebsd/contrib/llvm-project/llvm/lib/Target/PowerPC/ |
| H A D | PPCTargetTransformInfo.h | 154 static const InstructionCost::CostType P9PipelineFlushEstimate = 80;
|
| /freebsd/contrib/llvm-project/llvm/lib/Transforms/Vectorize/ |
| H A D | LoopVectorize.cpp | 1999 (InstructionCost::CostType)1); in getCost()
|
| H A D | SLPVectorizer.cpp | 15464 std::numeric_limits<InstructionCost::CostType>::max(); in collectValuesToDemote()
|
| /freebsd/contrib/llvm-project/llvm/lib/Target/X86/ |
| H A D | X86TargetTransformInfo.cpp | 5864 InstructionCost::CostType SplitFactor = in getGSVectorCost()
|