Home
last modified time | relevance | path

Searched refs:MinMaxCost (Results 1 – 3 of 3) sorted by relevance

/freebsd/contrib/llvm-project/llvm/lib/Transforms/AggressiveInstCombine/
H A DAggressiveInstCombine.cpp406 InstructionCost MinMaxCost = TTI.getCastInstrCost( in tryToFPToSat() local
409 MinMaxCost += TTI.getIntrinsicInstrCost( in tryToFPToSat()
412 MinMaxCost += TTI.getIntrinsicInstrCost( in tryToFPToSat()
416 if (SatCost >= MinMaxCost) in tryToFPToSat()
/freebsd/contrib/llvm-project/llvm/lib/Target/X86/
H A DX86TargetTransformInfo.cpp5852 InstructionCost MinMaxCost = 0; in getMinMaxReductionCost() local
5858 MinMaxCost = getMinMaxCost(IID, Ty, CostKind, FMF); in getMinMaxReductionCost()
5859 MinMaxCost *= LT.first - 1; in getMinMaxReductionCost()
5865 return MinMaxCost + Entry->Cost; in getMinMaxReductionCost()
5869 return MinMaxCost + Entry->Cost; in getMinMaxReductionCost()
5873 return MinMaxCost + Entry->Cost; in getMinMaxReductionCost()
5877 return MinMaxCost + Entry->Cost; in getMinMaxReductionCost()
5896 MinMaxCost += getShuffleCost(TTI::SK_ExtractSubvector, Ty, Ty, {}, in getMinMaxReductionCost()
5907 MinMaxCost += getShuffleCost(TTI::SK_PermuteSingleSrc, ShufTy, ShufTy, {}, in getMinMaxReductionCost()
5916 MinMaxCost += getShuffleCost(TTI::SK_PermuteSingleSrc, ShufTy, ShufTy, {}, in getMinMaxReductionCost()
[all …]
/freebsd/contrib/llvm-project/llvm/include/llvm/CodeGen/
H A DBasicTTIImpl.h3124 InstructionCost MinMaxCost = 0; in getMinMaxReductionCost() local
3138 MinMaxCost += getIntrinsicInstrCost(Attrs, CostKind); in getMinMaxReductionCost()
3153 MinMaxCost += NumReduxLevels * getIntrinsicInstrCost(Attrs, CostKind); in getMinMaxReductionCost()
3156 return ShuffleCost + MinMaxCost + in getMinMaxReductionCost()